draft
bool 1
class | date
stringlengths 19
20
| title
stringlengths 9
214
| tag
sequence | category
sequence | body
stringlengths 575
57.5k
| description
stringlengths 40
192
⌀ | image
stringlengths 28
59
⌀ | embeddings_base_en
sequence | embeddings_small_en
sequence | embeddings_mini_lm
sequence | slug
stringlengths 8
191
| url
stringlengths 49
232
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
false | 2010-01-07 23:31:37 | F#: Refactoring to active patterns | [
"f"
] | [
"fsharp"
] | I've been playing around with more F# code and after realising that I'd peppered the code with if statements I thought it would be interesting to try and refactor it to make use of active patterns.
The code is part of my F# solution to http://osherove.com/tdd-kata-1/[Roy Osherove's TDD Kata] and is used to parse the input string and find which delimeters are being used.
This is the original code:
[source,ocaml]
----
let hasCustomDelimeter (value:string) = value.Length > 2 && "//".Equals(value.Substring(0, 2))
let hasMultipleDelimeters (value:string) = hasCustomDelimeter value && "[".Equals(value.Substring(2,1))
let delimeter value = if (hasCustomDelimeter value) then value.Substring(2, value.IndexOf("\n") - 2) else ","
let delimeters (value:string) = Regex.Matches(value, "\[(.)\]") |>
Seq.cast |>
Seq.map (fun (x:Match) -> x.Groups) |>
Seq.map (fun x -> x |> Seq.cast<Group> |> Seq.nth 1) |>
Seq.map (fun x -> x.Value) |>
Seq.to_array
let digits value =
let delimeter = delimeter value
if (hasMultipleDelimeters value) then value.Substring(value.IndexOf("\n")) |> split (delimeters value) |> Array.map parse
else if (hasCustomDelimeter value) then value.Substring(value.IndexOf("\n")) |> split [| delimeter |] |> Array.map parse
else value.Replace("\n", delimeter) |> split [|delimeter |] |> Array.map parse
----
The active pattern that we want to use is known as a 'multi case active pattern' which http://blogs.msdn.com/chrsmith/archive/2008/02/21/Introduction-to-F_2300_-Active-Patterns.aspx[Chris Smith] defines as "partitioning the entirety of the input space into different things". In this case given an input string we want to determine what type of delimeters are contained within that string.
This is the code after I'd created the active pattern:
[source,ocaml]
----
let (|MultipleCustomDelimeters|SingleCustomDelimeter|NoCustomDelimeter|) (value:string) =
if (value.Length > 2 && "//".Equals(value.Substring(0, 2))) then
if ("[".Equals(value.Substring(2,1))) then MultipleCustomDelimeters(delimeters value)
else SingleCustomDelimeter(delimeter value)
else NoCustomDelimeter(delimeter value)
let digits value =
match value with
| SingleCustomDelimeter(delimeter) -> value.Substring(value.IndexOf("\n")) |> split [| delimeter |] |> Array.map parse
| MultipleCustomDelimeters(delimeters) -> value.Substring(value.IndexOf("\n")) |> split delimeters |> Array.map parse
| NoCustomDelimeter(delimeter) -> value.Replace("\n", delimeter) |> split [|delimeter |] |> Array.map parse
----
One thing I didn't realise is that you can set different types for the constructor values of each of the active patterns. In this case I want to match single or multiple delimeters and then return those delimeters. We can define one active pattern which matches a single delimeter and just returns that and then another one which returns an array of delimeters which is quite neat.
The way it works is quite similar to http://tomasp.net/articles/fsharp-ii-functional.aspx[discriminated unions].
I found that that having all the code around parsing the input in the same function made it easier for me to understand that code and I quite like that it's possible to match the pattern and also get the delimeter/delimeters in one expression.
Although there are more lines of code I think this code is more expressive and it wouldn't be too hard to add in another active pattern if there's another delimeter type that needs to be handled.
I can't decide whether the 'value.SubString' and 'value.Replace' code should also be contained within the active pattern or not. At the moment I'm thinking perhaps not because it's not related to the actual delimeters. | null | null | [
0.008524833247065544,
0.001973488135263324,
-0.03296755254268646,
0.0025247028097510338,
0.06607940793037415,
0.014847945421934128,
0.023614471778273582,
0.011365139856934547,
0.01618438959121704,
-0.020103979855775833,
-0.010709251277148724,
0.01609349064528942,
-0.09249929338693619,
-0.0052216737531125546,
-0.011896212585270405,
0.07547502964735031,
0.08845821768045425,
-0.03937854245305061,
0.0363408662378788,
-0.003690376877784729,
-0.0009785684524104,
0.04045502096414566,
0.008992831222712994,
0.029345476999878883,
0.03873767331242561,
0.0061875260435044765,
0.03173980489373207,
0.017774665728211403,
-0.053380537778139114,
0.02001301385462284,
0.025726869702339172,
0.03558066859841347,
0.033428214490413666,
-0.002372434362769127,
-0.0013624932616949081,
0.012322034686803818,
0.02719268389046192,
0.004897189326584339,
-0.027967602014541626,
0.046218592673540115,
-0.066615030169487,
0.00400353129953146,
-0.009051218628883362,
-0.005672115832567215,
-0.038251183927059174,
0.02069072052836418,
-0.06420605629682541,
-0.0012268925784155726,
-0.011333515867590904,
0.014865170232951641,
-0.05834074690937996,
0.004040402825921774,
-0.022237181663513184,
-0.006378876976668835,
-0.004977283533662558,
0.0622505322098732,
0.028544951230287552,
-0.05880507454276085,
0.03932823985815048,
-0.04442250728607178,
-0.014043130911886692,
-0.005002833902835846,
0.019895318895578384,
0.04609624296426773,
0.00684300297871232,
-0.00468633696436882,
-0.017131350934505463,
0.05331346392631531,
-0.06673659384250641,
-0.036941152065992355,
0.007547962013632059,
0.02089933305978775,
-0.006565395276993513,
-0.02225540392100811,
0.021512005478143692,
-0.03208785504102707,
-0.014236750081181526,
0.05277850851416588,
0.0035131273325532675,
0.050274353474378586,
-0.019232578575611115,
0.032437633723020554,
0.03316028043627739,
0.003696679137647152,
0.03326772525906563,
-0.014145726338028908,
-0.036740634590387344,
0.014594683423638344,
-0.018826063722372055,
0.07723645120859146,
0.010346351191401482,
-0.038065407425165176,
0.009664512239396572,
0.004945135675370693,
0.02032831311225891,
0.00011584340245462954,
0.0018599197501316667,
0.0020397789776325226,
-0.0284323301166296,
0.019137242808938026,
-0.044264331459999084,
-0.03808033838868141,
0.03859252855181694,
0.00030278085614554584,
-0.06733310967683792,
-0.023198386654257774,
-0.014806780964136124,
-0.014195317402482033,
0.029941363260149956,
0.005974936299026012,
-0.05261478200554848,
-0.03244524821639061,
-0.009526007808744907,
0.0032097839284688234,
-0.08634386211633682,
0.0622597336769104,
0.01030857302248478,
0.017266828566789627,
-0.010491126216948032,
0.0413532517850399,
0.05338380113244057,
0.013846100308001041,
0.006494369823485613,
0.08600056916475296,
-0.009770384058356285,
0.035891514271497726,
0.007595921400934458,
0.10779044032096863,
-0.005585905164480209,
-0.04096788913011551,
-0.052280306816101074,
0.041292332112789154,
-0.012993250973522663,
0.0035191925708204508,
0.0030566928908228874,
-0.02370670810341835,
-0.041874248534440994,
-0.005681578069925308,
0.03792729601264,
0.05723276361823082,
0.002949947025626898,
-0.0362650491297245,
0.007698022294789553,
-0.0714997947216034,
-0.006670405622571707,
-0.003040432231500745,
-0.010699152015149593,
0.0035669889766722918,
-0.01880439929664135,
0.010845212265849113,
0.014475992880761623,
0.03800588101148605,
0.04751646891236305,
-0.012769844383001328,
-0.01725090853869915,
0.06488578766584396,
-0.01933259330689907,
0.013454679399728775,
-0.007400382310152054,
0.011951777152717113,
0.023871656507253647,
0.05066943168640137,
-0.003218279220163822,
0.04611177742481232,
0.009130776859819889,
0.013791671022772789,
0.007460111286491156,
0.04880477115511894,
-0.025110969319939613,
-0.007359358016401529,
-0.05430563539266586,
0.014646482653915882,
0.07319860905408859,
-0.03025917336344719,
0.0008327270043082535,
0.02711690403521061,
0.045271482318639755,
0.002226301934570074,
0.027022594586014748,
0.008083567023277283,
-0.05925559625029564,
0.014442428946495056,
0.02150384895503521,
-0.0035009412094950676,
0.033011000603437424,
0.023618869483470917,
0.05804987624287605,
0.008483444340527058,
0.021777978166937828,
0.044054530560970306,
-0.05653281509876251,
-0.07030429691076279,
-0.008481568656861782,
-0.018264789134263992,
0.0714193731546402,
-0.038520727306604385,
-0.00491890124976635,
0.0430111326277256,
0.02514873817563057,
0.06171869859099388,
0.0533992275595665,
-0.027027294039726257,
0.023603346198797226,
-0.0075179398991167545,
-0.022267671301960945,
0.08577992767095566,
0.027343476191163063,
-0.03063037060201168,
-0.05315067246556282,
0.003279902506619692,
0.005292107816785574,
-0.019512996077537537,
0.0530584491789341,
-0.010078909806907177,
0.04904795065522194,
0.04402265325188637,
0.020282581448554993,
-0.0230448916554451,
0.025978686287999153,
-0.06087789312005043,
0.021728437393903732,
0.00740227522328496,
-0.014361905865371227,
-0.017323842272162437,
-0.038804199546575546,
0.11335005611181259,
0.05300194397568703,
-0.04001371189951897,
-0.05079048499464989,
0.00113367207814008,
-0.025759795680642128,
-0.024912599474191666,
0.009262973442673683,
-0.00814572349190712,
0.008110680617392063,
-0.003304345067590475,
-0.023730548098683357,
-0.009085621684789658,
0.025914881378412247,
-0.02739994041621685,
0.016849525272846222,
0.07415029406547546,
-0.013688474893569946,
0.044005587697029114,
-0.0314953438937664,
-0.03567008301615715,
0.025370676070451736,
0.002174734603613615,
-0.022833719849586487,
0.01865983009338379,
0.03751995787024498,
-0.021163281053304672,
0.052407871931791306,
-0.02827097661793232,
-0.055019672960042953,
-0.014535688795149326,
-0.040011584758758545,
0.02943139150738716,
0.04105932265520096,
0.03067588247358799,
-0.0004397026204969734,
0.05317729711532593,
-0.014834091998636723,
-0.020442884415388107,
-0.0031131012365221977,
-0.06562509387731552,
-0.038245201110839844,
0.02786184288561344,
0.01174098625779152,
0.03229294344782829,
0.011075063608586788,
0.05287299305200577,
0.010984277352690697,
0.024887248873710632,
-0.017853660508990288,
-0.0021286546252667904,
0.029437007382512093,
0.005295931827276945,
-0.06773534417152405,
-0.04704386368393898,
-0.05997811257839203,
0.047850895673036575,
-0.03265003487467766,
-0.037490326911211014,
-0.013297871686518192,
-0.06478439271450043,
0.05054797604680061,
-0.05458661913871765,
-0.04779953509569168,
0.02860180474817753,
0.03640108183026314,
0.041749559342861176,
-0.053753290325403214,
0.010146227665245533,
0.049095988273620605,
-0.027049586176872253,
0.023710845038294792,
0.03307662904262543,
-0.004411743953824043,
0.028632713481783867,
-0.010931072756648064,
0.03539114445447922,
0.04087921604514122,
-0.018412437289953232,
-0.02039097063243389,
-0.05565504729747772,
-0.016867410391569138,
-0.008852927014231682,
-0.2601262331008911,
0.042882829904556274,
-0.037691086530685425,
-0.02612636610865593,
0.03642256185412407,
-0.008449549786746502,
0.013447928242385387,
-0.04343879222869873,
-0.001005046651698649,
0.03478972241282463,
-0.022886257618665695,
-0.03659306466579437,
-0.016758082434535027,
0.058511994779109955,
-0.009515444748103619,
-0.006907045841217041,
-0.0323396734893322,
-0.07487830519676208,
0.04562611132860184,
0.04033039137721062,
-0.01931663602590561,
-0.05024942755699158,
0.0284193754196167,
0.06472089886665344,
0.004531571175903082,
0.05625661835074425,
-0.08033039420843124,
0.024011695757508278,
-0.027538781985640526,
-0.024671759456396103,
-0.023398753255605698,
0.010998204350471497,
0.019111448898911476,
-0.041142407804727554,
-0.016952581703662872,
-0.042094532400369644,
0.020845087245106697,
-0.007568431552499533,
0.024388456717133522,
0.05967501178383827,
-0.01939351111650467,
-0.03694179281592369,
0.00818344485014677,
-0.01588866114616394,
0.08324800431728363,
0.014144649729132652,
-0.03876214474439621,
-0.029658909887075424,
-0.010115861892700195,
0.07561052590608597,
-0.01796155981719494,
-0.03426188603043556,
0.009282504208385944,
0.05102543532848358,
-0.022709937766194344,
-0.030570710077881813,
0.031746216118335724,
-0.00917273573577404,
-0.045965127646923065,
-0.011777070350944996,
-0.024885987862944603,
-0.0498555488884449,
-0.0067079933360219,
-0.06603841483592987,
-0.03839249163866043,
-0.05852726101875305,
-0.04880647361278534,
0.006312546320259571,
0.0490129329264164,
0.0075198388658463955,
-0.0083814961835742,
0.0034287746530026197,
0.0002247282536700368,
-0.12911489605903625,
-0.07717906683683395,
-0.020564114674925804,
-0.012651552446186543,
-0.03613262251019478,
0.015359632670879364,
0.03195842355489731,
-0.036642301827669144,
-0.06273900717496872,
0.04872507601976395,
0.02053779549896717,
0.04893200471997261,
-0.0016346938209608197,
0.004050149582326412,
-0.00834953784942627,
-0.010241690091788769,
-0.014482849277555943,
0.06619234383106232,
-0.01154277939349413,
-0.0029674950055778027,
-0.014662666246294975,
0.00029886930133216083,
0.019717350602149963,
0.05014639347791672,
-0.025993235409259796,
0.021173197776079178,
0.01882362924516201,
0.0374186672270298,
-0.06310273706912994,
0.03394638001918793,
-0.03084333799779415,
-0.017601190134882927,
-0.022682663053274155,
-0.043941933661699295,
0.03998700529336929,
0.04826239496469498,
-0.008289108984172344,
-0.023483572527766228,
-0.05187466740608215,
-0.0025060568004846573,
-0.04528561234474182,
-0.010087339207530022,
-0.035932157188653946,
0.0036204925272613764,
-0.011638049967586994,
0.039278075098991394,
-0.008517079055309296,
-0.0575820654630661,
-0.01474036555737257,
0.02060546725988388,
-0.011079040355980396,
-0.08061295002698898,
-0.046870917081832886,
-0.007510386407375336,
-0.025446323677897453,
0.008964736014604568,
0.019772430881857872,
0.009999418631196022,
0.026189863681793213,
-0.024297133088111877,
-0.03668691962957382,
0.02780495397746563,
0.00501161627471447,
-0.008845163509249687,
-0.02325117215514183,
-0.033398885279893875,
-0.017575399950146675,
0.02093236707150936,
-0.01644628681242466,
0.01944611221551895,
0.02282348833978176,
0.043588463217020035,
0.0060187033377587795,
0.03009025566279888,
-0.020420636981725693,
-0.010091436095535755,
0.0074684894643723965,
0.00443668756633997,
-0.05548110231757164,
0.01964765414595604,
-0.014342614449560642,
-0.010488922707736492,
-0.0035126202274113894,
0.03969872370362282,
-0.03513609245419502,
-0.029767466709017754,
-0.05642508715391159,
0.03347107395529747,
-0.01683012954890728,
-0.042700547724962234,
-0.049445003271102905,
0.00807694997638464,
0.058299824595451355,
-0.028166843578219414,
0.05893715098500252,
-0.020161304622888565,
-0.0071669332683086395,
-0.013952810317277908,
0.00837485957890749,
-0.029049592092633247,
0.037881121039390564,
-0.032704975455999374,
0.000008370825526071712,
0.0076780542731285095,
0.018858755007386208,
0.0038014648016542196,
0.037212781608104706,
0.0007405929500237107,
-0.04647187516093254,
0.0017117810202762485,
0.045577190816402435,
0.04774533957242966,
-0.003068314865231514,
0.008897123858332634,
-0.008064617402851582,
-0.01932688057422638,
0.01660032384097576,
-0.04344608262181282,
-0.016390807926654816,
-0.0368400402367115,
0.028380289673805237,
-0.05580497905611992,
-0.061374276876449585,
-0.00003057686990359798,
0.03943050280213356,
0.022924035787582397,
-0.0018745457055047154,
0.027894729748368263,
-0.00009920734009938315,
-0.010081833228468895,
-0.01644117385149002,
0.037739451974630356,
-0.03938369080424309,
0.010136614553630352,
-0.011263901367783546,
0.034636419266462326,
0.03320344537496567,
0.03446919098496437,
-0.07495487481355667,
-0.006909259129315615,
-0.02463655360043049,
-0.0061347028240561485,
-0.0001188809983432293,
-0.05040924251079559,
-0.01084681786596775,
0.012099110521376133,
-0.06866579502820969,
-0.029366150498390198,
0.0024072204250842333,
-0.00570268789306283,
0.00009975909779313952,
-0.007810803595930338,
-0.012853696942329407,
-0.06472613662481308,
0.0013243192806839943,
0.028355134651064873,
-0.023141205310821533,
0.002579519059509039,
-0.014954209327697754,
0.062470898032188416,
0.03865658864378929,
0.0021089715883135796,
-0.01983579993247986,
-0.07235998660326004,
0.014695311896502972,
-0.03935346379876137,
0.03285491093993187,
0.027943214401602745,
-0.017341136932373047,
-0.01118624210357666,
-0.013316231779754162,
-0.030165869742631912,
0.028321579098701477,
0.004768130369484425,
-0.07328899204730988,
0.03804028779268265,
0.07381807267665863,
-0.016003910452127457,
0.05871851369738579,
-0.0052271513268351555,
-0.0037139737978577614,
0.04614128917455673,
-0.030139019712805748,
0.007105384021997452,
-0.006027637515217066,
-0.06517915427684784,
0.03515101969242096,
-0.005267682485282421,
-0.0014894616324454546,
-0.03691766411066055,
0.022999774664640427,
0.0339730940759182,
0.0286437775939703,
0.03890448063611984,
-0.01802925206720829,
0.034271903336048126,
-0.02478618174791336,
0.00995374470949173,
-0.0826771929860115,
0.04525870457291603,
0.046372804790735245,
0.00801621749997139,
-0.010559970512986183,
-0.01137042511254549,
0.0020926136057823896,
0.04278392717242241,
-0.0357140488922596,
-0.00910700298845768,
0.029606783762574196,
0.0043349298648536205,
0.02563212439417839,
0.02286798134446144,
-0.023037850856781006,
0.03484958037734032,
0.028503650799393654,
-0.020429857075214386,
-0.03703497722744942,
-0.02029278688132763,
0.020052356645464897,
0.01759207248687744,
0.0004408824606798589,
-0.023861223831772804,
0.02993762493133545,
0.037325385957956314,
0.04597490280866623,
0.017690381035208702,
0.04635309427976608,
-0.029713837429881096,
0.0282627921551466,
0.019451744854450226,
-0.025244060903787613,
-0.03050237149000168,
0.0065049403347074986,
-0.011758765205740929,
-0.05711996182799339,
0.02082984521985054,
0.005595752969384193,
-0.04578068107366562,
-0.04462369531393051,
0.06798386573791504,
0.04053186997771263,
0.0054786899127066135,
-0.019243953749537468,
-0.0243369247764349,
-0.04265466332435608,
-0.022469405084848404,
-0.005762093234807253,
0.00858116615563631,
-0.03781457617878914,
0.06757522374391556,
0.0166702289134264,
-0.017095930874347687,
0.04923760145902634,
-0.01914573833346367,
-0.005393007304519415,
0.0018768917070701718,
0.0680890828371048,
0.07249148190021515,
0.02862720377743244,
-0.025912778452038765,
0.05715981498360634,
-0.027874065563082695,
-0.034957967698574066,
0.024623621255159378,
-0.035539619624614716,
0.0136044817045331,
-0.030694954097270966,
0.03512754291296005,
0.09743451327085495,
0.02594422735273838,
0.05895848944783211,
-0.05010898411273956,
-0.005037338472902775,
-0.03952158987522125,
0.005997142754495144,
0.05572894215583801,
0.05629964917898178,
0.011246866546571255,
0.019548669457435608,
0.008968600071966648,
-0.035955458879470825,
0.03108007274568081,
-0.03088131733238697,
-0.0301906019449234,
-0.006410524249076843,
0.006808309815824032,
0.010793333873152733,
-0.008552447892725468,
0.014785663224756718,
0.04210042953491211,
0.0017141265561804175,
-0.007555970922112465,
-0.021075289696455002,
0.014710468240082264,
0.022678451612591743,
-0.05801869183778763,
-0.0301533043384552,
-0.005917963571846485,
-0.02094690501689911,
-0.0005547550390474498,
-0.016032448038458824,
-0.0451929084956646,
-0.03935009986162186,
0.0028896271251142025,
-0.013898036442697048,
-0.004084519110620022,
0.04379158094525337,
-0.0047102500684559345,
0.00003786481101997197,
-0.03981528431177139,
-0.046354398131370544,
-0.057915106415748596,
-0.06802026182413101,
0.010262707248330116,
-0.00959095824509859,
-0.02588348463177681,
-0.00028178509091958404,
-0.029776714742183685,
-0.013485625386238098,
-0.03570875898003578,
0.066495880484581,
-0.019916949793696404,
-0.0358048677444458,
0.022010600194334984,
0.010974829085171223,
0.05949181690812111,
0.028151648119091988,
0.010590340942144394,
-0.033310700207948685,
0.0010376488789916039,
-0.030999356880784035,
-0.040563635528087616,
0.05541851371526718,
0.022425426170229912,
0.0011566660832613707,
-0.07209333032369614,
-0.009100518189370632,
0.00947325024753809,
0.036669325083494186,
-0.06893850117921829,
0.01228151936084032,
-0.036003176122903824,
0.0031801359727978706,
0.029077937826514244,
-0.04254859313368797,
-0.039321206510066986,
-0.019663522019982338,
-0.004738471936434507,
0.009054685942828655,
0.010528679005801678,
0.040818698704242706,
-0.04374989494681358,
0.07149787247180939,
-0.02405950427055359,
-0.017311925068497658,
-0.023121796548366547,
0.015037134289741516,
-0.04981309175491333,
0.025811439380049706,
-0.018262390047311783,
-0.04195018485188484,
-0.03774207457900047,
-0.04780735820531845,
0.0022613778710365295,
-0.000854429614264518,
-0.03476753830909729,
-0.053882814943790436,
0.03426016867160797,
0.028693994507193565,
-0.06812768429517746,
0.07498807460069656,
-0.014197088778018951,
0.04341624304652214,
-0.014303992502391338,
-0.038719698786735535,
0.010775531642138958,
0.014918665401637554,
0.0030415367800742388,
0.015089873224496841,
0.06495539844036102,
-0.03522438183426857,
0.005672353785485029,
0.0006498924922198057,
0.003326939884573221,
0.010614488273859024,
-0.030693667009472847,
0.031764399260282516
] | [
-0.09772922843694687,
-0.014142988249659538,
-0.042185187339782715,
-0.01226714439690113,
0.04164490848779678,
-0.04336794465780258,
0.019989576190710068,
0.04365895688533783,
0.01295412052422762,
-0.013126698322594166,
-0.02564191445708275,
-0.0773935616016388,
-0.011750184930860996,
-0.004059269092977047,
0.044910769909620285,
-0.006090710870921612,
-0.005250647198408842,
-0.042388807982206345,
-0.024562906473875046,
0.014982186257839203,
0.03558684512972832,
-0.00219094380736351,
-0.0575781986117363,
-0.018601790070533752,
0.031374961137771606,
0.07722638547420502,
0.03881742060184479,
-0.04846686124801636,
0.004873908590525389,
-0.2123330682516098,
-0.0015873663360252976,
-0.007575623691082001,
0.06253814697265625,
-0.030790196731686592,
-0.021657420322299004,
0.02355395257472992,
0.00933791697025299,
0.03769518435001373,
-0.014152811840176582,
0.0653424859046936,
-0.0021165311336517334,
0.016535671427845955,
-0.029181931167840958,
-0.0023676021955907345,
0.04136209189891815,
-0.003918718546628952,
-0.04667332395911217,
-0.01297592744231224,
-0.020727014169096947,
0.03399667888879776,
-0.05394835025072098,
-0.004036194644868374,
-0.01589771918952465,
-0.019909758120775223,
0.0028451625257730484,
0.0345386303961277,
0.023149531334638596,
0.04459485784173012,
0.011868013069033623,
0.03276203200221062,
-0.00602829921990633,
-0.007062595337629318,
-0.1307545304298401,
0.0938422828912735,
0.015234820544719696,
0.0538182407617569,
0.0203409381210804,
-0.03272196277976036,
-0.0028839686419814825,
0.09377734363079071,
0.03926843777298927,
-0.018369358032941818,
-0.019885724410414696,
0.041207991540431976,
0.013537378050386906,
-0.025220515206456184,
-0.010838845744729042,
0.020606448873877525,
0.021755538880825043,
-0.027980588376522064,
-0.04851846396923065,
-0.005456467159092426,
0.001093303901143372,
-0.04145149514079094,
-0.024659663438796997,
-0.0023202409502118826,
-0.009967233054339886,
0.025844406336545944,
0.04339013993740082,
0.02019505389034748,
0.02161961793899536,
-0.02785077504813671,
-0.00436924584209919,
0.008025811053812504,
-0.0844532698392868,
-0.020767884328961372,
0.020639903843402863,
0.016149209812283516,
-0.013104360550642014,
0.4152488112449646,
-0.05564643070101738,
-0.01285377237945795,
0.019135182723402977,
0.02195425145328045,
-0.019281111657619476,
-0.00041416403837502003,
-0.01464974507689476,
-0.032993823289871216,
0.016927605494856834,
-0.04829609766602516,
-0.011535357683897018,
0.01198248565196991,
0.0507550947368145,
-0.06123979389667511,
-0.012090799398720264,
0.008825523778796196,
0.03207162022590637,
0.0003674857725854963,
0.025516193360090256,
0.012070839293301105,
-0.003427746705710888,
-0.013063730672001839,
0.02713468298316002,
0.0045374734327197075,
0.032821811735630035,
-0.012147227302193642,
0.014779527671635151,
0.07226093113422394,
0.03642027825117111,
0.030663445591926575,
0.06178608536720276,
-0.04618089646100998,
-0.061969537287950516,
-0.020556634292006493,
-0.0104239946231246,
0.015203464776277542,
0.0568612664937973,
-0.016251500695943832,
-0.01614122837781906,
0.029377151280641556,
-0.024777447804808617,
-0.05482945218682289,
0.041389260441064835,
-0.004953342955559492,
-0.03150661662220955,
0.12044966220855713,
-0.035969026386737823,
-0.033061433583498,
-0.027856744825839996,
-0.04190773889422417,
-0.008825180120766163,
0.05291612073779106,
-0.030162381008267403,
-0.045759089291095734,
0.015504928305745125,
0.057150378823280334,
0.061178214848041534,
-0.02775290049612522,
-0.05716719850897789,
0.0003026039630640298,
-0.042112696915864944,
-0.021025508642196655,
-0.03171608969569206,
0.06048629432916641,
0.023835206404328346,
-0.0564446859061718,
-0.045304786413908005,
0.000787863100413233,
0.044915571808815,
-0.09663758426904678,
0.013312788680195808,
-0.007928354665637016,
-0.03596437722444534,
-0.019583268091082573,
0.030202779918909073,
0.005605542566627264,
-0.0007375337299890816,
-0.019132161512970924,
0.018155209720134735,
-0.004619266372174025,
-0.01600765995681286,
0.014912999235093594,
-0.009830009192228317,
-0.0026592928916215897,
-0.020948471501469612,
-0.07401600480079651,
-0.05882486328482628,
-0.010385556146502495,
-0.010636596940457821,
-0.017731407657265663,
0.0011606297921389341,
-0.024453535676002502,
-0.057053618133068085,
0.0716637447476387,
-0.05704951658844948,
-0.02678215503692627,
0.00388954090885818,
0.01573326624929905,
0.0019896195735782385,
-0.02691582404077053,
0.06527311354875565,
0.025629909709095955,
0.01210319995880127,
0.0488632507622242,
-0.03107554093003273,
0.06643395125865936,
0.0760035291314125,
-0.03908797726035118,
0.05676611512899399,
0.037423424422740936,
-0.042321499437093735,
-0.009667518548667431,
-0.0016002864576876163,
-0.0036087925545871258,
-0.013541062362492085,
-0.03249425068497658,
-0.018950538709759712,
0.006763738580048084,
0.005564878229051828,
0.04906317591667175,
-0.01226160116493702,
-0.03708087280392647,
-0.02519318461418152,
-0.36257702112197876,
-0.03238275274634361,
0.005691397003829479,
-0.0142890065908432,
0.029740996658802032,
-0.04475277662277222,
0.015375114977359772,
-0.04210799187421799,
-0.023614825680851936,
0.01815514825284481,
0.060512300580739975,
0.006657933816313744,
-0.01383417658507824,
-0.10608167201280594,
-0.0060870894230902195,
0.03711248189210892,
-0.004334774799644947,
-0.07143005728721619,
-0.021136712282896042,
0.02794439159333706,
0.018688593059778214,
0.0149870989844203,
-0.030326321721076965,
-0.02876599133014679,
0.014555012807250023,
-0.0427507646381855,
0.09848251938819885,
-0.00024357596703339368,
0.07742995768785477,
-0.04230527579784393,
0.041455451399087906,
-0.03498796746134758,
0.0062508429400622845,
-0.032392553985118866,
-0.0063462029211223125,
-0.05661358684301376,
0.0004410501860547811,
0.015299813821911812,
0.0416012704372406,
-0.02992156334221363,
-0.029247699305415154,
0.006121053826063871,
-0.05418829619884491,
-0.037914615124464035,
-0.012619977816939354,
-0.0007813255651853979,
0.0017184345051646233,
-0.038825199007987976,
-0.009597649797797203,
0.059559475630521774,
0.028361650183796883,
0.0002476578520145267,
0.019972287118434906,
0.02662365324795246,
-0.013365762308239937,
-0.015229571610689163,
-0.09238819032907486,
-0.007695226464420557,
-0.02543078549206257,
-0.043182261288166046,
0.05188541114330292,
0.0421890914440155,
0.0218264888972044,
-0.05445536598563194,
0.008698958903551102,
0.006906181573867798,
-0.0191603135317564,
-0.014034166932106018,
0.06354766339063644,
-0.034538157284259796,
-0.026262229308485985,
0.11135425418615341,
-0.003379599656909704,
-0.012433987110853195,
0.03050345368683338,
0.05613197758793831,
-0.01810908503830433,
0.05687481537461281,
0.00798554066568613,
0.018345462158322334,
0.06382013857364655,
0.01082796510308981,
0.03416053578257561,
-0.040292005985975266,
-0.012366088107228279,
0.029826439917087555,
-0.003773272968828678,
-0.0186503566801548,
0.052966777235269547,
-0.02683243528008461,
-0.01034724060446024,
0.00002792344275803771,
-0.0036472438368946314,
-0.06383310258388519,
0.04900657758116722,
-0.029776031151413918,
-0.2690138816833496,
0.010438851080834866,
0.08350956439971924,
0.0693998634815216,
-0.030327705666422844,
0.014389881864190102,
0.029982425272464752,
-0.060177870094776154,
-0.03026604652404785,
-0.002528941724449396,
-0.017658766359090805,
0.036100443452596664,
0.008126519620418549,
-0.01826217584311962,
0.029004640877246857,
-0.019740549847483635,
0.013235160149633884,
-0.025080310180783272,
0.018592065200209618,
-0.012829604558646679,
0.05988496169447899,
-0.004556620959192514,
0.1989559829235077,
0.007239253260195255,
0.023153984919190407,
0.026225391775369644,
0.04016880318522453,
0.010534828528761864,
0.09949818253517151,
0.013714104890823364,
0.05084538459777832,
0.010167560540139675,
0.08287188410758972,
0.013943349942564964,
0.03814952075481415,
-0.07027498632669449,
-0.03687391057610512,
0.06511435657739639,
0.02184959128499031,
-0.006579482927918434,
-0.003960244357585907,
0.01416004914790392,
-0.07483656704425812,
0.015246200375258923,
0.08024964481592178,
-0.005689686164259911,
0.00664635980501771,
-0.024553639814257622,
-0.04389110207557678,
-0.011395438574254513,
-0.02571127563714981,
-0.014186576940119267,
0.005165399983525276,
-0.020707063376903534,
-0.008183201774954796,
0.04398161545395851,
0.034307658672332764,
0.001632435480132699,
-0.004282104317098856,
0.058309826999902725,
-0.007254694122821093,
-0.004012261983007193,
0.07246317714452744,
0.03266201168298721,
0.03281567245721817
] | [
0.004270538687705994,
0.04014243930578232,
-0.01698293350636959,
0.01110106147825718,
-0.03212559223175049,
-0.013921894133090973,
0.03567885980010033,
0.020086977630853653,
-0.016238529235124588,
-0.0037388054188340902,
-0.010066187009215355,
-0.04367199167609215,
-0.010829993523657322,
-0.03223179653286934,
0.05314206704497337,
0.001227302011102438,
-0.01908291131258011,
-0.027370821684598923,
0.023360809311270714,
-0.00904158502817154,
-0.018661923706531525,
0.07190875709056854,
0.022390345111489296,
-0.006161452271044254,
-0.014674989506602287,
0.04369843378663063,
0.02057746984064579,
0.045163605362176895,
0.018656965345144272,
-0.10086730122566223,
-0.024220826104283333,
-0.018125813454389572,
0.0016690508928149939,
0.025533875450491905,
-0.01915094442665577,
-0.0410415343940258,
-0.03896163031458855,
0.04870742931962013,
-0.020609432831406593,
-0.0004693018854595721,
-0.03196898102760315,
0.0062254746444523335,
0.007171868812292814,
0.05065242573618889,
0.0174537505954504,
-0.015743223950266838,
-0.03344988822937012,
0.005958679597824812,
-0.010498096235096455,
0.04022200033068657,
-0.04016851633787155,
0.0035017402842640877,
-0.021110255271196365,
0.031016221269965172,
0.06614203006029129,
-0.015990162268280983,
-0.03024040162563324,
-0.02820238284766674,
0.031550150364637375,
-0.009156675077974796,
0.017685018479824066,
0.009438701905310154,
-0.02898618020117283,
-0.04444330558180809,
0.03568248078227043,
-0.014394486322999,
-0.025042103603482246,
-0.027925511822104454,
0.010286789387464523,
-0.023543257266283035,
0.017256373539566994,
-0.009612866677343845,
0.018483420833945274,
-0.0002486713929101825,
-0.011428975500166416,
-0.017808321863412857,
-0.018861984834074974,
-0.054146330803632736,
0.004137505777180195,
-0.01574195921421051,
-0.01845700480043888,
-0.008726025931537151,
0.00445500947535038,
0.04319148138165474,
-0.00312318978831172,
-0.030184578150510788,
-0.012888348661363125,
0.03267895057797432,
-0.0015839262632653117,
0.006383052561432123,
-0.008345790207386017,
-0.004046009387820959,
0.001715664635412395,
0.015427802689373493,
-0.07333125174045563,
0.02084795944392681,
-0.028255566954612732,
0.0011225680354982615,
0.001710479031316936,
0.842724084854126,
-0.010369052179157734,
0.016031282022595406,
0.004498827271163464,
0.03442281857132912,
-0.04035521671175957,
0.0035340036265552044,
0.024535853415727615,
-0.026636142283678055,
0.014577629044651985,
-0.04170744866132736,
0.0173531174659729,
0.02471485175192356,
0.05088083818554878,
0.014969035983085632,
-0.006495180074125528,
0.02604210190474987,
0.00602960167452693,
0.024337712675333023,
0.04077699035406113,
0.06047709658741951,
0.005378292873501778,
-0.0032429173588752747,
-0.017885545268654823,
0.057637881487607956,
0.06821553409099579,
-0.14241567254066467,
-0.0024185460060834885,
-6.414015130284732e-33,
0.015250355936586857,
-0.01726846769452095,
0.024470621719956398,
0.009849284775555134,
0.042406369000673294,
-0.02231433242559433,
-0.019808674231171608,
0.009168942458927631,
0.023592043668031693,
-0.010204329155385494,
0.0036771930754184723,
-0.0026235640980303288,
-0.0025687061715871096,
-0.023585623130202293,
0.03575962409377098,
-0.020216884091496468,
-0.0022868954110890627,
0.021653763949871063,
-0.016247667372226715,
0.020952999591827393,
0.025438660755753517,
0.014215151779353619,
0.00893040094524622,
-0.0012563267955556512,
-0.011479449458420277,
0.04452347755432129,
0.0029119630344212055,
0.018670793622732162,
0.016586005687713623,
-0.03602612391114235,
0.00014368866686709225,
-0.00796541664749384,
-0.011303107254207134,
-0.013689318671822548,
0.026243796572089195,
-0.024352021515369415,
-0.008209221996366978,
0.03544818237423897,
-0.018962543457746506,
-0.0021457562688738108,
-0.06837525963783264,
-0.0022093504667282104,
-0.019861867651343346,
0.0029061201494187117,
0.02302161231637001,
-0.057347413152456284,
-0.013458596542477608,
0.021418921649456024,
0.018055524677038193,
0.0005645228666253388,
0.02048668824136257,
-0.013749316334724426,
0.01963714323937893,
-0.01593444123864174,
0.001710910932160914,
0.024667836725711823,
0.00815899483859539,
0.027843112125992775,
0.0013159163063392043,
0.04725288227200508,
-0.02795400097966194,
0.00976375862956047,
-0.009873932227492332,
0.03004242293536663,
-0.028719710186123848,
0.025271687656641006,
0.004471928346902132,
-0.03373648598790169,
0.017367267981171608,
-0.0031370832584798336,
-0.04767241328954697,
0.023373739793896675,
-0.020505674183368683,
-0.04940304532647133,
-0.0282355397939682,
-0.024375027045607567,
-0.009785066358745098,
0.008925976231694221,
-0.010581882670521736,
-0.0017909870948642492,
0.012856479734182358,
-0.024422507733106613,
0.014150789938867092,
0.015916023403406143,
0.004687492270022631,
-0.03304560109972954,
0.001802407787181437,
-0.007836435921490192,
-0.0015982282347977161,
-0.0034442327450960875,
0.027063217014074326,
0.018386829644441605,
-0.06660300493240356,
-0.030951468273997307,
0.02840396948158741,
6.266785932212179e-33,
-0.004396872594952583,
-0.00444859080016613,
-0.014555804431438446,
0.005657074972987175,
0.018708789721131325,
-0.051827214658260345,
0.038646962493658066,
0.054740216583013535,
-0.02309552952647209,
0.004939280916005373,
-0.01740385964512825,
0.010762481018900871,
-0.022006120532751083,
0.0032044670078903437,
0.05201777443289757,
0.02128094621002674,
0.0018415864324197173,
-0.009660935029387474,
0.023160560056567192,
0.008892574347555637,
0.016405779868364334,
0.010634684935212135,
0.021447964012622833,
0.012470895424485207,
-0.02895861119031906,
0.027041811496019363,
-0.022526750341057777,
-0.007173827383667231,
0.0033334996551275253,
0.020063338801264763,
-0.006487222388386726,
-0.04498809948563576,
0.03374093025922775,
-0.04684599116444588,
-0.015085211955010891,
0.009725045412778854,
0.011343569494783878,
-0.0035919654183089733,
-0.007317574229091406,
0.013676789589226246,
0.003845487255603075,
-0.01583481766283512,
-0.016796745359897614,
0.017464641481637955,
-0.01489325799047947,
0.015361936762928963,
0.022853635251522064,
0.01600385643541813,
0.016680845990777016,
-0.021059570834040642,
0.036479074507951736,
-0.02079273760318756,
-0.024503106251358986,
-0.00005605982732959092,
-0.005396117921918631,
-0.00042893036152236164,
-0.029182713478803635,
-0.006577885709702969,
-0.040413226932287216,
0.007037570234388113,
-0.027357395738363266,
0.0341607965528965,
0.021855585277080536,
0.012985385954380035,
0.03542811796069145,
0.03594649210572243,
-0.05727257952094078,
-0.035886701196432114,
-0.02650744840502739,
-0.005753799807280302,
-0.05379714444279671,
-0.040681853890419006,
-0.005179407075047493,
0.026367124170064926,
-0.037003517150878906,
0.004503976553678513,
-0.027356918901205063,
0.018493343144655228,
-0.023463072255253792,
0.0410255528986454,
0.04972534254193306,
-0.014171215705573559,
0.009441702626645565,
0.03806788846850395,
-0.032858315855264664,
0.022720035165548325,
0.002764762146398425,
-0.010334473103284836,
-0.0003238072677049786,
-0.018764188513159752,
-0.008527270518243313,
-0.005976173095405102,
-0.006685919128358364,
-0.01153694000095129,
-0.006117172073572874,
-1.2586120590185601e-8,
-0.06161827594041824,
0.018510010093450546,
-0.02975902333855629,
0.029984431341290474,
0.005048385355621576,
-0.016003064811229706,
-0.025482621043920517,
-0.012699461542069912,
0.014650437980890274,
-0.0006268279394134879,
0.0209009051322937,
0.018342018127441406,
-0.02724473550915718,
0.006451108958572149,
0.036007434129714966,
-0.07839056849479675,
0.022113611921668053,
-0.022599807009100914,
0.0009103564661927521,
0.016850821673870087,
0.0014691499527543783,
0.03862008452415466,
0.0031912026461213827,
-0.014034955762326717,
-0.0031760004349052906,
-0.010524141602218151,
-0.010273000225424767,
-0.07672032713890076,
0.0480443499982357,
0.01353252213448286,
0.02830498293042183,
-0.04102133959531784,
0.015365486033260822,
0.03289724141359329,
-0.031941015273332596,
-0.04965765029191971,
-0.020805377513170242,
-0.0015501787420362234,
0.05444872006773949,
-0.0017633471870794892,
0.0007799640879966319,
0.007934004068374634,
-0.01731438748538494,
-0.03448810428380966,
-0.014437252655625343,
-0.03025714121758938,
-0.0113456379622221,
-0.020484253764152527,
0.02249227650463581,
-0.03897399082779884,
-0.030580323189496994,
-0.01423031184822321,
-0.0058513120748102665,
-0.0018538687145337462,
0.010013467632234097,
0.0314624197781086,
0.02277252823114395,
-0.003156061749905348,
-0.03293696790933609,
0.0061157988384366035,
0.02982446551322937,
-0.03864651545882225,
-0.020437417551875114,
-0.025035420432686806
] | f-refactoring-to-active-patterns | https://markhneedham.com/blog/2010/01/07/f-refactoring-to-active-patterns |
false | 2010-01-31 14:05:05 | DDD8: Mixing functional and object oriented approaches to programming in C# | [
"ddd8"
] | [
".NET"
] | I did a presentation titled 'Mixing functional and object oriented approaches to programming in C#' at the http://developerdeveloperdeveloper.com/ddd8/Schedule.aspx[Developer Developer Developer conference] in Reading.
The slides from the talk are below:
http://www.slideshare.net/markhneedham/mixing-functional-and-object-oriented-approaches-to-programming-in-c[Mixing functional and object oriented approaches to programming in C#]
I've not done many technical talks so far. My only previous attempt was a talk on http://www.markhneedham.com/blog/2009/06/30/f-what-ive-learnt-so-far/[F# one at the Sydney Alt.NET user group] last year so I'm still learning how to do this effectively.
It was quite interesting reading through some of the feedback from twitter and several people pointed out that the content was too basic which was something I was concerned about while writing the talk:
____
OK. 30 mins into #ddd8 talk of functional vs OO approaches and I've been told one small thing I didn't know.
____
____
#ddd8 finished @markhneedham talk\... Good speaker,but but basic For me, the last 20% of the content should have been 80% of the talk
____
____
"If you want to learn more\..." Er\...yeah. I certainly want to learn more than I just did. #ddd8
____
____
Mark did a good job but difficulty lvl would help as it was quite basic. Missed caching bit looking at twitter. Doh!
____
____
Mark Needham's talk on functional and OO at #DDD8 was OK, but the first 2/3 was too much of a simple intro.
____
The feedback I got in person was that the talk worked alright and there were a couple more positive comments on twitter too:
____
Great day at #ddd8 - really enjoyed Mark Needham's functional programming session & testing ASP.Net with Ruby
____
____
Listening to @markneedham at #ddd8. He has a fantastic abilty to break things down and explain them :)
____
I think there were probably too many slides in the talk - I found myself pausing unnaturally so that I could move to the next slide which was also pointed out on twitter:
____
In my first session at #ddd8 on functional programming - loadsa slides - someone get the guy a remote!
____
I think I'll probably go with less slides the next time - some of them weren't adding much value anyway so I don't think it would hurt too much to drop them.
Overall though it was a good experience for me getting the chance to put this talk together and I think I learnt a little more about better ways to understand the way we can use functional programming in C# by having the opportunity to prepare this. | null | null | [
0.01675414852797985,
-0.002647748216986656,
0.0003721046377904713,
0.037488531321287155,
0.0811973586678505,
0.014379266649484634,
0.021791888400912285,
0.041914358735084534,
0.009131263941526413,
-0.018593087792396545,
-0.004307968076318502,
0.030377279967069626,
-0.05497121065855026,
0.003761173924431205,
-0.006241918541491032,
0.05532453954219818,
0.06148102506995201,
-0.045327410101890564,
0.04446037858724594,
0.021068980917334557,
0.016352515667676926,
0.06767517328262329,
0.012509443797171116,
0.02925475500524044,
0.03189785033464432,
0.019604651257395744,
0.015221016481518745,
0.012666827999055386,
-0.0660480484366417,
-0.01587548293173313,
0.031964290887117386,
0.016800280660390854,
0.016443563625216484,
-0.0070787756703794,
0.016968341544270515,
-0.019641945138573647,
0.0009226439287886024,
0.014233088120818138,
0.016256989911198616,
0.03285017982125282,
-0.0754658505320549,
0.030204646289348602,
-0.011591863818466663,
0.011687086895108223,
-0.03780408576130867,
0.013576546683907509,
-0.03938871622085571,
-0.006197295617312193,
0.001413676654919982,
-0.006060754880309105,
-0.07242017239332199,
0.019100211560726166,
0.007131325080990791,
0.016022158786654472,
-0.030285516753792763,
0.05340977758169174,
0.018858972936868668,
-0.058867570012807846,
-0.0016538879135623574,
-0.046800851821899414,
-0.01264257077127695,
-0.0022954971063882113,
0.007111744489520788,
0.02555662952363491,
0.039896409958601,
-0.014695067889988422,
-0.022016840055584908,
0.034416742622852325,
-0.0379321426153183,
0.0009383067372255027,
-0.012625657953321934,
0.025060154497623444,
0.0010327890049666166,
-0.012588846497237682,
0.030233003199100494,
-0.06285067647695541,
-0.00010733820090536028,
0.05452636629343033,
0.013604470528662205,
0.026982080191373825,
-0.015548000112175941,
0.03268701955676079,
0.03523648530244827,
0.02809191681444645,
-0.0016190443420782685,
-0.03365641459822655,
-0.021263258531689644,
-0.01212530117481947,
-0.05651896074414253,
0.0742841511964798,
-0.005450241733342409,
-0.04591488465666771,
0.01840539090335369,
0.04008200392127037,
0.0046723694540560246,
0.017198672518134117,
0.035097066313028336,
-0.0037597997579723597,
-0.01839085854589939,
-0.02164478786289692,
-0.014351696707308292,
-0.02351703867316246,
-0.003082818351686001,
0.002772335661575198,
-0.07218413800001144,
-0.007846923545002937,
-0.028710758313536644,
-0.00462233554571867,
-0.013225132599473,
0.02575518563389778,
-0.046419933438301086,
0.029493840411305428,
-0.009702962823212147,
0.006970272399485111,
-0.0684548169374466,
0.06382094323635101,
0.007020311895757914,
-0.03655264899134636,
-0.02340831607580185,
-0.012588548474013805,
0.04304598271846771,
0.04839427024126053,
-0.013641387224197388,
0.08251041918992996,
0.006039028521627188,
0.01516265794634819,
-0.037726543843746185,
0.05657130479812622,
-0.014796347357332706,
-0.06416074931621552,
-0.004758014809340239,
0.03446144238114357,
-0.01221400871872902,
-0.006849855184555054,
0.0011905394494533539,
-0.04494166374206543,
0.009124048985540867,
0.004725644364953041,
0.02162230759859085,
0.04974077269434929,
-0.002847905969247222,
-0.04661811143159866,
0.021552707999944687,
-0.0032446824479848146,
0.01430138573050499,
0.002333426848053932,
-0.013528444804251194,
-0.00915396399796009,
-0.02999299019575119,
0.01718929037451744,
0.00603675190359354,
0.01730051264166832,
0.0033387241419404745,
-0.06911841034889221,
0.04074401780962944,
0.08985964208841324,
0.02588987536728382,
0.019030703231692314,
-0.012326515279710293,
0.033781807869672775,
0.03291283920407295,
0.03149070590734482,
0.0012415527598932385,
0.01642727665603161,
0.005994569975882769,
-0.005300058983266354,
0.0025694495998322964,
0.06547580659389496,
-0.003805124433711171,
0.01756782829761505,
-0.05441033095121384,
-0.02207901142537594,
0.04882146045565605,
-0.046345315873622894,
-0.049622222781181335,
0.020993700250983238,
0.0730200856924057,
0.024726293981075287,
0.04744825139641762,
-0.017236173152923584,
-0.0872509777545929,
-0.00707052368670702,
0.03524121269583702,
0.018035076558589935,
0.007365989498794079,
-0.02409224957227707,
0.07779163867235184,
0.017860714346170425,
0.006935409270226955,
0.04989561066031456,
-0.06238601356744766,
-0.08459797501564026,
-0.03909403830766678,
-0.023756805807352066,
0.07339371740818024,
-0.0011382470838725567,
0.008875704370439053,
0.049935124814510345,
0.0221285168081522,
0.0601704940199852,
0.0475824773311615,
-0.009375420399010181,
0.009226670488715172,
-0.022153779864311218,
-0.03610195219516754,
0.04553651809692383,
0.03116021491587162,
0.015998587012290955,
-0.05449290573596954,
-0.0015977396396920085,
-0.004753520712256432,
-0.021618448197841644,
0.04536689817905426,
-0.009795698337256908,
0.043947409838438034,
0.00004545894262264483,
0.062173012644052505,
-0.03728095069527626,
0.039311621338129044,
-0.03819699585437775,
0.007408567238599062,
-0.0004057944752275944,
-0.014920512214303017,
0.021190384402871132,
0.0007321060402318835,
0.13088421523571014,
0.07143796980381012,
-0.045719631016254425,
-0.027808746322989464,
-0.005607753060758114,
0.013204081915318966,
-0.04343295097351074,
-0.003961576148867607,
0.001710391603410244,
0.013404304161667824,
0.013330399990081787,
-0.07575634866952896,
-0.03962890803813934,
0.01230678427964449,
-0.04379403963685036,
0.035784538835287094,
0.06694592535495758,
-0.02549564093351364,
0.060083117336034775,
-0.009112091735005379,
-0.01865447126328945,
0.010138413868844509,
-0.017042897641658783,
-0.030640190467238426,
0.005940609611570835,
0.0042699468322098255,
-0.013285125605762005,
0.057204995304346085,
-0.012108642607927322,
-0.028448401018977165,
-0.028770623728632927,
-0.018216965720057487,
0.006502403877675533,
0.04329715669155121,
0.06313636898994446,
-0.0022703686263412237,
0.07157432287931442,
-0.023761089891195297,
0.022520670667290688,
0.003094482235610485,
-0.05307489633560181,
-0.02933262102305889,
-0.02707618847489357,
0.01211143471300602,
0.04586596041917801,
0.0016227910527959466,
0.008398884907364845,
0.0036390116438269615,
-0.007202075328677893,
-0.04517986625432968,
-0.05100211128592491,
0.040477603673934937,
-0.011438915506005287,
-0.043890420347452164,
-0.04750052094459534,
-0.03539607301354408,
0.03756006062030792,
-0.058895666152238846,
-0.029364343732595444,
-0.019555144011974335,
-0.06974621117115021,
0.03608616441488266,
-0.07937869429588318,
-0.045108240097761154,
-0.01480796653777361,
0.012025805190205574,
0.034817177802324295,
-0.012171216309070587,
0.018812457099556923,
0.08734223991632462,
0.0009195455932058394,
0.011893410235643387,
-0.016700254753232002,
-0.01877923123538494,
0.018771551549434662,
-0.005393017083406448,
0.008046958595514297,
0.033517926931381226,
0.02353030815720558,
-0.016518959775567055,
-0.06924707442522049,
0.046020861715078354,
-0.017410535365343094,
-0.28632622957229614,
0.030123084783554077,
0.005111123900860548,
-0.03703835606575012,
0.02194717340171337,
0.0034935385920107365,
0.01573072001338005,
-0.051756277680397034,
-0.024334145709872246,
0.01086680218577385,
-0.05998785421252251,
-0.02532055601477623,
-0.037341926246881485,
0.05585278943181038,
0.023340463638305664,
0.026459429413080215,
0.023802293464541435,
-0.03763676807284355,
0.009660975076258183,
0.07562480121850967,
-0.013506237417459488,
-0.060533251613378525,
0.007796175312250853,
0.036581676453351974,
0.031835976988077164,
0.044355493038892746,
-0.09870858490467072,
0.05101626366376877,
-0.052710648626089096,
0.0071059162728488445,
0.0002609031507745385,
0.023303909227252007,
0.010907682590186596,
-0.02124086022377014,
-0.010426334105432034,
-0.010822134092450142,
0.03754109889268875,
0.0011189616052433848,
-0.010957201011478901,
-0.00396356824785471,
-0.00944176223129034,
-0.04382834583520889,
-0.027910791337490082,
0.013593433424830437,
0.07366818189620972,
0.013141175732016563,
-0.08120905607938766,
-0.009262055158615112,
-0.027325456961989403,
0.05846409499645233,
-0.030479365959763527,
-0.05325179919600487,
0.005537883844226599,
0.04496227577328682,
0.005782407242804766,
-0.030312474817037582,
-0.005485618021339178,
-0.016779614612460136,
-0.04691118001937866,
-0.03906730189919472,
-0.022924859076738358,
-0.04428267851471901,
-0.017228495329618454,
-0.05958234891295433,
-0.00594642199575901,
-0.060034193098545074,
-0.05647268146276474,
-0.014978248625993729,
0.08200611174106598,
0.04075470194220543,
-0.014256088063120842,
0.025264596566557884,
-0.011653827503323555,
-0.10638140141963959,
0.0034264791756868362,
-0.0033159914892166853,
-0.026905307546257973,
-0.004781677387654781,
0.042030565440654755,
0.04474954307079315,
-0.02166447415947914,
-0.0697580873966217,
0.026265619322657585,
0.021004261448979378,
0.029160847887396812,
-0.014796231873333454,
0.03669271618127823,
0.0008583635790273547,
-0.03147651255130768,
0.013403262943029404,
0.0779256746172905,
0.013396680355072021,
-0.010118997655808926,
-0.03200969099998474,
0.03750525787472725,
0.004009758587926626,
0.030779598280787468,
0.007168320473283529,
0.017663687467575073,
0.02748449519276619,
0.018776465207338333,
-0.05317270755767822,
0.025273216888308525,
-0.025797445327043533,
-0.01890847273170948,
0.0035774570424109697,
-0.06293956935405731,
0.006378849968314171,
0.029816269874572754,
0.01285889744758606,
-0.0009396374807693064,
-0.03365567699074745,
0.014247586950659752,
-0.035159800201654434,
-0.028080154210329056,
-0.0074644614942371845,
0.008213894441723824,
0.04393737018108368,
-0.005487566348165274,
-0.014786343090236187,
-0.04844914376735687,
-0.005554670002311468,
0.007964094169437885,
-0.0037726250011473894,
-0.049000587314367294,
-0.023911822587251663,
-0.027143392711877823,
-0.0008144214516505599,
-0.011232361197471619,
0.02950374409556389,
-0.005483168642967939,
0.02273380011320114,
0.013333166018128395,
-0.04752540960907936,
0.011006800457835197,
-0.005196194630116224,
-0.05292866751551628,
-0.030482005327939987,
0.003932253457605839,
-0.009458303451538086,
0.010107546113431454,
0.034969158470630646,
0.002154973102733493,
0.00875875074416399,
0.040318965911865234,
0.02096034586429596,
0.004571557976305485,
0.0011413255706429482,
0.021539246663451195,
0.01898965984582901,
0.0077054621651768684,
-0.08692314475774765,
0.019898343831300735,
-0.04115075618028641,
-0.022089360281825066,
-0.00817674957215786,
0.050926126539707184,
-0.01975967362523079,
-0.02428310178220272,
-0.011910943314433098,
0.03436226397752762,
-0.045936789363622665,
-0.03341116011142731,
-0.0405900701880455,
0.006116475444287062,
0.047975555062294006,
-0.039197321981191635,
0.030129477381706238,
-0.01945875771343708,
-0.022741420194506645,
0.005335616879165173,
0.010693005286157131,
-0.028902826830744743,
0.0016434290446341038,
0.028070539236068726,
-0.005857618059962988,
-0.021578524261713028,
0.008385450579226017,
0.06454834342002869,
0.0009659334318712354,
0.026391368359327316,
-0.04367871582508087,
-0.0009934421395882964,
0.01698588766157627,
0.07869510352611542,
0.011378171853721142,
-0.005696810316294432,
-0.0030393556226044893,
-0.01256562490016222,
0.005267912056297064,
-0.035188209265470505,
-0.024368364363908768,
0.009386414662003517,
0.0433531291782856,
-0.03742295503616333,
-0.07772430777549744,
0.07144487649202347,
0.03683597967028618,
-0.00030778476502746344,
-0.0010579148074612021,
0.006355524994432926,
0.011954566463828087,
-0.03036082163453102,
0.02962488681077957,
0.06624539196491241,
-0.05522985756397247,
0.006156745832413435,
-0.006438754498958588,
0.008136384189128876,
0.00654727453365922,
0.010530930012464523,
-0.036698177456855774,
-0.01840341091156006,
-0.028062697499990463,
-0.01109875924885273,
-0.05697609484195709,
-0.02960570715367794,
-0.011835417710244656,
0.009422077797353268,
0.0017130589112639427,
-0.024725474417209625,
-0.005004697944968939,
-0.014857704751193523,
-0.019779503345489502,
-0.03450135514140129,
0.020642029121518135,
-0.05416397750377655,
0.01852167584002018,
0.003669790457934141,
-0.054801370948553085,
0.012504839338362217,
-0.035776011645793915,
0.013235831633210182,
0.03223324939608574,
-0.004337722901254892,
-0.0261377040296793,
-0.052312806248664856,
-0.001824617269448936,
-0.004974484909325838,
0.052446167916059494,
-0.017582261934876442,
-0.03501433879137039,
-0.05026421695947647,
-0.017714688554406166,
-0.062441542744636536,
0.02867821604013443,
-0.02211250551044941,
0.0035414937883615494,
0.02231295220553875,
0.033213019371032715,
0.01379933301359415,
0.04555811360478401,
-0.015198218636214733,
-0.0022208208683878183,
0.0447557233273983,
-0.060604728758335114,
-0.017157454043626785,
-0.052498649805784225,
-0.0649951845407486,
-0.004773782100528479,
-0.002489944687113166,
0.022833827883005142,
-0.03676755353808403,
0.04798279330134392,
0.022777045145630836,
0.039120402187108994,
0.03582267835736275,
0.0035948087461292744,
0.017232626676559448,
-0.03207898885011673,
0.00025924533838406205,
-0.07603809982538223,
0.0067099821753799915,
0.046674661338329315,
0.016898173838853836,
-0.03373503312468529,
0.00013200182002037764,
-0.03502320498228073,
0.05682409927248955,
-0.07898881286382675,
-0.0162148866802454,
0.03343401104211807,
-0.005984583869576454,
-0.018130095675587654,
0.01025933213531971,
-0.06663292646408081,
0.01839391142129898,
0.02650655247271061,
-0.03423237428069115,
-0.00924104917794466,
-0.011081065982580185,
0.04128575325012207,
-0.003348980564624071,
0.02794249728322029,
-0.03853472322225571,
0.006659627426415682,
0.07619808614253998,
0.02335883118212223,
-0.0006968860980123281,
0.053705763071775436,
-0.009747423231601715,
0.04844145476818085,
0.022776182740926743,
-0.0010107466951012611,
-0.012824274599552155,
0.009998728521168232,
-0.014442904852330685,
-0.07119973748922348,
-0.0021454424131661654,
0.005571408197283745,
-0.03483566641807556,
-0.029985172674059868,
0.04933807998895645,
0.027393804863095284,
-0.024274351075291634,
-0.04967442899942398,
0.012929157353937626,
-0.056447383016347885,
-0.00009142146882368252,
-0.020229635760188103,
0.03157687559723854,
-0.03382117301225662,
0.04834634065628052,
0.019504360854625702,
-0.010155819356441498,
0.06726031005382538,
-0.004388063680380583,
-0.023041844367980957,
-0.020819131284952164,
0.09376021474599838,
0.06071384251117706,
0.06723003089427948,
0.0018701280932873487,
0.0632786899805069,
-0.03497256711125374,
-0.04218350723385811,
0.0003672492748592049,
-0.008180150762200356,
-0.00951740425080061,
-0.03341127932071686,
0.028462015092372894,
0.08997714519500732,
-0.001182898529805243,
0.07165631651878357,
-0.027555128559470177,
-0.001959832850843668,
-0.011395878158509731,
0.0016721629071980715,
0.01204382162541151,
0.06631644070148468,
0.01183480117470026,
0.004433393478393555,
0.0003677375498227775,
-0.045181166380643845,
0.026313703507184982,
-0.030840739607810974,
-0.01935613714158535,
-0.009530460461974144,
0.0007482857909053564,
0.032299868762493134,
0.009076804853975773,
0.022592179477214813,
0.07905957847833633,
-0.01605793461203575,
0.028134331107139587,
-0.01641523651778698,
0.01948597840964794,
0.006688241846859455,
0.009343888610601425,
-0.02767341211438179,
-0.028857968747615814,
-0.004119268152862787,
-0.01817491464316845,
-0.01198295783251524,
-0.02246577851474285,
-0.03178480267524719,
0.04777306690812111,
-0.027176300063729286,
-0.0030330063309520483,
0.009077178314328194,
0.009077071212232113,
-0.028009537607431412,
-0.07484516501426697,
-0.050099682062864304,
-0.021727172657847404,
-0.03940824419260025,
-0.02725556306540966,
0.04322182014584541,
-0.009653223678469658,
-0.034317877143621445,
-0.011394212953746319,
-0.028223644942045212,
-0.012187673710286617,
0.0536152608692646,
-0.04459971934556961,
-0.03444022312760353,
0.02038741670548916,
0.0004364008200354874,
0.033350974321365356,
0.027681482955813408,
0.027728935703635216,
-0.017230244353413582,
-0.005439404863864183,
-0.032525233924388885,
-0.000001928169467646512,
0.030021222308278084,
-0.008046647533774376,
0.015711095184087753,
-0.09356769174337387,
0.04849585145711899,
0.01576007530093193,
0.004181157797574997,
-0.07285275310277939,
0.021364571526646614,
0.022922484204173088,
-0.0003311616601422429,
0.038039978593587875,
-0.017746848985552788,
-0.010110183618962765,
-0.029066408053040504,
0.010438594967126846,
-0.019817879423499107,
0.025991592556238174,
0.04597429186105728,
-0.01891685463488102,
0.08972085267305374,
0.022708753123879433,
-0.009199193678796291,
-0.04261954873800278,
-0.01071542501449585,
0.00042555390973575413,
0.0045503415167331696,
-0.023770393803715706,
-0.022815797477960587,
-0.024249376729130745,
-0.061903584748506546,
-0.02249203994870186,
0.04003819078207016,
-0.01085775438696146,
-0.03398993983864784,
0.020467113703489304,
0.02147664502263069,
-0.02578452043235302,
0.03743760287761688,
-0.03281966969370842,
0.02806934155523777,
-0.010274632833898067,
-0.016324438154697418,
-0.006438694894313812,
-0.01850898377597332,
-0.01660775952041149,
-0.0033210529945790768,
0.005510991904884577,
-0.03133019059896469,
-0.018287839367985725,
-0.00040357428952120245,
0.030740294605493546,
0.03176559507846832,
0.021392563357949257,
0.006026096176356077
] | [
-0.11488472670316696,
-0.022492820397019386,
-0.028456199914216995,
-0.03915967792272568,
0.006245337892323732,
-0.040129728615283966,
-0.0242212675511837,
0.017805155366659164,
0.0025681934785097837,
-0.02422182820737362,
-0.0033832374028861523,
-0.01142702717334032,
-0.01074407808482647,
0.004505476914346218,
0.10260435193777084,
0.028145920485258102,
0.004304943606257439,
-0.051347892731428146,
0.010930606164038181,
0.019464775919914246,
0.008644386194646358,
-0.04343896731734276,
-0.04749743267893791,
-0.03522057458758354,
0.0027360492385923862,
0.03170815855264664,
0.03562888130545616,
-0.06094535067677498,
0.019970649853348732,
-0.2044212818145752,
-0.0064194584265351295,
0.034003011882305145,
0.054669953882694244,
-0.019926805049180984,
0.004469333682209253,
0.044664278626441956,
0.022442905232310295,
0.019248351454734802,
-0.0469689704477787,
0.04157327115535736,
0.007703902665525675,
-0.0013798876898363233,
-0.04373897612094879,
-0.01771465502679348,
0.04884916543960571,
-0.01890714280307293,
0.00422896072268486,
-0.030345208942890167,
-0.01919279620051384,
0.02363595739006996,
-0.06898298114538193,
-0.0442657470703125,
-0.025621024891734123,
-0.03573393076658249,
0.004766745492815971,
0.0463298037648201,
0.014584512449800968,
0.0711408406496048,
0.0005039997049607337,
0.0204614344984293,
0.00009384086297359318,
-0.004701366648077965,
-0.11879502981901169,
0.08978454768657684,
0.06065129488706589,
0.045726459473371506,
-0.03138158097863197,
-0.030964849516749382,
0.014724278822541237,
0.09076403081417084,
0.023038791492581367,
-0.026787053793668747,
-0.003944879863411188,
0.03655854985117912,
0.002466792706400156,
-0.009829757735133171,
0.011643003672361374,
0.013128044083714485,
0.024350419640541077,
-0.05281445011496544,
-0.03693700581789017,
-0.012373510748147964,
-0.0013569564325734973,
-0.014346841722726822,
-0.03531450778245926,
0.017908312380313873,
-0.007176813669502735,
0.06087270379066467,
0.03172549605369568,
0.030876433476805687,
0.039072319865226746,
-0.008169667795300484,
0.0399053618311882,
-0.012953956611454487,
-0.07791739702224731,
-0.008136868476867676,
0.012807697989046574,
-0.019047096371650696,
-0.03161856159567833,
0.4829157292842865,
-0.027685539796948433,
-0.03109021484851837,
0.086406409740448,
0.02548484317958355,
-0.02285444736480713,
0.0057194954715669155,
0.03216494992375374,
-0.05772431939840317,
0.008730240166187286,
-0.03732907399535179,
-0.010313299484550953,
0.005968697834759951,
0.04907499998807907,
-0.04534396901726723,
0.015395584516227245,
0.02051110379397869,
0.05878215283155441,
0.00040523146162740886,
0.01487097330391407,
-0.00826860312372446,
0.022409437224268913,
-0.00025710088084451854,
0.015642836689949036,
0.026044268161058426,
0.0099434619769454,
-0.06102197244763374,
0.015886953100562096,
0.052634984254837036,
0.03266678377985954,
0.016481349244713783,
0.07437873631715775,
-0.011327904649078846,
-0.05998648703098297,
-0.0033491747453808784,
0.01196060050278902,
0.0008514545042999089,
0.032313015311956406,
-0.04762643948197365,
0.005179337691515684,
0.03556842356920242,
-0.008137581869959831,
-0.01644422672688961,
0.028341295197606087,
-0.04258713871240616,
-0.03272835537791252,
0.1413821578025818,
-0.0012076988350600004,
-0.006316555198282003,
-0.01486537791788578,
-0.04883797466754913,
0.01557664480060339,
0.024154294282197952,
-0.003971852362155914,
-0.05633190646767616,
0.02417619153857231,
0.001954625826328993,
0.07952170073986053,
-0.01674639992415905,
-0.0608222559094429,
-0.004564122762531042,
-0.04564649984240532,
-0.02584834396839142,
-0.029815472662448883,
0.052799519151449203,
0.03955976665019989,
-0.09611006826162338,
-0.026084093376994133,
-0.003023003228008747,
0.036141280084848404,
-0.05946710705757141,
-0.0002528394106775522,
0.008836559019982815,
-0.03950127214193344,
-0.0168907567858696,
0.05598876625299454,
-0.02561054192483425,
-0.040360771119594574,
0.0053077442571520805,
0.04811675846576691,
0.007230766117572784,
0.024469103664159775,
0.012713117524981499,
-0.03676871955394745,
0.0296101663261652,
-0.03562411665916443,
-0.08440465480089188,
-0.023778682574629784,
-0.026173563674092293,
-0.04258967563509941,
-0.006913110613822937,
-0.04009350389242172,
-0.04533372074365616,
-0.06860464066267014,
0.06145387887954712,
-0.059033166617155075,
-0.03239887207746506,
0.04566023498773575,
-0.009749471209943295,
-0.01060709822922945,
-0.02200416289269924,
0.005200357176363468,
0.03000533953309059,
-0.05995135381817818,
0.04691615700721741,
-0.061538271605968475,
0.023606184870004654,
0.018724683672189713,
-0.03316792845726013,
0.08030588924884796,
0.06993167102336884,
-0.05021906644105911,
-0.0572909414768219,
0.022707020863890648,
0.02196466736495495,
0.009234065189957619,
-0.04074381664395332,
0.008397654630243778,
0.03274555504322052,
-0.016522875055670738,
0.019226176664233208,
-0.03888564929366112,
0.022881893441081047,
-0.02793598175048828,
-0.3003239333629608,
-0.012063934467732906,
-0.009855647571384907,
-0.02731052227318287,
0.005773443728685379,
-0.06666745990514755,
0.03841955587267876,
-0.0018208755645900965,
-0.021938325837254524,
-0.0036933994852006435,
0.05556438863277435,
0.0010382956825196743,
0.018512442708015442,
-0.07908543944358826,
-0.00774999288842082,
0.02380223013460636,
-0.011442001909017563,
-0.03360024094581604,
-0.007063441444188356,
0.013722207397222519,
0.0015959517331793904,
0.0165529977530241,
-0.0038294459227472544,
-0.0511031448841095,
-0.007323671132326126,
-0.06682949513196945,
0.07721659541130066,
0.0002079138212138787,
0.12042812258005142,
0.0001876203459687531,
0.047683894634246826,
0.016210854053497314,
0.02449948340654373,
-0.11092358827590942,
0.014246571809053421,
0.005328288767486811,
0.03532006964087486,
-0.01654060371220112,
0.0437144972383976,
-0.02900284342467785,
-0.015138504095375538,
0.016785399988293648,
-0.055512119084596634,
-0.055190037935972214,
-0.06046050041913986,
0.002885773777961731,
-0.022662218660116196,
-0.039236556738615036,
-0.04649021476507187,
0.07224249839782715,
-0.003387915901839733,
-0.0324058011174202,
0.03011544793844223,
0.03175253048539162,
-0.011766497977077961,
-0.005593917332589626,
-0.0653182789683342,
-0.01690365932881832,
0.0025858371518552303,
0.02166295237839222,
0.02656683139503002,
0.04982355609536171,
0.011513780802488327,
-0.05155022814869881,
-0.0014233117690309882,
0.030490366742014885,
0.006734663620591164,
-0.023830901831388474,
0.04908527433872223,
-0.03309202939271927,
-0.030623387545347214,
0.06367825716733932,
-0.013194638304412365,
0.002089680405333638,
0.01702035963535309,
0.0303400419652462,
-0.026827845722436905,
0.025548430159687996,
0.009555542841553688,
-0.0010565618285909295,
0.033051203936338425,
-0.019510438665747643,
0.03721407800912857,
-0.02802342176437378,
0.0039341081865131855,
0.024807700887322426,
0.005643188022077084,
-0.03458113595843315,
0.032488029450178146,
0.009120075032114983,
-0.019385259598493576,
-0.002630755305290222,
0.01269704569131136,
-0.07565400004386902,
0.09141506254673004,
-0.005525365471839905,
-0.24744471907615662,
0.004606228321790695,
0.0971265435218811,
0.04501563683152199,
-0.016558609902858734,
0.0341152660548687,
0.036455076187849045,
-0.0786861702799797,
-0.012989556416869164,
0.013909775763750076,
0.019994104281067848,
0.03102453052997589,
0.003864170052111149,
0.013674804009497166,
0.03225543349981308,
0.0008101366693153977,
0.01855406165122986,
-0.01984214596450329,
0.011693880893290043,
0.003833340248093009,
0.0006368001340888441,
0.027311116456985474,
0.1494724154472351,
-0.01715227961540222,
0.05190073698759079,
0.008966511115431786,
0.00030751797021366656,
0.01069245208054781,
0.07380148768424988,
-0.004785413388162851,
0.008074197918176651,
0.0037169901188462973,
0.04778573289513588,
0.004739969968795776,
0.02532142959535122,
-0.07540882378816605,
-0.01923058182001114,
0.04415794834494591,
0.014473719522356987,
0.01843181997537613,
0.0194183811545372,
-0.005531893577426672,
-0.009553569369018078,
0.02821887657046318,
0.03687453642487526,
0.026676317676901817,
0.00946620013564825,
-0.044420864433050156,
-0.02957809530198574,
-0.017551269382238388,
-0.0461733303964138,
-0.03510085493326187,
0.05009852722287178,
-0.010480598546564579,
-0.004955309443175793,
0.07669544965028763,
0.006496053654700518,
-0.019168756902217865,
-0.02879641391336918,
0.01305471919476986,
0.0030812788754701614,
-0.032858166843652725,
0.0939561054110527,
0.027667535468935966,
0.029630886390805244
] | [
0.02088186889886856,
-0.013027265667915344,
0.028514409437775612,
0.01521361991763115,
0.002804101211950183,
-0.0011648688232526183,
0.01538346242159605,
0.03601428493857384,
-0.014967544004321098,
0.005201294086873531,
0.00031794788083061576,
0.011494181118905544,
-0.018598569557070732,
-0.0052175442688167095,
0.0356258861720562,
0.0130341537296772,
0.021090839058160782,
-0.01748688705265522,
0.009353435598313808,
0.031188664957880974,
-0.012217245995998383,
0.025101227685809135,
-0.00163388648070395,
-0.006796912290155888,
-0.013852224685251713,
0.017124975100159645,
-0.016215529292821884,
-0.01586771011352539,
0.03208164498209953,
-0.15527214109897614,
-0.0033388128504157066,
0.0133082689717412,
-0.013531857170164585,
0.030984876677393913,
-0.011420355178415775,
-0.0014721123734489083,
0.006968263071030378,
0.02525913342833519,
0.03766652196645737,
0.026149120181798935,
-0.04181155934929848,
0.0023087228182703257,
0.00020880333613604307,
0.0008151006768457592,
-0.0014764820225536823,
-0.007605316117405891,
-0.005748323630541563,
-0.07609285414218903,
0.0032500966917723417,
-0.011055847629904747,
-0.02983192913234234,
-0.006943557411432266,
-0.03125835210084915,
0.0003648163692560047,
0.0027631523553282022,
-0.015732906758785248,
0.020751340314745903,
-0.013209061697125435,
0.02212410978972912,
0.0146041763946414,
-0.005587897263467312,
-0.00642189709469676,
-0.02976391278207302,
0.00008752199209993705,
-0.006516064517199993,
-0.00526598934084177,
-0.016572562977671623,
-0.016459979116916656,
-0.03173835203051567,
-0.004772351589053869,
-0.020452246069908142,
0.030027179047465324,
-0.011933638714253902,
-0.011011147871613503,
0.010010432451963425,
0.007214630022644997,
0.019098645076155663,
-0.009968303143978119,
0.039844270795583725,
-0.028416449204087257,
-0.02074272558093071,
0.03447820618748665,
-0.018633268773555756,
0.001726904883980751,
0.014036774635314941,
-0.0037841307930648327,
-0.006575149483978748,
-0.016110850498080254,
0.009453113190829754,
0.003692638361826539,
-0.03995111584663391,
0.02529013715684414,
0.0015183549840003252,
-0.010551932267844677,
-0.08398735523223877,
-0.02866491675376892,
0.0003397005202714354,
-0.04629865661263466,
0.008130785077810287,
0.852278470993042,
-0.03520043566823006,
0.03573308512568474,
0.04375931993126869,
-0.036060381680727005,
-0.024553459137678146,
-0.007264208979904652,
0.003104004543274641,
0.0030221419874578714,
0.025316519662737846,
-0.033563416451215744,
0.010110635310411453,
0.016009073704481125,
0.051927585154771805,
-0.008372442796826363,
0.015940794721245766,
0.024415506049990654,
0.021390629932284355,
-0.03234595060348511,
0.018347853794693947,
0.024316249415278435,
-0.00025240774266421795,
0.004491008818149567,
-0.010130833834409714,
0.045628733932971954,
-0.015300571918487549,
-0.1900794953107834,
0.018615901470184326,
-8.208328645630242e-33,
0.03271237760782242,
-0.008636132813990116,
-0.029784565791487694,
0.009853523224592209,
0.0194881409406662,
-0.019132299348711967,
0.06073306128382683,
-0.0065770880319178104,
-0.028408266603946686,
-0.023945504799485207,
0.0025403639301657677,
-0.014649965800344944,
-0.004273265600204468,
-0.007626829203218222,
0.041153568774461746,
-0.017027227208018303,
-0.009249579161405563,
0.040186770260334015,
-0.012018523178994656,
0.008159739896655083,
0.02463464066386223,
0.011721165850758553,
-0.0028544263914227486,
-0.008934322744607925,
0.03274134546518326,
0.040428631007671356,
0.007262854836881161,
0.019278354942798615,
-0.013160372152924538,
-0.04988927021622658,
-0.02212383970618248,
0.018254507333040237,
-0.031826987862586975,
-0.010123809799551964,
0.023945653811097145,
-0.04660835117101669,
-0.004574534483253956,
0.0058211879804730415,
-0.018903451040387154,
-0.045078713446855545,
-0.02473517693579197,
0.03727097064256668,
-0.04378512129187584,
-0.017776403576135635,
0.0008097532554529607,
0.00017520754772704095,
-0.015599985606968403,
0.019756730645895004,
0.03592054545879364,
-0.013650406152009964,
0.01571686938405037,
0.02996642515063286,
-0.011391427367925644,
0.020330151543021202,
0.015787169337272644,
-0.01843528263270855,
-0.011130106635391712,
0.009327971376478672,
0.00351166445761919,
0.05621777102351189,
0.035828039050102234,
0.013916210271418095,
-0.029069427400827408,
0.01865558512508869,
-0.013856460340321064,
-0.03332122415304184,
-0.001064545358531177,
0.009681517258286476,
0.04722747579216957,
-0.024608682841062546,
-0.04444100335240364,
0.003478257916867733,
-0.0005152503144927323,
-0.02271552011370659,
-0.00935983844101429,
-0.002592023927718401,
-0.03906577080488205,
-0.02232063002884388,
-0.008700995706021786,
0.04675651714205742,
0.037521254271268845,
-0.003466458758339286,
-0.030502647161483765,
-0.03154281899333,
-0.011522943153977394,
-0.02336353063583374,
0.02308547869324684,
-0.0023821170907467604,
-0.02282019518315792,
0.02417128160595894,
0.0137832872569561,
-0.027166947722434998,
0.009360319003462791,
0.0016219167737290263,
0.009498017840087414,
8.005090080476884e-33,
-0.014635827392339706,
-0.004485545679926872,
-0.03278551623225212,
0.001541806384921074,
0.02192082814872265,
-0.0078318752348423,
0.031298115849494934,
-0.01598305068910122,
-0.05671393498778343,
0.0328485481441021,
-0.011104053817689419,
-0.002041580155491829,
-0.01086133811622858,
0.029686765745282173,
0.01924314722418785,
-0.021293267607688904,
0.0025349603965878487,
-0.011345087550580502,
0.038693010807037354,
0.029788604006171227,
0.016762204468250275,
0.012055497616529465,
-0.0009361421689391136,
0.01286248117685318,
0.037672750651836395,
0.05531025305390358,
-0.04201210290193558,
0.016942797228693962,
-0.01485809963196516,
0.023737916722893715,
0.010822915472090244,
0.014462609775364399,
0.002571636578068137,
-0.013938985764980316,
0.009233769029378891,
0.0013022393686696887,
-0.014688301831483841,
-0.0358884297311306,
0.029610633850097656,
-0.010767828673124313,
0.04483494162559509,
-0.009166856296360493,
-0.0002597840502858162,
0.020618773996829987,
0.013011950999498367,
0.019489437341690063,
-0.007822751067578793,
-0.043797094374895096,
-0.004963382612913847,
0.022055497393012047,
0.011939777992665768,
0.0023637344129383564,
-0.01270260289311409,
-0.043312571942806244,
-0.028098907321691513,
-0.01450094673782587,
-0.008490282110869884,
-0.014521058648824692,
-0.010719217360019684,
-0.011077401228249073,
-0.001602737233042717,
0.010692430660128593,
0.008971217088401318,
-0.021104846149683,
-0.030764760449528694,
0.007226267363876104,
-0.007789546623826027,
-0.006253332365304232,
-0.019369248300790787,
-0.00823023822158575,
-0.024352991953492165,
0.008291068486869335,
0.02407982386648655,
0.03701918572187424,
0.01553504541516304,
-0.008590875193476677,
0.0026305560022592545,
0.017856121063232422,
-0.028999265283346176,
0.037617433816194534,
0.0020671251695603132,
0.001195527845993638,
0.012350100092589855,
0.05077468976378441,
-0.024862240999937057,
0.02312343940138817,
-0.04350598528981209,
0.014545531943440437,
-0.016968317329883575,
-0.034532397985458374,
0.010785642080008984,
-0.02375679835677147,
-0.0017832012381404638,
0.0011909687891602516,
0.005162966903299093,
-1.3758290506871163e-8,
-0.027650482952594757,
-0.013634826056659222,
-0.009336872957646847,
0.013559840619564056,
0.016553428024053574,
0.0036761662922799587,
-0.019299903884530067,
-0.00799732655286789,
-0.016096919775009155,
0.01856249012053013,
0.03564610704779625,
-0.002921418519690633,
-0.011619641445577145,
0.02490038238465786,
0.04394734650850296,
-0.033838119357824326,
-0.009497767314314842,
-0.0008675326243974268,
0.03605560213327408,
-0.011647808365523815,
0.02651180885732174,
0.054925911128520966,
0.004571841098368168,
0.026352690532803535,
-0.004277103580534458,
-0.0012079284060746431,
0.013784731738269329,
-0.07247807085514069,
-0.0038207760080695152,
0.013943352736532688,
0.04004036262631416,
-0.017933843657374382,
-0.05450735241174698,
0.020833222195506096,
-0.01250405702739954,
-0.03658122196793556,
0.02159072831273079,
0.027676865458488464,
-0.024371549487113953,
0.005388280376791954,
-0.029447432607412338,
0.013606890104711056,
0.005662964656949043,
-0.03586765378713608,
-0.015547087416052818,
0.011642237193882465,
-0.02403843030333519,
-0.025680867955088615,
-0.003391516860574484,
-0.04501175880432129,
-0.01026706863194704,
-0.005094255320727825,
0.007478704676032066,
0.03267469257116318,
0.004952977877110243,
0.014758163131773472,
-0.007698242552578449,
-0.03733333572745323,
-0.04914407432079315,
-0.0018145269714295864,
0.006868389900773764,
0.038023971021175385,
-0.008340009488165379,
-0.02813834883272648
] | ddd8-mixing-functional-and-object-oriented-approaches-to-programming-in-c | https://markhneedham.com/blog/2010/01/31/ddd8-mixing-functional-and-object-oriented-approaches-to-programming-in-c |
false | 2010-01-01 14:32:58 | The Last Lecture - Randy Pausch | [
"books",
"book-review"
] | [
"Books"
] | I recently watched Randy Pausch's 'http://www.youtube.com/watch?v=ji5_MqicxSo[Last Lecture: Achieving Your Childhood Dreams]' and read the http://www.amazon.com/gp/product/1401323251?ie=UTF8&tag=marneesblo-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1401323251[corresponding book] and although it's not directly related to software development I think that some of the points that he makes are really intriguing.
These were some of the parts that particularly stood out for me:
* *Introduce the elephant in the room* - whatever it is that people are really thinking about, put it out in the open. I think on development teams there is often a distrust of the way that other people write code because it's different to the way that we do. If we can get this out in the open more frequently and agree on a shared approach then it should result in a http://www.markhneedham.com/blog/2009/11/04/consistency-in-the-code-base/[more consistent code base].
* *Get the fundamentals down* - Pausch suggests that we need to understand the fundamentals because otherwise the fancy stuff isn't going to work. In Apprenticeship Patterns Ade Oshineye and Dave Hoover suggest that we should 'http://my.safaribooksonline.com/9780596806842/study_the_classics[Study the Classics]' which is a similar idea. While I think they're certainly right I'm not sure that http://www.markhneedham.com/blog/2008/02/09/learning-theory-first/[learning theory before putting it into practice] is the most effective way to learn. I think we need to do a bit of both at the same time alternating between the two so that we actually have a frame of reference when we're learning the fundamentals.
* *The brick walls are there for a reason* - Pausch describes how we'll often come across obstacles stopping or blocking us from what we want to do but that we shouldn't be discouraged, they are there so that we can see how much we really want something. I think this is just generally true and not just related to software development.
* *The skill of self assessment* - Pausch suggests that we need know what we don't know which I think is perhaps the best advice in the book. We need to recognise our true abilities but also have a sense of our flaws and create feedback loops to allow this to happen. My colleague Liz Douglass has come up with the idea of http://lizdouglass.wordpress.com/2009/11/16/friday-feedback-frenzies/[Feedback Frenzies] to help create this feedback loop and this is one of the best ideas I've come across for doing this.
* One of my favourite quotes from the book is the following which I believe was originally from Dan Stanford:
+
____
Experience is what you get when you didn't get what you wanted \... It's a phrase worth considering at every brick wall we encounter, and at every disappointment. It's also a reminder that *failure is not just acceptable, it's often essential*.
____
+
I think we can do this much more in the software world. There sometimes seems to be a stigma with identifying things which fail but I think it's really useful for others to learn from mistakes that have been made.
The Last Lecture is one of the best presentations I've had the chance to watch - I'd certainly recommend it. | null | null | [
0.022915683686733246,
0.023351341485977173,
-0.011293953284621239,
0.03728634864091873,
0.0898505300283432,
0.01341173890978098,
0.031506408005952835,
0.03891940042376518,
0.0308213010430336,
-0.030642200261354446,
-0.035738617181777954,
0.011717190966010094,
-0.04742370918393135,
0.00809758622199297,
-0.04997752979397774,
0.06538833677768707,
0.07636629045009613,
-0.0131602818146348,
0.02337036095559597,
0.012495425529778004,
0.021771837025880814,
0.0808408111333847,
0.007207564543932676,
0.024534879252314568,
0.02804418094456196,
0.002500201342627406,
0.014583753421902657,
-0.013090591877698898,
-0.053833428770303726,
-0.008190350607037544,
0.042770612984895706,
0.02185899391770363,
0.020954076200723648,
-0.005417706444859505,
0.01877707429230213,
-0.01705438829958439,
-0.01807578280568123,
0.022932568565011024,
0.014001715928316116,
0.01628989353775978,
-0.052618011832237244,
0.052361175417900085,
-0.00829446129500866,
0.009831240400671959,
-0.04847594350576401,
-0.007714908104389906,
-0.05101250112056732,
0.00456251809373498,
0.012873662635684013,
-0.022799354046583176,
-0.05477996543049812,
0.047070641070604324,
-0.001096901367418468,
-0.010102681815624237,
-0.01610160432755947,
0.046437278389930725,
0.025357572361826897,
-0.053961239755153656,
0.011468721553683281,
-0.03507470339536667,
-0.011868689209222794,
-0.003822844009846449,
0.0006785852019675076,
0.03236892446875572,
0.026671042665839195,
-0.05036357790231705,
-0.014307230710983276,
0.04941964149475098,
-0.038963139057159424,
-0.0032226054463535547,
-0.018508179113268852,
0.017320742830634117,
-0.022012395784258842,
-0.005405745003372431,
0.0025775455869734287,
-0.04307623952627182,
0.006584889255464077,
0.07052893936634064,
0.011929331347346306,
0.034634556621313095,
-0.040870994329452515,
0.03375798463821411,
0.01807553879916668,
0.011880104430019855,
-0.013705689460039139,
-0.026781873777508736,
0.020801575854420662,
-0.01457167323678732,
-0.0665556862950325,
0.06879634410142899,
0.005763679277151823,
-0.06361351162195206,
0.014578132890164852,
0.04613861069083214,
0.001666457043029368,
0.008109314367175102,
0.02418404445052147,
0.0016053488943725824,
-0.00810922309756279,
-0.02737276256084442,
-0.027636554092168808,
-0.026281388476490974,
0.002977402415126562,
0.008105785585939884,
-0.06580879539251328,
0.011241688393056393,
-0.0036431257613003254,
-0.0170449111610651,
-0.020406903699040413,
0.001483154366724193,
-0.057217586785554886,
0.029456689953804016,
-0.0156566072255373,
0.0014734307769685984,
-0.06353557854890823,
0.05307459086179733,
-0.011259465478360653,
-0.05302432179450989,
-0.016716549172997475,
-0.0027237622998654842,
0.031470682471990585,
0.03212105855345726,
-0.01521115843206644,
0.08417876064777374,
0.009512214921414852,
0.0071584973484277725,
-0.03280644118785858,
0.058457303792238235,
-0.017308317124843597,
-0.05122632533311844,
-0.007084548473358154,
0.05072001367807388,
-0.024839865043759346,
-0.03152953088283539,
-0.011326167732477188,
-0.017104465514421463,
0.007378763984888792,
-0.000542250054422766,
0.007477990351617336,
0.06428446620702744,
-0.0011738386237993836,
-0.04725136607885361,
0.026374155655503273,
0.002112064277753234,
0.010433833114802837,
-0.012048324570059776,
-0.008251069113612175,
-0.002774141263216734,
-0.038606781512498856,
-0.021444953978061676,
0.007343473844230175,
0.02555238828063011,
0.004542357288300991,
-0.047201335430145264,
0.018884241580963135,
0.08649177849292755,
0.025538690388202667,
0.03114088624715805,
-0.006461920216679573,
0.029944490641355515,
0.036710549145936966,
0.026389243081212044,
0.022269276902079582,
0.03389117121696472,
0.025161482393741608,
-0.007317413110285997,
0.0030121447052806616,
0.05020477622747421,
-0.020683592185378075,
0.02677782252430916,
-0.04718320816755295,
-0.020067350938916206,
0.05572228506207466,
-0.05240244418382645,
-0.04819208383560181,
0.02973870374262333,
0.06969387084245682,
0.036537330597639084,
0.042756084352731705,
-0.01928507722914219,
-0.07110985368490219,
0.014793823473155499,
0.023446552455425262,
0.015323963016271591,
0.023097923025488853,
-0.023494616150856018,
0.05764158442616463,
0.026478350162506104,
0.009737609885632992,
0.05209634080529213,
-0.06821821630001068,
-0.09100670367479324,
-0.012511149048805237,
-0.03888309746980667,
0.060222361236810684,
-0.015198945999145508,
0.028766896575689316,
0.06335831433534622,
0.017757130786776543,
0.061620134860277176,
0.03913414105772972,
-0.010481951758265495,
0.012636362574994564,
-0.02570490352809429,
-0.02978900447487831,
0.06406348198652267,
0.026612019166350365,
-0.02135651186108589,
-0.054270993918180466,
-0.007103786803781986,
-0.002690098015591502,
-0.019526811316609383,
0.040570903569459915,
-0.011727974750101566,
0.03514295071363449,
0.021750126034021378,
0.07633738219738007,
-0.03421976417303085,
0.047716788947582245,
-0.03344099968671799,
-0.00944336224347353,
-0.004701464902609587,
-0.0251830592751503,
0.011386396363377571,
0.010366351343691349,
0.10631325840950012,
0.06229066103696823,
-0.052288852632045746,
-0.04970362037420273,
0.011718349531292915,
0.010316253639757633,
-0.06588272005319595,
0.000590250943787396,
-0.00616486044600606,
0.01474678423255682,
-0.01851840317249298,
-0.07512296736240387,
-0.04750664904713631,
0.01846587471663952,
-0.050501126796007156,
0.013800421729683876,
0.06535212695598602,
-0.03061826527118683,
0.040925368666648865,
-0.014668582938611507,
-0.005934890825301409,
-0.014394533820450306,
-0.009805487468838692,
-0.06213041767477989,
0.022063132375478745,
-0.0038968375883996487,
-0.016912711784243584,
0.04842880368232727,
-0.030876560136675835,
-0.04870098456740379,
-0.03173593804240227,
-0.04978133738040924,
0.0032157115638256073,
0.0410127267241478,
0.06527412682771683,
0.005206005647778511,
0.06796260923147202,
-0.0015776962973177433,
0.04461786895990372,
-0.0026179379783570766,
-0.05656157433986664,
-0.05245666578412056,
-0.05262475833296776,
0.009872269816696644,
0.024083709344267845,
-0.012121983803808689,
0.029358413070440292,
0.03020041063427925,
0.008813529275357723,
-0.02344503067433834,
-0.01984749548137188,
0.04063205420970917,
-0.002258436754345894,
-0.01100224256515503,
-0.02777385711669922,
-0.015144327655434608,
0.04746163263916969,
-0.04503953084349632,
-0.014893868006765842,
-0.012593706138432026,
-0.08164027333259583,
0.053815748542547226,
-0.06675074249505997,
-0.0348738357424736,
0.010435384698212147,
0.021261289715766907,
0.05809431150555611,
0.013236666098237038,
0.02509489096701145,
0.0716693326830864,
0.023463353514671326,
0.021206680685281754,
-0.009719213470816612,
-0.00011782932415371761,
0.039074450731277466,
-0.0027948280330747366,
-0.005658410955220461,
0.02970539964735508,
0.02926328219473362,
0.01004671212285757,
-0.033824123442173004,
0.04866208881139755,
-0.03156060725450516,
-0.2786761522293091,
0.03494337573647499,
0.0004928339621983469,
-0.03828606754541397,
0.022843414917588234,
-0.032416392117738724,
-0.0027422946877777576,
-0.06169337034225464,
-0.01401026826351881,
0.0038684350438416004,
-0.03811034932732582,
-0.043368034064769745,
-0.027279678732156754,
0.05472107604146004,
-0.0024401540867984295,
0.01775803044438362,
0.020837441086769104,
-0.03707454726099968,
0.015207665972411633,
0.06845658272504807,
-0.01028511207550764,
-0.07264407724142075,
0.0019293781369924545,
0.042974576354026794,
0.03471845015883446,
0.05574783682823181,
-0.09837011992931366,
0.03932877257466316,
-0.06269693374633789,
-0.00430649658665061,
-0.01259499229490757,
0.00833987072110176,
0.0011842314852401614,
-0.00950338039547205,
-0.011245238594710827,
-0.0006886121700517833,
0.044099386781454086,
0.0031734590884298086,
-0.008238476701080799,
0.028727799654006958,
-0.021212846040725708,
-0.0267480555921793,
-0.003794112242758274,
0.025767352432012558,
0.06156948208808899,
0.009911032393574715,
-0.07927289605140686,
-0.025128614157438278,
-0.028208119794726372,
0.08123934268951416,
-0.06298138946294785,
-0.029486892744898796,
0.0034639211371541023,
0.03882890194654465,
-0.008664797060191631,
-0.01519403699785471,
-0.0012960712192580104,
-0.027217591181397438,
-0.03307021036744118,
-0.029868988320231438,
-0.0029950716998428106,
-0.02262985147535801,
0.00016917695757001638,
-0.05375267192721367,
0.0037984999362379313,
-0.07425391674041748,
-0.07863523066043854,
-0.018869128078222275,
0.07930604368448257,
0.03310724347829819,
-0.03584078326821327,
0.02562916837632656,
-0.00947789940983057,
-0.10762929916381836,
0.0011969100451096892,
-0.007453114725649357,
-0.011556490324437618,
-0.011416828259825706,
0.0287321787327528,
0.05507703125476837,
-0.019216539338231087,
-0.05247076228260994,
0.03581481799483299,
0.016347654163837433,
0.04399882256984711,
-0.010359817184507847,
0.033880703151226044,
0.01988181285560131,
-0.014075017534196377,
0.016518233343958855,
0.06309163570404053,
0.006091681309044361,
-0.04846355319023132,
-0.0285782590508461,
0.03637382388114929,
0.021564431488513947,
0.015022389590740204,
-0.0017510075122117996,
0.013468756340444088,
0.03245015814900398,
-0.0011311931302770972,
-0.062271490693092346,
0.029770907014608383,
-0.0131500493735075,
-0.004650118760764599,
-0.01246976014226675,
-0.03945349529385567,
0.03115103766322136,
0.05249280110001564,
0.03834344074130058,
-0.006361743435263634,
-0.03792056813836098,
-0.004385093227028847,
-0.01948143169283867,
-0.03917906433343887,
-0.02729910984635353,
0.002945679472759366,
0.03615068644285202,
-0.01758887805044651,
-0.012914801016449928,
-0.03926071897149086,
0.0049982680939137936,
-0.0007280423888005316,
0.0013285692548379302,
-0.0600011982023716,
-0.025774888694286346,
-0.01469329185783863,
-0.02348143234848976,
0.005109095945954323,
0.011720992624759674,
-0.03185084089636803,
0.018903817981481552,
0.027977963909506798,
-0.04186932370066643,
0.008164661005139351,
-0.020974500104784966,
-0.05456068739295006,
-0.03352872654795647,
0.00037369676283560693,
-0.01190489623695612,
0.002457608235999942,
0.04056550934910774,
0.015810467302799225,
0.019317081198096275,
0.0450921393930912,
0.00877483282238245,
0.018423477187752724,
-0.02465762570500374,
0.01073530688881874,
-0.003117544110864401,
0.009876614436507225,
-0.07440244406461716,
0.053130798041820526,
-0.03975847363471985,
-0.03803810104727745,
-0.028624750673770905,
0.01587664522230625,
-0.0104457912966609,
-0.028200924396514893,
0.000038989823224255815,
0.02754373289644718,
-0.04243558645248413,
-0.06277044862508774,
-0.03243473172187805,
0.046156518161296844,
0.0686468705534935,
-0.0061581674963235855,
0.025811700150370598,
-0.027743931859731674,
-0.02164059691131115,
0.022927600890398026,
0.008015311323106289,
-0.04141795262694359,
-0.012062884867191315,
0.00996446143835783,
0.000005978377885185182,
-0.008128861896693707,
-0.008327356539666653,
0.039281249046325684,
0.0026192909572273493,
0.0038300473242998123,
-0.03959161788225174,
0.003919358365237713,
0.007254788652062416,
0.040670111775398254,
0.018568484112620354,
-0.011164205148816109,
0.010835417546331882,
-0.02529027871787548,
-0.01971704699099064,
-0.03187931701540947,
-0.01421024277806282,
0.005818681791424751,
0.0373508557677269,
-0.044214583933353424,
-0.06176121160387993,
0.04779224470257759,
0.01611792854964733,
0.016135236248373985,
0.01954697258770466,
-0.02109071984887123,
0.0011625818442553282,
-0.023364121094346046,
0.04495237395167351,
0.057342931628227234,
-0.05717235431075096,
-0.010387128219008446,
-0.004553286358714104,
0.0042482358403503895,
0.0038371856790035963,
-0.007523100823163986,
-0.045086439698934555,
-0.01968810148537159,
-0.028322147205471992,
-0.009148476645350456,
-0.07077022641897202,
-0.019091738387942314,
-0.01245515514165163,
0.021027617156505585,
0.005568190477788448,
-0.010871129110455513,
-0.01784669980406761,
-0.006578640080988407,
-0.021778197959065437,
-0.017781490460038185,
0.007761139888316393,
-0.04585893452167511,
0.0148710235953331,
0.014210837893188,
-0.04151693731546402,
-0.0029203970916569233,
-0.014872806146740913,
0.01779366470873356,
0.020429743453860283,
-0.02321387082338333,
-0.013083433732390404,
-0.01835128292441368,
0.027182873338460922,
0.002380204852670431,
0.04273521900177002,
-0.005553774535655975,
-0.030376845970749855,
-0.04068731516599655,
-0.012762310914695263,
-0.0398498997092247,
0.01237635500729084,
-0.026450304314494133,
-0.007528737187385559,
0.03414003551006317,
0.057556699961423874,
0.03375854715704918,
0.030867835506796837,
-0.01657993532717228,
-0.019087666645646095,
0.040907204151153564,
-0.05517718568444252,
-0.030180267989635468,
-0.04818720743060112,
-0.05719258263707161,
0.0060140700079500675,
0.016939030960202217,
0.020810816437005997,
-0.04179467633366585,
0.04861493781208992,
0.00885641947388649,
0.046202339231967926,
0.0412634015083313,
0.004133647307753563,
0.028507806360721588,
-0.07319154590368271,
0.009353379718959332,
-0.08000028878450394,
-0.000952027621679008,
0.03479476645588875,
0.01485062763094902,
-0.005270296707749367,
-0.009218846447765827,
-0.04423617199063301,
0.045735616236925125,
-0.08357598632574081,
-0.03244683891534805,
0.03557918220758438,
-0.011305367574095726,
-0.017030509188771248,
0.003523530438542366,
-0.06774777919054031,
0.011494805105030537,
0.027498850598931313,
-0.044384073466062546,
-0.033396683633327484,
-0.045301083475351334,
0.05155172944068909,
0.003986193332821131,
0.035834334790706635,
-0.03240649774670601,
-0.0054404595866799355,
0.07089376449584961,
-0.003675986547023058,
0.013763884082436562,
0.04030861333012581,
0.005087531171739101,
0.045597102493047714,
0.0274143535643816,
0.02661038190126419,
-0.0007622555713169277,
0.0115520553663373,
0.011210177093744278,
-0.05993429198861122,
0.027513325214385986,
0.010532940737903118,
-0.04830404743552208,
-0.02829921431839466,
0.055187176913022995,
0.02451700158417225,
-0.026660673320293427,
-0.0420985221862793,
0.011755610816180706,
-0.05504778400063515,
0.004175583831965923,
-0.012273692525923252,
-0.013564648106694221,
-0.02586241625249386,
0.049385908991098404,
-0.0035301903262734413,
0.007400267757475376,
0.05990440025925636,
0.0048485687002539635,
-0.043692126870155334,
-0.008886721916496754,
0.08984971046447754,
0.07534560561180115,
0.06189894303679466,
0.0020509306341409683,
0.0694802775979042,
-0.012879464775323868,
-0.02790549397468567,
0.015593159012496471,
0.00026140897534787655,
-0.012701028026640415,
-0.04865265637636185,
0.023881088942289352,
0.04696236550807953,
-0.01463597547262907,
0.06763363629579544,
-0.03919806703925133,
-0.023279372602701187,
-0.004573780577629805,
0.052564095705747604,
0.0066610779613256454,
0.06386568397283554,
0.013560318388044834,
-0.0022596840281039476,
-0.013054601848125458,
-0.0630408376455307,
0.0314636155962944,
-0.030426857993006706,
-0.007498227059841156,
0.024456622079014778,
-0.0038838437758386135,
0.025744929909706116,
0.009101315401494503,
0.03597483038902283,
0.07607568800449371,
-0.05378526449203491,
0.026386072859168053,
0.0002076109522022307,
0.04346110299229622,
-0.02099594846367836,
0.005373832769691944,
-0.02633392997086048,
-0.030601607635617256,
-0.007875430397689342,
-0.031029680743813515,
-0.007914978079497814,
-0.01664193533360958,
-0.007743472699075937,
0.026608740910887718,
-0.02134111151099205,
-0.008776724338531494,
0.028125744313001633,
0.01810695044696331,
-0.023045113310217857,
-0.0643393024802208,
-0.02722669020295143,
-0.02322865091264248,
-0.049951523542404175,
-0.017475396394729614,
0.011258186772465706,
-0.011534406803548336,
-0.028231194242835045,
-0.0263983067125082,
-0.025562860071659088,
-0.034941744059324265,
0.05321359634399414,
-0.05401484668254852,
-0.030142949894070625,
0.007151173893362284,
0.020993564277887344,
0.03178492560982704,
0.015159507282078266,
0.024014852941036224,
-0.009389258921146393,
-0.009161312133073807,
-0.01824258826673031,
0.012466941960155964,
0.010997586883604527,
-0.0004655861994251609,
0.01997877098619938,
-0.08626395463943481,
0.03445307910442352,
0.024648210033774376,
0.006435908377170563,
-0.059516891837120056,
0.024622607976198196,
0.012107311747968197,
-0.011746256612241268,
0.052156347781419754,
-0.018211055546998978,
0.017674751579761505,
-0.039874620735645294,
-0.0004229378537274897,
-0.028609324246644974,
0.014851982705295086,
0.038989100605249405,
-0.019818758592009544,
0.09919530898332596,
0.01935693807899952,
0.0028121694922447205,
-0.053174469619989395,
-0.015399960801005363,
0.008178425952792168,
-0.00981904473155737,
-0.009259701706469059,
-0.02143237367272377,
-0.009996240958571434,
-0.08281716704368591,
-0.022034941241145134,
0.04079301282763481,
-0.013840395957231522,
-0.04358220845460892,
0.030366331338882446,
0.026143232360482216,
-0.025066548958420753,
0.02174714393913746,
-0.03258248046040535,
0.03056044690310955,
-0.02319740317761898,
-0.0013444904470816255,
0.015665005892515182,
0.008617263287305832,
-0.003835843177512288,
0.005998613312840462,
0.0027152651455253363,
-0.02967463992536068,
-0.0017154314555227757,
0.0015818922547623515,
0.04437575861811638,
0.057595040649175644,
0.012692926451563835,
-0.009941527619957924
] | [
-0.09659253805875778,
-0.008298548869788647,
-0.03378515690565109,
-0.047110527753829956,
0.04121999070048332,
-0.03324286639690399,
-0.030741063877940178,
0.021699389442801476,
-0.010716489516198635,
-0.026666730642318726,
-0.004842758644372225,
-0.018533768132328987,
-0.014502439647912979,
-0.012003635056316853,
0.08905547857284546,
0.011527590453624725,
-0.012898559682071209,
-0.04224444925785065,
0.008262824267148972,
0.022106358781456947,
0.025924691930413246,
-0.022546183317899704,
-0.023979127407073975,
-0.032185859978199005,
0.023966357111930847,
0.03136470168828964,
0.036308012902736664,
-0.044313982129096985,
0.029916537925601006,
-0.18046268820762634,
0.005769520998001099,
0.02717307209968567,
0.06623364984989166,
-0.02702791430056095,
-0.0023949132300913334,
0.06658438593149185,
0.04259250685572624,
0.005118805915117264,
-0.025671187788248062,
0.03429029881954193,
-0.0015624943189322948,
0.004624399822205305,
-0.04478945955634117,
-0.02452201209962368,
0.030488455668091774,
0.016104640439152718,
0.022980613633990288,
-0.044800110161304474,
-0.030488429591059685,
0.002021229360252619,
-0.07009252160787582,
-0.030199017375707626,
-0.03821619972586632,
-0.015288119204342365,
-0.016176648437976837,
0.042803119868040085,
0.023885183036327362,
0.07446310669183731,
-0.010288486257195473,
0.028682468459010124,
0.025786953046917915,
-0.0009356295922771096,
-0.15034222602844238,
0.10079336911439896,
0.06688858568668365,
0.05651826784014702,
-0.04533104971051216,
-0.013125809840857983,
-0.002567520597949624,
0.08776211738586426,
-0.003383178496733308,
-0.020407449454069138,
-0.011465668678283691,
0.03421179577708244,
0.013921745121479034,
0.011265446431934834,
-0.001111424993723631,
-0.0003810976631939411,
0.031085513532161713,
-0.06857946515083313,
-0.02015499398112297,
0.0052984184585511684,
-0.010865609161555767,
-0.01260481495410204,
-0.04616172984242439,
0.0319359190762043,
-0.00866398960351944,
0.033114172518253326,
0.031236324459314346,
0.023841869086027145,
0.043878037482500076,
-0.025019288063049316,
0.02197756990790367,
-0.01426415890455246,
-0.05299348011612892,
-0.027372611686587334,
0.005274342838674784,
0.008089503273367882,
-0.048844773322343826,
0.44183170795440674,
-0.02544662542641163,
-0.019101105630397797,
0.09400524199008942,
0.03351816534996033,
-0.00896442960947752,
-0.007334128487855196,
0.03139231726527214,
-0.04743456467986107,
0.053977806121110916,
-0.024530209600925446,
0.016101719811558723,
0.014442742802202702,
0.04594537988305092,
-0.05747367441654205,
0.021317848935723305,
0.032869718968868256,
0.040101390331983566,
0.0062012928538024426,
0.01657215505838394,
-0.010451402515172958,
0.00821886956691742,
0.013680560514330864,
0.022844264283776283,
-0.016579659655690193,
-0.026951242238283157,
-0.06210354343056679,
0.00871220976114273,
0.05558111518621445,
0.03394118323922157,
-0.0071905083023011684,
0.06344810873270035,
-0.03432954102754593,
-0.058872368186712265,
0.007079790346324444,
-0.010709905065596104,
0.013402709737420082,
0.02062627300620079,
-0.013809443451464176,
-0.000023480426534661092,
0.03129612281918526,
0.02079470269382,
0.012413508258759975,
0.01971404068171978,
-0.028438568115234375,
-0.03997935354709625,
0.09821825474500656,
0.03942358121275902,
-0.026494808495044708,
-0.02464636228978634,
-0.036287806928157806,
0.010979650542140007,
0.004517730791121721,
0.007993204519152641,
-0.04576786980032921,
0.0294524934142828,
-0.00021089802612550557,
0.093520388007164,
0.006051149219274521,
-0.061695847660303116,
-0.010141138918697834,
-0.03670995309948921,
-0.022394826635718346,
-0.050540052354335785,
0.035195209085941315,
0.07568702101707458,
-0.0628686472773552,
-0.0020469778683036566,
0.006809595040977001,
0.03964092582464218,
-0.06273983418941498,
0.0002886586298700422,
0.028419053182005882,
-0.03007877990603447,
0.014872992411255836,
0.062868632376194,
-0.042183805257081985,
-0.03705359250307083,
0.017246266826987267,
0.05919482186436653,
0.028953399509191513,
0.03943119943141937,
-0.025376593694090843,
-0.019187984988093376,
0.005386716686189175,
-0.036948882043361664,
-0.07213927060365677,
-0.029515989124774933,
-0.020797332748770714,
-0.04637607932090759,
-0.0017777722096070647,
0.009156149812042713,
0.012380963191390038,
-0.09835394471883774,
0.0834364965558052,
-0.03682412579655647,
-0.03101499006152153,
0.04706941917538643,
-0.02237926609814167,
-0.04262147471308708,
-0.002132998313754797,
-0.09865155071020126,
0.017009040340781212,
-0.04654136672616005,
0.016831688582897186,
-0.061502501368522644,
0.050400033593177795,
0.07216401398181915,
-0.038903187960386276,
0.1042257770895958,
0.057924266904592514,
-0.03871316835284233,
-0.04984063282608986,
0.017552239820361137,
0.01682881824672222,
0.0024963647592812777,
-0.013665152713656425,
0.008783809840679169,
0.02816607803106308,
-0.02262648195028305,
0.013767062686383724,
-0.03461797535419464,
0.038060981780290604,
-0.025273147970438004,
-0.3474198579788208,
-0.02713145688176155,
-0.02182215452194214,
-0.018181055784225464,
0.024401215836405754,
-0.056694310158491135,
0.02372158318758011,
-0.017118142917752266,
-0.023741090670228004,
-0.0006761574768461287,
0.06420956552028656,
-0.00630062073469162,
0.02300345152616501,
-0.06568065285682678,
-0.0029138210229575634,
0.0074997711926698685,
-0.03898423910140991,
-0.018867118284106255,
-0.044474728405475616,
0.012638400308787823,
-0.009701750241219997,
0.003689664648845792,
-0.014525352977216244,
-0.08568242192268372,
-0.02647196501493454,
-0.05494268983602524,
0.05840163305401802,
-0.004460990894585848,
0.11111479997634888,
-0.009678098373115063,
0.03894119709730148,
0.0108101274818182,
0.041712790727615356,
-0.09890709072351456,
0.002511672442778945,
-0.003663511946797371,
0.025955358520150185,
-0.02553892321884632,
0.04297078773379326,
-0.044890616089105606,
-0.017047099769115448,
0.03214603662490845,
-0.06427713483572006,
-0.03974727541208267,
-0.11573434621095657,
0.02806011401116848,
-0.03562917560338974,
-0.04023389145731926,
-0.015831658616662025,
0.05478229001164436,
0.02886885218322277,
0.0023722806945443153,
0.010110094211995602,
-0.008451901376247406,
-0.040850430727005005,
-0.025739029049873352,
-0.08063297718763351,
0.028026284649968147,
0.004975594114512205,
0.030679689720273018,
0.015326743945479393,
0.052676722407341,
0.02001151442527771,
-0.05424188822507858,
-0.008722810074687004,
-0.0005029902094975114,
0.004672206938266754,
0.0030209971591830254,
0.03982778638601303,
-0.016367532312870026,
-0.013082349672913551,
0.06812985986471176,
-0.013306261971592903,
-0.0213056318461895,
0.007718708831816912,
0.03383138030767441,
0.017741771414875984,
0.03489759936928749,
-0.005175434984266758,
-0.010189232416450977,
0.017663177102804184,
-0.025875579565763474,
0.023873750120401382,
-0.030766375362873077,
-0.0006388166220858693,
0.010355789214372635,
0.0008010192541405559,
-0.0687105655670166,
0.05070144683122635,
0.0177758876234293,
-0.031044598668813705,
0.009207140654325485,
-0.03948114067316055,
-0.04775523394346237,
0.07424101233482361,
0.020791353657841682,
-0.23934775590896606,
0.0034502067137509584,
0.04020091891288757,
0.03320136293768883,
-0.0022626935970038176,
0.034206874668598175,
0.05307620391249657,
-0.07369615137577057,
0.01515857595950365,
0.00797958392649889,
0.031034911051392555,
-0.0003988022799603641,
0.02226678468286991,
0.007993933744728565,
0.033176224678754807,
-0.009896875359117985,
0.07296473532915115,
-0.02540823444724083,
0.025033779442310333,
-0.0017431429587304592,
0.02163589373230934,
0.012729919515550137,
0.1516370177268982,
0.004056642297655344,
0.03352125361561775,
-0.0047684465534985065,
-0.003211356233805418,
0.005710373632609844,
0.07887522876262665,
0.004890311509370804,
0.01570485532283783,
0.004022516310214996,
0.0286561306566,
0.0050770896486938,
0.01608601212501526,
-0.06345447152853012,
-0.030700119212269783,
0.01668352074921131,
0.02818620763719082,
-0.012848538346588612,
0.013560453429818153,
-0.01307295635342598,
-0.0239319559186697,
0.026273028925061226,
0.05208873376250267,
0.01655919849872589,
0.017403870820999146,
-0.031756024807691574,
-0.04344777762889862,
-0.01644224114716053,
-0.0448165200650692,
-0.03818606957793236,
0.010710825212299824,
-0.0014316531596705317,
0.00841076672077179,
0.0812988206744194,
0.029903268441557884,
-0.01622156985104084,
-0.03376362845301628,
-0.013193353079259396,
-0.017538443207740784,
-0.020673319697380066,
0.11812747269868851,
0.06108729913830757,
0.032408345490694046
] | [
-0.0022089139092713594,
-0.009068810380995274,
0.010613644495606422,
-0.003927735146135092,
-0.00404976075515151,
0.01651093363761902,
-0.009557792916893959,
0.0075767566449940205,
0.012031260877847672,
-0.0020470223389565945,
-0.018111802637577057,
0.04522985965013504,
0.007388426922261715,
-0.015917548909783363,
0.02512156404554844,
-0.015809770673513412,
0.02456437610089779,
-0.025024665519595146,
0.05585170164704323,
-0.0022939713671803474,
0.004145437851548195,
0.01142923440784216,
-0.024105586111545563,
-0.012053494341671467,
-0.024113796651363373,
0.026476187631487846,
-0.005610812921077013,
-0.013879097998142242,
0.03557557612657547,
-0.15979421138763428,
-0.02844647876918316,
-0.018839891999959946,
-0.007260593120008707,
0.003823432605713606,
0.007549709640443325,
0.005483729764819145,
-0.0025438822340220213,
0.01563974656164646,
0.005703172646462917,
-0.011463409289717674,
-0.023842893540859222,
-0.009718447923660278,
-0.0021279267966747284,
0.017301760613918304,
-0.005147586110979319,
-0.004500313196331263,
-0.02672514319419861,
-0.05549706891179085,
-0.003052870277315378,
-0.027712760493159294,
-0.04037247970700264,
-0.019663995131850243,
-0.002761163515970111,
-0.002738479757681489,
0.025103474035859108,
-0.0052923462353646755,
0.040092792361974716,
-0.0036209505051374435,
0.01487466599792242,
-0.035705842077732086,
-0.018157856538891792,
-0.022835636511445045,
-0.06445789337158203,
-0.027082163840532303,
-0.023792078718543053,
-0.025628145784139633,
-0.043830543756484985,
0.028781721368432045,
-0.02685084007680416,
0.007188122719526291,
0.01486770249903202,
0.03174661099910736,
-0.022553700953722,
-0.011721036396920681,
0.03307989239692688,
0.00571207981556654,
-0.030118189752101898,
0.0038666282780468464,
0.028623899444937706,
-0.03349123150110245,
-0.024884207174181938,
0.027523158118128777,
-0.010895607993006706,
-0.011821678839623928,
-0.012548358179628849,
0.018650587648153305,
0.02442026324570179,
-0.010955499485135078,
0.013381795026361942,
-0.012200132012367249,
0.013699006289243698,
0.01326552964746952,
-0.004848079290241003,
0.037105001509189606,
-0.08680695295333862,
-0.005287579260766506,
-0.00894010066986084,
-0.026469647884368896,
-0.003509139409288764,
0.8668868541717529,
-0.013840948231518269,
0.013420246541500092,
0.049119144678115845,
-0.02009938657283783,
0.014555156230926514,
0.013385172933340073,
0.013334695249795914,
-0.006641044281423092,
0.034966666251420975,
-0.038757555186748505,
-0.0015292540192604065,
-0.012297284789383411,
0.018626119941473007,
0.028731828555464745,
0.025894897058606148,
0.02918393164873123,
0.021663257852196693,
-0.016338292509317398,
0.018566953018307686,
0.009827903471887112,
0.03733871877193451,
0.015175282955169678,
0.0023119079414755106,
0.0448673851788044,
-0.0034012182150036097,
-0.19799822568893433,
-0.010801744647324085,
-8.144992275323968e-33,
0.04653459042310715,
-0.018402203917503357,
-0.026889167726039886,
-0.008811580948531628,
0.0019109348068013787,
-0.010433638468384743,
0.03226892277598381,
0.022976065054535866,
0.007301113102585077,
-0.005809688940644264,
-0.018876664340496063,
-0.03481895104050636,
-0.012678590603172779,
-0.012582684867084026,
0.02295888029038906,
-0.009043538942933083,
-0.006548456382006407,
0.003356400178745389,
-0.00691888015717268,
0.027136022225022316,
0.043548334389925,
0.0377112440764904,
-0.019242670387029648,
-0.004845463205128908,
-0.009402792900800705,
0.02325287088751793,
-0.0008893411722965539,
-0.019965408369898796,
-0.006530828773975372,
-0.03204351291060448,
-0.029690204188227654,
0.029833225533366203,
-0.02707444317638874,
-0.03150610253214836,
-0.00592713663354516,
-0.029432274401187897,
-0.01660384237766266,
-0.002297180937603116,
0.013739396817982197,
-0.036240607500076294,
-0.02061227522790432,
-0.008222049102187157,
-0.021850869059562683,
-0.004365898203104734,
0.01767878234386444,
-0.0007669998449273407,
0.01753883808851242,
0.011688780039548874,
-0.002293712692335248,
0.0034084850922226906,
-0.017889361828565598,
0.007059138268232346,
0.0004961358499713242,
-0.005695105530321598,
-0.005717519670724869,
0.02219788357615471,
-0.0014260936295613647,
0.0010662361746653914,
0.01567843370139599,
0.02299395762383938,
0.035265401005744934,
0.024555157870054245,
-0.01284724660217762,
0.02663913555443287,
-0.030642833560705185,
-0.011929292231798172,
0.0036044102162122726,
-0.001094495877623558,
0.03950170800089836,
-0.015817798674106598,
-0.05088984593749046,
-0.013108932413160801,
-0.0025625210255384445,
-0.009375068359076977,
-0.018194906413555145,
-0.030974654480814934,
-0.0009216535836458206,
0.02583027444779873,
-0.013220089487731457,
0.017073871567845345,
0.008823176845908165,
0.013847116380929947,
-0.009458721615374088,
-0.038603607565164566,
0.006043809931725264,
0.020874088630080223,
0.04589147865772247,
-0.013269987888634205,
-0.03086276166141033,
0.025395018979907036,
0.026012564077973366,
0.006832726299762726,
-0.011773363687098026,
0.002066314686089754,
-0.02649437077343464,
7.509283461031337e-33,
0.025975624099373817,
-0.03169165924191475,
0.0010396314319223166,
-0.010444899089634418,
0.01698446460068226,
0.0026828956324607134,
0.0003688268770929426,
-0.0027556847780942917,
-0.05220764875411987,
0.03167690709233284,
-0.04098512604832649,
0.011488344520330429,
-0.033881835639476776,
-0.004704826045781374,
0.026444749906659126,
-0.0380537249147892,
0.01919100247323513,
-0.012137653306126595,
0.023443609476089478,
0.006042324472218752,
-0.016589554026722908,
-0.00015300798986572772,
-0.0005588791100308299,
0.009497183375060558,
0.01699964329600334,
0.0374063216149807,
-0.010837353765964508,
0.03788395971059799,
0.005460305605083704,
0.017150217667222023,
-0.0016454478027299047,
-0.008994168601930141,
0.00857276376336813,
-0.008295601233839989,
-0.005616045091301203,
0.00476417038589716,
0.0016596296336501837,
0.011748476885259151,
-0.03459038585424423,
0.0004603691049851477,
0.02046453393995762,
0.008500698022544384,
0.002247600583359599,
0.00255956850014627,
0.035166189074516296,
0.010404772125184536,
-0.0028709028847515583,
-0.02219320274889469,
-0.03901004046201706,
0.005516743287444115,
0.008350393734872341,
-0.0024887986946851015,
0.02428559772670269,
-0.015635864809155464,
0.0031474209390580654,
-0.01870792731642723,
-0.010301228612661362,
0.008776824921369553,
0.015529761090874672,
0.04753950610756874,
-0.0038012999575585127,
0.006032303906977177,
-0.024323061108589172,
-0.003745447611436248,
-0.028989966958761215,
-0.004264615010470152,
-0.03834804147481918,
0.00321147870272398,
-0.011973855085670948,
0.015319089405238628,
-0.027201922610402107,
0.021303508430719376,
0.020992053672671318,
0.03900284320116043,
0.002570382785052061,
-0.011102713644504547,
-0.03431279957294464,
0.009498117491602898,
-0.03192249685525894,
0.028941668570041656,
-0.0040538134053349495,
0.00001696518847893458,
0.007266439031809568,
0.020795801654458046,
-0.004598245024681091,
0.03625240549445152,
-0.006217592861503363,
0.020094232633709908,
0.00021251702855806798,
-0.010176746174693108,
-0.008702382445335388,
-0.024205220863223076,
0.007909832522273064,
-0.006172443740069866,
-0.013901729136705399,
-1.3592213576885115e-8,
-0.0072837816551327705,
0.02649998478591442,
-0.0012941892491653562,
-0.008400434628129005,
-0.003433690872043371,
-0.0013746889308094978,
-0.006168735213577747,
0.000009614252121536992,
-0.02370453253388405,
0.027141902595758438,
0.02852955274283886,
-0.010888727381825447,
0.0006818448891863227,
0.040104079991579056,
0.007430895231664181,
-0.00333979818969965,
0.006316455081105232,
0.0012720207450911403,
0.029181083664298058,
0.003994017373770475,
0.052753642201423645,
0.05139432102441788,
0.007103413809090853,
0.020436255261301994,
0.012244805693626404,
-0.010725672356784344,
-0.010058059357106686,
-0.08299423009157181,
-0.0075567555613815784,
0.010715908370912075,
0.014717529527842999,
-0.013514052145183086,
-0.0023753636050969362,
0.008681748993694782,
0.011166025884449482,
-0.014703729189932346,
0.02346077188849449,
0.01364919077605009,
0.021330444142222404,
-0.004917638376355171,
-0.012030228972434998,
-0.00579265970736742,
0.0038415780290961266,
-0.050797004252672195,
-0.009370259009301662,
-0.0037384924944490194,
-0.010850063525140285,
-0.030536996200680733,
0.002981167286634445,
-0.021777858957648277,
0.0023789056576788425,
0.0033072056248784065,
0.004521033260971308,
0.0041856006719172,
0.0450727716088295,
-0.019256066530942917,
-0.02078651636838913,
-0.027819616720080376,
-0.03851833567023277,
-0.021865636110305786,
0.031268440186977386,
0.031247705221176147,
-0.011770149692893028,
-0.00031506153754889965
] | the-last-lecture-randy-pausch | https://markhneedham.com/blog/2010/01/01/the-last-lecture-randy-pausch |
false | 2010-01-06 00:08:14 | TDD: Hungarian notation for mocks/stubs | [
"tdd"
] | [
"Testing"
] | A fairly common discussion that I've had with several of my colleagues is around the way that we name the variables used for mocks and stubs in our tests.
There seems to be about a 50/50 split between including 'Stub' or 'Mock' on the end of those variable names and not doing so.
In a simple example test using Rhino Mocks as the testing framework this would be the contrast between the two approaches:
[source,csharp]
----
[Test]
public void ShouldDoSomething()
{
var someDependency = MockRepository.CreateMock<ISomeDependency>();
someDependency.Expect(x => x.SomeMethod()).Return("someValue");
var myController = new MyController(someDependency);
myController.DoSomething()
someDependency.VerifyAllExpectations();
}
----
[source,csharp]
----
[Test]
public void ShouldDoSomething()
{
var someDependencyMock = MockRepository.CreateMock<ISomeDependency>();
someDependencyMock.Expect(x => x.SomeMethod()).Return("someValue");
var myController = new MyController(someDependencyMock);
myController.DoSomething()
someDependencyMock.VerifyAllExpectations();
}
----
I favour the former where we don't specify this information because I think it adds unnecessary noise to the name and is a detail about the implementation of the object behind that variable which I don't care about when I'm reading the test.
I do care about it if I want to change something but if that's the case then I can easily see that it's a mock or stub by looking at the place where it's instantiated.
From my experience we often tend to end up with the situation where the variable name suggests that something is a mock or stub and then it's used in a different way:
[source,csharp]
----
[Test]
public void ShouldDoSomething()
{
var someDependencyMock = MockRepository.CreateMock<ISomeDependency>();
someDependencyMock.Stub(x => x.SomeMethod()).Return("someValue");
var myController = new MyController(someDependencyMock);
myController.DoSomething()
}
----
That then becomes a pretty misleading test because the reader is unsure whether the name is correct and the stub call is incorrect or whether it should in fact be a stub and the name is wrong.
The one time that I've seen that extra information being useful is when we have really long tests - perhaps when writing tests around legacy code which is tricky to get under test.
In this situation it is very nice to be able to easily see exactly what we're doing with each of our dependencies.
Hopefully this is only a temporary situation before we can work out how to write simpler tests which don't require this extra information. | null | null | [
-0.00558253051713109,
-0.0011990404454991221,
-0.055159732699394226,
0.046385493129491806,
0.0618949793279171,
0.00799938291311264,
0.04234723001718521,
0.0008017593063414097,
-0.014028635807335377,
-0.03470984846353531,
0.0053183347918093204,
0.006228423211723566,
-0.07024064660072327,
0.04955748841166496,
-0.0430750697851181,
0.05882048234343529,
0.09157853573560715,
-0.031656406819820404,
0.039715249091386795,
-0.002752301748842001,
0.022674312815070152,
0.027084585279226303,
-0.00011050880129914731,
0.03305915743112564,
0.03240848705172539,
0.05225534364581108,
0.003044501878321171,
-0.02119239792227745,
-0.05388032644987106,
-0.028176648542284966,
0.0179744865745306,
0.01407009270042181,
-0.003775645513087511,
-0.008855435065925121,
-0.00215746252797544,
-0.0012952734250575304,
0.018402554094791412,
-0.007094323169440031,
-0.002298748353496194,
0.019626164808869362,
-0.0764392763376236,
-0.02685520052909851,
-0.011247730813920498,
-0.025676298886537552,
-0.05448390170931816,
-0.01836743950843811,
-0.010740923695266247,
-0.0024112628307193518,
-0.03170617297291756,
0.00677851028740406,
-0.04789933189749718,
0.030936136841773987,
-0.045665714889764786,
-0.019126899540424347,
-0.0108495457097888,
0.02710859477519989,
0.04159899428486824,
-0.10668686032295227,
0.03884539008140564,
-0.07029033452272415,
-0.008533978834748268,
0.020044289529323578,
-0.0028771732468158007,
0.05667606741189957,
0.021986283361911774,
-0.020587874576449394,
0.0076830326579511166,
0.051234953105449677,
-0.06489721685647964,
-0.027290839701890945,
-0.03608102723956108,
-0.0032421578653156757,
-0.008161012083292007,
-0.03238040581345558,
-0.010739395394921303,
-0.04159282147884369,
-0.017902370542287827,
0.019506467506289482,
0.032454922795295715,
0.07882444560527802,
-0.0047357394360005856,
-0.022916637361049652,
0.03428434208035469,
-0.009032043628394604,
-0.006686503998935223,
-0.04004446789622307,
-0.001083283219486475,
-0.017837101593613625,
-0.018435874953866005,
0.052461426705121994,
0.048751071095466614,
-0.014933109283447266,
0.0041698794811964035,
0.03668444976210594,
-0.019688179716467857,
-0.012796021066606045,
0.04758693650364876,
-0.03154732286930084,
-0.002101661404594779,
0.008926233276724815,
-0.022419346496462822,
0.025088513270020485,
0.017987756058573723,
-0.0192191731184721,
-0.0864761546254158,
0.002156602218747139,
-0.03610573336482048,
-0.05433598533272743,
-0.024910807609558105,
0.00027502214652486145,
-0.04195036739110947,
0.04649915173649788,
-0.0012510776286944747,
-0.004785033408552408,
-0.06814336031675339,
0.036308590322732925,
-0.003891153959557414,
-0.01399876270443201,
-0.0032281861640512943,
0.049995988607406616,
0.03343185782432556,
0.009003658778965473,
-0.017560895532369614,
0.06910605728626251,
0.025096163153648376,
0.04968880116939545,
-0.02435983531177044,
0.05630697309970856,
0.02286737971007824,
-0.0751308798789978,
0.004958792589604855,
0.040094561874866486,
0.021610695868730545,
-0.020094940438866615,
-0.01159259770065546,
-0.04025436192750931,
-0.006154671311378479,
-0.011946775019168854,
0.04766083508729935,
0.030957171693444252,
-0.05914061516523361,
-0.024169690907001495,
0.015644699335098267,
-0.0025967531837522984,
0.00006600537017220631,
0.02029893733561039,
-0.010054965503513813,
-0.02864239737391472,
-0.0057725366204977036,
0.08724292367696762,
0.01804124377667904,
0.0736171156167984,
0.05382370576262474,
-0.023526718840003014,
0.013438285328447819,
0.05037209019064903,
-0.005083395168185234,
0.017746344208717346,
0.02652796171605587,
-0.0008058868697844446,
0.047262806445360184,
0.009797200560569763,
0.005651420447975397,
0.07620345056056976,
0.0333147756755352,
-0.003496045246720314,
0.0012787901796400547,
0.03424627333879471,
-0.014316392131149769,
-0.03730481490492821,
-0.05566431209445,
-0.052714020013809204,
0.06764660030603409,
-0.04008663818240166,
0.01770612597465515,
0.018638206645846367,
0.05333958938717842,
0.0039061589632183313,
0.07979635149240494,
0.02822638861835003,
-0.06641236692667007,
0.029906556010246277,
0.017465246841311455,
-0.006266854703426361,
0.006261428818106651,
0.01944868266582489,
0.04349665716290474,
0.015596882440149784,
-0.06384381651878357,
0.031243164092302322,
-0.07458412647247314,
-0.07397385686635971,
-0.03512611240148544,
-0.004837619606405497,
0.04268474131822586,
-0.054142262786626816,
-0.025505797937512398,
0.10487427562475204,
0.03370583802461624,
0.011545120738446712,
0.021039538085460663,
-0.0050999983213841915,
0.00258794822730124,
-0.006173868663609028,
-0.035295773297548294,
0.03210385516285896,
0.043869707733392715,
0.02238871529698372,
-0.05149896442890167,
0.014527534134685993,
-0.0295933336019516,
0.006344009656459093,
0.0019235628424212337,
0.0016842641634866595,
0.021222392097115517,
0.004057243000715971,
0.0012859537964686751,
-0.005619631614536047,
0.052237462252378464,
-0.053388554602861404,
0.0015182059723883867,
-0.03422180190682411,
-0.03962187096476555,
-0.01939348131418228,
-0.02267633192241192,
0.1080954298377037,
0.05119818076491356,
-0.016091953963041306,
-0.041032303124666214,
0.0009259935468435287,
0.03260533884167671,
-0.03240320459008217,
0.02580449730157852,
-0.017190035432577133,
0.008087186142802238,
0.011211602948606014,
-0.0032708020880818367,
0.013126137666404247,
0.027747763320803642,
-0.04751705005764961,
0.009241550229489803,
0.06694569438695908,
-0.002093292074277997,
0.04954676702618599,
-0.010453677736222744,
-0.01532289944589138,
0.023236088454723358,
-0.04750824719667435,
-0.08905994892120361,
-0.00027192439301870763,
0.03923598676919937,
-0.004854978993535042,
0.04993854835629463,
-0.007084325887262821,
-0.009668111801147461,
0.0058279880322515965,
-0.03990890085697174,
0.06053870543837547,
-0.00974025297909975,
0.08191324770450592,
-0.014488463290035725,
0.06733669340610504,
-0.012202956713736057,
-0.0008040296961553395,
-0.01605462282896042,
-0.03534236177802086,
-0.006583670619875193,
0.022923080250620842,
-0.010838774032890797,
0.04222628101706505,
0.022455912083387375,
-0.013256823644042015,
0.02654430642724037,
0.004082455765455961,
-0.032769642770290375,
-0.00017235281120520085,
0.0303766131401062,
0.025963587686419487,
-0.02429308369755745,
-0.020594250410795212,
-0.0671386867761612,
0.012478068470954895,
-0.023237058892846107,
-0.01842857152223587,
0.050709743052721024,
-0.09487367421388626,
0.022137165069580078,
-0.08083858340978622,
-0.07811109721660614,
-0.031031176447868347,
0.024581821635365486,
0.03996414691209793,
-0.0043523614294826984,
0.062307845801115036,
0.044548895210027695,
0.005961013957858086,
0.013447782956063747,
0.04027270898222923,
0.03475271537899971,
0.04038989171385765,
-0.02127213217318058,
-0.00314612640067935,
0.03364447504281998,
-0.0031360622961074114,
0.01744757778942585,
-0.056316643953323364,
0.013662765733897686,
-0.011653960682451725,
-0.2449251115322113,
0.009981858544051647,
-0.00719861127436161,
-0.0416276752948761,
0.05493200942873955,
-0.020663965493440628,
0.020938372239470482,
-0.06736726313829422,
-0.049529895186424255,
0.07299632579088211,
-0.02858622930943966,
-0.02899932488799095,
-0.006541813723742962,
0.048727426677942276,
-0.0009157037711702287,
0.009890534915030003,
0.013790921308100224,
-0.03231870383024216,
0.02251601777970791,
0.042113207280635834,
0.021239381283521652,
-0.045434825122356415,
-0.009487760253250599,
0.05720316618680954,
0.035604506731033325,
0.05212104320526123,
-0.050034575164318085,
0.07347047328948975,
-0.01739855483174324,
0.00678347097709775,
0.006926819682121277,
0.011067296378314495,
0.003639001166447997,
-0.024509631097316742,
-0.026361895725131035,
-0.006367097608745098,
-0.006380281411111355,
-0.0034680028911679983,
0.01562567800283432,
0.025196658447384834,
-0.053859807550907135,
-0.06264737993478775,
-0.024366479367017746,
-0.00839619617909193,
0.061489883810281754,
-0.028183838352560997,
-0.050770342350006104,
0.00850466638803482,
-0.08198846131563187,
0.06346902251243591,
-0.04384738579392433,
-0.03863641992211342,
-0.008620022796094418,
0.030903683975338936,
-0.018257297575473785,
-0.01896851882338524,
-0.009293301962316036,
-0.011074339039623737,
-0.054252222180366516,
-0.033620622009038925,
-0.0033585522323846817,
-0.05035421624779701,
-0.050071943551301956,
-0.041564784944057465,
-0.010310088284313679,
-0.08460283279418945,
-0.05529608204960823,
0.0023682524915784597,
0.058622706681489944,
0.0037651988677680492,
-0.016922907903790474,
-0.009427622891962528,
0.0005660178139805794,
-0.10996479541063309,
0.03591279312968254,
-0.03382931649684906,
-0.0520189106464386,
-0.036373384296894073,
0.012983512133359909,
0.03952903673052788,
-0.034239932894706726,
-0.01935286447405815,
0.0486089289188385,
0.003262078855186701,
0.0033880765549838543,
0.03666749969124794,
0.021048177033662796,
0.025401750579476357,
-0.039873309433460236,
0.014083127491176128,
0.046233948320150375,
-0.0051679848693311214,
-0.008921307511627674,
-0.027530699968338013,
0.0026650188956409693,
0.07305251806974411,
0.017820339649915695,
-0.02231455221772194,
0.03923167660832405,
-0.005391883663833141,
0.03415904566645622,
-0.03445633128285408,
0.028059301897883415,
-0.04218243062496185,
0.014420178718864918,
-0.04168214276432991,
-0.06698784232139587,
0.049736667424440384,
0.014507976360619068,
-0.009535311721265316,
-0.015794025734066963,
-0.01691003516316414,
-0.008290542289614677,
-0.059658098965883255,
-0.05989624559879303,
-0.06043889373540878,
0.007602572441101074,
0.039206139743328094,
-0.03987492620944977,
-0.003723694710060954,
-0.039082083851099014,
0.03990601375699043,
0.006749771069735289,
-0.02011115476489067,
-0.05654316022992134,
-0.025981590151786804,
-0.00459078187122941,
-0.0018804774153977633,
0.01440368127077818,
0.009344525635242462,
-0.022710923105478287,
0.03442268446087837,
-0.009659168310463428,
-0.003608702914789319,
0.012658610008656979,
0.021695856004953384,
-0.025674710050225258,
-0.023035436868667603,
0.00038767867954447865,
-0.030609501525759697,
-0.02130223996937275,
-0.020038120448589325,
0.005334240850061178,
0.024414919316768646,
0.023264585062861443,
0.0229700468480587,
0.043731316924095154,
0.018975622951984406,
-0.02047722227871418,
-0.014762960374355316,
0.035860881209373474,
-0.055783916264772415,
0.01613524928689003,
-0.02440609410405159,
-0.018425004556775093,
-0.0031850235536694527,
0.016167087480425835,
-0.018917102366685867,
-0.03996482118964195,
-0.04694681614637375,
-0.0019879015162587166,
-0.04231340438127518,
-0.0050793904811143875,
-0.04303664714097977,
-0.005676875822246075,
0.06751114130020142,
-0.0352657176554203,
0.012552276253700256,
-0.046331096440553665,
-0.03078685887157917,
0.016376882791519165,
0.003879436058923602,
-0.029370982199907303,
0.04859734699130058,
-0.008955401368439198,
0.034723564982414246,
0.0028302560094743967,
0.009441413916647434,
0.014455977827310562,
0.037295155227184296,
0.038255419582128525,
-0.015697019174695015,
0.01831383816897869,
0.010226537473499775,
0.02100468799471855,
0.00683203712105751,
0.005835348274558783,
-0.020178506150841713,
-0.022155921906232834,
-0.005111288744956255,
-0.03913068026304245,
-0.03320392966270447,
-0.0024901379365473986,
0.04958590865135193,
-0.032337527722120285,
-0.07262711226940155,
0.01241216715425253,
0.006131525617092848,
0.010046161711215973,
-0.0038360855542123318,
0.03146599605679512,
-0.022376248612999916,
-0.015570251271128654,
-0.008047246374189854,
0.0602291114628315,
-0.03449346497654915,
0.025757690891623497,
-0.0008062315755523741,
-0.0012535103596746922,
0.009511260315775871,
0.009798692539334297,
-0.050416454672813416,
-0.03041922114789486,
0.0029855079483240843,
-0.014587256126105785,
-0.05089568719267845,
-0.002807791344821453,
-0.014048701152205467,
0.0015116116264835,
-0.004471186548471451,
0.020754247903823853,
-0.011336668394505978,
0.03192134201526642,
-0.03693637251853943,
-0.014261456206440926,
0.0228103194385767,
-0.03635888174176216,
0.0014322695787996054,
0.037317968904972076,
-0.028257088735699654,
-0.004554941784590483,
-0.006637255195528269,
0.03755661100149155,
0.014408851973712444,
-0.045157235115766525,
-0.05434799566864967,
-0.04554654285311699,
-0.003894348395988345,
-0.0020937775261700153,
0.003826390253379941,
-0.0070072379894554615,
0.012560551054775715,
-0.025067873299121857,
-0.013462256640195847,
-0.031793929636478424,
-0.008973554708063602,
0.006167337764054537,
-0.021077457815408707,
0.0045531741343438625,
0.044187214225530624,
0.01536581665277481,
0.04162761569023132,
0.012212462723255157,
0.012241621501743793,
0.053310878574848175,
-0.04212972894310951,
-0.02723161317408085,
-0.027291670441627502,
-0.05608740448951721,
0.013442098163068295,
0.041794806718826294,
0.0495205856859684,
-0.047246795147657394,
0.04101448878645897,
0.04751494526863098,
0.009036433883011341,
0.056680794805288315,
-0.022920982912182808,
0.03517891839146614,
-0.04718497395515442,
0.022799737751483917,
-0.0465320460498333,
0.03152159973978996,
0.051316291093826294,
0.030447037890553474,
-0.005512895528227091,
-0.04828549548983574,
-0.016655268147587776,
0.06814036518335342,
-0.040119003504514694,
0.006641133222728968,
0.014965668320655823,
-0.05029532313346863,
0.018337564542889595,
0.009050616063177586,
-0.0673748105764389,
0.00833798572421074,
0.03577038273215294,
-0.0042365118861198425,
-0.042752668261528015,
-0.035994768142700195,
0.04115370288491249,
0.03707525134086609,
-0.0014510995242744684,
-0.03525365889072418,
0.0021815968211740255,
0.041397575289011,
0.03425629064440727,
0.03681173548102379,
0.04603366181254387,
-0.021666504442691803,
0.015853002667427063,
0.012623877264559269,
-0.02704225294291973,
-0.008155064657330513,
0.003504146123304963,
-0.00985382404178381,
-0.05894547700881958,
0.008913567289710045,
0.004479811992496252,
-0.017121542245149612,
-0.052967119961977005,
0.050722621381282806,
0.009605750441551208,
-0.04180287942290306,
-0.06139624863862991,
0.0018333053449168801,
-0.0026149884797632694,
-0.030836880207061768,
-0.022622346878051758,
-0.009859656915068626,
-0.02183779701590538,
0.08343175798654556,
0.008153530769050121,
0.005192964803427458,
0.08257587999105453,
-0.005496630445122719,
-0.01637549139559269,
-0.017757540568709373,
0.061347585171461105,
0.06657182425260544,
0.03516573831439018,
0.005888110492378473,
0.04669259861111641,
-0.019850650802254677,
-0.05377810075879097,
0.045171309262514114,
-0.014403672888875008,
0.005373391322791576,
-0.032284002751111984,
-0.02603144943714142,
0.05189071595668793,
0.01831706054508686,
0.07581031322479248,
-0.04894769936800003,
0.000004408731456351234,
0.00968605000525713,
0.05297200754284859,
0.0016418661689385772,
0.030638176947832108,
-0.00828347634524107,
0.002378380624577403,
0.026133432984352112,
-0.03147222846746445,
0.03622912988066673,
-0.03527866303920746,
-0.013748958706855774,
0.027897007763385773,
-0.018989475443959236,
-0.0034480267204344273,
0.009056980721652508,
0.0055993348360061646,
0.053488247096538544,
-0.010968182235956192,
-0.03555039316415787,
0.012871884740889072,
0.038496799767017365,
0.010500333271920681,
-0.010560113936662674,
0.015232659876346588,
-0.016814008355140686,
0.025608887895941734,
-0.02398822456598282,
-0.02342686988413334,
-0.01016272697597742,
-0.03955511003732681,
0.058104101568460464,
0.004870775155723095,
0.04397597908973694,
0.026067353785037994,
0.02155292220413685,
-0.03603053465485573,
-0.08133145421743393,
-0.04079576954245567,
-0.026887191459536552,
-0.0448775589466095,
-0.017634546384215355,
0.03108585812151432,
-0.02079819329082966,
-0.04201742634177208,
-0.024962639436125755,
-0.014831949025392532,
-0.008294385857880116,
0.04056692495942116,
-0.012920592911541462,
-0.035025183111429214,
0.05345655977725983,
0.015267240814864635,
0.04599251225590706,
0.031733956187963486,
-0.0056077647022902966,
-0.0029777123127132654,
-0.02065112814307213,
-0.03333393484354019,
-0.02387303113937378,
0.036490485072135925,
0.007605810184031725,
0.016451552510261536,
-0.054325979202985764,
0.007635412272065878,
0.016082361340522766,
0.0018537893192842603,
-0.059868231415748596,
0.03720897436141968,
-0.021950673311948776,
-0.05218101665377617,
0.036097124218940735,
-0.030627265572547913,
0.02529464289546013,
0.007241166662424803,
-0.0008219986339099705,
0.05822189524769783,
0.06627021729946136,
0.028905324637889862,
-0.014450647868216038,
0.0472138449549675,
0.05044683814048767,
-0.0016201502876356244,
-0.04195109382271767,
-0.03146557882428169,
-0.009175854735076427,
0.015120659954845905,
-0.0111472699791193,
-0.03995412588119507,
-0.07016047835350037,
-0.04131288826465607,
0.009664526209235191,
0.04550418630242348,
-0.03384090214967728,
-0.021946271881461143,
0.005133025348186493,
0.021491093561053276,
-0.0596386194229126,
0.008597091771662235,
-0.010604014620184898,
0.03667134419083595,
-0.020355256274342537,
-0.017552366480231285,
0.029617683961987495,
0.06798351556062698,
0.020905552431941032,
0.03269486874341965,
0.004876799415796995,
-0.02965167537331581,
-0.017871640622615814,
-0.0272890105843544,
0.013556755147874355,
0.06089741736650467,
-0.003450583666563034,
0.030990710482001305
] | [
-0.09293542802333832,
0.02475721202790737,
-0.05205411836504936,
-0.013029659166932106,
0.06938611716032028,
-0.01752479560673237,
0.062055230140686035,
0.01916041225194931,
0.001418462023139,
-0.008535211905837059,
-0.018101681023836136,
-0.028499571606516838,
-0.014681942760944366,
-0.015078147873282433,
0.08133421093225479,
0.0017997516551986337,
-0.021720772609114647,
-0.04787250980734825,
-0.014674469828605652,
0.03378869220614433,
0.051858656108379364,
0.0014488360611721873,
-0.011603658087551594,
-0.020580489188432693,
0.043078526854515076,
0.02127833664417267,
0.05670490488409996,
-0.02873563952744007,
0.002537049353122711,
-0.21131585538387299,
0.02304205857217312,
0.00024599116295576096,
-0.018475940451025963,
-0.020077591761946678,
-0.03522302582859993,
0.03820937126874924,
0.01937529258430004,
0.024908751249313354,
-0.012244347482919693,
0.06365281343460083,
0.02356874942779541,
0.009873179718852043,
-0.04119677096605301,
-0.021561149507761,
0.01603841781616211,
-0.017649073153734207,
-0.020094331353902817,
-0.026359567418694496,
-0.01769307255744934,
0.03869278356432915,
-0.013572672381997108,
-0.034531500190496445,
-0.015206221491098404,
-0.011754184029996395,
-0.030146772041916847,
0.006965573877096176,
0.0519082173705101,
0.03588655963540077,
-0.000024675156964804046,
0.012599577195942402,
0.010244539938867092,
-0.022527476772665977,
-0.15169230103492737,
0.09031394869089127,
0.021649757400155067,
0.02918495424091816,
-0.005070026032626629,
-0.00399112468585372,
-0.01184015441685915,
0.09363927692174911,
0.04303600639104843,
-0.01178416982293129,
-0.04763500764966011,
0.08029334247112274,
-0.009139527566730976,
-0.025127753615379333,
0.014435063116252422,
0.025148408487439156,
0.061128295958042145,
-0.042656831443309784,
-0.06335069239139557,
0.00004427373278304003,
0.0015565893845632672,
-0.03937350958585739,
-0.0073750256560742855,
0.01428542472422123,
0.01966537907719612,
0.009815413504838943,
0.06002659723162651,
0.035072244703769684,
0.04854469373822212,
-0.04288032650947571,
0.04065678268671036,
0.017319269478321075,
-0.07555545121431351,
-0.014381499029695988,
-0.03738937899470329,
-0.025466585531830788,
-0.03204822167754173,
0.4265412390232086,
-0.024020671844482422,
-0.01591320149600506,
0.00266419374383986,
0.017336146906018257,
-0.00012942169269081205,
-0.012497618794441223,
-0.011047820560634136,
-0.054320454597473145,
0.013551914133131504,
-0.0016723988810554147,
0.029256341978907585,
0.014908951707184315,
0.023104798048734665,
-0.054651468992233276,
-0.0027566971257328987,
0.0049938601441681385,
0.04500386491417885,
-0.005074278451502323,
-0.01097820419818163,
-0.02664521336555481,
0.01410966832190752,
0.018092850223183632,
0.015340844169259071,
0.013783077709376812,
-0.021736154332756996,
-0.023973679170012474,
0.026311518624424934,
0.062497012317180634,
0.027701962739229202,
-0.028621889650821686,
0.06613083183765411,
-0.057107534259557724,
-0.06849987804889679,
-0.006477310787886381,
-0.007402314804494381,
0.02491135708987713,
0.056191109120845795,
0.009980540722608566,
-0.0005032473709434271,
0.030955448746681213,
0.030356818810105324,
-0.024559849873185158,
0.022886324673891068,
-0.035818830132484436,
-0.05138834938406944,
0.07699771225452423,
-0.04549571871757507,
-0.015229551121592522,
-0.010773290880024433,
-0.03102787770330906,
0.005433237180113792,
0.05353022366762161,
-0.021531637758016586,
-0.0447571724653244,
0.015827743336558342,
-0.012060939334332943,
0.02805858850479126,
0.01996191218495369,
0.006640521809458733,
-0.04090175777673721,
-0.007103965617716312,
-0.03490274399518967,
-0.0492018423974514,
0.0009517131256870925,
0.006799500901252031,
-0.08016037195920944,
-0.05050794780254364,
0.023834362626075745,
-0.011105840094387531,
-0.049780748784542084,
0.009665721096098423,
-0.01513720117509365,
-0.05134819447994232,
-0.02358429692685604,
0.013552096672356129,
-0.011554188095033169,
-0.014594835229218006,
-0.002309684408828616,
0.04285351559519768,
0.026230962947010994,
-0.0017543534049764276,
0.00012706681445706636,
-0.037428222596645355,
0.0037252141628414392,
0.0065774936228990555,
-0.05355455353856087,
-0.05402623489499092,
-0.02195780910551548,
-0.009686194360256195,
-0.025922536849975586,
-0.025371665135025978,
-0.05448012426495552,
-0.06616736203432083,
0.09116572886705399,
-0.028934456408023834,
-0.0052382792346179485,
0.028541726991534233,
-0.004760317038744688,
0.04080318659543991,
-0.022840941324830055,
0.014719080179929733,
0.06185965612530708,
0.03309227153658867,
0.0399533212184906,
-0.07876409590244293,
0.05892377346754074,
0.054624270647764206,
-0.043926019221544266,
0.07439378648996353,
0.0247916541993618,
-0.07153329253196716,
0.008823506534099579,
-0.020104508846998215,
0.02278124913573265,
-0.06160473823547363,
-0.033083975315093994,
-0.00952120590955019,
0.032816171646118164,
0.021221408620476723,
0.01389780081808567,
-0.046310510486364365,
-0.009627465158700943,
0.020396145060658455,
-0.33624738454818726,
-0.034469399601221085,
0.000805812596809119,
-0.00001454385528631974,
0.07006821036338806,
-0.03936012461781502,
-0.0016804744955152273,
0.024033455178141594,
-0.01515812799334526,
-0.030468227341771126,
0.0592288002371788,
-0.03861379623413086,
-0.023557720705866814,
-0.0873083621263504,
0.017663350328803062,
0.023551441729068756,
-0.04897244647145271,
-0.06611949950456619,
-0.026050766929984093,
0.025395946577191353,
-0.0357758030295372,
0.007759499829262495,
0.006136496551334858,
-0.030525149777531624,
0.009044291451573372,
-0.018486250191926956,
0.06431520730257034,
0.005524772219359875,
0.066745325922966,
-0.027537044137716293,
0.044765397906303406,
-0.02763684280216694,
0.05920112878084183,
-0.06933838874101639,
0.012795154005289078,
-0.042301297187805176,
-0.07067454606294632,
0.030432887375354767,
0.019549136981368065,
-0.020534740760922432,
-0.03105038031935692,
0.005254031158983707,
-0.0443221777677536,
-0.055625926703214645,
0.0024549239315092564,
0.022315334528684616,
-0.006899028550833464,
-0.020928150042891502,
-0.00799162220209837,
0.06648508459329605,
-0.006957670208066702,
0.019301757216453552,
0.006176496855914593,
0.006000981666147709,
0.03986460715532303,
-0.04486539959907532,
-0.07463528215885162,
-0.004475599620491266,
0.0058290669694542885,
-0.0016923313960433006,
0.0371551513671875,
0.07949894666671753,
0.04002872109413147,
-0.0591055229306221,
-0.027958180755376816,
-0.013152792118489742,
-0.0039178356528282166,
-0.009327247738838196,
0.06316430121660233,
-0.021137826144695282,
-0.04653926193714142,
0.131498321890831,
0.006744254846125841,
-0.005757779348641634,
0.03966829925775528,
0.03233272209763527,
-0.01667325757443905,
-0.012939995154738426,
-0.01054892037063837,
0.0064885434694588184,
0.024739809334278107,
0.02712417021393776,
0.029208078980445862,
-0.012306283228099346,
0.012992368079721928,
0.02528573013842106,
-0.02032950147986412,
-0.005213536322116852,
0.07156048715114594,
-0.029804777354002,
-0.07134462893009186,
0.0003926800563931465,
0.004532613791525364,
-0.04984128847718239,
0.057128846645355225,
-0.011037956923246384,
-0.25089356303215027,
0.022918585687875748,
0.08258190006017685,
0.06168956682085991,
-0.006763495970517397,
0.030384475365281105,
0.03315243497490883,
-0.08265986293554306,
0.008153926581144333,
0.02533808723092079,
0.057379767298698425,
0.00735455472022295,
0.034479036927223206,
0.020188553258776665,
0.02300848625600338,
0.01411064900457859,
0.08208505809307098,
-0.03203384950757027,
0.023962952196598053,
-0.013439763337373734,
0.025645574554800987,
-0.03328648954629898,
0.1826370507478714,
-0.02506639063358307,
0.021658094599843025,
0.011460818350315094,
0.010342550463974476,
0.06096320226788521,
0.09276823699474335,
0.019835451617836952,
0.02383096143603325,
-0.029877066612243652,
0.07848437130451202,
-0.008065187372267246,
0.056584421545267105,
-0.07630732655525208,
-0.042742833495140076,
-0.018771465867757797,
0.028725720942020416,
-0.009054252877831459,
-0.01620863378047943,
0.00013984370161779225,
-0.05169833078980446,
0.02022305503487587,
0.08553818613290787,
0.0008419167716056108,
-0.023712264373898506,
-0.05339232087135315,
-0.03535715863108635,
0.004256524611264467,
-0.03621366247534752,
-0.02593144215643406,
-0.021797141060233116,
-0.013574481941759586,
0.025926368311047554,
0.02611621841788292,
0.05503063276410103,
-0.028397561982274055,
-0.03202211111783981,
-0.00011172855010954663,
-0.016961243003606796,
0.021447233855724335,
0.1145157516002655,
0.0336516909301281,
0.02313311956822872
] | [
0.006313059478998184,
0.00897697638720274,
0.00960687268525362,
0.022820550948381424,
-0.009197949431836605,
0.02731899544596672,
-0.007544455584138632,
0.029006080701947212,
0.001550692948512733,
0.04671557620167732,
-0.0009046083432622254,
-0.012615185230970383,
0.02620423398911953,
0.008557732217013836,
0.03904012218117714,
-0.01753411628305912,
0.018475119024515152,
-0.017116503790020943,
0.014046736992895603,
0.012139499187469482,
0.008788557723164558,
0.030564608052372932,
0.014225476421415806,
-0.01314072497189045,
-0.006322407629340887,
-0.021042969077825546,
-0.004138246178627014,
-0.028262881562113762,
0.01965629681944847,
-0.12651102244853973,
0.008210672065615654,
-0.030408713966608047,
-0.020323045551776886,
0.0005326355458237231,
-0.03682365640997887,
-0.0335032194852829,
-0.004136614501476288,
0.035231295973062515,
0.03405776247382164,
-0.0231923945248127,
0.014869727194309235,
-0.003581169992685318,
-0.005959738045930862,
0.024102704599499702,
0.012199783697724342,
-0.010803037323057652,
0.029712975025177002,
-0.01497102715075016,
-0.004273092839866877,
-0.013566723093390465,
-0.021078940480947495,
-0.03803011402487755,
-0.014894316904246807,
0.041198041290044785,
-0.010022010654211044,
-0.01626252941787243,
0.015804756432771683,
-0.027070188894867897,
0.03610099479556084,
0.020911332219839096,
-0.005910147912800312,
0.025574468076229095,
-0.002978661097586155,
-0.016480447724461555,
0.01352629717439413,
-0.023058384656906128,
0.013680679723620415,
0.013478356413543224,
0.014481713064014912,
-0.022270912304520607,
-0.03733218088746071,
-0.002658202312886715,
0.011939750984311104,
0.007723148912191391,
-0.014356535859405994,
0.01745792292058468,
0.00508488342165947,
-0.022739142179489136,
0.04669446498155594,
-0.026471508666872978,
-0.03757370635867119,
0.023805124685168266,
-0.017454056069254875,
0.013710086233913898,
0.01928389072418213,
0.032311469316482544,
0.013603019528090954,
-0.0018548647640272975,
0.019042188301682472,
-0.02988303452730179,
0.0050169299356639385,
0.02993570640683174,
0.0010722636943683028,
0.033562637865543365,
-0.05766930431127548,
-0.016383301466703415,
0.012342152185738087,
-0.020051056519150734,
-0.010959104634821415,
0.8311357498168945,
-0.006015369202941656,
0.02651417814195156,
0.038104098290205,
0.009236261248588562,
-0.017960792407393456,
-0.011254740878939629,
0.018056873232126236,
-0.0077508799731731415,
0.014822141267359257,
-0.021894067525863647,
0.019999727606773376,
0.043073683977127075,
0.0049362932331860065,
-0.004257540218532085,
0.03981838747859001,
0.0008132007787935436,
0.00793405156582594,
0.014412196353077888,
-0.016933239996433258,
-0.023069409653544426,
0.019610868766903877,
-0.0224420428276062,
0.020020224153995514,
-0.0036861549597233534,
0.014175365678966045,
-0.20009386539459229,
0.048968467861413956,
-8.489462078624808e-33,
0.039071936160326004,
-0.02820778079330921,
0.031774066388607025,
0.03713969141244888,
0.025180278345942497,
0.013744009658694267,
0.06102243438363075,
0.0349862277507782,
0.016999075189232826,
-0.039566267281770706,
0.01763126440346241,
-0.05138320103287697,
-0.006223764270544052,
-0.006027610506862402,
-0.026537146419286728,
-0.016918685287237167,
-0.020984740927815437,
0.040309466421604156,
-0.024262305349111557,
0.020496120676398277,
-0.0015985803911462426,
0.03710755333304405,
-0.0035056625492870808,
-0.014588901773095131,
-0.00039510917849838734,
-0.0063617597334086895,
0.03141871094703674,
0.011880898848176003,
-0.04509565234184265,
-0.04250691831111908,
0.0230846144258976,
0.04465040937066078,
-0.028895918279886246,
-0.03582150116562843,
0.042068060487508774,
-0.04975268244743347,
0.019224463030695915,
-0.00791498925536871,
-0.03536470606923103,
-0.013938709162175655,
-0.03358148783445358,
-0.01950797066092491,
-0.02942223846912384,
0.03754249960184097,
-0.024376358836889267,
-0.03427690640091896,
0.003820207202807069,
0.0015396205708384514,
0.04859227314591408,
-0.0037938482128083706,
-0.032032664865255356,
0.03093726933002472,
-0.0032036073971539736,
-0.026075996458530426,
-0.02060162089765072,
0.04218462109565735,
0.020902585238218307,
0.006121267564594746,
-0.01790410839021206,
-0.006174180656671524,
-0.01003580167889595,
-0.026010408997535706,
-0.05540519580245018,
-0.003557687159627676,
-0.035807907581329346,
0.007503367029130459,
-0.02424287050962448,
-0.03468133136630058,
0.03495623543858528,
-0.00980217196047306,
-0.058634910732507706,
0.017209943383932114,
-0.021136585623025894,
-0.037069790065288544,
0.0023058056831359863,
-0.034706588834524155,
-0.017279570922255516,
0.05056697130203247,
0.010070111602544785,
-0.000798551132902503,
0.0009530259994789958,
-0.012753489427268505,
-0.024991756305098534,
0.002891786629334092,
0.03680878505110741,
0.0009000087156891823,
0.020347600802779198,
-0.018443625420331955,
-0.0006663367967121303,
-0.03563074395060539,
0.04115903377532959,
0.04980974644422531,
-0.00010585645213723183,
-0.018111256882548332,
-0.017559288069605827,
9.043760562283304e-33,
-0.013420730829238892,
0.008431566879153252,
-0.03222332522273064,
0.04557839408516884,
0.014068997465074062,
-0.0295721385627985,
0.010621728375554085,
0.0288692694157362,
-0.0667945146560669,
-0.012932049110531807,
-0.01931372843682766,
0.01268503163009882,
-0.03228428214788437,
0.03616476058959961,
0.05213870853185654,
-0.014329354278743267,
0.03245873376727104,
-0.037691690027713776,
0.011340565048158169,
-0.006758589763194323,
0.024137256667017937,
0.011606497690081596,
0.016628367826342583,
-0.016246341168880463,
0.00001808821616577916,
0.04665835201740265,
-0.03936878591775894,
0.03344496339559555,
0.02603951096534729,
0.004737775307148695,
-0.003725821152329445,
0.05300913006067276,
0.008275811560451984,
-0.0376155823469162,
-0.012142855674028397,
-0.005027690436691046,
-0.008377587422728539,
0.010779845528304577,
-0.023152673617005348,
-0.010448652319610119,
-0.019238293170928955,
-0.04497743770480156,
-0.017555415630340576,
0.02830370143055916,
0.0018662147922441363,
-0.006008402444422245,
0.003380353795364499,
-0.017213081941008568,
0.02408016286790371,
0.003937215078622103,
0.04799627140164375,
-0.017571447417140007,
-0.007164387498050928,
0.02408439666032791,
0.03755180165171623,
-0.024404969066381454,
-0.04524006322026253,
-0.0085031408816576,
0.04397229105234146,
-0.014012201689183712,
-0.005400931462645531,
0.050391849130392075,
-0.0077307322062551975,
0.006938961800187826,
-0.013876549899578094,
0.0010537964990362525,
-0.01850411295890808,
-0.0075341942720115185,
0.022104155272245407,
-0.00023900029191281646,
-0.016246294602751732,
-0.002902792766690254,
0.003130813827738166,
-0.008913600817322731,
0.012279401533305645,
-0.02921682968735695,
-0.005799467675387859,
-0.04742192104458809,
-0.006123766768723726,
0.02660968340933323,
0.00646606320515275,
-0.024182282388210297,
0.017767049372196198,
-0.004356616176664829,
-0.02944587916135788,
0.01231881882995367,
-0.015236872248351574,
0.004710754845291376,
0.004430452827364206,
0.009736022911965847,
-0.020045138895511627,
0.03332916274666786,
0.009951300919055939,
-0.0042762779630720615,
0.013096243143081665,
-1.3837018641993382e-8,
-0.00036054966039955616,
0.058971744030714035,
-0.015831517055630684,
0.03489385172724724,
-0.002759800525382161,
0.012654384598135948,
-0.026727398857474327,
-0.053807374089956284,
-0.007271637208759785,
0.021241754293441772,
0.03186209127306938,
-0.01961803250014782,
0.03175035119056702,
0.03841732069849968,
0.00426681712269783,
-0.07645954191684723,
-0.03467681258916855,
0.0018359171226620674,
0.016136135905981064,
0.011799421161413193,
-0.004173106513917446,
0.04276581108570099,
0.0239701010286808,
0.00012723804684355855,
0.026723824441432953,
0.03862319141626358,
0.01625923439860344,
-0.05374753475189209,
0.018120670691132545,
0.03311013802886009,
-0.010404383763670921,
-0.03697358816862106,
-0.035481568425893784,
0.027394762262701988,
-0.007189334370195866,
0.04084676504135132,
-0.011283382773399353,
0.008065450005233288,
0.03706962615251541,
0.00057270034449175,
-0.017885232344269753,
-0.04266093298792839,
0.055468566715717316,
-0.0015655597671866417,
0.0027555697597563267,
-0.03352728486061096,
-0.041472580283880234,
0.011574674397706985,
0.02335945889353752,
-0.030657876282930374,
-0.011155425570905209,
-0.008013570681214333,
-0.03152599558234215,
-0.030152421444654465,
-0.01700231246650219,
0.03606192395091057,
0.01469455473124981,
-0.03680712357163429,
-0.050440289080142975,
-0.01876772753894329,
0.04628420248627663,
0.002047473331913352,
-0.03341188654303551,
-0.030913816764950752
] | tdd-hungarian-notation-for-mocksstubs | https://markhneedham.com/blog/2010/01/06/tdd-hungarian-notation-for-mocksstubs |
false | 2010-01-24 01:13:57 | TDD: Removing the clutter | [
"tdd"
] | [
"Testing"
] | I got the chance to work with http://fragmental.tw/[Phil] for a couple of weeks last year and one of the most interesting things that he started teaching me was the importance of reducing the clutter in our tests and ensuring that we take some time to refactor them as well as the code as part of the 'red-green-refactor' cycle.
I'm still trying to work out the best way to do this but I came across a really http://blog.thecodewhisperer.com/post/333781027/what-your-tests-dont-need-to-know-will-hurt-you[interesting post by J.B. Rainsberger where he describes how he removes irrelevant details from his tests].
Since I worked with Phil I've started noticing some of the ways that we can simplify tests so that they are more useful as documentation of how our system works.
== Wrapping methods around irrelevant test builders
One thing I've noticed in tests recently is that generally most of the setup code for a test is irrelevant and is just there to get the test to actually run. There's very little that's actually interesting and more often than not it ends up getting hidden amongst the other irrelevant stuff.
The http://www.markhneedham.com/blog/2009/01/21/c-builder-pattern-still-useful-for-test-data/[test builder pattern] is a really useful one for allowing us to easily setup test data but I feel that if we're not careful it contributes to the clutter.
To describe a contrived example:
[source,csharp]
----
[Test]
public void SomeTest()
{
var bar = BarBuilder.Build.WithBaz("baz").BuildBar();
var foo = FooBuilder.Build.Bar(bar).BuildFoo();
var someObject = new SomeObject();
var result = someObject.SomeMethod(foo);
Assert.That(result.Baz, Is.EqualTo("baz");
}
----
In this example 'Foo' is actually not important at all. What we're really interested in is Baz which happens to be accessed via Foo.
I've started refactoring tests like that into the following style:
[source,csharp]
----
[Test]
public void SomeTest()
{
var bar = BarBuilder.Build.WithBaz("baz").BuildBar();
var someObject = new SomeObject();
var result = someObject.SomeMethod(FooWith(bar));
Assert.That(result.Baz, Is.EqualTo("baz");
}
private Foo FooWith(Bar bar)
{
return FooBuilder.Build.Bar(bar).BuildFoo();
}
----
In this example it doesn't make much different in terms of readability but when there's more dependencies it works quite well for driving the test into a state where all we see are the important details that form part of the 'Arrange - Act - Assert' pattern.
== New up object under test inline
Object initialisation is often not worthy of a variable in our test since it doesn't really add anything to our understanding of the test.
I only really break this rule when we need to call one method on the object under test and then need to call another method to verify whether or not the expected behaviour happened.
More often than not this is only the case when dealing with framework code. It's much easier to avoid this in our own code.
In the example that I started with we can inline the creation of 'SomeObject' without losing any of the intent of the test:
[source,csharp]
----
[Test]
public void SomeTest()
{
var bar = BarBuilder.Build.WithBaz("baz").BuildBar();
var result = new SomeObject().SomeMethod(FooWith(bar));
Assert.That(result.Baz, Is.EqualTo("baz");
}
----
The only time I don't do this is when the constructor takes in a lot of dependencies and keeping it all inlined would take the code off the right side of the screen.
In any case it's a sign that something's gone wrong and the object probably has too many dependencies so we need to try and fix that.
== Pull up static dependencies into fields
Another technique I've been trying is pulling static dependencies i.e. ones whose values are not mutated in the test up into fields and initialising them there.
A typical example would be in http://www.markhneedham.com/blog/2010/01/15/tdd-thoughts-on-using-a-clock-in-tests/[tests that have a clock].
[source,csharp]
----
[Test]
public void ShouldShowFoosOlderThanToday()
{
var clock = new ControlledClock(new DateTime(2010,1,16));
var fooService = MockRepository.GenerateStub<IFooService>();
var fooFromYesterday = new Foo { Date = 1.DayBefore(clock) });
var aCollectionOfFoos = new List<Foo> { fooFromYesterday };
fooService.Stub(f => f.GetFoos()).Return(aCollectionOfFoos);
var oldFoos = new FooFinder(clock, fooService).GetFoosFromEarlierThanToday();
Assert.That(oldFoos.Count, Is.EqualTo(1));
// and so on
}
----
I would pull the clock variable up to be a field since the value we want to return for it is going to be the same for the whole test fixture.
[source,csharp]
----
[TestFixture]
public class TheTestFixture
{
private readonly IClock Clock = new ControlledClock(new DateTime(2010,1,16));
[Test]
public void ShouldShowFoosOlderThanToday()
{
var fooService = MockRepository.GenerateStub<IFooService>();
var fooFromYesterday = new Foo { Date = 1.DayBefore(clock) });
var aCollectionOfFoos = new List<Foo> { fooFromYesterday };
fooService.Stub(f => f.GetFoos()).Return(aCollectionOfFoos);
var oldFoos = new FooFinder(Clock, fooService).GetFoosFromEarlierThanToday();
Assert.That(oldFoos.Count, Is.EqualTo(1));
// and so on
}
}
----
I'm less certain what I would do with 'fooService'. I've run into problems previously by pulling these types of dependencies up into a setup method if we've also moved the corresponding 'Stub' or 'Mock' call as well. With that setup the intent of the test is now in two places which makes it more difficult to understand.
== In Summary
It's really interesting to read about the way that others are trying to write better tests and http://www.exampler.com/blog/2010/01/13/mocks-the-removal-of-test-detail-and-dynamically-typed-languages/[Brian Marick also has a post where he describes how he is able to create even more intention revealing tests in a dynamic language].
It'd be cool to here some more ideas around this. | null | null | [
0.04551156610250473,
0.00008520168921677396,
0.007234430406242609,
0.024675270542502403,
0.08056076616048813,
0.009505175985395908,
0.032215140759944916,
0.018868321552872658,
0.013760009780526161,
-0.03594861924648285,
-0.018813736736774445,
-0.011592905037105083,
-0.08741462230682373,
0.004354170523583889,
-0.025411231443285942,
0.0654236376285553,
0.09068483114242554,
-0.01644238829612732,
0.04203088581562042,
0.011871918104588985,
0.04070746526122093,
0.06587718427181244,
-0.009320195764303207,
0.04077335074543953,
0.025452813133597374,
0.02195565588772297,
0.017635829746723175,
-0.0040286630392074585,
-0.07716518640518188,
-0.017503956332802773,
0.04451920464634895,
0.006757350172847509,
0.02023507095873356,
-0.028412368148565292,
0.002879577688872814,
-0.007997394539415836,
-0.010058538988232613,
0.01395561546087265,
-0.021999822929501534,
0.012761369347572327,
-0.08560635894536972,
0.04419969022274017,
0.0075635118409991264,
0.01507361326366663,
-0.047402553260326385,
0.0199577696621418,
-0.03242698684334755,
-0.011728769168257713,
-0.05704280734062195,
-0.0377647690474987,
-0.059695370495319366,
0.03263460844755173,
-0.02329866588115692,
0.0004356362915132195,
-0.002550424775108695,
0.052085742354393005,
0.027194952592253685,
-0.08404695987701416,
0.038881417363882065,
-0.04274943470954895,
-0.02309933677315712,
-0.009105166420340538,
-0.008225779980421066,
0.057557981461286545,
0.03571299836039543,
-0.02095424197614193,
-0.011694587767124176,
0.029600538313388824,
-0.030357323586940765,
-0.004011992365121841,
-0.011288398876786232,
-0.005100402049720287,
-0.00976786483079195,
-0.012859693728387356,
0.014858629554510117,
-0.006399116013199091,
-0.006017590407282114,
0.06041557714343071,
0.015466044656932354,
0.05134239047765732,
0.005730012431740761,
-0.014296441338956356,
0.030636202543973923,
0.01765298843383789,
0.015611374750733376,
-0.03356389328837395,
-0.024426456540822983,
-0.00034766929456964135,
-0.02536032348871231,
0.07130181789398193,
0.009186647832393646,
-0.04597324877977371,
0.022150535136461258,
0.023624351248145103,
0.003519761376082897,
0.013162491843104362,
0.013576770201325417,
0.0039016795344650745,
-0.003654898377135396,
-0.0020247194916009903,
-0.04405834153294563,
-0.001833305461332202,
0.016086071729660034,
0.014180487021803856,
-0.060074333101511,
-0.024523580446839333,
-0.048337943851947784,
-0.01864073984324932,
-0.009199729189276695,
0.022644175216555595,
-0.03335966914892197,
0.023053208366036415,
-0.02577212266623974,
-0.0053520966321229935,
-0.08535424619913101,
0.04745481163263321,
-0.004084030631929636,
-0.019420243799686432,
-0.025564726442098618,
0.033129896968603134,
0.037952788174152374,
0.04206375777721405,
-0.005576197523623705,
0.0650339424610138,
-0.005915097426623106,
0.026331691071391106,
-0.013418452814221382,
0.06904583424329758,
-0.02112317830324173,
-0.05740877985954285,
-0.014990745112299919,
0.05943576619029045,
-0.006007824093103409,
0.004633908625692129,
0.0068016755394637585,
-0.0217288751155138,
0.006610820535570383,
-0.0069458456709980965,
0.04286053776741028,
0.03543367236852646,
-0.030948558822274208,
-0.040809266269207,
0.03501421585679054,
-0.02511538565158844,
-0.0012120509054511786,
0.01755780354142189,
-0.025709839537739754,
-0.011138685047626495,
-0.020856276154518127,
0.04014075547456741,
0.023040929809212685,
0.0697178766131401,
0.04878132790327072,
-0.035517968237400055,
0.008978448808193207,
0.07953821867704391,
-0.017464853823184967,
-0.0021327631548047066,
-0.015123425051569939,
0.018529297783970833,
0.04261854290962219,
0.035009369254112244,
0.03983273729681969,
0.053065843880176544,
0.007471599616110325,
0.011029733344912529,
-0.0051015568897128105,
0.028214741498231888,
-0.01016696635633707,
0.01013232208788395,
-0.05853749066591263,
-0.058741528540849686,
0.06192527711391449,
-0.04254267364740372,
-0.008530154824256897,
0.02750810980796814,
0.0931786373257637,
-0.009269137866795063,
0.05329824984073639,
0.00204664608463645,
-0.06342509388923645,
0.027814926579594612,
0.011703317984938622,
0.022406328469514847,
0.01498699001967907,
-0.012967092916369438,
0.0590507872402668,
0.02416321262717247,
0.0022536362521350384,
0.03643309697508812,
-0.08053240925073624,
-0.07286964356899261,
-0.008383374661207199,
-0.015559494495391846,
0.06011766940355301,
-0.015527669340372086,
-0.014857152476906776,
0.07458608597517014,
0.036736320704221725,
0.05029265582561493,
0.03506888821721077,
-0.003353712847456336,
-0.010696555487811565,
-0.050959426909685135,
-0.046995170414447784,
0.03602059558033943,
0.032676033675670624,
0.0022590523585677147,
-0.051443107426166534,
-0.0030005357693880796,
0.016584277153015137,
0.030184948816895485,
0.05324092134833336,
-0.0033505584578961134,
0.047823503613471985,
0.01684393547475338,
0.02762826904654503,
-0.046080075204372406,
0.0649125725030899,
-0.06218380481004715,
-0.010042979381978512,
-0.02733626216650009,
-0.02720748260617256,
-0.011256815865635872,
-0.0059157139621675014,
0.11174459755420685,
0.03690338507294655,
-0.05877402424812317,
-0.049713995307683945,
0.01087039802223444,
0.024001924321055412,
-0.023880474269390106,
-0.007065188139677048,
-0.0034020934253931046,
0.025704124942421913,
-0.02112576737999916,
-0.059774249792099,
-0.005947483237832785,
0.018319828435778618,
-0.0330696702003479,
0.027322158217430115,
0.08127690851688385,
-0.0028783257585018873,
0.03147701919078827,
0.008666479028761387,
-0.025663599371910095,
-0.01242439728230238,
-0.02733883075416088,
-0.06993450969457626,
0.0212942473590374,
0.04158887267112732,
-0.016518056392669678,
0.04680575430393219,
-0.020673416554927826,
-0.03506754711270332,
-0.023591654375195503,
-0.05886584147810936,
0.0067105949856340885,
0.024965304881334305,
0.07096883654594421,
0.014817796647548676,
0.05445842817425728,
-0.0036546410992741585,
0.02821715548634529,
-0.003952769096940756,
-0.04108814895153046,
0.015358895063400269,
-0.01082313060760498,
-0.013453601859509945,
0.05361469089984894,
-0.01837768405675888,
0.03214467316865921,
0.024873586371541023,
0.014317832887172699,
-0.009426538832485676,
-0.03698026016354561,
0.0168576892465353,
0.005872612819075584,
-0.04392392933368683,
-0.03712553530931473,
-0.05530169978737831,
0.03925040736794472,
-0.05064929276704788,
-0.016688726842403412,
0.01792418770492077,
-0.07084793597459793,
0.03963559493422508,
-0.06271322816610336,
-0.06085464358329773,
0.0037167752161622047,
0.04976243898272514,
0.029558060690760612,
0.002342115854844451,
0.03574435040354729,
0.07600048184394836,
0.011305760592222214,
0.008989853784441948,
-0.018712108954787254,
0.013721166178584099,
0.02721341699361801,
0.010058747604489326,
0.02234673872590065,
0.019078949466347694,
0.009870760142803192,
0.006569054909050465,
-0.05692495033144951,
0.0184065792709589,
-0.006750274915248156,
-0.27359282970428467,
0.0548018217086792,
0.015783879905939102,
-0.06611058115959167,
0.026581840589642525,
-0.016637884080410004,
-0.0023639523424208164,
-0.03519027680158615,
-0.020521799102425575,
0.041152726858854294,
-0.030325526371598244,
-0.058585453778505325,
-0.007894146256148815,
0.06043074280023575,
-0.0038343241903930902,
0.010876653715968132,
0.016991745680570602,
-0.0169761274009943,
0.0308909323066473,
0.034176308661699295,
0.0017101356061175466,
-0.07197201997041702,
0.02534559741616249,
0.012510109692811966,
0.017806362360715866,
0.05976567044854164,
-0.09151684492826462,
0.07660335302352905,
-0.03173559531569481,
-0.004021510016173124,
0.013698226772248745,
0.006854670587927103,
-0.004546146374195814,
-0.012717531993985176,
-0.037098634988069534,
0.010695192031562328,
0.016263658180832863,
0.020094051957130432,
-0.008923135697841644,
0.0292750783264637,
-0.008643376640975475,
-0.05085397884249687,
-0.03103918768465519,
0.0035708004143089056,
0.07729566097259521,
-0.01443428359925747,
-0.07026662677526474,
-0.0032193188089877367,
-0.03748977184295654,
0.06450799852609634,
-0.03347742184996605,
-0.04592491686344147,
-0.003464317647740245,
0.06532341986894608,
-0.03347984701395035,
-0.040322162210941315,
0.007072408217936754,
-0.020730728283524513,
-0.05102081596851349,
-0.01284620352089405,
-0.006291384808719158,
-0.043167147785425186,
0.009348461404442787,
-0.040388599038124084,
-0.0027743871323764324,
-0.07250043749809265,
-0.05979720503091812,
-0.024267081171274185,
0.06842035055160522,
0.011020524427294731,
-0.020043687894940376,
-0.001305119483731687,
0.0034946168307214975,
-0.12260698527097702,
0.003168452065438032,
-0.027489176020026207,
-0.024420561268925667,
-0.04467541724443436,
-0.02088804729282856,
0.05366068705916405,
-0.044140126556158066,
-0.04445796087384224,
0.06322373449802399,
0.015415143221616745,
0.01654583029448986,
0.028191177174448967,
0.011187221854925156,
0.013457768596708775,
-0.050164274871349335,
0.013521959073841572,
0.06325650215148926,
-0.017200985923409462,
-0.0018373931525275111,
-0.042320847511291504,
0.01653466746211052,
0.04070059955120087,
0.02413468435406685,
0.005047354381531477,
0.03402646258473396,
0.03455778583884239,
0.02499653771519661,
-0.05622830241918564,
0.03440053015947342,
-0.006748395040631294,
0.01527308952063322,
-0.02806035988032818,
-0.06147421896457672,
0.03613630309700966,
0.023993462324142456,
0.03320342302322388,
-0.011418803595006466,
-0.01527875941246748,
-0.005976299289613962,
-0.022600846365094185,
-0.0153583949431777,
-0.011899682693183422,
0.02435692399740219,
0.019366903230547905,
-0.02492080070078373,
-0.009154535830020905,
-0.04704315587878227,
0.01932542398571968,
-0.009994407184422016,
-0.008877710439264774,
-0.058084048330783844,
-0.03684752807021141,
-0.011457986198365688,
-0.02273162640631199,
0.011775965802371502,
0.027209090068936348,
-0.03354758024215698,
0.03685576468706131,
0.013779853470623493,
-0.04776788130402565,
0.010747436434030533,
-0.016621209681034088,
-0.024746214970946312,
-0.0439295694231987,
-0.02943812683224678,
-0.018123973160982132,
-0.01506713405251503,
-0.0028901577461510897,
0.029040949419140816,
0.029156483709812164,
0.03662553429603577,
0.0053339749574661255,
0.05001389980316162,
-0.005786185152828693,
0.000048396297643193975,
0.002941683167591691,
-0.0003783689462579787,
-0.09664743393659592,
0.025016572326421738,
-0.05009690672159195,
-0.018029354512691498,
-0.03273717686533928,
0.028472475707530975,
-0.019903574138879776,
-0.029737111181020737,
-0.034483205527067184,
0.035945627838373184,
-0.04359912872314453,
-0.03351765125989914,
-0.020863773301243782,
0.003501578699797392,
0.05124905705451965,
0.0007483052904717624,
0.040919236838817596,
-0.03848383575677872,
-0.0002743662043940276,
0.006258469540625811,
0.0034643549006432295,
-0.05636410787701607,
0.03270198032259941,
0.01249507162719965,
0.007671712432056665,
-0.00984438881278038,
0.0006730067543685436,
0.03114219754934311,
0.023225482553243637,
-0.012572700157761574,
-0.01602785289287567,
0.010902369394898415,
-0.006976426113396883,
0.04539399966597557,
0.0036657562013715506,
0.0020490281749516726,
-0.017647724598646164,
-0.0361318476498127,
-0.0005727841053158045,
-0.03429907560348511,
-0.010026147589087486,
0.004010274540632963,
0.038498710840940475,
-0.04554075002670288,
-0.08726891875267029,
0.03108275681734085,
0.034303147345781326,
0.0031525015365332365,
0.005266973283141851,
0.012896132655441761,
-0.013308103196322918,
-0.023845089599490166,
0.04191683977842331,
0.06549019366502762,
-0.05869055539369583,
-0.006411111913621426,
-0.003229469293728471,
0.018083298578858376,
0.03499457612633705,
0.015931719914078712,
-0.04632814601063728,
-0.012224195525050163,
0.010917614214122295,
-0.009215258061885834,
-0.06032025068998337,
-0.023272914811968803,
-0.006114532705396414,
0.039433009922504425,
-0.01060902513563633,
-0.049545567482709885,
-0.002743433928117156,
-0.005678724497556686,
0.006439311429858208,
-0.020909052342176437,
0.012211998924612999,
-0.037006083875894547,
0.017372237518429756,
0.022831017151474953,
-0.04829021915793419,
0.026273874565958977,
-0.040100909769535065,
0.016050375998020172,
0.025616107508540154,
-0.008915849961340427,
-0.02993346005678177,
-0.0392007976770401,
-0.0058454060927033424,
-0.012125368230044842,
0.025829743593931198,
-0.007892935536801815,
-0.029321806505322456,
-0.03668102249503136,
-0.026657039299607277,
-0.02977180667221546,
0.00022303187870420516,
-0.026892025023698807,
-0.020659103989601135,
0.02857597917318344,
0.04628818854689598,
0.01563470996916294,
0.043963704258203506,
0.011642510071396828,
-0.000596935220528394,
0.06713468581438065,
-0.07010752707719803,
-0.033679038286209106,
-0.03563287481665611,
-0.08490943163633347,
0.012776545248925686,
0.027247991412878036,
0.006137059070169926,
-0.03018459677696228,
0.03682326152920723,
0.018097184598445892,
0.022525275126099586,
0.017506549134850502,
0.010247071273624897,
0.029357995837926865,
-0.062096476554870605,
-0.012430255301296711,
-0.07810398936271667,
0.018641216680407524,
0.07290352880954742,
0.008340700529515743,
0.001935201114974916,
-0.03293991833925247,
-0.03408176824450493,
0.033141110092401505,
-0.04220318794250488,
-0.03485644981265068,
0.032396551221609116,
0.012516649439930916,
0.0018811802146956325,
-0.0030513680540025234,
-0.035572633147239685,
0.02538037858903408,
0.008998420089483261,
-0.021568287163972855,
-0.021773498505353928,
-0.04203853756189346,
0.05767975002527237,
-0.002558159874752164,
0.007832570932805538,
-0.038395389914512634,
0.019169367849826813,
0.06209225207567215,
0.023440519347786903,
0.036936648190021515,
0.012830020859837532,
-0.010704919695854187,
0.03245163336396217,
0.030014105141162872,
-0.010049410164356232,
-0.006938382051885128,
0.011620402336120605,
0.004652827046811581,
-0.03696618601679802,
0.009469167329370975,
0.027693064883351326,
-0.04523352533578873,
-0.03745294734835625,
0.06530610471963882,
0.00844674650579691,
-0.040413837879896164,
-0.019010823220014572,
0.016580194234848022,
-0.0526229627430439,
-0.015385003760457039,
-0.02067914418876171,
0.013129765167832375,
-0.04076160863041878,
0.05850440636277199,
0.0021497101988643408,
-0.012821379117667675,
0.07928790897130966,
0.00652105500921607,
-0.010671073570847511,
-0.007522025611251593,
0.08060270547866821,
0.07568535208702087,
0.02167433872818947,
0.014521007426083088,
0.0440794862806797,
-0.01376214250922203,
-0.05576928332448006,
0.008507237769663334,
-0.01789906434714794,
-0.004179480019956827,
-0.035173576325178146,
0.023131337016820908,
0.05083288997411728,
0.0040168920531868935,
0.05004812777042389,
-0.03728972002863884,
-0.01258826069533825,
0.00851746927946806,
0.028864694759249687,
0.004886087495833635,
0.0610172301530838,
-0.0029943687841296196,
0.01641288958489895,
0.005942936986684799,
-0.03011177107691765,
0.015512651763856411,
-0.05511828511953354,
-0.005662296433001757,
0.04765267297625542,
-0.005283146630972624,
-0.0009598656324669719,
0.027014464139938354,
0.01650996506214142,
0.06767216324806213,
-0.02970828302204609,
-0.00010395651770522818,
-0.010509869083762169,
0.02223917655646801,
0.01365831308066845,
-0.03018709272146225,
-0.023148197680711746,
-0.03546580672264099,
-0.008313992992043495,
-0.012202071957290173,
-0.004228944890201092,
-0.02790185622870922,
-0.014738235622644424,
0.05087428167462349,
-0.0028985177632421255,
0.007977353408932686,
0.018643200397491455,
0.024659745395183563,
-0.02359546348452568,
-0.06502774357795715,
-0.036434296518564224,
-0.028293754905462265,
-0.056332170963287354,
-0.037289541214704514,
0.02712414786219597,
-0.0018553463742136955,
-0.020132524892687798,
-0.025285759940743446,
-0.0068736206740140915,
-0.02422535978257656,
0.0665038451552391,
-0.04356612637639046,
-0.04099953547120094,
0.029631711542606354,
0.011215557344257832,
0.042670831084251404,
0.022670798003673553,
0.04163265600800514,
0.008406112901866436,
-0.00057818932691589,
-0.024930469691753387,
-0.023079751059412956,
0.02702006883919239,
-0.0001872302236733958,
0.022007368505001068,
-0.09038805216550827,
0.031102698296308517,
-0.0009629650157876313,
0.013747208751738071,
-0.07224351167678833,
0.029299702495336533,
0.0015133697306737304,
-0.024146147072315216,
0.05490300431847572,
-0.029319478198885918,
-0.007453177124261856,
-0.02902129851281643,
0.011236540973186493,
0.015253002755343914,
0.012524052523076534,
0.03573615476489067,
-0.026099221780896187,
0.07791025191545486,
0.020188475027680397,
-0.039965126663446426,
-0.04211032763123512,
-0.019177261739969254,
-0.022555360570549965,
0.015455796383321285,
-0.03129827231168747,
-0.029634378850460052,
-0.04304644465446472,
-0.05920964851975441,
-0.012314083985984325,
0.015365145169198513,
-0.011514222249388695,
-0.03181874006986618,
0.02630200795829296,
0.02743428200483322,
-0.053075049072504044,
-0.010854167863726616,
-0.029567508026957512,
0.04658425971865654,
-0.03787849843502045,
-0.014869333244860172,
0.011050387285649776,
0.017523296177387238,
0.006699644029140472,
0.022816283628344536,
0.013069430366158485,
-0.03652191534638405,
-0.011464206501841545,
-0.0012649372220039368,
0.015321943908929825,
0.03216581791639328,
0.0032217868138104677,
-0.009567777626216412
] | [
-0.08646111190319061,
0.04295840859413147,
-0.020907346159219742,
-0.01161171868443489,
0.04238272085785866,
-0.03665170073509216,
0.002454700181260705,
0.031643837690353394,
-0.0038479052018374205,
-0.03915005922317505,
-0.005775547586381435,
-0.04826875403523445,
-0.009372699074447155,
0.003749061608687043,
0.0736447423696518,
0.012068015523254871,
-0.007809104863554239,
-0.017318835482001305,
0.0006546816439367831,
0.003546906402334571,
0.007050700951367617,
-0.012890764512121677,
-0.03156168758869171,
-0.02694302797317505,
0.03530016168951988,
0.02467493712902069,
0.04455121234059334,
-0.05541776493191719,
0.0039487010799348354,
-0.21916881203651428,
0.009397774934768677,
-0.008185657672584057,
0.012882782146334648,
-0.02684870734810829,
0.004341550637036562,
0.04914412274956703,
0.020282143726944923,
0.030378291383385658,
-0.038404107093811035,
0.03596791625022888,
0.028192996978759766,
0.05023105815052986,
-0.04912615939974785,
-0.015177370049059391,
0.03389260545372963,
0.019512677565217018,
-0.004072452429682016,
-0.0607185959815979,
-0.008335853926837444,
0.008872097358107567,
-0.04687336087226868,
-0.05091524124145508,
-0.016049321740865707,
-0.030515851452946663,
0.0023240367881953716,
0.012647920288145542,
0.05908644571900368,
0.0632283091545105,
0.021891746670007706,
0.027982164174318314,
-0.011303107254207134,
-0.02454507350921631,
-0.12203244119882584,
0.07297296077013016,
0.0740470364689827,
0.0342646948993206,
-0.019640585407614708,
-0.03535357117652893,
0.003665843280032277,
0.11061768233776093,
-0.011660602875053883,
-0.02357645146548748,
-0.01722363755106926,
0.07140059769153595,
0.031793855130672455,
-0.029187025502324104,
-0.024028770625591278,
-0.004339616745710373,
0.04295041039586067,
-0.043209463357925415,
-0.05259876325726509,
-0.02679457701742649,
0.007894483394920826,
-0.025396961718797684,
-0.01241277251392603,
0.010348260402679443,
-0.0190272256731987,
0.028481755405664444,
0.041371650993824005,
0.030004721134901047,
0.06198592483997345,
-0.043941520154476166,
0.035274799913167953,
0.011820468120276928,
-0.07750953733921051,
-0.0056577143259346485,
-0.007600440643727779,
0.0032051533926278353,
-0.03856732323765755,
0.43592455983161926,
-0.053886253386735916,
-0.016692310571670532,
0.04781341552734375,
0.04185764491558075,
-0.024709125980734825,
0.01464623212814331,
0.02750038169324398,
-0.03161567449569702,
0.00013599784870166332,
-0.03514963388442993,
0.04023569077253342,
-0.011307081207633018,
0.060120392590761185,
-0.06253110617399216,
-0.0015618398319929838,
0.01632816158235073,
0.02843543514609337,
0.01036823820322752,
-0.014251514337956905,
-0.0002691611589398235,
0.00669713644310832,
0.0026224548928439617,
0.03709639236330986,
-0.009139577858150005,
0.01460496336221695,
-0.020205127075314522,
0.0052750385366380215,
0.05962127819657326,
0.029671112075448036,
0.008924744091928005,
0.031706228852272034,
-0.05795681104063988,
-0.07235594838857651,
0.023709814995527267,
0.0070202951319515705,
0.02689991518855095,
0.025419823825359344,
-0.01799384504556656,
0.012448795139789581,
0.03262364864349365,
0.005301106255501509,
0.0001135064521804452,
0.041771672666072845,
-0.027533642947673798,
-0.06023050844669342,
0.09959743171930313,
-0.020281460136175156,
-0.010020792484283447,
-0.03230532631278038,
-0.06088288500905037,
-0.018050406128168106,
0.018646467477083206,
0.0004917056066915393,
-0.046973101794719696,
0.026875317096710205,
-0.004886286333203316,
0.06139228865504265,
0.013364622369408607,
-0.04186379164457321,
-0.018828434869647026,
-0.049330390989780426,
0.0017890451708808541,
-0.047436539083719254,
0.03656082600355148,
0.0384371355175972,
-0.07219503819942474,
-0.04149111732840538,
0.019925065338611603,
0.03493925556540489,
-0.06056755408644676,
-0.0035286571364849806,
0.013407420367002487,
-0.03527646139264107,
-0.012754456140100956,
0.027645966038107872,
-0.026772134006023407,
-0.04017354175448418,
0.009826257824897766,
0.044094935059547424,
0.03117227740585804,
0.040893714874982834,
-0.010699035599827766,
-0.0595826730132103,
0.024287354201078415,
-0.014725505374372005,
-0.07604554295539856,
-0.05989038199186325,
-0.017013370990753174,
-0.005010254681110382,
-0.010928344912827015,
-0.05105489864945412,
-0.04769577085971832,
-0.07998137921094894,
0.08730461448431015,
-0.042516544461250305,
-0.0279915202409029,
0.020089272409677505,
-0.02726542018353939,
-0.031147213652729988,
-0.018725425004959106,
0.002532769227400422,
0.04718714579939842,
-0.010837651789188385,
0.044036898761987686,
-0.06270137429237366,
0.08150134980678558,
0.05206039175391197,
-0.08359874039888382,
0.10965922474861145,
0.04167370870709419,
-0.04087333008646965,
-0.02213900350034237,
-0.0160081684589386,
0.007996752858161926,
0.026192039251327515,
-0.030564365908503532,
0.0017419582000002265,
-0.0074659730307757854,
0.012302798219025135,
0.020699871703982353,
-0.02194995991885662,
-0.009257798083126545,
-0.019632363691926003,
-0.3432498872280121,
-0.048897936940193176,
-0.0226485263556242,
0.008894483558833599,
0.021937767043709755,
-0.07619652897119522,
0.013841569423675537,
0.015969883650541306,
-0.04037914797663689,
-0.016272177919745445,
0.05311531573534012,
-0.01580684259533882,
-0.019229521974921227,
-0.08419637382030487,
-0.017391415312886238,
-0.016278738155961037,
-0.021868405863642693,
-0.043248388916254044,
-0.052740633487701416,
0.016871606931090355,
0.015204908326268196,
-0.009291171096265316,
0.0008624638430774212,
-0.07486657053232193,
0.008668825030326843,
-0.04461588338017464,
0.09148413687944412,
-0.011945569887757301,
0.1029379740357399,
-0.0062407273799180984,
0.037534475326538086,
0.011364993639290333,
0.020247723907232285,
-0.06790611147880554,
-0.02002483792603016,
-0.012003998272120953,
-0.026510002091526985,
-0.005972056183964014,
0.03427402675151825,
-0.006123748607933521,
-0.041374046355485916,
0.005001521203666925,
-0.061799224466085434,
-0.08615511655807495,
-0.02613942325115204,
0.007147494237869978,
-0.016755320131778717,
-0.0076860422268509865,
-0.02469671331346035,
0.07577791810035706,
0.013381695374846458,
0.0013749910285696387,
0.029570572078227997,
0.004020777530968189,
0.022001920267939568,
-0.012752057984471321,
-0.06549765914678574,
0.018862387165427208,
0.0017967813182622194,
-0.01616058312356472,
0.022966435179114342,
0.0608447827398777,
0.044144365936517715,
-0.031525854021310806,
-0.014935282990336418,
0.03181146830320358,
-0.002260578330606222,
-0.01477756630629301,
0.027158137410879135,
-0.024993499740958214,
-0.01624055579304695,
0.1140640527009964,
0.0007255761884152889,
-0.03220902383327484,
0.015839453786611557,
0.05439668521285057,
-0.017327414825558662,
0.012985778972506523,
0.012714413926005363,
-0.025107217952609062,
0.0024246033281087875,
0.0264878086745739,
0.026935935020446777,
-0.027224920690059662,
-0.003165028290823102,
0.026582177728414536,
-0.01855260692536831,
-0.013760887086391449,
0.06283926963806152,
0.0037846891209483147,
-0.04115338996052742,
0.007362731266766787,
-0.012368418276309967,
-0.05641976743936539,
0.07709859311580658,
-0.011978097259998322,
-0.24190862476825714,
0.006878019310534,
0.05680510029196739,
0.05176842212677002,
-0.002368578687310219,
0.04641210660338402,
0.05083363503217697,
-0.05754593387246132,
0.042060792446136475,
0.026000753045082092,
0.012073957361280918,
0.035724394023418427,
-0.0011426603887230158,
-0.002945801941677928,
0.046760596334934235,
-0.013324188999831676,
0.05615084618330002,
-0.01242775283753872,
0.007249137386679649,
-0.006885925307869911,
0.0057302010245621204,
-0.0214939434081316,
0.17764563858509064,
-0.007682492025196552,
0.028146900236606598,
0.025703653693199158,
0.01898902654647827,
0.01481801737099886,
0.07360434532165527,
0.02054424397647381,
0.021987078711390495,
0.0016365002375096083,
0.03891386836767197,
0.0106126070022583,
0.01077753771096468,
-0.07729122042655945,
-0.011472996324300766,
0.023449331521987915,
0.028502538800239563,
-0.01590419001877308,
0.026859844103455544,
-0.015546414069831371,
-0.033359594643116,
0.018878739327192307,
0.08209548145532608,
0.003431927412748337,
-0.006615087855607271,
-0.05550501495599747,
-0.04327256605029106,
-0.014983383007347584,
-0.03567202389240265,
-0.030703788623213768,
0.018883787095546722,
-0.026936352252960205,
0.01125416625291109,
0.068666972219944,
0.018937258049845695,
0.0024917281698435545,
-0.007342159748077393,
0.004713375121355057,
0.006733869202435017,
0.02640257030725479,
0.1336846947669983,
0.04699985682964325,
0.04717729240655899
] | [
-0.046447694301605225,
0.029849298298358917,
-0.004535151179879904,
0.030445646494627,
-0.028664130717515945,
-0.00006950778333703056,
-0.01714394986629486,
0.024221494793891907,
-0.004843422677367926,
0.007305584382265806,
-0.02545463666319847,
-0.011708078905940056,
0.005829500034451485,
-0.03880566358566284,
0.05417991802096367,
0.031049899756908417,
-0.020847389474511147,
-0.012483206577599049,
0.010026250965893269,
-0.012645980343222618,
-0.018175071105360985,
0.0022340514697134495,
0.010540748946368694,
-0.00817958451807499,
-0.015201056376099586,
0.02249133214354515,
-0.009137941524386406,
0.0019264381844550371,
0.023865003138780594,
-0.12323515117168427,
-0.023461228236556053,
0.006042527034878731,
-0.021281180903315544,
0.022625993937253952,
-0.03903109207749367,
0.015469571575522423,
0.01370206754654646,
0.02987576089799404,
-0.0022180425003170967,
-0.004406910855323076,
-0.00022810515656601638,
0.03406893089413643,
-0.002908184425905347,
0.008328680880367756,
-0.0028227907605469227,
0.0017935849027708173,
0.0035086970310658216,
-0.02340513840317726,
-0.03368329629302025,
-0.03671051189303398,
-0.033866483718156815,
-0.024075355380773544,
-0.027742577716708183,
0.009689509868621826,
0.01639166846871376,
-0.03245433419942856,
0.010546461679041386,
-0.025460360571742058,
0.020747093483805656,
-0.0017302666092291474,
-0.002497786656022072,
-0.015167630277574062,
-0.027855804190039635,
-0.03011133521795273,
0.005885526537895203,
-0.012869291938841343,
0.0021552902180701494,
0.012833253480494022,
-0.0027433636132627726,
-0.022086333483457565,
-0.03649648651480675,
0.01653851568698883,
0.01043237466365099,
-0.003171244403347373,
-0.0005878449301235378,
0.0202865619212389,
0.012648610398173332,
-0.00971964094787836,
0.024132946506142616,
0.0070826392620801926,
-0.04992198571562767,
-0.006701386999338865,
-0.0032086658757179976,
0.01625954546034336,
0.021473459899425507,
0.009585493244230747,
-0.00015424784214701504,
0.016097236424684525,
0.013944285921752453,
0.019046148285269737,
-0.009870536625385284,
0.02224618010222912,
-0.0038774486165493727,
0.030476685613393784,
-0.07042594254016876,
0.011414432898163795,
-0.005925875622779131,
-0.024645784869790077,
0.00616573728621006,
0.8553653955459595,
-0.001000319025479257,
0.0518304705619812,
0.03576867654919624,
0.0031748574692755938,
-0.017009858042001724,
-0.02135886624455452,
-0.0047729844227433205,
0.009833251126110554,
0.03240194171667099,
-0.04078039526939392,
0.016514094546437263,
0.0101156709715724,
0.03915594890713692,
-0.01161155104637146,
-0.007972311228513718,
0.01700202375650406,
0.022746475413441658,
-0.00208704499527812,
-0.0008095306111499667,
0.03354316204786301,
0.026383206248283386,
0.01128379162400961,
0.010394220240414143,
0.002648003865033388,
0.014505132101476192,
-0.19112321734428406,
0.0021930858492851257,
-8.40518941924642e-33,
0.06945401430130005,
-0.013696268200874329,
0.011682446114718914,
0.003979376517236233,
0.02774455025792122,
-0.006738440133631229,
0.0378614105284214,
0.04123036935925484,
-0.010676911100745201,
-0.04127394035458565,
0.030032742768526077,
-0.012836126610636711,
-0.016849931329488754,
-0.016929209232330322,
0.029692940413951874,
-0.004989331122487783,
-0.021432898938655853,
0.032766737043857574,
-0.009383837692439556,
0.026587938889861107,
0.022792743518948555,
0.021224819123744965,
-0.01620570756494999,
-0.021472232416272163,
-0.007849261164665222,
0.0008220163290388882,
0.037061046808958054,
0.011448618955910206,
-0.05822284519672394,
-0.040161482989788055,
-0.011274304240942001,
0.03211134299635887,
-0.016022339463233948,
-0.0018869373016059399,
0.04397398978471756,
-0.02008860372006893,
-0.02636003866791725,
0.040620435029268265,
-0.004591578152030706,
-0.006060818675905466,
-0.008430571295320988,
-0.025105420500040054,
-0.06205812469124794,
0.013569616712629795,
0.006563217379152775,
-0.03727123886346817,
-0.022953826934099197,
-0.00687563419342041,
0.03320809453725815,
-0.004160629585385323,
0.021820135414600372,
0.04852316528558731,
0.022961214184761047,
-0.02411578595638275,
-0.026903843507170677,
0.0317479744553566,
0.004766406957060099,
-0.002158909337595105,
0.0019527935655787587,
0.035144250839948654,
0.004988370928913355,
0.006413979455828667,
-0.04166342318058014,
0.02954946830868721,
-0.033661164343357086,
-0.038070522248744965,
-0.010354019701480865,
-0.009734165854752064,
0.00666753388941288,
-0.012248215265572071,
-0.03338005021214485,
0.015743255615234375,
-0.019407708197832108,
-0.03595035895705223,
0.020810790359973907,
-0.01665596105158329,
-0.009922435507178307,
0.03578241914510727,
-0.014123491011559963,
0.0010774180991575122,
0.02936292439699173,
-0.013470759615302086,
0.018032385036349297,
-0.007603533565998077,
0.006541938055306673,
-0.021991059184074402,
0.02681613154709339,
-0.010532434098422527,
-0.02288932539522648,
-0.027716491371393204,
0.0528523214161396,
0.010049954056739807,
-0.019542690366506577,
-0.049501143395900726,
0.010991964489221573,
8.47813251713479e-33,
0.0015064015751704574,
-0.012360394932329655,
-0.020535441115498543,
0.012785758823156357,
0.02125726267695427,
-0.031352996826171875,
0.03104611672461033,
0.004332368262112141,
-0.05274345353245735,
0.030250467360019684,
0.0011132220970466733,
0.023474445566534996,
-0.02762358821928501,
0.025344114750623703,
0.02805967815220356,
-0.012852349318563938,
0.02454310841858387,
-0.02046995982527733,
0.005369453225284815,
-0.025514600798487663,
0.013502535410225391,
0.0023407028056681156,
0.02717830240726471,
-0.014650044962763786,
-0.022722618654370308,
0.03776860609650612,
-0.05625898018479347,
0.019267817959189415,
0.02521437779068947,
-0.0020125601440668106,
-0.018759755417704582,
0.0008396271150559187,
0.027906276285648346,
-0.049635618925094604,
-0.012382659129798412,
0.025441939011216164,
-0.014434383250772953,
-0.010045687668025494,
0.030002793297171593,
0.0040014758706092834,
0.04403359815478325,
0.0027070781216025352,
0.0017568377079442143,
-0.001668625744059682,
-0.002052237279713154,
0.02590528316795826,
-0.009086547419428825,
-0.0208626426756382,
-0.018634922802448273,
0.02992464043200016,
0.0422365628182888,
0.0474100224673748,
0.007337641902267933,
-0.0024466048926115036,
0.01847601681947708,
-0.02135896310210228,
-0.04866351559758186,
-0.015216270461678505,
-0.018840400502085686,
0.05781538039445877,
-0.026632258668541908,
0.019669150933623314,
-0.002387685002759099,
0.006777254398912191,
-0.010891792364418507,
-0.015285521745681763,
-0.013005966320633888,
-0.006542321294546127,
-0.0004723249876406044,
-0.002937542274594307,
-0.03620466589927673,
0.014436968602240086,
-0.0027529895305633545,
0.021359944716095924,
0.009408276528120041,
-0.02618558332324028,
-0.010597500018775463,
-0.00541948014870286,
-0.003974784165620804,
0.025282736867666245,
-0.0027181135956197977,
-0.024272417649626732,
0.0019580121152102947,
-0.014314166270196438,
-0.008941817097365856,
0.004370303358882666,
-0.00731146614998579,
0.03264794871211052,
0.002596437931060791,
-0.014003997668623924,
-0.01864294521510601,
0.000029483648177119903,
0.0029617268592119217,
-0.0008019544184207916,
0.02253633923828602,
-1.3758109318473544e-8,
-0.023975538089871407,
0.017456453293561935,
-0.035483893007040024,
0.027139268815517426,
0.028520574793219566,
0.009976503439247608,
-0.0275051761418581,
-0.00942236464470625,
-0.0017905464628711343,
-0.003556314157322049,
0.058972205966711044,
-0.003544558770954609,
0.015058986842632294,
0.004416154231876135,
0.014910029247403145,
-0.06669797748327255,
-0.0418630987405777,
-0.04149170219898224,
0.020679710432887077,
0.015797888860106468,
-0.005273594055324793,
0.03440380468964577,
-0.02946203015744686,
0.01952667161822319,
0.026100115850567818,
0.004389071837067604,
0.006681141443550587,
-0.0690225213766098,
0.013185139745473862,
0.03053988888859749,
-0.012624489143490791,
-0.014331810176372528,
-0.00985000655055046,
0.002503537107259035,
-0.022220907732844353,
-0.012111922726035118,
0.033748965710401535,
0.015763262286782265,
0.01578611508011818,
-0.00844140537083149,
-0.0026908069849014282,
-0.026175878942012787,
0.014196572825312614,
-0.016864698380231857,
0.015056438744068146,
-0.02377583459019661,
-0.03764904662966728,
0.0038727722130715847,
0.009899993427097797,
-0.05661779269576073,
0.006715043447911739,
0.037317369133234024,
-0.008698447607457638,
0.018788116052746773,
0.024356499314308167,
0.032838888466358185,
0.006806649267673492,
-0.015452956780791283,
-0.03920285031199455,
-0.004690147936344147,
0.0425177663564682,
0.010681089013814926,
-0.019442850723862648,
-0.01777292601764202
] | tdd-removing-the-clutter | https://markhneedham.com/blog/2010/01/24/tdd-removing-the-clutter |
false | 2010-01-23 14:45:59 | Coding: The collecting parameter pattern | [
"coding"
] | [
"Coding"
] | The http://www.industriallogic.com/xp/refactoring/accumulationToCollection.html[collecting parameter pattern] is one of my favourite ones when used well but I've noticed recently that it can lead to quit misleading APIs as well.
One way that we used it quite effectively was when http://www.markhneedham.com/blog/2009/03/10/oo-micro-types/[getting objects to render themselves to a ViewData container] which was then used to populate the view.
[source,csharp]
----
public class Micro {
private string micro;
public Micro(string micro) {
this.micro = micro;
}
public void renderTo(ViewData viewData) {
viewData.add(micro);
}
}
----
I think it's quite obvious from the method name what it does and we can easily test this method by checking on the contents of the value passed in after the method's been executed.
The problem I've noticed with this pattern is when the method isn't so explicit about what it's doing or where a method is using a collecting parameter as well as returning a value.
For example:
[source,csharp]
----
public SomeModel GetModel(ViewData viewData)
{
viewdata["someKey"] = "someValue;
// do some other stuff
return new SomeModel(...);
}
----
It's not entirely obvious from reading the method signature that it would be mutating the 'ViewData' that's been passed in. I would actually expect that 'SomeModel' is being constructed from 'ViewData' if I just read the method signature in isolation. It's almost like it's following the collecting parameter pattern by accident.
In a way I find that API as misleading as ones which make use of an 'out' parameter to allow multiple values to be returned - it doesn't do what you expect, its *intent is not clear*.
Since I've started playing around with functional programming languages I've become more keen on the idea that functions take in inputs and return outputs and this pattern goes against that idea by encouraging mutation of state.
It seems to me that for the most part writing functions which return a value and don't do anything else reveal their intent more and for the less frequent occasions where we want to keep encapsulation but still find out some data about an object the collecting parameter pattern works pretty well. It should be used sparingly though. | null | null | [
0.00299873691983521,
-0.0017414834583178163,
-0.015573705546557903,
0.03266944736242294,
0.07418438792228699,
0.026665573939681053,
0.004570973105728626,
-0.020076684653759003,
-0.016902349889278412,
-0.01777161844074726,
0.012599270790815353,
-0.021481657400727272,
-0.08330069482326508,
0.02926374413073063,
-0.026465997099876404,
0.05803253501653671,
0.0765649825334549,
-0.012877590954303741,
0.02436092309653759,
0.015781985595822334,
-0.0021181474439799786,
0.05643082410097122,
0.0141818318516016,
0.020851431414484978,
0.01861589401960373,
0.03520595282316208,
-0.0032979596871882677,
-0.021675502881407738,
-0.05130457505583763,
-0.0010479611810296774,
0.026085659861564636,
0.0059799752198159695,
0.016512203961610794,
-0.01950889453291893,
-0.009828113950788975,
-0.031045401468873024,
-0.031828977167606354,
-0.008292199112474918,
0.014323071576654911,
0.011546590365469456,
-0.07116373628377914,
0.015789425000548363,
-0.02392769791185856,
0.008589590899646282,
-0.03683578222990036,
0.0013943484518676996,
-0.04016032814979553,
-0.0118462685495615,
-0.0693022608757019,
0.02469540946185589,
-0.061677731573581696,
0.042799778282642365,
-0.038000401109457016,
0.011968053877353668,
0.015750866383314133,
0.062355514615774155,
-0.006632918491959572,
-0.06173526868224144,
0.004715117625892162,
-0.06880615651607513,
0.01511387899518013,
-0.017379531636834145,
0.005568501073867083,
0.024496549740433693,
0.01080502849072218,
0.007911165244877338,
-0.02114713191986084,
0.06560348719358444,
-0.04012496769428253,
-0.02098238468170166,
-0.018635572865605354,
-0.007620337884873152,
-0.006939530838280916,
-0.0010072262957692146,
0.008689784444868565,
-0.034818630665540695,
-0.008054287172853947,
0.04224732890725136,
-0.0018228152766823769,
0.05817903205752373,
-0.012760479003190994,
-0.0002282297209603712,
0.05384301766753197,
0.014491904526948929,
0.04055177792906761,
-0.058396849781274796,
-0.06015660986304283,
0.010510530322790146,
-0.014247807674109936,
0.05044202134013176,
0.02046217769384384,
-0.05670833960175514,
-0.0026179177220910788,
0.02374417893588543,
0.011901713907718658,
-0.004769400227814913,
-0.003844471648335457,
-0.03142973780632019,
-0.0006776314694434404,
0.0297623910009861,
-0.005836090538650751,
-0.011219431646168232,
0.03862493112683296,
0.010468757711350918,
-0.07696139067411423,
-0.03168429806828499,
-0.03739705681800842,
-0.016134921461343765,
-0.003351313527673483,
0.0056348578073084354,
-0.06935460865497589,
0.0038856188766658306,
-0.03931805491447449,
0.0016861798940226436,
-0.07428600639104843,
0.04740651696920395,
0.009159527719020844,
-0.0063974978402256966,
-0.005586971063166857,
0.039853185415267944,
0.06726329028606415,
0.041631873697042465,
0.02179872617125511,
0.05194216966629028,
-0.013342940248548985,
0.03832623362541199,
-0.006240930873900652,
0.06342565268278122,
-0.008877844549715519,
-0.06143565848469734,
-0.002495500724762678,
0.03162088245153427,
-0.0022615413181483746,
-0.013805734924972057,
0.0012886953772976995,
-0.04442635923624039,
-0.007386291399598122,
0.010376925580203533,
0.03563522547483444,
0.008702889084815979,
-0.04040712118148804,
-0.03936219587922096,
0.018353397026658058,
-0.014691019430756569,
0.007813104428350925,
0.03521301969885826,
-0.019382992759346962,
-0.03164947032928467,
-0.02073984034359455,
0.023614084348082542,
0.03709967061877251,
0.0892004519701004,
0.06696227937936783,
-0.046667490154504776,
0.010576866567134857,
0.0725141391158104,
-0.01166430115699768,
0.013376914896070957,
0.022343529388308525,
0.013370221480727196,
0.057657256722450256,
0.053710561245679855,
0.027309134602546692,
0.043488603085279465,
0.022039828822016716,
0.015206956304609776,
0.007163097150623798,
0.04532037675380707,
0.004548897035419941,
-0.014881494455039501,
-0.06787077337503433,
-0.035482149571180344,
0.06196170300245285,
-0.03649993985891342,
-0.003546949243173003,
0.027635643258690834,
0.05521620810031891,
0.00242463662289083,
0.0645422637462616,
0.009710961952805519,
-0.07224095612764359,
0.005621432792395353,
-0.0022553533781319857,
-0.005000022705644369,
0.004404345061630011,
-0.014591041952371597,
0.08115548640489578,
0.04764743521809578,
-0.010528119280934334,
0.0001715563121251762,
-0.049698930233716965,
-0.03018682450056076,
-0.03327585384249687,
-0.029342882335186005,
0.057350754737854004,
-0.020107688382267952,
-0.0027331479359418154,
0.07634902000427246,
0.03406551480293274,
0.06364993751049042,
0.02657700516283512,
-0.013825798407196999,
-0.01395416259765625,
-0.05952087417244911,
-0.025303402915596962,
-0.0012283094692975283,
0.06732593476772308,
-0.009409032762050629,
-0.036487139761447906,
0.024204494431614876,
-0.02738054469227791,
-0.0035374073777347803,
0.025851504877209663,
-0.0056474884040653706,
0.0521988645195961,
0.030874306336045265,
0.004188119899481535,
-0.03404911234974861,
0.05308318883180618,
-0.06628342717885971,
-0.003257329110056162,
-0.006945031229406595,
-0.029594464227557182,
-0.009786872193217278,
0.004193624947220087,
0.1368178129196167,
0.04234476760029793,
-0.037190571427345276,
-0.019896650686860085,
0.00359741342253983,
0.017301753163337708,
-0.015441604889929295,
-0.005840602330863476,
-0.024480892345309258,
0.0188266821205616,
-0.015378829091787338,
-0.01957174390554428,
0.023103177547454834,
0.026237107813358307,
-0.022714221850037575,
0.02273477427661419,
0.06906633079051971,
-0.008728212676942348,
0.03602839261293411,
0.025765156373381615,
-0.028053488582372665,
0.01544076669961214,
-0.031180091202259064,
-0.08931271731853485,
0.0012033793609589338,
0.011766602285206318,
0.0144560057669878,
0.03710034489631653,
-0.03916634991765022,
-0.06096445396542549,
-0.007958479225635529,
-0.048045653849840164,
-0.0008671716786921024,
0.02168087288737297,
0.07200897485017776,
0.018396371975541115,
0.057412296533584595,
-0.028408953920006752,
0.006154715083539486,
-0.016825677827000618,
-0.07907333970069885,
0.013795608654618263,
0.036826759576797485,
0.016857240349054337,
0.07724087685346603,
0.03014279156923294,
0.02737596072256565,
0.003297944786027074,
-0.003868181724101305,
-0.027865862473845482,
-0.017295178025960922,
0.02134162373840809,
-0.0003474383265711367,
-0.04970468580722809,
-0.02245810069143772,
-0.0729854553937912,
0.047845255583524704,
-0.02912694588303566,
-0.05343971773982048,
0.001820218050852418,
-0.07427305728197098,
0.04686427861452103,
-0.05746430531144142,
-0.07008329778909683,
-0.014095337130129337,
0.05339090898633003,
0.03388381376862526,
-0.020639091730117798,
0.04219648614525795,
0.08706777542829514,
0.021134939044713974,
-0.022968905046582222,
0.025090964511036873,
0.003889051266014576,
0.012850294820964336,
-0.02202029898762703,
-0.01078442856669426,
0.06312330067157745,
-0.026587987318634987,
-0.007111641112715006,
-0.06456510722637177,
0.03231953829526901,
0.0034801734145730734,
-0.266844242811203,
0.018495971336960793,
0.0011412128806114197,
-0.03135368973016739,
0.011367381550371647,
-0.0031624948605895042,
0.02625594288110733,
-0.03781020641326904,
-0.013655377551913261,
0.05310444533824921,
-0.01003471203148365,
-0.019462820142507553,
-0.04914787784218788,
0.055649176239967346,
-0.010089607909321785,
0.0045263925567269325,
-0.008622081950306892,
-0.01904403418302536,
0.015309825539588928,
0.04414840415120125,
0.0015308480942621827,
-0.06367849558591843,
-0.011114026419818401,
0.06979937851428986,
0.01913580857217312,
0.050906699150800705,
-0.07761068642139435,
0.013389495201408863,
-0.028942061588168144,
-0.002413049340248108,
-0.004118254873901606,
-0.0056437230668962,
0.022292910143733025,
-0.05947750806808472,
-0.03587887063622475,
-0.023235902190208435,
0.0006202926160767674,
0.0338393934071064,
0.00022188358707353473,
0.016405155882239342,
-0.02640531398355961,
-0.04607003182172775,
-0.017092807218432426,
0.012684023007750511,
0.06214054301381111,
0.0027016187086701393,
-0.07861736416816711,
-0.0107273543253541,
-0.027392657473683357,
0.04994764178991318,
-0.021987490355968475,
-0.053295835852622986,
0.01006233599036932,
0.03803552687168121,
-0.03318124637007713,
-0.04253557324409485,
0.01640387997031212,
-0.013008407317101955,
-0.01734466664493084,
-0.027068499475717545,
-0.009365485049784184,
-0.05694554001092911,
-0.02442001923918724,
-0.03408915922045708,
-0.030764946714043617,
-0.058380529284477234,
-0.05219529941678047,
-0.029779233038425446,
0.0675463005900383,
0.0319475457072258,
0.00465360376983881,
-0.00228944537229836,
-0.0020887390710413456,
-0.12360695004463196,
-0.00047391781117767096,
-0.06653528660535812,
-0.03516547754406929,
-0.04106731340289116,
-0.010378184728324413,
0.0494450107216835,
-0.021911831572651863,
-0.024710066616535187,
0.034447330981492996,
0.0238322876393795,
0.0032706016208976507,
-0.02242816425859928,
0.0066803088411688805,
-0.03309838846325874,
-0.029872769489884377,
0.01018234807997942,
0.06438478827476501,
-0.0006396530079655349,
0.011622225865721703,
-0.04019659012556076,
0.008158981800079346,
0.01575830951333046,
0.05110596492886543,
-0.005652562715113163,
0.020486032590270042,
0.04035556688904762,
0.06180083379149437,
-0.06655097752809525,
0.03296949341893196,
-0.03645354509353638,
-0.023363620042800903,
-0.039508506655693054,
-0.05184103175997734,
0.023726601153612137,
0.014595533721148968,
-0.026047233492136,
-0.0024456798564642668,
-0.03224460035562515,
0.0029674293473362923,
-0.0422469861805439,
-0.0034955551382154226,
-0.020061466842889786,
-0.0036522941663861275,
0.022459641098976135,
-0.013655499555170536,
-0.04725615680217743,
-0.05909516662359238,
0.02178364247083664,
-0.01670895330607891,
-0.02550099790096283,
-0.06056893616914749,
-0.07256171852350235,
0.01759880781173706,
0.005447862204164267,
0.006396290846168995,
0.04710068553686142,
-0.026207081973552704,
0.002463781274855137,
-0.015291727147996426,
-0.03936414420604706,
0.0061319307424128056,
0.0038349058013409376,
-0.0006062604952603579,
-0.024043699726462364,
-0.011594139039516449,
-0.014008780010044575,
0.013928216882050037,
0.012666742317378521,
0.021441243588924408,
0.03642159327864647,
0.03546813875436783,
0.01336512342095375,
0.058230768889188766,
0.03148401901125908,
0.006035658530890942,
0.006141113117337227,
0.02049967460334301,
-0.07203086465597153,
0.026974938809871674,
-0.036874253302812576,
-0.01494694035500288,
-0.03556686267256737,
0.03382779657840729,
-0.045078542083501816,
-0.010402088984847069,
-0.047957856208086014,
0.038946572691202164,
-0.04422808066010475,
-0.03793983533978462,
-0.03497112914919853,
-0.023788848891854286,
0.039789702743291855,
-0.03017170913517475,
0.0396554060280323,
-0.018094005063176155,
-0.010542631149291992,
0.004196828696876764,
0.0033260760828852654,
-0.0014315962325781584,
0.0423249714076519,
-0.008483922109007835,
-0.02963799238204956,
-0.011174851097166538,
0.008214874193072319,
0.02745630033314228,
0.023463187739253044,
0.0007546456763520837,
-0.03413524851202965,
0.024546733126044273,
0.008000786416232586,
0.02683084085583687,
-0.002211312996223569,
-0.015138044022023678,
-0.0005043423152528703,
-0.014252377673983574,
0.013209984637796879,
-0.02783801592886448,
-0.009971263818442822,
-0.021167423576116562,
0.03149474412202835,
-0.03358184173703194,
-0.07215215265750885,
0.019950345158576965,
0.027466818690299988,
0.03223353624343872,
-0.0028998192865401506,
0.010516105219721794,
0.016523897647857666,
0.009180404245853424,
-0.014241522178053856,
0.043983343988657,
-0.04384168982505798,
0.006986772175878286,
0.025669321417808533,
-0.007401776500046253,
0.04458499327301979,
0.01534969825297594,
-0.02132447436451912,
0.005171755328774452,
-0.003707422874867916,
-0.01265803724527359,
-0.0277869775891304,
-0.002245855750516057,
-0.02365889400243759,
0.03307150676846504,
0.012860043905675411,
-0.018566936254501343,
-0.009523262269794941,
0.0009769400348886847,
-0.034586455672979355,
-0.012078193947672844,
0.006782751064747572,
-0.02587691694498062,
-0.010462148115038872,
0.019467700272798538,
-0.0362526997923851,
0.026342663913965225,
-0.02344425581395626,
0.01045250240713358,
0.011947252787649632,
-0.015680642798542976,
-0.036695487797260284,
-0.04701610654592514,
0.033417560160160065,
-0.0023671812377870083,
0.046228621155023575,
-0.04217168316245079,
-0.034080035984516144,
-0.017391294240951538,
-0.017160501331090927,
-0.016154929995536804,
0.014130932278931141,
-0.0030209971591830254,
-0.03133097663521767,
0.001764002488926053,
0.06617531925439835,
0.021634312346577644,
0.03453678637742996,
-0.013392657972872257,
0.008351142518222332,
0.06892508268356323,
-0.06307340413331985,
-0.018124297261238098,
-0.015093615278601646,
-0.03706254065036774,
-0.0009699962683953345,
0.002231595339253545,
0.038243368268013,
-0.016379693523049355,
0.039113983511924744,
0.04362361505627632,
0.00824662297964096,
0.022149937227368355,
0.04329126328229904,
0.04285353049635887,
-0.036044687032699585,
0.026515215635299683,
-0.0857686996459961,
0.020047659054398537,
0.04015268385410309,
0.02386040985584259,
-0.027709469199180603,
-0.05252571031451225,
-0.03242572024464607,
0.05151164531707764,
-0.07474933564662933,
-0.01740584708750248,
0.005451783072203398,
0.02500135451555252,
-0.007201813161373138,
0.006404221523553133,
-0.050142087042331696,
0.037033937871456146,
0.02322721853852272,
-0.011317049153149128,
-0.055311355739831924,
-0.02046547457575798,
0.05777890607714653,
0.04361047223210335,
0.004765484482049942,
-0.018968630582094193,
0.029395896941423416,
0.07582604885101318,
0.024810777977108955,
0.03667650744318962,
0.05613576993346214,
-0.01692873053252697,
0.04947745054960251,
0.020449096336960793,
-0.013946928083896637,
-0.004710575100034475,
0.013926723971962929,
0.021740369498729706,
-0.056474894285202026,
0.010136684402823448,
0.008122899569571018,
-0.035762351006269455,
-0.04905571788549423,
0.06798001378774643,
0.017797140404582024,
-0.010170191526412964,
-0.049459442496299744,
-0.018292192369699478,
-0.018986493349075317,
-0.01568671315908432,
-0.01572982408106327,
0.020214250311255455,
-0.007294100243598223,
0.07088100165128708,
0.009782308712601662,
0.010139704681932926,
0.046090103685855865,
0.024525245651602745,
0.012103969231247902,
-0.020772432908415794,
0.0810827910900116,
0.09833656251430511,
0.054447997361421585,
0.002668340690433979,
0.03834870085120201,
-0.01563219353556633,
-0.048304155468940735,
-0.00906044989824295,
-0.02378147840499878,
-0.029657360166311264,
-0.012179853394627571,
0.008618428371846676,
0.08066986501216888,
0.028190676122903824,
0.03494957834482193,
-0.05354628339409828,
-0.018885096535086632,
-0.005240079015493393,
0.003233762923628092,
0.01692918688058853,
0.020446930080652237,
0.010038989596068859,
0.002963150618597865,
-0.0105217220261693,
-0.045476820319890976,
0.030092963948845863,
0.0010899696499109268,
-0.027103615924715996,
0.028120359405875206,
0.003400444518774748,
0.006565392948687077,
0.01346676331013441,
0.01920114830136299,
0.06082332506775856,
-0.026994405314326286,
-0.014994444325566292,
-0.00024137680884450674,
0.009468656964600086,
0.01757657341659069,
-0.030787527561187744,
-0.018933968618512154,
-0.0013694227673113346,
0.020058978348970413,
0.017725810408592224,
0.020703285932540894,
-0.0120621919631958,
-0.03122560866177082,
0.04266120865941048,
-0.021204696968197823,
0.022631941363215446,
0.031768083572387695,
0.0021007282193750143,
-0.03220329061150551,
-0.05306702479720116,
-0.06522821635007858,
-0.021617285907268524,
-0.062360409647226334,
-0.02010633423924446,
0.036282241344451904,
-0.01353814359754324,
-0.038990527391433716,
-0.02202806994318962,
0.0018240931676700711,
-0.021993493661284447,
0.06971373409032822,
-0.036468613892793655,
-0.03162616863846779,
0.021476106718182564,
-0.001878343871794641,
0.051331985741853714,
0.04537162557244301,
0.011734570376574993,
-0.0016830973327159882,
0.010372208431363106,
-0.03486138582229614,
-0.0005722477217204869,
0.06481238454580307,
-0.004437766503542662,
0.0049165766686201096,
-0.08869706094264984,
0.0015248976415023208,
0.026080675423145294,
-0.02576337568461895,
-0.07002954185009003,
0.011385923251509666,
0.014340774156153202,
-0.012348189018666744,
0.05185757949948311,
-0.0183973740786314,
-0.03996911644935608,
-0.02776738815009594,
-0.01712159626185894,
0.00013580652012024075,
0.037213921546936035,
0.04419941082596779,
-0.05464397370815277,
0.07063470780849457,
0.0271108690649271,
-0.0270523764193058,
-0.017859144136309624,
-0.002271017525345087,
-0.009409982711076736,
0.017520219087600708,
-0.031198425218462944,
-0.004120037890970707,
-0.022345077246427536,
-0.03601451590657234,
0.002916836179792881,
0.026990395039319992,
-0.02682984247803688,
-0.05550970509648323,
0.01975308358669281,
0.04989894479513168,
-0.04629887640476227,
0.017733309417963028,
-0.029347313567996025,
0.04935012757778168,
-0.03681511431932449,
-0.028302082791924477,
-0.007430507335811853,
0.03794938325881958,
-0.01065931934863329,
0.025417305529117584,
0.011434393934905529,
-0.038156669586896896,
-0.016461024060845375,
-0.026092611253261566,
0.04341584071516991,
0.03477828577160835,
-0.025481930002570152,
0.019131673499941826
] | [
-0.06607957184314728,
0.010679579339921474,
-0.04794496297836304,
-0.02639804594218731,
0.045814044773578644,
-0.03504801169037819,
0.03927014023065567,
0.00667066453024745,
-0.00703089963644743,
0.019076228141784668,
0.008379660546779633,
-0.011060219258069992,
0.019290803000330925,
0.01439120713621378,
0.018782611936330795,
-0.00906162615865469,
-0.015095033682882786,
-0.049595825374126434,
-0.011377726681530476,
0.004647430498152971,
0.07540194690227509,
0.008361224085092545,
-0.04815554991364479,
-0.022876068949699402,
0.031420040875673294,
0.05467317998409271,
0.005972865503281355,
-0.04220101982355118,
0.006638933904469013,
-0.20526421070098877,
-0.017001744359731674,
0.016044585034251213,
0.02746393345296383,
-0.014708532020449638,
-0.0037151083815842867,
0.021616170182824135,
0.03131041303277016,
0.03368708863854408,
-0.013444792479276657,
0.05776943638920784,
-0.013962243683636189,
0.037173379212617874,
-0.032277025282382965,
-0.02246347814798355,
0.004238545428961515,
0.008264223113656044,
-0.03134166821837425,
-0.013697592541575432,
-0.026977062225341797,
0.005211934447288513,
-0.07407043874263763,
-0.006147308740764856,
-0.02292618341743946,
-0.00064386724261567,
-0.006633863318711519,
0.017388388514518738,
0.0486423559486866,
0.055532168596982956,
0.02196125127375126,
0.024557920172810555,
0.03716028854250908,
0.0017998116090893745,
-0.09903104603290558,
0.07594545185565948,
0.0055137560702860355,
0.032732199877500534,
0.020670969039201736,
-0.03754257410764694,
0.01803266443312168,
0.018012428656220436,
0.03200275078415871,
-0.04575343802571297,
-0.07064083218574524,
0.01869719848036766,
0.04310789331793785,
-0.06288077682256699,
0.0051229363307356834,
0.005908805876970291,
0.0225986260920763,
-0.009837214834988117,
-0.08067867159843445,
-0.026302851736545563,
0.044023655354976654,
0.0027067656628787518,
-0.00647308025509119,
0.02931331843137741,
-0.0003351522609591484,
0.004342556465417147,
0.08512373268604279,
0.04028229042887688,
0.03396814316511154,
-0.013262259773910046,
-0.013698441907763481,
0.03420266881585121,
-0.08383837342262268,
0.010409965179860592,
0.009930559433996677,
0.009922381490468979,
-0.0197385773062706,
0.4201759696006775,
-0.02000253275036812,
0.00009375820081913844,
0.046993155032396317,
0.023298172280192375,
-0.04614013060927391,
-0.015220466069877148,
-0.01653074473142624,
-0.08993936330080032,
-0.010575490072369576,
-0.0374172106385231,
-0.01167923491448164,
-0.008705711923539639,
0.028801394626498222,
-0.0418919175863266,
-0.034328170120716095,
-0.006873603910207748,
0.01272499468177557,
0.010932546108961105,
0.00949652399867773,
-0.03777610883116722,
-0.021133575588464737,
-0.013674856163561344,
0.04807443544268608,
0.0229458250105381,
0.006627812050282955,
-0.0186486653983593,
0.027001425623893738,
0.03631887957453728,
0.04641421139240265,
0.016824379563331604,
0.03288417309522629,
-0.02974771335721016,
-0.10695818066596985,
-0.03376554697751999,
-0.023775195702910423,
-0.006807900499552488,
0.054944925010204315,
-0.0002101366117130965,
0.027008933946490288,
0.019508497789502144,
-0.01729457639157772,
0.04018764570355415,
-0.011748392134904861,
-0.021587438881397247,
-0.05542447790503502,
0.1227724477648735,
0.024185702204704285,
-0.027691250666975975,
-0.0033219808246940374,
-0.05003168061375618,
-0.006838974077254534,
0.039045412093400955,
-0.018571538850665092,
-0.06955564022064209,
0.011835082434117794,
0.017454247921705246,
0.036644771695137024,
0.012802946381270885,
-0.035822801291942596,
0.0019490100676193833,
-0.07112311571836472,
0.019415883347392082,
-0.0563352108001709,
0.05051836371421814,
0.002486027777194977,
-0.09190547466278076,
-0.04811546951532364,
-0.02709251269698143,
-0.008162396028637886,
-0.03522127494215965,
-0.03251379355788231,
0.03780237212777138,
-0.047457337379455566,
-0.02609659917652607,
0.02870674803853035,
-0.015336167067289352,
-0.06665543466806412,
-0.03174521401524544,
-0.0031082744244486094,
0.012926680967211723,
0.0264913160353899,
-0.011875293217599392,
-0.07381810247898102,
0.02594778686761856,
0.025015724822878838,
-0.10240083187818527,
-0.055516477674245834,
-0.022133002057671547,
-0.0012849126942455769,
-0.005167127121239901,
-0.04162692651152611,
-0.02759058028459549,
-0.04691484197974205,
0.07334523648023605,
-0.029083022847771645,
-0.04835248738527298,
0.040672462433576584,
0.0115280169993639,
0.015990350395441055,
-0.008720576763153076,
0.013647341169416904,
0.03422107920050621,
0.01990424655377865,
0.044770557433366776,
0.0033753295429050922,
0.03694474697113037,
0.03596379607915878,
-0.05890880525112152,
0.041675131767988205,
0.031543467193841934,
-0.07333732396364212,
-0.004300461616367102,
-0.03783324733376503,
0.06945767998695374,
-0.04305135831236839,
-0.023737424984574318,
0.009366713464260101,
0.024075645953416824,
0.017885956913232803,
-0.016111362725496292,
-0.07109323143959045,
-0.042188722640275955,
0.024677157402038574,
-0.329673707485199,
-0.010739174671471119,
-0.03559519350528717,
0.00263789645396173,
0.0027057230472564697,
-0.07568692415952682,
0.02872532047331333,
-0.009607617743313313,
-0.05311762914061546,
-0.00470116687938571,
0.04645225405693054,
-0.017458554357290268,
-0.004267622716724873,
-0.07662095129489899,
0.015386966988444328,
0.011562984436750412,
-0.0482114776968956,
-0.06326273828744888,
-0.06467216461896896,
0.026928605511784554,
-0.0038431123830378056,
0.009356934577226639,
-0.004516825079917908,
-0.08133554458618164,
0.02122189663350582,
-0.031992390751838684,
0.08052406460046768,
-0.04715709760785103,
0.06613877415657043,
-0.008275859989225864,
0.03838047385215759,
0.008651351556181908,
-0.019760776311159134,
-0.05210789665579796,
-0.028977038338780403,
-0.05360046774148941,
-0.023874158039689064,
0.0049747684970498085,
0.05059702694416046,
0.009825343266129494,
-0.041248925030231476,
0.020029788836836815,
-0.02529677003622055,
-0.019748765975236893,
-0.00616795988753438,
-0.0033486168831586838,
-0.03752830997109413,
-0.012928755953907967,
-0.010254323482513428,
0.07523627579212189,
-0.0008193747489713132,
0.007366193924099207,
-0.005786864086985588,
-0.008104506880044937,
0.0001570985623402521,
-0.010439732111990452,
-0.06199594587087631,
-0.00017871044110506773,
0.0193199310451746,
-0.007895822636783123,
0.028595035895705223,
0.050914786756038666,
0.04631372168660164,
-0.0643017590045929,
0.029110660776495934,
-0.030947793275117874,
-0.004848034121096134,
-0.0018280927324667573,
0.0473620630800724,
-0.0324278324842453,
-0.00317032216116786,
0.14455413818359375,
-0.00549266766756773,
-0.011867872439324856,
0.05034375563263893,
0.06680803000926971,
-0.001794540323317051,
0.003594254842028022,
-0.016668610274791718,
0.018171124160289764,
0.010651807300746441,
0.03668615221977234,
-0.006985258776694536,
0.0023202572483569384,
0.009330695495009422,
0.039716947823762894,
-0.025584813207387924,
0.0017173250671476126,
0.015067309141159058,
-0.01776094175875187,
-0.01293844822794199,
0.010337857529520988,
-0.03612303361296654,
-0.042313165962696075,
0.06325042247772217,
0.0064528402872383595,
-0.2521824538707733,
0.03906823322176933,
0.0979500338435173,
0.07643746584653854,
-0.005015236325562,
0.04371744021773338,
0.04239863529801369,
-0.057477254420518875,
0.05548015981912613,
0.012751596048474312,
0.018131639808416367,
0.03397384658455849,
0.044011324644088745,
0.00817378330975771,
0.07289357483386993,
0.005253935698419809,
0.040678657591342926,
-0.0009900374570861459,
0.05105520784854889,
0.013655771501362324,
0.03962143510580063,
-0.001613423228263855,
0.19128040969371796,
0.003970049321651459,
0.02760990336537361,
0.01486914698034525,
0.044861797243356705,
-0.006505102850496769,
0.06788869202136993,
0.012451465241611004,
0.0014398093335330486,
-0.043574899435043335,
0.11285717785358429,
0.016782894730567932,
0.05268355458974838,
-0.08828023821115494,
0.004904626403003931,
0.04006049409508705,
0.02786027453839779,
-0.021977005526423454,
-0.019201086834073067,
0.0304642952978611,
-0.054284241050481796,
0.023470750078558922,
0.09516942501068115,
0.020819250494241714,
-0.015415791422128677,
-0.03047327511012554,
-0.03848782926797867,
0.002830379642546177,
-0.054287999868392944,
-0.04576384276151657,
0.0040407306514680386,
-0.04005630686879158,
0.017904752865433693,
0.07064031809568405,
-0.007310223300009966,
-0.023030275478959084,
-0.02075498178601265,
0.07275375723838806,
0.014646979048848152,
0.05241033434867859,
0.08157642185688019,
0.015983236953616142,
0.034373361617326736
] | [
-0.011676020920276642,
0.024659154936671257,
-0.011870811693370342,
0.03682306036353111,
0.004853133112192154,
0.011084487661719322,
-0.007090024650096893,
0.02612670511007309,
-0.0004124048864468932,
-0.021965065971016884,
0.0005257304292172194,
-0.021808193996548653,
0.013673740439116955,
-0.018092429265379906,
0.0006261673988774419,
-0.01306975819170475,
0.023783961310982704,
-0.03455011919140816,
0.027120616286993027,
0.023215224966406822,
0.028085114434361458,
0.051008258014917374,
-0.008444003760814667,
-0.012013372965157032,
0.0017965564038604498,
0.03313707560300827,
0.005335774272680283,
-0.03459937125444412,
0.024967418983578682,
-0.1273176372051239,
-0.017337122932076454,
0.004911947995424271,
0.0050097061321139336,
0.009731504134833813,
0.017698651179671288,
0.00619127694517374,
0.02054269053041935,
-0.004631652031093836,
-0.0014044553972780704,
-0.009567037224769592,
-0.04124237224459648,
-0.015131101943552494,
-0.012272545136511326,
-0.000176568326423876,
-0.02708550915122032,
-0.026984190568327904,
0.013142247684299946,
-0.05469048023223877,
-0.024880170822143555,
-0.014892824925482273,
-0.028442470356822014,
-0.004267726093530655,
-0.0035583653952926397,
0.02405591681599617,
0.023880230262875557,
-0.009027784690260887,
-0.009400807321071625,
-0.03374621272087097,
-0.0106597188860178,
-0.028622357174754143,
-0.005584742873907089,
-0.029903871938586235,
-0.02723243646323681,
-0.01571042276918888,
0.01862551085650921,
0.001966276438906789,
-0.009442850016057491,
-0.017518959939479828,
-0.002854392398148775,
-0.022982528433203697,
-0.024534927681088448,
0.0065694511868059635,
0.008348634466528893,
-0.02070201002061367,
0.005558248609304428,
-0.0023543413262814283,
0.020207449793815613,
-0.0318477489054203,
0.013706625439226627,
-0.03227607533335686,
-0.035813864320516586,
0.0057818996720016,
-0.018838681280612946,
0.012503381818532944,
0.024852002039551735,
0.025951584801077843,
0.001670702826231718,
0.014799254946410656,
0.03799878805875778,
0.02288815565407276,
-0.01244036853313446,
0.02067563124001026,
0.004613710567355156,
0.011367312632501125,
-0.08027026802301407,
-0.01718275249004364,
-0.015583694912493229,
-0.025857361033558846,
0.01516000833362341,
0.8621963858604431,
0.002129086758941412,
0.05529676005244255,
0.02974536642432213,
0.012511585839092731,
-0.012477640993893147,
-0.03585849329829216,
-0.00566779775545001,
0.006312994752079248,
0.023123493418097496,
-0.016012489795684814,
0.040179163217544556,
0.01989741623401642,
0.012113004922866821,
0.016057318076491356,
0.02125803381204605,
0.03718704357743263,
0.029237359762191772,
-0.037550974637269974,
-0.03354150429368019,
0.008366674184799194,
0.005345562007278204,
-0.018648680299520493,
-0.0018395311199128628,
0.013307486660778522,
0.036704618483781815,
-0.16538824141025543,
-0.02048025280237198,
-8.375174640366112e-33,
0.0506175234913826,
-0.01938650943338871,
0.015590092167258263,
0.009719344787299633,
0.046312179416418076,
0.007114324253052473,
0.04654321074485779,
0.008318879641592503,
0.0382973775267601,
-0.03515661880373955,
0.009196172468364239,
-0.014301896095275879,
-0.005845912732183933,
-0.01380848977714777,
0.025449564680457115,
-0.018350785598158836,
0.001229562214575708,
0.030347585678100586,
0.0027291341684758663,
0.013489793986082077,
0.008655262179672718,
0.03420325741171837,
0.0013520994689315557,
-0.04586421325802803,
0.005450345575809479,
0.04747869446873665,
-0.004621651489287615,
0.03825850784778595,
-0.01031765528023243,
-0.03665157034993172,
0.017160428687930107,
0.015237451530992985,
-0.033393774181604385,
-0.0026819168124347925,
0.02170276828110218,
-0.032497506588697433,
-0.016587646678090096,
-0.005122508388012648,
-0.009970350190997124,
-0.031444672495126724,
-0.04289143532514572,
0.025215132161974907,
-0.041232768446207047,
0.019194262102246284,
-0.016362212598323822,
-0.030410414561629295,
-0.018246425315737724,
0.020638849586248398,
-0.009491871111094952,
0.003327922895550728,
0.018917633220553398,
0.015433670952916145,
0.0240628644824028,
-0.029479995369911194,
-0.027590841054916382,
0.02507244609296322,
-0.034130655229091644,
-0.004455188754945993,
0.03787803277373314,
0.028754765167832375,
-0.02039146050810814,
0.010343058966100216,
-0.022004421800374985,
0.05680711567401886,
-0.033315032720565796,
0.0005826157284900546,
0.004406924359500408,
0.020750202238559723,
-0.006362454034388065,
0.019734738394618034,
-0.019062241539359093,
0.005620359443128109,
-0.014063460752367973,
-0.021442096680402756,
0.0008585494360886514,
-0.02834768407046795,
-0.014668760821223259,
-0.0019403016194701195,
-0.01816563308238983,
0.02209259755909443,
0.029643280431628227,
-0.009476051665842533,
0.007487609516829252,
-0.01724637858569622,
-0.0033636915031820536,
0.004975552204996347,
0.0027600512839853764,
0.004733627662062645,
0.03624916076660156,
0.007471323944628239,
0.02395373210310936,
0.0023756842128932476,
-0.0023729612585157156,
-0.025978177785873413,
-0.029723960906267166,
8.086204333471407e-33,
0.021128971129655838,
-0.01836875081062317,
-0.024660296738147736,
0.011687866412103176,
0.003487205831333995,
-0.035746145993471146,
-0.0067886533215641975,
0.023106778040528297,
-0.056567493826150894,
0.02150324173271656,
-0.017379309982061386,
0.060503799468278885,
-0.056829459965229034,
0.02285669557750225,
0.029691893607378006,
-0.011687291786074638,
0.031141653656959534,
-0.04598567634820938,
0.02947143279016018,
-0.0005026429425925016,
0.028124136850237846,
-0.016133127734065056,
0.023132164031267166,
-0.016142884269356728,
-0.04172861948609352,
0.06201964616775513,
-0.04517859220504761,
0.032604802399873734,
-0.0027993242256343365,
-0.008410748094320297,
0.017349306493997574,
-0.02277396433055401,
0.030579810962080956,
-0.0478450246155262,
-0.02153071202337742,
-0.001321272342465818,
-0.015107149258255959,
-0.005253606475889683,
0.041614729911088943,
0.02006104774773121,
0.01722395047545433,
-0.041537340730428696,
-0.0008969436748884618,
0.036875683814287186,
-0.0009913144167512655,
-0.05004792660474777,
0.01406103279441595,
-0.016478771343827248,
0.01230534166097641,
0.013700512237846851,
-0.005827976390719414,
-0.025041649118065834,
-0.01877359300851822,
0.017544973641633987,
0.0009762460831552744,
-0.01276503223925829,
0.006372767500579357,
-0.005311674438416958,
0.006324069108814001,
0.001614017877727747,
-0.014288856647908688,
0.04561441391706467,
-0.03261431306600571,
0.01927029900252819,
-0.01920517161488533,
0.015117364935576916,
0.02027711272239685,
-0.02874707616865635,
-0.017455557361245155,
0.011231153272092342,
-0.007155892439186573,
-0.012915671803057194,
-0.005470065865665674,
0.025186337530612946,
-0.0051942914724349976,
-0.02439858391880989,
-0.011771413497626781,
0.012275203131139278,
0.016490072011947632,
0.02320103719830513,
0.013692546635866165,
-0.0251135416328907,
0.04696781560778618,
0.012023731134831905,
-0.010445521213114262,
-0.006006544455885887,
-0.017288586124777794,
0.010175993666052818,
-0.02772609516978264,
-0.034208059310913086,
-0.03444521129131317,
-0.030820321291685104,
0.0144491046667099,
0.022584186866879463,
-0.0012259680079296231,
-1.3550447874877136e-8,
-0.04610931873321533,
0.009046460501849651,
-0.0011698402231559157,
0.02162269689142704,
0.031019721180200577,
-0.01893184520304203,
-0.02196591906249523,
-0.014552020467817783,
0.01371017750352621,
-0.006656655576080084,
0.03670595958828926,
-0.022556127980351448,
0.009799079969525337,
0.009363257326185703,
0.045069072395563126,
-0.044973861426115036,
-0.005218104925006628,
-0.029438547790050507,
0.001371702877804637,
0.0030649451073259115,
-0.014299498870968819,
0.02680373564362526,
-0.0017338823527097702,
0.009402649477124214,
0.024182766675949097,
0.016409827396273613,
-0.0003588719409890473,
-0.04886025935411453,
0.004236340988427401,
0.004879190120846033,
-0.022399604320526123,
-0.004638600628823042,
-0.011262529529631138,
0.041901830583810806,
-0.008915537036955357,
-0.02781505137681961,
0.028213106095790863,
-0.02625550888478756,
0.02826869487762451,
0.005863141734153032,
-0.02051444537937641,
-0.011383729986846447,
0.00619740504771471,
-0.02507040463387966,
0.006036777049303055,
-0.010460790246725082,
-0.021957702934741974,
-0.016847139224410057,
0.02086961641907692,
0.019647736102342606,
0.004592488054186106,
-0.012550183571875095,
0.017685681581497192,
0.02537642791867256,
0.00893845222890377,
0.01565692014992237,
0.013423029333353043,
-0.01117654424160719,
-0.01720081828534603,
0.026342693716287613,
0.05520176514983177,
-0.0026292838156223297,
-0.035499971359968185,
-0.008372845128178596
] | coding-the-collecting-parameter-pattern | https://markhneedham.com/blog/2010/01/23/coding-the-collecting-parameter-pattern |
false | 2010-01-15 21:44:36 | TDD: Hand written stubs vs Framework generated stubs | [
"tdd"
] | [
"Testing"
] | A few months ago http://blog.objectmentor.com/articles/2009/10/28/manual-mocking-resisting-the-invasion-of-dots-and-parentheses[Uncle Bob wrote a post about TDD where he suggested that he preferred to use hand created stubs in his tests] wherever possible and only resorted to using a Mockito created stub as a last resort.
I've tended to use framework created ones but my colleague Matt Dunn and I noticed that it didn't seem to work out too well for us writing some tests around a controller where the majority of our tests were making exactly the same call to that repository and expected to receive the same return value but a few select edge cases expected something different.
The edge cases came along later on by which time we'd already gone past the stage of putting the stub expectation setup in every test and had moved it up into a setup method which ran before all test.
We tried to keep on using the same stub instance of the dependency which meant that we were trying to setup more than one stub expectation on the same method with different return values.
[source,csharp]
----
[TestFixture]
public SomeControllerTests
{
private ITheDependency theDependency;
[SetUp]
public void Before()
{
theDependency = MockRepository.GenerateStub<ITheDependency>();
theDependency.Stub(t => t.SomeMethod()).Return(someResult);
controller = new Controller(theDependency);
}
....
[Test]
public void SomeAnnoyingEdgeCaseTest()
{
theDependency.Stub(t => t.SomeMethod().Return(someOtherResult);
controller.DoSomething();
// and so on...
}
}
----
We were struggling to remember where we had setup the various return values and could see a few ways to try and reduce this pain.
The first was to extract those edge case tests out into another test fixture where we would setup the stub expectation on a per test basis instead of using a blanket approach for all of them.
This generally works pretty well although it means that we now have our tests in more than one place which can be a bit annoying unless you know that's what's being done.
Another way which Matt suggested is to *make use of a hand written stub for the tests which aren't bothered about the return value and then use a framework created one for specific cases*.
The added benefit of that is that it's more obvious that the latter tests care about the result returned because it's explicitly stated in the body of the test.
We found that our tests were easier to read once we'd done this and we spent much less time trying to work out what was going on.
I think framework generated stubs do have thier place though and as http://blog.objectmentor.com/articles/2009/10/28/manual-mocking-resisting-the-invasion-of-dots-and-parentheses[Colin Goudie points out in the comments on Uncle Bob's post] it probably makes more sense to make use of a framework generated stub when each of our tests returns different values for the same method call.
If we don't do that then we end up writing lots of different hand written stubs which I don't think adds much value.
I still start out with a framework generated stub but if it's becoming overly complicated or repetitive then I'm happy to switch to a hand written one.
It'd be interesting to hear others' approaches on this. | null | null | [
0.007799165323376656,
-0.024128343909978867,
-0.025097733363509178,
0.07394228130578995,
0.07659837603569031,
0.011510484851896763,
0.035582199692726135,
0.015316193923354149,
0.019601423293352127,
-0.030991673469543457,
0.017976120114326477,
-0.0018838272662833333,
-0.07314321398735046,
0.011749564670026302,
-0.06674659997224808,
0.06679701805114746,
0.06956196576356888,
-0.03184168413281441,
0.020131466910243034,
-0.01207341905683279,
0.020918097347021103,
0.04983081296086311,
0.012444389052689075,
0.056389130651950836,
0.04823540151119232,
0.025111546739935875,
0.0172354057431221,
-0.012490163557231426,
-0.05481025204062462,
-0.01947135105729103,
0.03529725596308708,
0.007346398197114468,
0.008977917954325676,
-0.04555822163820267,
0.008433831855654716,
-0.023105930536985397,
-0.006703539285808802,
0.013057109899818897,
-0.004231321159750223,
0.009957441128790379,
-0.07642678916454315,
0.021534638479351997,
0.010982949286699295,
0.010349537245929241,
-0.04437891021370888,
-0.00521367322653532,
-0.0071884929202497005,
0.007751462981104851,
-0.02117825672030449,
-0.012313484214246273,
-0.05639859288930893,
0.04517335817217827,
-0.02887892723083496,
0.012479155324399471,
-0.016186362132430077,
0.03285856917500496,
0.026357093825936317,
-0.09730960428714752,
0.03956623002886772,
-0.06890842318534851,
-0.019008275121450424,
-0.008707139641046524,
0.0002732517896220088,
0.050058577209711075,
0.003678443841636181,
-0.007967879064381123,
0.00980968214571476,
0.04497731104493141,
-0.045538291335105896,
-0.033494092524051666,
-0.0196477472782135,
-0.01913076639175415,
-0.005227156914770603,
-0.02075127139687538,
0.002875667531043291,
-0.05389446020126343,
-0.027010267600417137,
0.034735072404146194,
0.010430878028273582,
0.053229980170726776,
-0.01856994442641735,
-0.026557598263025284,
0.023612583056092262,
0.00727392453700304,
-0.0033269058912992477,
-0.044168610125780106,
-0.023855239152908325,
-0.011829528026282787,
-0.027989933267235756,
0.06280379742383957,
0.041472505778074265,
-0.03446264564990997,
0.02110230177640915,
0.03650147467851639,
-0.023783614858984947,
0.012675638310611248,
0.0470605306327343,
-0.011815663427114487,
0.029708800837397575,
-0.00432173116132617,
-0.010850968770682812,
-0.0013927127001807094,
0.02763962745666504,
-0.0031462502665817738,
-0.06695131957530975,
-0.0060044522397220135,
-0.04094115272164345,
-0.024908263236284256,
-0.010752820409834385,
-0.014205005951225758,
-0.048963598906993866,
0.03164470195770264,
-0.006204677280038595,
-0.013905506581068039,
-0.08853699266910553,
0.04325082153081894,
0.006740418728441,
-0.026871971786022186,
-0.01917683705687523,
0.046479154378175735,
0.018131405115127563,
0.007973541505634785,
-0.028890889137983322,
0.07745269685983658,
0.007976303808391094,
0.05111442878842354,
-0.024935385212302208,
0.05551668629050255,
0.014361359179019928,
-0.07092635333538055,
-0.008717638440430164,
0.03709368407726288,
0.015501460060477257,
-0.0048483205027878284,
0.003926584031432867,
-0.040910717099905014,
0.005077745299786329,
-0.007116267457604408,
0.034844666719436646,
0.03947245329618454,
-0.05377550050616264,
-0.046224579215049744,
0.02545321360230446,
0.019041143357753754,
-0.008277729153633118,
0.011062215082347393,
-0.006792169529944658,
-0.010671339929103851,
-0.025501813739538193,
0.07053754478693008,
0.017770031467080116,
0.05677259340882301,
0.020502688363194466,
-0.030381299555301666,
0.012609386816620827,
0.07199978828430176,
0.007426327094435692,
0.00665375916287303,
0.01123811211436987,
0.02516554854810238,
0.042867958545684814,
0.016403723508119583,
0.027174370363354683,
0.06019185110926628,
0.03078639879822731,
-0.002822495298460126,
0.004674212541431189,
0.03346661105751991,
0.002302384003996849,
-0.011849382892251015,
-0.07910366356372833,
-0.04458228498697281,
0.054635219275951385,
-0.05463796108961105,
-0.0007193206110969186,
0.012560379691421986,
0.0665489211678505,
-0.0076612974517047405,
0.0515432246029377,
0.021931912750005722,
-0.07560461014509201,
0.032386597245931625,
0.039686501026153564,
0.01412838976830244,
0.0051951357163488865,
0.0014541606651619077,
0.059131279587745667,
0.03495411574840546,
-0.03877199441194534,
0.030816175043582916,
-0.08231694251298904,
-0.09568439424037933,
-0.031907323747873306,
-0.03189051151275635,
0.04282798990607262,
-0.03340943157672882,
-0.020357366651296616,
0.07052423804998398,
0.04446546360850334,
0.020382801070809364,
0.01962265931069851,
-0.015879416838288307,
0.017434202134609222,
-0.010881006717681885,
-0.028636576607823372,
0.05696483701467514,
0.0504983514547348,
0.009835271164774895,
-0.05154116824269295,
-0.0018809533212333918,
-0.02091994509100914,
-0.012566085904836655,
0.019092848524451256,
-0.012992149218916893,
0.027301594614982605,
0.01806533895432949,
0.02795693278312683,
-0.017375608906149864,
0.0713648647069931,
-0.07294368743896484,
0.004822460003197193,
-0.008242879994213581,
-0.047106578946113586,
-0.0029072014149278402,
-0.013570282608270645,
0.11343374103307724,
0.04481279477477074,
-0.03075275756418705,
-0.03758234158158302,
0.025485336780548096,
0.036349061876535416,
-0.013329536654055119,
-0.011549129150807858,
-0.01422901451587677,
0.021175695583224297,
0.004083725623786449,
-0.03599391132593155,
-0.012083272449672222,
0.026900559663772583,
-0.028740854933857918,
0.028040140867233276,
0.05865400284528732,
-0.005569890607148409,
0.042848650366067886,
0.00319494167342782,
-0.038616329431533813,
-0.000051620318117784336,
-0.029230959713459015,
-0.06263770908117294,
-0.00852233450859785,
0.0415106862783432,
-0.01169834565371275,
0.03528916835784912,
-0.01342511735856533,
-0.006223220843821764,
-0.008016013540327549,
-0.023403450846672058,
0.03033134900033474,
0.01385871134698391,
0.0833849087357521,
-0.007664629258215427,
0.042575739324092865,
-0.012026804499328136,
0.01293139811605215,
-0.021227851510047913,
-0.04431552812457085,
-0.004764144774526358,
0.004570222459733486,
0.008072282187640667,
0.05690586194396019,
0.02544993720948696,
-0.0016233259811997414,
0.0360306091606617,
0.000007295450814126525,
-0.036739543080329895,
-0.003987551666796207,
0.03305768221616745,
0.006760124117136002,
-0.020880194380879402,
-0.025646783411502838,
-0.04968823865056038,
0.04824906960129738,
-0.03933032974600792,
-0.03281467780470848,
0.04367130994796753,
-0.10541251301765442,
0.04917405545711517,
-0.09530745446681976,
-0.07104688882827759,
0.010265753604471684,
0.015667518600821495,
0.05342115834355354,
-0.008165827952325344,
0.04881877452135086,
0.06313816457986832,
0.0248440969735384,
0.014124259352684021,
0.02642841264605522,
0.03204305097460747,
0.02254977636039257,
0.002762075513601303,
-0.011890810914337635,
0.03751267492771149,
0.009567989967763424,
0.027956297621130943,
-0.05387619882822037,
0.023233335465192795,
-0.024522814899683,
-0.2733123004436493,
0.024746548384428024,
0.00742130633443594,
-0.043406277894973755,
0.047366078943014145,
-0.031027359887957573,
0.009868910536170006,
-0.056010909378528595,
-0.025081852450966835,
0.04174806922674179,
-0.03203430771827698,
-0.031194517388939857,
-0.017456239089369774,
0.04928861930966377,
0.0005636074347421527,
0.010080642066895962,
0.023430194705724716,
-0.02863221988081932,
0.04221351817250252,
0.0530981570482254,
0.0019332028459757566,
-0.08121201395988464,
-0.003342187264934182,
0.05705651268362999,
0.02547585964202881,
0.056371189653873444,
-0.08391255140304565,
0.0581105537712574,
-0.03134911507368088,
-0.001815859810449183,
0.012312290258705616,
0.0014461573446169496,
-0.011796603910624981,
-0.03959264978766441,
-0.03452027216553688,
-0.006183752324432135,
0.01615474559366703,
0.00855724886059761,
-0.0015905846375972033,
0.036686643958091736,
-0.015803761780261993,
-0.04017843306064606,
-0.01727547124028206,
0.0383237786591053,
0.08184713870286942,
-0.014210913330316544,
-0.04587790369987488,
-0.004671009723097086,
-0.05324091762304306,
0.08283881843090057,
-0.04050759971141815,
-0.03337977081537247,
-0.003900048555806279,
0.04131675139069557,
-0.0027244642842561007,
-0.020112384110689163,
-0.008436284959316254,
-0.01956762932240963,
-0.03730791062116623,
-0.019928503781557083,
-0.023219604045152664,
-0.048508573323488235,
-0.03699550777673721,
-0.04067045450210571,
-0.010673006065189838,
-0.06493037194013596,
-0.054156817495822906,
-0.009052230045199394,
0.05446190759539604,
0.0055601815693080425,
-0.023814911022782326,
0.006485935766249895,
0.0012334102066233754,
-0.11242952942848206,
0.022936875000596046,
-0.004347921349108219,
-0.020393947139382362,
-0.01396865677088499,
0.013088690117001534,
0.0655582845211029,
-0.021509546786546707,
-0.049037348479032516,
0.045907385647296906,
0.008435728959739208,
0.0013341696467250586,
0.028185643255710602,
0.008833693340420723,
0.0008592875092290342,
-0.02936691790819168,
0.015107601881027222,
0.05773864686489105,
0.00011358626943547279,
-0.028101561591029167,
-0.033922791481018066,
0.023026758804917336,
0.0655120313167572,
0.010023459792137146,
-0.0053077093325555325,
0.024414269253611565,
-0.00008354771853191778,
0.026304755359888077,
-0.040306009352207184,
0.028252920135855675,
-0.01846901886165142,
-0.006687946617603302,
-0.03853821009397507,
-0.06647175550460815,
0.04138109087944031,
0.011192197911441326,
0.011055302806198597,
-0.017520109191536903,
-0.04313965141773224,
-0.015088912099599838,
-0.03914788365364075,
-0.05250002071261406,
-0.02925182692706585,
-0.0013964867684990168,
0.0296892449259758,
-0.03424014896154404,
0.001863928628154099,
-0.04887232184410095,
0.012787291780114174,
0.006455395836383104,
-0.021286319941282272,
-0.0551295131444931,
-0.03503154590725899,
-0.022115062922239304,
0.013566441833972931,
0.019938552752137184,
0.010811825282871723,
-0.009935085661709309,
0.028300054371356964,
-0.005599739030003548,
-0.012585929594933987,
0.027847958728671074,
-0.0025287868920713663,
-0.04679404944181442,
-0.03695358708500862,
0.011267519555985928,
-0.014224207028746605,
-0.005763300694525242,
-0.015383359044790268,
0.00805659405887127,
0.016735991463065147,
0.03907850384712219,
0.002729794243350625,
0.0349506139755249,
-0.013963782228529453,
-0.00408843532204628,
0.005567259155213833,
0.027037685737013817,
-0.06304962933063507,
0.010603160597383976,
-0.03815516456961632,
-0.023807836696505547,
-0.019198168069124222,
0.019702007994055748,
-0.016317587345838547,
-0.04996859282255173,
-0.030487803742289543,
0.025455523282289505,
-0.04501533880829811,
-0.030355779454112053,
-0.0343434177339077,
0.0038855411112308502,
0.0686328336596489,
-0.049641676247119904,
0.027793781831860542,
-0.03522632271051407,
-0.03788687661290169,
0.010712451301515102,
-0.022278307005763054,
-0.011857922188937664,
0.055714868009090424,
0.01644721068441868,
0.021255364641547203,
-0.01581997610628605,
-0.004300345666706562,
0.048850394785404205,
0.038554802536964417,
0.01993287168443203,
-0.03648515045642853,
0.014700005762279034,
0.010077563114464283,
0.04414140060544014,
0.021828925237059593,
-0.002483154647052288,
-0.016342105343937874,
-0.0017782169161364436,
-0.003125038929283619,
-0.058948565274477005,
-0.02416842430830002,
0.0026199042331427336,
0.04280436411499977,
-0.03048461489379406,
-0.08792005479335785,
0.0395846888422966,
-0.008366567082703114,
0.007477563805878162,
0.0033491889480501413,
0.007999047636985779,
-0.01347196102142334,
-0.028213810175657272,
0.021875392645597458,
0.06427086144685745,
-0.043434273451566696,
0.008590172976255417,
0.008463989943265915,
0.02621961012482643,
0.01881994679570198,
0.009719940833747387,
-0.05286416411399841,
-0.014068513177335262,
0.005102859809994698,
-0.026706472039222717,
-0.05512159317731857,
0.010352554731070995,
-0.018743062391877174,
0.014698543585836887,
0.011302994564175606,
-0.0023135540541261435,
-0.007932208478450775,
-0.008884808979928493,
-0.017685672268271446,
-0.03297000005841255,
0.037797775119543076,
-0.060249947011470795,
-0.0040988922119140625,
0.008469169959425926,
-0.0365937314927578,
0.005382860079407692,
-0.023672355338931084,
0.031064458191394806,
0.026406826451420784,
-0.03543535992503166,
-0.008813153952360153,
-0.04446033760905266,
0.006811440922319889,
0.002582180080935359,
0.011241304688155651,
-0.0037364100571721792,
-0.009812312200665474,
-0.0016729315975680947,
-0.006216653622686863,
-0.03850310295820236,
0.010536028072237968,
0.015698982402682304,
-0.014250306412577629,
0.03480508178472519,
0.04763004183769226,
0.013739241287112236,
0.04139500483870506,
0.006953958421945572,
0.01609482429921627,
0.05872950330376625,
-0.07626558095216751,
-0.03123365342617035,
-0.0437406562268734,
-0.06351983547210693,
0.025756699964404106,
0.002536764135584235,
0.031209643930196762,
-0.03389563038945198,
0.03869635984301567,
0.030639182776212692,
-0.004793984349817038,
0.04771752282977104,
0.0016227747546508908,
0.060858674347400665,
-0.05135025084018707,
0.015138451009988785,
-0.06470885127782822,
0.010786916129291058,
0.04021604359149933,
0.01013939268887043,
-0.007034312468022108,
-0.02341899275779724,
-0.024617986753582954,
0.019256483763456345,
-0.06379762291908264,
-0.011450542137026787,
0.007519124541431665,
-0.033311620354652405,
-0.012882211245596409,
-0.01346328854560852,
-0.08222021907567978,
0.024153465405106544,
0.018929947167634964,
-0.020629847422242165,
-0.048753149807453156,
-0.02292490005493164,
0.047803182154893875,
0.02902458794414997,
-0.00909767672419548,
-0.0315127819776535,
0.012516386806964874,
0.0493294820189476,
0.02243788167834282,
0.04039333760738373,
0.04321782663464546,
-0.01159697212278843,
0.04381261393427849,
0.02579384110867977,
-0.011905284598469734,
-0.004070269875228405,
-0.004805514123290777,
-0.007938159629702568,
-0.061733949929475784,
0.04665681719779968,
0.007194040808826685,
-0.010784538462758064,
-0.04635371267795563,
0.05588134378194809,
0.023001069203019142,
-0.036647114902734756,
-0.0577944852411747,
-0.0055896081030368805,
-0.027424311265349388,
-0.04509599134325981,
-0.015168024227023125,
-0.013790935277938843,
-0.011333546601235867,
0.05992654338479042,
0.0020499934908002615,
0.002937275916337967,
0.07444003969430923,
0.027063865214586258,
-0.015356939285993576,
-0.02737792208790779,
0.08962468057870865,
0.07134829461574554,
0.04763934016227722,
-0.0025951634161174297,
0.053081389516592026,
-0.02095191739499569,
-0.055953916162252426,
0.024802178144454956,
-0.008235364221036434,
-0.004050068091601133,
-0.0424669086933136,
-0.0032531393226236105,
0.06851185113191605,
-0.0004671822825912386,
0.06300299614667892,
-0.031263235956430435,
-0.008407446555793285,
0.010729772970080376,
0.045132361352443695,
0.009731043130159378,
0.051386602222919464,
0.00837621372193098,
-0.007919163443148136,
0.015233132056891918,
-0.04350882023572922,
0.029576506465673447,
-0.045097243040800095,
-0.00248366454616189,
0.022577127441763878,
-0.0028464095667004585,
0.00626932829618454,
0.014067534357309341,
0.013430154882371426,
0.05485470965504646,
-0.021088287234306335,
-0.00915873609483242,
0.01704133115708828,
0.01975991576910019,
0.008327010087668896,
-0.01648695208132267,
-0.011113709770143032,
-0.028033390641212463,
0.016364770010113716,
-0.018406154587864876,
-0.00046859195572324097,
-0.026113636791706085,
-0.03511875495314598,
0.04820358380675316,
-0.018803460523486137,
0.038521409034729004,
0.04285462945699692,
0.003718838794156909,
-0.06024085357785225,
-0.07617785036563873,
-0.03567943349480629,
-0.012046623043715954,
-0.06521261483430862,
-0.007610154803842306,
0.030104998499155045,
-0.011989323422312737,
-0.022229062393307686,
-0.03370989114046097,
-0.027280399575829506,
-0.019237220287322998,
0.06155810132622719,
-0.012073028832674026,
-0.021245095878839493,
0.020025355741381645,
0.0030173587147146463,
0.02435285784304142,
0.019244808703660965,
0.0318618007004261,
0.02042768895626068,
-0.006444144528359175,
-0.055075835436582565,
-0.007828211411833763,
0.021068207919597626,
0.0007227942114695907,
0.026399627327919006,
-0.08169493079185486,
0.005687119904905558,
0.026936661452054977,
0.014720979146659374,
-0.06854915618896484,
0.029786821454763412,
0.00862208753824234,
-0.011877990327775478,
0.03721452131867409,
-0.03713805973529816,
0.0038095535710453987,
-0.015690306201577187,
0.011017652228474617,
0.024989698082208633,
0.03577939793467522,
0.03569193184375763,
-0.009612995199859142,
0.05925499275326729,
0.02946631982922554,
-0.003971369471400976,
-0.035786520689725876,
0.007597657851874828,
-0.00169533328153193,
0.0071330019272863865,
-0.01736368052661419,
-0.03188583627343178,
-0.04044184461236,
-0.057226695120334625,
-0.03730838745832443,
0.01420594658702612,
-0.04508429020643234,
-0.022996602579951286,
0.021662728860974312,
0.004516704939305782,
-0.06708970665931702,
0.03668589144945145,
-0.02728269435465336,
0.04440765455365181,
-0.048093270510435104,
-0.005827350076287985,
0.024479912593960762,
0.033404022455215454,
0.013891669921576977,
0.01213758159428835,
0.029703175649046898,
-0.03714475780725479,
-0.01763925887644291,
-0.015793515369296074,
0.02649652771651745,
0.03532708063721657,
-0.0002865102724172175,
-0.010670285671949387
] | [
-0.10486216098070145,
0.014547458849847317,
-0.031050972640514374,
-0.02199568971991539,
0.040787555277347565,
-0.03016754239797592,
0.0303771011531353,
0.016322167590260506,
-0.01064020860940218,
-0.015889378264546394,
-0.013323327526450157,
-0.018486838787794113,
0.0007350483210757375,
-0.01274051796644926,
0.09471283853054047,
0.013639776036143303,
-0.030225781723856926,
-0.06533855199813843,
0.015932008624076843,
0.024672381579875946,
0.030836157500743866,
-0.012505789287388325,
-0.04136912524700165,
-0.016177712008357048,
0.03974427655339241,
0.03886737301945686,
0.04984067752957344,
-0.03917451575398445,
0.007284974679350853,
-0.2194328010082245,
0.04101663455367088,
-0.0034661192912608385,
-0.00009104766650125384,
-0.041913364082574844,
-0.022690435871481895,
0.03556139022111893,
0.008265240117907524,
-0.003033104818314314,
-0.008890663273632526,
0.029248742386698723,
-0.00593251409009099,
0.03465816751122475,
-0.0449138768017292,
-0.03394370526075363,
0.035378023982048035,
-0.0074650016613304615,
-0.02238498255610466,
-0.020258812233805656,
-0.00017271871911361814,
0.027126485481858253,
-0.036591921001672745,
-0.03697090968489647,
-0.006396820303052664,
-0.032104674726724625,
-0.028290782123804092,
-0.0063391211442649364,
0.029611866921186447,
0.04882624372839928,
0.0059251682832837105,
0.03337240591645241,
0.0312894843518734,
-0.028342004865407944,
-0.12894964218139648,
0.08503946661949158,
0.028010182082653046,
0.04075607657432556,
-0.01136971078813076,
-0.010399405844509602,
0.02700081653892994,
0.10110440850257874,
0.02525516226887703,
-0.022985726594924927,
-0.01839461922645569,
0.07167048007249832,
0.006706565152853727,
-0.005428469739854336,
0.012723855674266815,
0.03784114494919777,
0.04391726851463318,
-0.042784012854099274,
-0.04637253284454346,
-0.015535932034254074,
-0.013296601362526417,
0.009106225334107876,
-0.008266730234026909,
-0.01556321233510971,
-0.0003948288212995976,
0.020259497687220573,
0.04739908128976822,
0.056422170251607895,
0.06293578445911407,
-0.01655128411948681,
0.02282210998237133,
-0.0013185933930799365,
-0.10025246441364288,
-0.030627336353063583,
-0.024940233677625656,
-0.007237425073981285,
-0.01772269234061241,
0.44515690207481384,
-0.0027718960773199797,
-0.0300314798951149,
0.032943230122327805,
0.030306512489914894,
-0.026325317099690437,
-0.001165886060334742,
0.005616828799247742,
-0.06568285822868347,
0.015870006754994392,
-0.006955842021852732,
0.01753399707376957,
0.008051379583775997,
0.03278646990656853,
-0.06185855343937874,
0.01892298087477684,
0.006960739381611347,
0.02277863211929798,
0.008176852017641068,
-0.023791946470737457,
-0.000651767011731863,
-0.0019132138695567846,
0.00673649413511157,
0.02240392565727234,
-0.015780072659254074,
-0.013167557306587696,
-0.03151492401957512,
0.021022485569119453,
0.06373073160648346,
0.021256104111671448,
-0.004682315979152918,
0.03672008216381073,
-0.07940547913312912,
-0.0915139764547348,
-0.00640686834231019,
0.0005048493621870875,
0.023052185773849487,
0.052605703473091125,
-0.020437564700841904,
0.03372900187969208,
0.0401654951274395,
0.03489672765135765,
-0.019003519788384438,
0.05423722043633461,
-0.021595049649477005,
-0.05430317670106888,
0.07324659824371338,
-0.016608720645308495,
-0.024653607979416847,
-0.005224448163062334,
-0.030335457995533943,
0.013749267905950546,
0.05001286417245865,
-0.020369309931993484,
-0.05467716231942177,
0.025221046060323715,
-0.012357981875538826,
0.029016025364398956,
0.03522046282887459,
-0.009459071792662144,
-0.01890263706445694,
-0.03121333196759224,
-0.00885919388383627,
-0.05388326197862625,
0.03008703701198101,
0.035440605133771896,
-0.09697429835796356,
-0.04555169492959976,
0.023166799917817116,
0.01834181882441044,
-0.05882686749100685,
0.009626885876059532,
0.0047097234055399895,
-0.04589534550905228,
-0.03455731272697449,
0.021865567192435265,
-0.01632658764719963,
-0.0159493125975132,
0.006754664238542318,
0.021073024719953537,
0.038625482469797134,
0.010900766588747501,
0.004132560454308987,
-0.04832058399915695,
0.012041830457746983,
-0.02043990045785904,
-0.06322220712900162,
-0.04629408195614815,
-0.013125242665410042,
-0.015871698036789894,
-0.0161383505910635,
-0.03657395392656326,
-0.03838026151061058,
-0.1050875186920166,
0.10761134326457977,
-0.02815655991435051,
-0.012826033867895603,
0.010102534666657448,
-0.001794919022358954,
0.014442137442529202,
-0.005436452105641365,
-0.011674558743834496,
0.04965544492006302,
-0.0025819947477430105,
0.013950367458164692,
-0.0678393766283989,
0.08106958866119385,
0.06384339183568954,
-0.05772009864449501,
0.0977289006114006,
0.038377098739147186,
-0.0326358824968338,
-0.015960605815052986,
0.005580903962254524,
0.018213553354144096,
-0.032510533928871155,
0.001163907814770937,
0.01513663586229086,
0.0237133651971817,
-0.013757802546024323,
0.028310563415288925,
-0.021799584850668907,
0.009421151131391525,
0.019635355100035667,
-0.34247687458992004,
-0.03756837919354439,
-0.02081770822405815,
-0.02293294295668602,
0.03774507716298103,
-0.07184167951345444,
-0.014351503923535347,
0.006456535309553146,
0.011434640735387802,
-0.018539942800998688,
0.05722625181078911,
-0.0038103414699435234,
-0.008261801674962044,
-0.10546886175870895,
0.022024624049663544,
-0.0005351320724003017,
-0.04126837104558945,
-0.045785728842020035,
-0.03868004307150841,
0.010835686698555946,
-0.011741804890334606,
-0.005837154109030962,
-0.0018608476966619492,
-0.0596931129693985,
0.013239159248769283,
-0.03432720527052879,
0.060633350163698196,
0.0038966143038123846,
0.05327961593866348,
-0.030109548941254616,
0.040044285356998444,
-0.003047109115868807,
0.047657646238803864,
-0.06489899009466171,
-0.013071373105049133,
-0.02903621457517147,
-0.015364281833171844,
0.00024859284167177975,
0.05943785235285759,
-0.042552400380373,
-0.03415869548916817,
0.023690422996878624,
-0.05710175260901451,
-0.09787574410438538,
-0.01781950704753399,
0.005291040521115065,
-0.021252352744340897,
0.0049709719605743885,
0.0060301003977656364,
0.07966361194849014,
-0.007378564216196537,
-0.021746501326560974,
0.004975114017724991,
-0.00965263694524765,
0.0049015493132174015,
-0.0556374192237854,
-0.0922655314207077,
0.023529183119535446,
0.023818068206310272,
-0.00117300427518785,
0.030295422300696373,
0.10536335408687592,
0.03985951840877533,
-0.06036868318915367,
0.0013606466818600893,
0.014354572631418705,
-0.00785715039819479,
-0.018148178234696388,
0.05096570402383804,
-0.019765114411711693,
-0.019968589767813683,
0.08633480221033096,
-0.01631120778620243,
0.01996520720422268,
0.03912312537431717,
0.03525184839963913,
0.01572776958346367,
-0.00016015334404073656,
0.004460637923330069,
0.002844687784090638,
0.013529541902244091,
0.007689559832215309,
0.0326223261654377,
-0.027793707326054573,
-0.00920096505433321,
0.015701722353696823,
-0.005312180612236261,
-0.01399294100701809,
0.08422985672950745,
-0.0010940905194729567,
-0.04852962866425514,
-0.015450667589902878,
-0.004815742839127779,
-0.03034447878599167,
0.06065233051776886,
-0.016009340062737465,
-0.23617099225521088,
0.020412525162100792,
0.07241765409708023,
0.048412006348371506,
-0.021163959056138992,
0.04985237866640091,
0.05468041077256203,
-0.0621354803442955,
0.01679314859211445,
0.0032080248929560184,
0.029733318835496902,
0.03319103270769119,
0.016031945124268532,
-0.0007369915838353336,
0.04735957086086273,
-0.016708027571439743,
0.028169916942715645,
-0.008730554021894932,
0.023595279082655907,
-0.050116896629333496,
0.007863057777285576,
-0.014657645486295223,
0.18610021471977234,
0.007165231741964817,
-0.014353142119944096,
0.016865717247128487,
0.05036802217364311,
-0.013242228887975216,
0.08269980549812317,
0.0015319522935897112,
0.015586822293698788,
-0.015351626090705395,
0.029159842059016228,
-0.009435398504137993,
0.030294137075543404,
-0.0679154023528099,
-0.039489466696977615,
0.006296462845057249,
0.0037238893564790487,
0.015941359102725983,
-0.017254913225769997,
0.00970997754484415,
-0.024969352409243584,
0.0076356143690645695,
0.0881895050406456,
0.007776714861392975,
-0.022591406479477882,
-0.025647861883044243,
-0.049940451979637146,
-0.003993878606706858,
-0.025568606331944466,
-0.046597857028245926,
0.0008769400301389396,
-0.031841449439525604,
0.014704964123666286,
0.06669795513153076,
0.029185529798269272,
-0.003694143146276474,
-0.02802988514304161,
0.0195890124887228,
0.012865456752479076,
0.03719112649559975,
0.12078844755887985,
0.04699888080358505,
0.046258535236120224
] | [
-0.013681006617844105,
-0.00499520031735301,
-0.008926324546337128,
0.011352628469467163,
-0.027200540527701378,
0.006734904367476702,
-0.011157658882439137,
0.03484584763646126,
0.0040291366167366505,
0.028693119063973427,
0.015329412184655666,
0.005357079673558474,
0.020410016179084778,
-0.009315384551882744,
0.01089766900986433,
-0.023716360330581665,
0.018184827640652657,
-0.02620924450457096,
0.03376111760735512,
-0.001134708640165627,
-0.004571900703012943,
-0.0009496159036643803,
0.013519123196601868,
-0.029790107160806656,
-0.02309134230017662,
0.004904610570520163,
-0.02280065417289734,
-0.005301796831190586,
0.020395485684275627,
-0.15284909307956696,
0.02667595073580742,
-0.028605293482542038,
-0.011182603426277637,
-0.008104901760816574,
-0.027146141976118088,
-0.0284580085426569,
-0.001541256089694798,
0.03875010460615158,
0.031998369842767715,
-0.01638086512684822,
0.035048626363277435,
-0.003659973619505763,
0.013807419687509537,
0.019389040768146515,
0.019101586192846298,
-0.011920008808374405,
0.0465136393904686,
-0.009532229974865913,
-0.016063595190644264,
-0.026518750935792923,
-0.0013428626116365194,
-0.03525044396519661,
0.0005492995260283351,
0.0218629352748394,
-0.0087586659938097,
-0.012254460714757442,
0.02223116159439087,
0.002658949000760913,
0.020369216799736023,
0.032230887562036514,
0.014816162176430225,
0.02325415052473545,
0.010311528109014034,
-0.02952653169631958,
0.0006602072389796376,
-0.012278439477086067,
0.015206979587674141,
0.014981184154748917,
0.014888942241668701,
-0.022587016224861145,
-0.013389094732701778,
0.009145921096205711,
-0.0008700696635060012,
0.033813174813985825,
-0.01294558122754097,
0.006659805309027433,
-0.042733099311590195,
0.0028890063986182213,
0.04461539164185524,
-0.009122955612838268,
-0.03332614526152611,
0.01096857339143753,
-0.020136920735239983,
-0.003074841806665063,
0.008569139987230301,
0.02049470692873001,
0.010325109586119652,
0.0047271717339754105,
0.04382595792412758,
0.001310360268689692,
0.030554432421922684,
0.02897873893380165,
-0.018609844148159027,
0.04710161313414574,
-0.08788587898015976,
-0.030479731038212776,
0.010410391725599766,
-0.029896659776568413,
-0.013272879645228386,
0.8506141304969788,
0.0011462452821433544,
0.035618752241134644,
0.02697393111884594,
0.019130686298012733,
-0.012829465791583061,
-0.0017379417549818754,
-0.011695287190377712,
-0.028995409607887268,
-0.005966173019260168,
-0.03573222458362579,
0.024341968819499016,
0.03455517068505287,
0.006293870974332094,
0.006023976020514965,
-0.004512600600719452,
-0.01536187157034874,
-0.010237285867333412,
0.027596719563007355,
0.015507942996919155,
-0.018943941220641136,
0.023134056478738785,
0.019492004066705704,
0.01583363115787506,
0.03218649700284004,
0.01763259805738926,
-0.16591264307498932,
0.007054448593407869,
-8.008773051214805e-33,
0.05748598650097847,
-0.02254025824368,
0.04114248603582382,
0.0009058301220647991,
0.0027578261215239763,
0.008750272914767265,
0.056228771805763245,
0.02871009334921837,
0.023680305108428,
-0.05310260131955147,
0.03213788568973541,
-0.0635591521859169,
0.01787630096077919,
-0.02599736675620079,
0.0006996581796556711,
-0.000939715129788965,
-0.029027560725808144,
0.010265346616506577,
-0.016359098255634308,
0.025482438504695892,
0.009612631052732468,
0.038867998868227005,
-0.02039061114192009,
-0.020454663783311844,
-0.015241354703903198,
0.012734422460198402,
0.01935594342648983,
0.010405453853309155,
-0.011943824589252472,
-0.04022400081157684,
0.006978627759963274,
0.030589153990149498,
-0.021335044875741005,
-0.0016926053212955594,
0.04156843200325966,
-0.009333210997283459,
0.01560745295137167,
-0.014850450679659843,
-0.0028691887855529785,
-0.03025251440703869,
-0.02704455703496933,
-0.01885695569217205,
-0.022589588537812233,
0.01281581912189722,
-0.0003712925536092371,
-0.047514237463474274,
-0.0060142818838357925,
0.0005848007276654243,
0.05220875144004822,
-0.03406465798616409,
-0.03176553547382355,
-0.008938582614064217,
0.01855688914656639,
-0.034798361361026764,
-0.02118206024169922,
0.043846212327480316,
0.004480916075408459,
0.0442686453461647,
0.0180739164352417,
0.0253538079559803,
-0.0013452873099595308,
-0.0370822437107563,
-0.05520825833082199,
-0.0053042336367070675,
-0.033555079251527786,
0.0012887392658740282,
-0.018243880942463875,
-0.0390300527215004,
0.02104049362242222,
-0.0035482083912938833,
-0.02961612492799759,
0.0065592327155172825,
-0.03268192335963249,
-0.015207136049866676,
-0.0075551108457148075,
-0.01137253176420927,
-0.021565861999988556,
0.07250353693962097,
-0.0003115579020231962,
-0.01141753513365984,
-0.018293961882591248,
-0.022610120475292206,
-0.023464400321245193,
-0.0012783099664375186,
0.030710620805621147,
-0.006683637388050556,
0.024177532643079758,
-0.020692188292741776,
0.0024678315967321396,
-0.038882117718458176,
0.039345454424619675,
0.05338772013783455,
0.006289992015808821,
-0.002560405759140849,
-0.019384820014238358,
8.985679386409175e-33,
0.001177317346446216,
0.029383916407823563,
-0.029182421043515205,
0.03650980070233345,
0.02936183288693428,
-0.0242714062333107,
0.008748630061745644,
0.024278394877910614,
-0.06713000684976578,
0.00843419786542654,
-0.0420026034116745,
-0.004512615967541933,
-0.006803989876061678,
0.012571806088089943,
0.03828449174761772,
-0.013774705119431019,
0.052160996943712234,
-0.026301002129912376,
0.027035625651478767,
-0.008540265262126923,
0.013193797320127487,
0.0059268055483698845,
0.029578765854239464,
-0.0212162584066391,
-0.004640029743313789,
0.02556021139025688,
-0.04454246535897255,
0.015879740938544273,
0.0077918171882629395,
0.006778185721486807,
-0.009186859242618084,
0.010521447286009789,
0.012785066850483418,
-0.01703624613583088,
-0.019322359934449196,
0.013730841688811779,
-0.013538780622184277,
0.000743931217584759,
0.0017347770044580102,
0.01688852347433567,
-0.012202438898384571,
-0.03243603929877281,
-0.0032660462893545628,
0.04142148792743683,
0.003895220346748829,
0.006176807451993227,
-0.008279693312942982,
-0.011727629229426384,
0.0001878519105957821,
0.013922606594860554,
0.01262372825294733,
0.01620132103562355,
0.015012931078672409,
0.02202611416578293,
0.024495936930179596,
-0.021302780136466026,
-0.02060350589454174,
-0.003990146331489086,
0.017548518255352974,
-0.010365244001150131,
-0.019720500335097313,
0.03615603595972061,
-0.014269979670643806,
0.017698822543025017,
0.000048693960707169026,
0.010480727069079876,
-0.02266588620841503,
-0.017919689416885376,
-0.01641840673983097,
-0.006566720083355904,
-0.030451735481619835,
-0.02380124293267727,
0.00882040336728096,
-0.012298849411308765,
0.04886554181575775,
-0.04087774083018303,
-0.026788735762238503,
-0.01800944097340107,
-0.0018572395201772451,
0.019893184304237366,
-0.0037444359622895718,
-0.026195447891950607,
0.0015639469493180513,
-0.005492750089615583,
-0.029685333371162415,
0.025118961930274963,
0.0018671952420845628,
0.015614751726388931,
-0.001231545233167708,
0.032678164541721344,
-0.021879104897379875,
0.01467099692672491,
-0.002012944081798196,
0.024689242243766785,
0.045675523579120636,
-1.3641643370476686e-8,
-0.002693746006116271,
0.03394411504268646,
-0.024164967238903046,
0.005620304495096207,
0.010432965122163296,
0.010887174867093563,
-0.029078062623739243,
-0.014881591312587261,
-0.02658812142908573,
0.0014161495491862297,
0.016112880781292915,
-0.018402906134724617,
0.01537469681352377,
0.032904982566833496,
0.010940715670585632,
-0.051839880645275116,
-0.021684736013412476,
-0.01718781515955925,
0.010856011882424355,
0.0004458781913854182,
0.009626558981835842,
0.039186347275972366,
0.013643231242895126,
0.0003198817721568048,
-0.0006220393115654588,
0.042834557592868805,
0.010783255100250244,
-0.07962238788604736,
0.010379358194768429,
0.026059163734316826,
-0.003598101669922471,
-0.023058561608195305,
-0.009253532625734806,
0.006497747264802456,
-0.02652038261294365,
0.03888283297419548,
-0.023895755410194397,
0.012030012905597687,
0.05732700228691101,
0.026659583672881126,
-0.025432880967855453,
-0.011179251596331596,
0.04155779629945755,
-0.010534674860537052,
0.007049822248518467,
-0.010781467892229557,
-0.028147129341959953,
0.02345980331301689,
0.019275275990366936,
-0.04744577035307884,
-0.0003430870419833809,
-0.0026573408395051956,
-0.02713784947991371,
-0.01933983899652958,
-0.0019770024809986353,
0.03210829943418503,
0.019198449328541756,
-0.01658049412071705,
-0.03285837173461914,
-0.007453135214745998,
0.04611069709062576,
-0.020227808505296707,
-0.022570457309484482,
-0.024825941771268845
] | tdd-hand-written-stubs-vs-framework-generated-stubs | https://markhneedham.com/blog/2010/01/15/tdd-hand-written-stubs-vs-framework-generated-stubs |
false | 2010-01-15 23:23:58 | C#: A functional solution to a modeling problem | [
"coding"
] | [
"Coding"
] | We were working on some refactoring today where we http://www.markhneedham.com/blog/2009/11/11/coding-pushing-the-logic-back/[pushed some logic back] from a service and onto a domain object and I noticed that we were able to use functions quite effectively to reduce the amount of code we had to write while still describing differences in behaviour.
The class we want to write needs to take in two integers which represent two different situations related to Foo. Depending upon whether we have 'Situation 1', 'Situation 2' or both situations we will display the results slightly differently.
[source,csharp]
----
public class Foo
{
private readonly int situationOneValue;
private readonly int situationTwoValue;
private readonly Func<int, string> situationOneDisplayFunc;
private readonly Func<int, string> situationTwoDisplayFunc;
private Foo(int situationOneValue, int situationTwoValue, Func<int, string> situationOneDisplayFunc, Func<int, string> situationTwoDisplayFunc)
{
this.situationOneValue = situationOneValue;
this.situationTwoValue = situationTwoValue;
this.situationOneDisplayFunc = situationOneDisplayFunc;
this.situationTwoDisplayFunc = situationTwoDisplayFunc;
}
public static Foo ForSituation1(int situationOneValue, int situationTwoValue)
{
return new Foo(situationOneValue, situationTwoValue, Format, _ => "Irrelevant value");
}
public static Foo ForSituation2(int situationOneValue, int situationTwoValue)
{
return new Foo(situationOneValue, situationTwoValue, _ => "Irrelevant value", Format);
}
public static Foo ForSituation1And2(int situationOneValue, int situationTwoValue)
{
return new Foo(situationOneValue, situationTwoValue, Format, Format);
}
public string Situation1()
{
return situationOneDisplayFunc(situationOneValue);
}
public string Situation2()
{
return situationTwoDisplayFunc(situationTwoValue);
}
private string Format(int value)
{
return string.Format("Formatted Value {0}");
}
}
----
The way that it's used is that we get a value coming in from another system as a string which represents which situation we have to deal with.
As a result in the code which processes this data we have a dictionary which maps from these strings to the corresponding static method defined above:
[source,csharp]
----
private static Dictionary<string, Func<int, int, Foo>> Foos =
new Dictionary<string, Func<int, int, Foo>>
{ { "Situation 1", Foo.ForSituation1 },
{ "Situation 2", Foo.ForSituation2 }.
{ "Situation 1 and 2", Foo.ForSituation1And2 };
----
This is a neat little idea which I learnt from some Scala code that my colleague http://elhumidor.blogspot.com/[John Hume] posted on an internal mailing list a few weeks ago where he'd done something similar.
In our code which parses the incoming data we have something like the following:
[source,csharp]
----
var foo = Foos[incomingMessage.Situation](incomingMessage.Situation1Value, incomingMessage.Situation2Value);
// and so on
----
If we wanted to solve this without using functions then for the first part I think we would probably need to use inheritance to create three different Foos, probably with a common interface, and then define the different behaviour on those classes.
The second part of the solution might end up being solved with some if statements or something similar.
I was a bit unsure of how easy it was to understand this code when we first came up with it but it's growing on me. | null | null | [
0.0061718313954770565,
-0.010627088136970997,
-0.030400149524211884,
0.051517289131879807,
0.08443447947502136,
0.02040308527648449,
0.024599799886345863,
0.00201192544773221,
-0.015411808155477047,
-0.006264941301196814,
0.02182779088616371,
0.0271749384701252,
-0.0789840817451477,
0.023436788469552994,
-0.014687529765069485,
0.06916762888431549,
0.06383226811885834,
-0.036242082715034485,
0.04690755903720856,
-0.010940782725811005,
-0.02090875431895256,
0.06917014718055725,
-0.021198010072112083,
0.031777072697877884,
0.030596919357776642,
0.01842627115547657,
0.002359548583626747,
0.0020867884159088135,
-0.04446195811033249,
-0.014779469929635525,
0.04573618248105049,
0.02186170034110546,
-0.012837058864533901,
-0.007395164575427771,
-0.005936016328632832,
-0.028545772656798363,
-0.00018450409697834402,
-0.005301329772919416,
0.0012115923454985023,
0.027360986918210983,
-0.06242351233959198,
0.03156522288918495,
-0.013553624041378498,
-0.007348015438765287,
-0.06903619319200516,
-0.011910230852663517,
-0.026683500036597252,
-0.015732871368527412,
-0.04387091100215912,
-0.006585330236703157,
-0.07854397594928741,
0.03882839158177376,
-0.0523754246532917,
-0.0004922967054881155,
-0.005141235422343016,
0.054312266409397125,
0.01823739893734455,
-0.06900432705879211,
0.01058175042271614,
-0.06195873022079468,
0.014755177311599255,
-0.008765814825892448,
0.011319378390908241,
0.0073991394601762295,
0.0029701513703912497,
-0.007648908998817205,
-0.007355809677392244,
0.03822137415409088,
-0.039365004748106,
-0.031887222081422806,
-0.027379289269447327,
0.004066500347107649,
-0.004140608478337526,
-0.02150072529911995,
-0.012613091617822647,
-0.03322868421673775,
-0.013041474856436253,
0.04739212244749069,
-0.013684363104403019,
0.027500299736857414,
-0.0074137067422270775,
0.021308377385139465,
0.02191130816936493,
-0.0031394357793033123,
0.037330131977796555,
-0.03615947812795639,
-0.02974373660981655,
-0.0007258501718752086,
-0.019764479249715805,
0.05624554306268692,
-0.008449646644294262,
-0.03346956893801689,
-0.014520814642310143,
0.029240591451525688,
0.002835606224834919,
0.012630097568035126,
0.006562063004821539,
-0.03454090282320976,
0.009313990361988544,
0.01150607131421566,
-0.023202115669846535,
-0.010885192081332207,
0.038073454052209854,
-0.011529588140547276,
-0.06608827412128448,
-0.01868347078561783,
-0.024419380351901054,
-0.041715845465660095,
0.014572598971426487,
0.03202800452709198,
-0.05007654055953026,
0.012518070638179779,
-0.02017677016556263,
0.0013663683785125613,
-0.06715929508209229,
0.04174435883760452,
-0.005621736869215965,
-0.015265453606843948,
0.004986087791621685,
0.033390145748853683,
0.039407603442668915,
-0.0072890580631792545,
-0.03078712336719036,
0.09268500655889511,
0.02534659206867218,
0.027683600783348083,
-0.03103158436715603,
0.07465317845344543,
-0.006983810104429722,
-0.07647779583930969,
-0.028350666165351868,
0.0293293260037899,
-0.017647134140133858,
-0.005003300495445728,
-0.0019724357407540083,
-0.037526849657297134,
-0.012906614691019058,
0.0009622973157092929,
0.028352946043014526,
0.03627287223935127,
-0.0029228583443909883,
-0.04679127782583237,
0.01855839043855667,
-0.036126382648944855,
0.005275927949696779,
0.0005094044608995318,
0.0007706336909905076,
-0.012189824134111404,
0.026169532909989357,
0.037987250834703445,
-0.0042180088348686695,
0.06258846819400787,
0.04172930866479874,
-0.03134613856673241,
0.002977888798341155,
0.08840395510196686,
0.010271561332046986,
0.021301308646798134,
-0.006852206774055958,
0.04226510599255562,
0.03829318284988403,
0.013397105038166046,
-0.005963092669844627,
0.033321306109428406,
0.022104594856500626,
0.005945841781795025,
-0.0023660415317863226,
0.07636362314224243,
-0.014071758836507797,
0.001343243638984859,
-0.07660584896802902,
-0.04823697730898857,
0.05491902679204941,
-0.050788287073373795,
-0.019919533282518387,
0.03145303949713707,
0.08079400658607483,
0.0016521743964403868,
0.07692612707614899,
-0.03234594687819481,
-0.0580487959086895,
-0.013959820382297039,
0.01243562437593937,
0.0035685792099684477,
0.004413730464875698,
0.02029089815914631,
0.04433662071824074,
0.018174394965171814,
0.0028283826541155577,
0.02594444528222084,
-0.051345344632864,
-0.08324914425611496,
-0.0409061498939991,
-0.013130931183695793,
0.08175908029079437,
-0.017230425029993057,
-0.012986216694116592,
0.07182993739843369,
0.00785071775317192,
0.03931264951825142,
0.03527582436800003,
-0.004936980549246073,
0.022180471569299698,
-0.003106276970356703,
-0.018867582082748413,
0.03896528109908104,
0.05079803988337517,
0.009372674860060215,
-0.029566984623670578,
0.013974875211715698,
-0.015083156526088715,
0.002620953368023038,
0.050192926079034805,
-0.01532547827810049,
0.03450727462768555,
0.005146200768649578,
0.03715768828988075,
-0.03511644899845123,
0.068448506295681,
-0.09325914829969406,
0.01791059784591198,
-0.0018057681154459715,
-0.0035735908895730972,
-0.005135189276188612,
0.003263407852500677,
0.12397540360689163,
0.05676668882369995,
-0.02996581420302391,
-0.04159294813871384,
0.014158716425299644,
-0.0025355718098580837,
-0.026660241186618805,
0.013266980648040771,
-0.01916474476456642,
0.0026379700284451246,
0.018008187413215637,
-0.026656854897737503,
0.0031418276485055685,
0.008527169935405254,
-0.03580164164304733,
0.02712584100663662,
0.08070999383926392,
-0.03197965770959854,
0.052892472594976425,
-0.009509630501270294,
-0.0011205381015315652,
-0.004947557579725981,
-0.020244380459189415,
-0.021668633446097374,
-0.019205531105399132,
0.0193745456635952,
-0.011241452768445015,
0.08076898753643036,
-0.016186244785785675,
-0.01881599612534046,
-0.02114112116396427,
-0.026105888187885284,
0.003798716701567173,
0.022758780047297478,
0.05353271961212158,
0.009583963081240654,
0.042860038578510284,
-0.009794400073587894,
-0.007549057714641094,
-0.02985084056854248,
-0.04849467799067497,
0.012578307650983334,
0.02386053092777729,
0.017215803265571594,
0.04903468117117882,
0.015485246665775776,
0.010543717071413994,
0.0395013764500618,
0.02352357655763626,
-0.030534695833921432,
-0.01577453501522541,
0.04833285138010979,
-0.007843617349863052,
-0.049581315368413925,
-0.03214891627430916,
-0.0344073548913002,
0.035306595265865326,
-0.027988504618406296,
-0.06485219299793243,
0.01084081083536148,
-0.07699991762638092,
0.05423592031002045,
-0.09198550134897232,
-0.0578518845140934,
0.0181552954018116,
0.040380027145147324,
0.04480304196476936,
-0.017829319462180138,
0.023194322362542152,
0.08956750482320786,
-0.0026239389553666115,
-0.005068776197731495,
-0.0008328349213115871,
0.007769511081278324,
0.012671700678765774,
-0.022818585857748985,
0.01718098856508732,
0.02399791032075882,
0.013661541044712067,
-0.009472189471125603,
-0.04148887097835541,
0.02735418640077114,
0.007400055881589651,
-0.2803323268890381,
0.021575123071670532,
-0.008954914286732674,
-0.035867251455783844,
0.013009430840611458,
-0.01923607848584652,
0.02934376522898674,
-0.057808808982372284,
-0.021767018362879753,
0.05639512091875076,
-0.03522682934999466,
-0.0628136470913887,
-0.05310666933655739,
0.06846833974123001,
-0.0013624523999169469,
0.01766120456159115,
0.003945013973861933,
-0.04840931296348572,
-0.015564505010843277,
0.054926659911870956,
-0.003987584263086319,
-0.07680783420801163,
-0.011538924649357796,
0.04179877042770386,
0.03718465566635132,
0.04350493848323822,
-0.08207657188177109,
0.030625756829977036,
-0.039069585502147675,
-0.0014445316046476364,
-0.004544634371995926,
0.012409382499754429,
0.010625737719237804,
-0.03228100761771202,
-0.012749277986586094,
-0.02135380730032921,
-0.0008121160208247602,
0.027792032808065414,
-0.008223212324082851,
0.03165750205516815,
-0.035621047019958496,
-0.053622011095285416,
-0.014607159420847893,
0.020221993327140808,
0.06767265498638153,
-0.002508752280846238,
-0.05981525778770447,
0.002775671426206827,
-0.0491822212934494,
0.07705552875995636,
-0.0380140021443367,
-0.02037065476179123,
0.0008391087758354843,
0.030167972669005394,
-0.03473283722996712,
-0.032577306032180786,
0.021918516606092453,
-0.008942683227360249,
-0.026005135849118233,
-0.04778297618031502,
0.011096419766545296,
-0.055268220603466034,
-0.01631486974656582,
-0.019414609298110008,
0.006869740784168243,
-0.0566745288670063,
-0.0589483268558979,
0.009071571752429008,
0.05998985469341278,
0.026617133989930153,
-0.021287960931658745,
0.003302874742075801,
0.027976462617516518,
-0.11797652393579483,
-0.013483284041285515,
-0.04141858220100403,
-0.0040270425379276276,
-0.036525316536426544,
-0.0011529081966727972,
0.03668791800737381,
-0.006070311646908522,
-0.04076322913169861,
0.017866071313619614,
0.0403754897415638,
0.027318933978676796,
-0.01727895811200142,
0.02229173481464386,
-0.006005510222166777,
-0.030814584344625473,
0.00826755166053772,
0.08483723551034927,
0.006513834465295076,
0.010804650373756886,
-0.04944102466106415,
0.025642506778240204,
0.028729267418384552,
0.021076317876577377,
-0.014923116192221642,
-0.003236487740650773,
-0.0039297351613640785,
0.03530830889940262,
-0.032367538660764694,
0.026784414425492287,
-0.047159284353256226,
-0.007953938096761703,
-0.02073553018271923,
-0.05732230097055435,
0.02733864262700081,
0.02295672707259655,
0.008555609732866287,
-0.008043344132602215,
-0.015444437973201275,
-0.006749865133315325,
-0.048712875694036484,
-0.05167892947793007,
-0.023590728640556335,
0.006822084076702595,
0.032791249454021454,
-0.010698502883315086,
-0.0050233337096869946,
-0.04552818834781647,
0.010833973996341228,
0.014926692470908165,
-0.01383933424949646,
-0.07082023471593857,
-0.06487523764371872,
-0.041002511978149414,
-0.020406309515237808,
-0.005630350671708584,
0.025345025584101677,
-0.003043797565624118,
0.029438016936182976,
0.0018307254649698734,
-0.03422877937555313,
-0.004656762816011906,
0.007283929735422134,
0.008697554469108582,
-0.02033292129635811,
-0.03659437224268913,
-0.015131855383515358,
0.03636405989527702,
-0.003269016742706299,
0.035458773374557495,
0.0009336975053884089,
0.04938364401459694,
-0.02311781421303749,
0.027878331020474434,
-0.0009497362771071494,
0.001350416918285191,
0.014029782265424728,
0.006194213405251503,
-0.070539690554142,
0.029092438519001007,
-0.058527879416942596,
-0.03797001391649246,
-0.01943955570459366,
0.022982792928814888,
-0.02434561960399151,
-0.03060988336801529,
-0.014436807483434677,
0.03416531905531883,
-0.02168123982846737,
-0.03312953561544418,
-0.06639877706766129,
0.012527239508926868,
0.058976054191589355,
-0.03467480465769768,
0.033816348761320114,
-0.024902399629354477,
-0.012609893456101418,
0.012071048840880394,
0.00611304072663188,
-0.030724400654435158,
0.03621894493699074,
0.0011063383426517248,
0.006422172766178846,
0.006009474862366915,
-0.005554196424782276,
0.053713347762823105,
0.025681022554636,
0.019121777266263962,
-0.03605804592370987,
-0.00471053272485733,
-0.007377231027930975,
0.06914596259593964,
0.02630799449980259,
0.013165143318474293,
-0.024079762399196625,
-0.01310727745294571,
-0.021487612277269363,
-0.04167867451906204,
-0.027614152058959007,
-0.0098947174847126,
0.05227562412619591,
-0.05131812021136284,
-0.07453330606222153,
0.02169434353709221,
0.032974328845739365,
0.01544959656894207,
-0.01039612665772438,
0.021568680182099342,
0.027275756001472473,
-0.019847767427563667,
0.017163801938295364,
0.04357732832431793,
-0.04238263890147209,
0.04095258563756943,
-0.010987792164087296,
0.034947264939546585,
0.03489350527524948,
0.005578274838626385,
-0.02702542580664158,
-0.030085470527410507,
-0.03467261791229248,
-0.01917131431400776,
-0.03238407149910927,
-0.03303724154829979,
-0.028659775853157043,
0.010650751180946827,
-0.0177304744720459,
-0.016702372580766678,
-0.015097936615347862,
0.00628722133114934,
-0.0439494289457798,
-0.029467763379216194,
0.009622405283153057,
-0.03338765352964401,
0.01669788546860218,
0.026786545291543007,
-0.048204585909843445,
0.03137454390525818,
-0.015186436474323273,
0.02698308601975441,
0.015798410400748253,
-0.011611072346568108,
-0.03130831941962242,
-0.05014306679368019,
0.024710047990083694,
-0.017213189974427223,
0.05168033763766289,
-0.003963504917919636,
-0.018590249121189117,
-0.023638371378183365,
-0.024866342544555664,
-0.03545188903808594,
0.03198929503560066,
-0.012291857972741127,
-0.039423514157533646,
0.014273839071393013,
0.0532802976667881,
-0.006548349279910326,
0.0480477437376976,
-0.0013139959191903472,
0.011137091554701328,
0.07811908423900604,
-0.046535611152648926,
-0.0273844413459301,
-0.01574525237083435,
-0.06154543533921242,
0.0008216301794163883,
0.00678678834810853,
0.021514074876904488,
-0.028676806017756462,
0.031869228929281235,
0.046513043344020844,
0.02851267345249653,
0.03888699784874916,
0.0019523727241903543,
0.04388262704014778,
-0.03737810626626015,
0.023843009024858475,
-0.06659781187772751,
0.02904703840613365,
0.04308062791824341,
0.034501031041145325,
-0.04560258984565735,
-0.04318898171186447,
-0.026666849851608276,
0.05670185387134552,
-0.06002814322710037,
0.0015095447888597846,
0.02693777158856392,
0.027263475582003593,
0.0011669069062918425,
0.010906877927482128,
-0.04679224640130997,
0.023706894367933273,
0.019312314689159393,
-0.026636572554707527,
-0.02949337102472782,
-0.024608474224805832,
0.05056769773364067,
0.029208866879343987,
0.006173793226480484,
-0.034972500056028366,
0.010950367897748947,
0.05961795896291733,
0.03482139855623245,
0.015106553211808205,
0.05495430901646614,
-0.014973213896155357,
0.04434506222605705,
0.011714818887412548,
-0.03327174112200737,
-0.006836211308836937,
0.010107282549142838,
-0.0012487558415159583,
-0.07755932211875916,
-0.022690175101161003,
0.007537174038589001,
-0.018513837829232216,
-0.05499577149748802,
0.06840739399194717,
0.005849446170032024,
0.0006620741914957762,
-0.04331842064857483,
0.007621323224157095,
-0.048578329384326935,
-0.0015712062595412135,
-0.010121764615178108,
-0.019950132817029953,
-0.006220872513949871,
0.0719887912273407,
-0.0075631337240338326,
-0.009759373962879181,
0.06690257042646408,
-0.0005636202404275537,
-0.015795903280377388,
-0.007151099853217602,
0.07150543481111526,
0.057935651391744614,
0.052750591188669205,
-0.013944740407168865,
0.04725278168916702,
-0.03191575035452843,
-0.04660721495747566,
0.02019866742193699,
-0.019823407754302025,
-0.02396545745432377,
0.006555524654686451,
0.047200676053762436,
0.0891854390501976,
0.0046522836200892925,
0.05429118871688843,
-0.042019497603178024,
0.007147698663175106,
0.011413306929171085,
0.014429125934839249,
0.023258285596966743,
0.05958489328622818,
0.02125328965485096,
0.009958836250007153,
0.008645291440188885,
-0.016355326399207115,
0.016475897282361984,
-0.022188862785696983,
-0.021908611059188843,
-0.012769085355103016,
0.006407974753528833,
0.02413507178425789,
0.009042354300618172,
0.035940948873758316,
0.08043570816516876,
-0.023551324382424355,
-0.013755690306425095,
-0.0009801145642995834,
0.04136382043361664,
0.021809017285704613,
-0.016501612961292267,
-0.009430804289877415,
-0.027480075135827065,
-0.0034478974994271994,
0.004577804356813431,
-0.03866260126233101,
-0.026436060667037964,
-0.032318323850631714,
0.03167415037751198,
-0.029646631330251694,
0.01956363581120968,
0.012491258792579174,
0.005167696624994278,
-0.032450560480356216,
-0.06752675026655197,
-0.07929299026727676,
-0.030856741592288017,
-0.06343795359134674,
-0.04319285601377487,
0.0131978839635849,
-0.023503944277763367,
-0.03220082074403763,
-0.012510191649198532,
-0.024486426264047623,
-0.013734455220401287,
0.061422839760780334,
-0.01109392661601305,
-0.010401717387139797,
0.037584319710731506,
0.021362178027629852,
0.04334207624197006,
0.023994574323296547,
0.0369500033557415,
-0.020486295223236084,
0.003575945971533656,
-0.028724193572998047,
-0.031644195318222046,
0.04202033951878548,
0.010387151502072811,
-0.009404315613210201,
-0.07491058111190796,
0.009173477068543434,
0.028726909309625626,
0.005006795283406973,
-0.08085694164037704,
0.017638813704252243,
0.005430859979242086,
-0.0017432677559554577,
0.04814302921295166,
-0.03384646773338318,
-0.03095467947423458,
-0.008480179123580456,
-0.018369155004620552,
0.01497017964720726,
0.04010191559791565,
0.05823912099003792,
-0.047940388321876526,
0.07675350457429886,
0.025924738496541977,
-0.02732091024518013,
-0.021794883534312248,
0.025560468435287476,
-0.01709546521306038,
0.0042654904536902905,
-0.04655684158205986,
-0.027518991380929947,
-0.01830916292965412,
-0.05270784720778465,
-0.003496132791042328,
0.023085059598088264,
-0.027566540986299515,
-0.021153835579752922,
0.016915583983063698,
0.06368757039308548,
-0.04472120851278305,
0.04454927146434784,
-0.02978210337460041,
0.0434318408370018,
-0.012297331355512142,
-0.025066625326871872,
0.01468177791684866,
0.027077723294496536,
0.0019442711491137743,
0.018080925568938255,
0.028610097244381905,
-0.014668388292193413,
-0.012004255317151546,
-0.003848516847938299,
0.027095554396510124,
0.02139565534889698,
-0.01708134263753891,
0.011433609761297703
] | [
-0.11040834337472916,
-0.016502054408192635,
-0.027644958347082138,
-0.06860262900590897,
0.01971677504479885,
-0.026215000078082085,
0.02014472708106041,
0.03788144141435623,
0.03429701551795006,
-0.027033695951104164,
-0.014585801400244236,
-0.025150666013360023,
0.003194639924913645,
-0.008297470398247242,
0.08864487707614899,
-0.0047052339650690556,
-0.03498026728630066,
-0.02086467854678631,
-0.014753800816833973,
0.0026903729885816574,
0.06668983399868011,
-0.030673209577798843,
-0.050173427909612656,
-0.032972726970911026,
0.013835014775395393,
0.05059627443552017,
0.02044934406876564,
-0.04004435986280441,
0.025561070069670677,
-0.20229773223400116,
0.004158524796366692,
0.0101558156311512,
0.017658503726124763,
-0.023991938680410385,
-0.005328806582838297,
0.024511216208338737,
0.00046228160499595106,
0.034830112010240555,
-0.019504426047205925,
0.0714484453201294,
0.013596556149423122,
0.0390390045940876,
-0.038147713989019394,
-0.046101320534944534,
0.023079095408320427,
-0.02619818039238453,
-0.008195854723453522,
-0.03353426977992058,
0.0010458030737936497,
0.002303245011717081,
-0.0798742026090622,
-0.007467431947588921,
-0.022047992795705795,
-0.017848646268248558,
-0.009116863831877708,
0.017233364284038544,
0.07694301009178162,
0.09142337739467621,
0.02221393585205078,
0.037325169891119,
0.0201701857149601,
-0.03250070661306381,
-0.10721524804830551,
0.07825160026550293,
0.04153134301304817,
0.03623427078127861,
-0.011352765373885632,
-0.03480815887451172,
0.013337458483874798,
0.11251626908779144,
0.024751126766204834,
-0.011517463251948357,
-0.01776730827987194,
0.07134272158145905,
0.014155952259898186,
-0.03230319544672966,
-0.01577931083738804,
0.011373230256140232,
0.04580862075090408,
-0.024831261485815048,
-0.05714162811636925,
-0.04494525119662285,
-0.006687506567686796,
0.005120440851897001,
-0.016581762582063675,
0.02720053866505623,
-0.013261380605399609,
0.04190891236066818,
0.06144912540912628,
0.010938957333564758,
0.04493808373808861,
-0.024961749091744423,
0.03244573622941971,
0.008143099956214428,
-0.07592380046844482,
0.025378817692399025,
0.0013251763302832842,
-0.003228824120014906,
-0.022289393469691277,
0.4188856780529022,
-0.029721222817897797,
-0.05757651850581169,
0.03547143563628197,
0.027293596416711807,
-0.007111309561878443,
0.009358946233987808,
0.009056711569428444,
-0.05037227272987366,
0.009173611178994179,
-0.05713895335793495,
-0.010395966470241547,
-0.016189346089959145,
0.06028127297759056,
-0.033535413444042206,
0.0038910259027034044,
0.029279187321662903,
0.022581443190574646,
-0.013447870500385761,
-0.011315466836094856,
0.009260064922273159,
-0.0007244284497573972,
0.0015344320563599467,
-0.002520845038816333,
0.02383269928395748,
0.003130256198346615,
-0.03755485638976097,
-0.0017845743568614125,
0.06518561393022537,
0.001700064749456942,
0.027700433507561684,
0.0479891262948513,
-0.041219182312488556,
-0.06599770486354828,
-0.03322507068514824,
0.006488311570137739,
0.0141506502404809,
0.024897705763578415,
-0.033571936190128326,
0.013878920115530491,
0.01578420400619507,
-0.0051066214218735695,
-0.006160675548017025,
0.016768015921115875,
-0.012316743843257427,
-0.05375780537724495,
0.1279750019311905,
-0.015171034261584282,
-0.018713952973484993,
0.0031267283484339714,
-0.03283890336751938,
-0.002710884204134345,
0.03967355936765671,
-0.0021248708944767714,
-0.08718518167734146,
0.013624507002532482,
0.023938341066241264,
0.06649762392044067,
-0.022995999082922935,
-0.026899999007582664,
-0.029150698333978653,
-0.04656141996383667,
0.0031446837820112705,
-0.04539693519473076,
0.046316031366586685,
0.03534935787320137,
-0.0591978058218956,
-0.009132829494774342,
0.005335352383553982,
0.018480496481060982,
-0.07010648399591446,
-0.013388747349381447,
0.017082924023270607,
-0.01843348704278469,
-0.012436501681804657,
0.05100880563259125,
-0.013717125169932842,
-0.03427287936210632,
-0.00328979454934597,
0.0433700866997242,
0.029927566647529602,
0.017275238409638405,
0.021911295130848885,
-0.0580868273973465,
0.004898706451058388,
-0.012411604635417461,
-0.06656988710165024,
-0.048975832760334015,
0.0007530874572694302,
-0.037389788776636124,
-0.018383165821433067,
-0.04783153533935547,
-0.010683565400540829,
-0.08839749544858932,
0.07236599922180176,
-0.04142438620328903,
-0.02590767852962017,
0.04690096527338028,
0.00763250095769763,
-0.002124413847923279,
-0.01563863456249237,
0.0248859915882349,
0.06087779253721237,
-0.002560082823038101,
0.024341264739632607,
-0.05063483119010925,
0.014316515997052193,
0.05228458344936371,
-0.04313519224524498,
0.04278769716620445,
0.05808718502521515,
-0.051321856677532196,
-0.02429027669131756,
-0.01026592031121254,
0.01625915803015232,
0.005528113804757595,
-0.032878752797842026,
-0.002418705727905035,
0.05056704953312874,
0.006617750506848097,
-0.008741810917854309,
-0.042658403515815735,
-0.025357287377119064,
0.007875455543398857,
-0.34966984391212463,
-0.04862314462661743,
-0.0039740921929478645,
-0.04978339374065399,
0.006964263040572405,
-0.05504900962114334,
0.0165854599326849,
-0.01718703843653202,
-0.0404692180454731,
-0.001453433302231133,
0.054311785846948624,
-0.028838353231549263,
-0.019817650318145752,
-0.08325301855802536,
-0.026813052594661713,
-0.006060187704861164,
-0.03311861306428909,
-0.04928779974579811,
-0.017234904691576958,
0.01598919741809368,
0.026644442230463028,
0.006860441528260708,
-0.00031005250639282167,
-0.07094022631645203,
0.008113430812954903,
-0.05573497712612152,
0.11290788650512695,
-0.0376393087208271,
0.13793973624706268,
-0.025737127289175987,
0.04126816242933273,
-0.021422578021883965,
0.013303249143064022,
-0.09119707345962524,
0.02147524431347847,
-0.029098214581608772,
-0.03168587386608124,
0.006100563798099756,
0.041897889226675034,
-0.00509127601981163,
-0.021422332152724266,
0.016165530309081078,
-0.06923198699951172,
-0.036841269582509995,
-0.022108683362603188,
-0.004798359237611294,
-0.021807026118040085,
-0.06269052624702454,
0.002817852422595024,
0.08662450313568115,
-0.008244429714977741,
-0.028458526358008385,
0.00045602029422298074,
0.032667167484760284,
0.005471603944897652,
-0.026253579184412956,
-0.056562915444374084,
0.009877374395728111,
0.01934058777987957,
-0.00624065613374114,
0.037629175931215286,
0.06128855049610138,
0.009140947833657265,
-0.024115923792123795,
0.013057302683591843,
0.016466161236166954,
0.013779589906334877,
-0.014834217727184296,
0.04257101193070412,
-0.05092005804181099,
-0.034841135144233704,
0.06832748651504517,
0.012291272170841694,
-0.04235384613275528,
0.026848595589399338,
0.04017861559987068,
-0.003536543808877468,
0.01656762696802616,
0.014638167805969715,
0.005441106390208006,
0.02231881581246853,
0.009507181122899055,
0.025780070573091507,
-0.04139159992337227,
-0.004410175606608391,
-0.007099112030118704,
0.0023567755706608295,
-0.0002683255879674107,
0.047083787620067596,
-0.015840301290154457,
-0.042122047394514084,
-0.009878180921077728,
0.003267955267801881,
-0.06174851953983307,
0.07041376084089279,
-0.0200660340487957,
-0.2771698534488678,
0.0063265785574913025,
0.057718656957149506,
0.04835139960050583,
0.004302353132516146,
0.04849519953131676,
0.03686206787824631,
-0.05757125839591026,
-0.03409206494688988,
0.008782502263784409,
0.018176130950450897,
0.007828610017895699,
0.020011840388178825,
0.012177870608866215,
0.03590937703847885,
-0.020718175917863846,
0.05969836562871933,
-0.014384808950126171,
0.036117520183324814,
0.013065737672150135,
0.03957933932542801,
0.007185544818639755,
0.17030762135982513,
-0.015070728026330471,
0.07579508423805237,
0.026111910119652748,
0.02124173194169998,
0.026522692292928696,
0.10250456631183624,
0.02290285937488079,
0.021225297823548317,
-0.005432165693491697,
0.10237140953540802,
0.002810521051287651,
0.01487712375819683,
-0.044902220368385315,
0.0010584702249616385,
0.0347263477742672,
0.027785439044237137,
0.01476653479039669,
-0.0002530320198275149,
-0.005468347109854221,
-0.0460636280477047,
0.020041046664118767,
0.06942662596702576,
0.056344058364629745,
-0.008854764513671398,
-0.04095722734928131,
-0.022822819650173187,
-0.0071379817090928555,
-0.029531268402934074,
0.0016397202853113413,
0.027811331674456596,
-0.020647453144192696,
0.0016788478242233396,
0.05809948593378067,
0.016226178035140038,
-0.026250330731272697,
-0.0490824356675148,
0.0047225384041666985,
0.015276206657290459,
-0.0021887405309826136,
0.09413164108991623,
0.02968059666454792,
0.009271960705518723
] | [
0.009679755195975304,
0.016174541786313057,
-0.019446635618805885,
-0.008200187236070633,
-0.014028872363269329,
0.01848316192626953,
-0.003802793798968196,
0.025197230279445648,
0.0324748270213604,
-0.0004517243360169232,
-0.023529797792434692,
-0.026464562863111496,
-0.006797249428927898,
-0.01720423437654972,
0.058145567774772644,
-0.01737467385828495,
0.005730660632252693,
-0.017852000892162323,
0.008646072819828987,
0.013278858736157417,
0.0061285910196602345,
0.04474862664937973,
0.016918620094656944,
-0.017320742830634117,
-0.019892744719982147,
0.019280191510915756,
-0.006158690899610519,
-0.0010114419274032116,
0.017907630652189255,
-0.10417229682207108,
-0.015267040580511093,
-0.024581870064139366,
-0.040542539209127426,
0.0031100648920983076,
-0.020610695704817772,
0.011932224035263062,
0.007303671445697546,
0.042930539697408676,
-0.0036126188933849335,
-0.02165614254772663,
-0.03794974833726883,
-0.02098027803003788,
0.002515177009627223,
-0.01674402505159378,
0.01686864160001278,
-0.007406238000839949,
-0.030019249767065048,
0.0042497627437114716,
-0.013750012032687664,
0.008244296535849571,
-0.006530602928251028,
0.004337747115641832,
-0.004600765183568001,
0.008502693846821785,
0.06486517935991287,
-0.0009747497388161719,
-0.021293072029948235,
0.009241214022040367,
-0.0028496389277279377,
-0.015727560967206955,
-0.004606110509485006,
0.0015225849347189069,
-0.007535765413194895,
-0.011747061274945736,
0.010651291348040104,
-0.019084900617599487,
0.004273511935025454,
-0.02034170925617218,
-0.01708650216460228,
-0.01900262013077736,
-0.010311820544302464,
0.027571748942136765,
-0.0014972888166084886,
0.015653816983103752,
-0.008163416758179665,
0.010542858392000198,
0.001856581773608923,
-0.023538459092378616,
0.026215840131044388,
-0.026046356186270714,
-0.004236442502588034,
0.003711791941896081,
0.008052300661802292,
0.03614162653684616,
-0.006002738606184721,
-0.016101036220788956,
0.007707056123763323,
0.017433349043130875,
0.007891183719038963,
0.036225203424692154,
-0.01653233729302883,
0.025423170998692513,
0.03966816887259483,
0.0031227124854922295,
-0.07628261297941208,
-0.00028158450732007623,
-0.06067050248384476,
-0.02104356326162815,
-0.016671856865286827,
0.8664870262145996,
-0.02929314784705639,
0.04122705012559891,
0.040429193526506424,
0.009132075123488903,
0.023351624608039856,
-0.02371930330991745,
-0.0003919173905160278,
0.010009382851421833,
0.013011503033339977,
-0.031977392733097076,
0.023047713562846184,
0.0032461367081850767,
0.020368849858641624,
0.008569344878196716,
0.00891425646841526,
0.023335346952080727,
0.04490194842219353,
0.00981367938220501,
-0.008943394757807255,
0.0013471244601532817,
0.017792677506804466,
-0.023902347311377525,
0.0012304005213081837,
-0.008761650882661343,
0.025612032040953636,
-0.191732257604599,
0.02065432071685791,
-8.17204995122799e-33,
0.04261036962270737,
-0.02120182476937771,
-0.0004253159277141094,
0.016243306919932365,
0.0353250652551651,
0.0027187522500753403,
0.010570845566689968,
0.00419585732743144,
0.022265730425715446,
-0.02941063791513443,
0.022442089393734932,
-0.012203485704958439,
0.025153381749987602,
-0.010373013094067574,
0.036770716309547424,
-0.03600594401359558,
0.010423707775771618,
0.013847500085830688,
0.0051246630027890205,
0.014350387267768383,
0.005578824784606695,
0.0421207956969738,
0.045963484793901443,
-0.01869187504053116,
0.0007408508681692183,
0.02472555823624134,
0.00791772548109293,
0.01189438160508871,
0.030228430405259132,
-0.04994220286607742,
0.021784255281090736,
-0.018623508512973785,
-0.025395570322871208,
-0.03297880291938782,
0.05264175310730934,
-0.031714923679828644,
-0.011813651770353317,
0.0010097952326759696,
-0.01761479489505291,
-0.046896450221538544,
-0.05106731131672859,
0.008665377274155617,
-0.026555819436907768,
0.026090776547789574,
-0.012549555860459805,
-0.03290177509188652,
-0.01333623193204403,
0.013837237842381,
0.005427383817732334,
-0.00013202044647186995,
0.018752219155430794,
0.047742974013090134,
0.0052199894562363625,
-0.007563161663711071,
-0.012486891821026802,
-0.004835666622966528,
0.0013313948875293136,
-0.000888195529114455,
-0.026221923530101776,
0.03176292032003403,
0.01148728933185339,
-0.008197388611733913,
-0.0042211683467030525,
0.03760351240634918,
-0.026659108698368073,
0.0004714533861260861,
-0.00921833235770464,
-0.04278545826673508,
-0.000513347506057471,
-0.008276798762381077,
-0.03302536532282829,
0.0018873944645747542,
-0.010244091972708702,
-0.011007286608219147,
0.0015674756141379476,
-0.001461066072806716,
-0.007967901416122913,
-0.031704358756542206,
-0.013623024336993694,
-0.01926961913704872,
-0.01414814218878746,
-0.0239041056483984,
0.01690400391817093,
0.012857877649366856,
0.008816676214337349,
-0.031777720898389816,
-0.007627827115356922,
-0.01761244609951973,
-0.0006128812674432993,
-0.00386417331174016,
0.007313997019082308,
0.04828769713640213,
-0.0022371388040483,
-0.026284778490662575,
0.04115189239382744,
7.711983502835224e-33,
-0.03374352306127548,
-0.005334235727787018,
-0.022908765822649002,
-0.0015214752638712525,
-0.014598694629967213,
-0.0016797779826447368,
0.029187681153416634,
0.02669861912727356,
-0.05375075340270996,
0.00476040318608284,
-0.021991267800331116,
0.029846321791410446,
-0.038070835173130035,
0.026175862178206444,
0.0625501349568367,
-0.0045942096039652824,
0.023596957325935364,
-0.028618434444069862,
0.023364627733826637,
0.0054228175431489944,
0.015239865519106388,
0.00864332914352417,
0.024250449612736702,
0.006503017619252205,
0.014487680047750473,
0.05334862694144249,
-0.014978233724832535,
-0.007064518053084612,
0.0015693664317950606,
-0.009478642605245113,
0.008494188077747822,
-0.0008994537056423724,
0.0033273850567638874,
-0.0694119781255722,
-0.005238677375018597,
-0.0047530182637274265,
-0.011003612540662289,
-0.027545791119337082,
0.014713911339640617,
0.021079732105135918,
0.017895009368658066,
-0.04359009861946106,
-0.004665789194405079,
0.0006763776764273643,
-0.00100331986322999,
-0.001333440188318491,
-0.017977003008127213,
-0.01913107931613922,
-0.0030424571596086025,
-0.0032489646691828966,
0.021613692864775658,
-0.02005641907453537,
-0.0273472610861063,
0.037282317876815796,
0.005936899222433567,
-0.0036450191400945187,
-0.036301784217357635,
-0.01860438846051693,
-0.027548840269446373,
0.01354922354221344,
0.018834082409739494,
0.02321711741387844,
0.008076286874711514,
0.01466766744852066,
-0.001888485625386238,
0.011341618373990059,
-0.008815592154860497,
-0.027714738622307777,
-0.029329614713788033,
0.003953064326196909,
-0.015181819908320904,
-0.031488556414842606,
-0.0058549209497869015,
0.031118502840399742,
-0.003215399570763111,
-0.020863128826022148,
-0.006847792770713568,
0.009057228453457355,
0.012491689063608646,
0.026487641036510468,
0.04493281990289688,
0.002378889825195074,
0.028969183564186096,
-0.025585751980543137,
-0.01830889657139778,
-0.005757267586886883,
-0.004465095233172178,
-0.01652028225362301,
-0.0386735238134861,
-0.008394976146519184,
-0.04211363196372986,
0.012249170802533627,
0.00043392067891545594,
-0.015255499631166458,
-0.03804270550608635,
-1.3459363401580049e-8,
-0.039982542395591736,
0.0015853560762479901,
-0.005431924015283585,
0.017830191180109978,
0.006133680231869221,
-0.012362144887447357,
-0.06752357631921768,
-0.04394602030515671,
0.013573667965829372,
0.0028848163783550262,
0.006174672394990921,
0.001433442928828299,
0.01105683296918869,
-0.010637355037033558,
0.04084331542253494,
-0.046258434653282166,
-0.0068954043090343475,
-0.024148717522621155,
0.012124646455049515,
0.04600471630692482,
0.016831543296575546,
0.038051243871450424,
-0.012874219566583633,
-0.02325592003762722,
0.019171176478266716,
-0.006522911600768566,
0.014376062899827957,
-0.046617597341537476,
0.018901724368333817,
0.03630075976252556,
0.04221605136990547,
-0.015424022451043129,
0.002475237939506769,
-0.0036216718144714832,
-0.02971942536532879,
-0.023316845297813416,
-0.002633503871038556,
0.005088083446025848,
0.025212712585926056,
0.0039364127442240715,
0.028041789308190346,
-0.0002492279454600066,
0.0035790824331343174,
-0.007287010550498962,
0.019782844930887222,
-0.0345650240778923,
-0.0005256955628283322,
0.010720053687691689,
0.012730461545288563,
-0.01105076540261507,
-0.03421987220644951,
0.036015842109918594,
-0.01303301751613617,
0.02410329505801201,
0.010604064911603928,
0.007746545132249594,
0.011221569031476974,
-0.015082609839737415,
-0.02899220585823059,
0.026688778772950172,
0.02835956960916519,
-0.009066484868526459,
-0.03188830241560936,
-0.018976861611008644
] | c-a-functional-solutional-to-a-modeling-problem | https://markhneedham.com/blog/2010/01/15/c-a-functional-solutional-to-a-modeling-problem |
false | 2010-01-15 21:56:48 | TDD: Thoughts on using a clock in tests | [
"tdd",
"stubs"
] | [
"Testing"
] | A few months ago http://blog.objectmentor.com/articles/2009/10/28/manual-mocking-resisting-the-invasion-of-dots-and-parentheses[Uncle Bob wrote a post about TDD where he suggested that he preferred to use hand created stubs in his tests] wherever possible and only resorted to using a Mockito created stub as a last resort.
I http://www.markhneedham.com/blog/2010/01/15/tdd-hand-written-stubs-vs-framework-generated-stubs/[wrote previously about my thoughts of where to use each of the two approaches] and one example of where hand written stubs seems to make sense is the clock.
I wonder if this ties in with http://blog.thecodewhisperer.com/post/333781027/what-your-tests-dont-need-to-know-will-hurt-you[J.B. Rainsberger's theory of irrelevant details] in the tests which make use of it.
We would typically define an interface and stub version of the clock like so:
[source,csharp]
----
public interface IClock
{
DateTime Now();
}
----
[source,csharp]
----
public class ControlledClock : IClock
{
private readonly DateTime dateTime;
public ControlledClock(DateTime dateTime)
{
this.dateTime = dateTime;
}
public DateTime Now()
{
return dateTime;
}
}
----
I forgot about it to start with and was stubbing it out using Rhino Mocks but I realised that every single test needed something similar to the following code:
[source,csharp]
----
var theCurrentTime = new DateTime(2010, 1, 16);
var clock = MockRepository.GenerateStub<IClock>();
clock.Stub(c => c.Now()).Return(theCurrentTime);
----
We can extract out the creation of the first two lines into fields but the third line remains and typically that might end up being pushed into a setup method which is run before each test.
With a clock it's maybe not such a big deal but with other dependencies from my experience it can become very difficult to follow where exactly the various return values are being setup.
When we use a hand written stub we only have to write the following code and then the date is controlled everywhere that calls 'Now()':
[source,csharp]
----
private readonly IClock clock = new ControlledClock(new DateTime(2010,1,16));
----
Following on from that my colleague http://twitter.com/mikewagg[Mike Wagg] suggested the idea of creating extension methods on integers to allow us to fluently define values relative to the clock.
[source,csharp]
----
[Test]
public void ShouldShowFoosOlderThanToday()
{
var clock = new ControlledClock(new DateTime(2010,1,16));
var fooService = MockRepository.GenerateStub<IFooService>();
var fooFromYesterday = new Foo { Date = 1.DayBefore(clock) });
var aCollectionOfFoos = new List<Foo> { fooFromYesterday };
fooService.Stub(f => f.GetFoos()).Return(aCollectionOfFoos);
var oldFoos = new FooFinder(clock, fooService).GetFoosFromEarlierThanToday();
Assert.That(oldFoos.Count, Is.EqualTo(1));
// and so on
}
----
The extension method on integer would be like this:
[source,csharp]
----
public static class IntegerExtensions
{
public static DateTime DayBefore(this int value, IClock clock)
{
return clock.Now.Subtract(TimeSpan.FromDays(value));
}
}
----
It reads pretty well and seems more intention revealing than any other approaches I've tried out so I think I'll be continuing to use this approach. | null | null | [
0.011928356252610683,
-0.011742379516363144,
-0.026457613334059715,
0.05264321342110634,
0.07254011929035187,
-0.006025578361004591,
0.04161805659532547,
0.04610097035765648,
0.01666201651096344,
-0.011365870013833046,
0.05223091319203377,
0.00016438934835605323,
-0.06104348227381706,
0.02474796772003174,
-0.059035178273916245,
0.06341591477394104,
0.06636513769626617,
-0.06481940299272537,
0.03823504224419594,
-0.0061474209651350975,
0.02813829481601715,
0.0368771031498909,
-0.012029826641082764,
0.049652330577373505,
0.026724310591816902,
0.035089898854494095,
-0.011427990160882473,
-0.005446051713079214,
-0.04401189088821411,
-0.019551698118448257,
0.031261324882507324,
0.008762466721236706,
-0.009183325804769993,
-0.013045331463217735,
0.006893564946949482,
-0.018344342708587646,
-0.013728384859859943,
-0.0038963276892900467,
-0.0016830295789986849,
0.018457787111401558,
-0.06917079538106918,
0.008049583993852139,
0.020159035921096802,
0.009678668342530727,
-0.0774078369140625,
0.01788557507097721,
0.01139416266232729,
0.007241610437631607,
-0.021885516121983528,
0.01621161960065365,
-0.06252609938383102,
0.03888421878218651,
-0.026413949206471443,
0.001059652422554791,
-0.014966707676649094,
0.020441934466362,
0.032516419887542725,
-0.10453986376523972,
0.05630302429199219,
-0.05754341930150986,
0.008048483170568943,
-0.02410181425511837,
0.004905226640403271,
0.035874832421541214,
-0.007812755182385445,
-0.011107910424470901,
0.015514906495809555,
0.03764237463474274,
-0.058532197028398514,
0.00201621581800282,
-0.03208763897418976,
-0.028790505602955818,
-0.014510009437799454,
-0.009204673580825329,
-0.006578575819730759,
-0.04132234677672386,
-0.014206246472895145,
0.03966712951660156,
0.015460949391126633,
0.0634097158908844,
-0.009433205239474773,
-0.012235143221914768,
0.02613089419901371,
0.009146478958427906,
-0.01344869565218687,
-0.03021952137351036,
-0.029447603970766068,
-0.007779733277857304,
-0.028363173827528954,
0.059185389429330826,
0.04262949898838997,
-0.01638452522456646,
0.02751988358795643,
0.04086552560329437,
-0.0008206759812310338,
0.0002496572269592434,
0.030049800872802734,
-0.011323368176817894,
0.016079429537057877,
-0.008999060839414597,
-0.016373664140701294,
-0.005104693118482828,
0.03674328327178955,
0.033791154623031616,
-0.056849148124456406,
-0.02692885883152485,
-0.039222314953804016,
-0.027713891118764877,
-0.018995916470885277,
-0.0005225984496064484,
-0.04405255243182182,
0.01700643263757229,
0.00025367518537677824,
-0.00520251365378499,
-0.06862906366586685,
0.0548064298927784,
0.010639886371791363,
-0.022236546501517296,
-0.01597822830080986,
0.025752414017915726,
0.008834400214254856,
0.01839327998459339,
-0.03432902693748474,
0.054657723754644394,
0.020741082727909088,
0.04866572469472885,
-0.028480952605605125,
0.04021913558244705,
0.0028492454439401627,
-0.06604181230068207,
-0.019848870113492012,
0.050067413598299026,
0.0025647140573710203,
-0.015615834854543209,
0.012495187111198902,
-0.03830642253160477,
-0.01849319599568844,
-0.005528698209673166,
0.05249227210879326,
0.07044556736946106,
-0.02759704552590847,
-0.03860429301857948,
0.020799636840820312,
0.0029308246448636055,
-0.03350625932216644,
0.02964506857097149,
-0.013114574365317822,
-0.021018847823143005,
-0.0067947665229439735,
0.06915649026632309,
0.019931204617023468,
0.06859198212623596,
0.038814812898635864,
-0.034069355577230453,
0.01349332369863987,
0.054531391710042953,
0.0035888494458049536,
0.013523335568606853,
0.015421193093061447,
0.0221679899841547,
0.052677370607852936,
0.04125191271305084,
-0.0025220150128006935,
0.04443967342376709,
0.024451743811368942,
-0.022999806329607964,
0.01292786281555891,
0.020029554143548012,
-0.014128184877336025,
-0.021461891010403633,
-0.06313064694404602,
-0.045129917562007904,
0.0588151179254055,
-0.044546667486429214,
0.007048488594591618,
0.037591706961393356,
0.08019573986530304,
0.005260576028376818,
0.07044056802988052,
0.005438943859189749,
-0.07358015328645706,
0.025996968150138855,
0.04098944365978241,
0.024279221892356873,
0.002556311432272196,
0.009351439774036407,
0.03899127244949341,
0.036103859543800354,
-0.059188347309827805,
0.028384985402226448,
-0.07346336543560028,
-0.05553523078560829,
-0.02287549339234829,
-0.01675562746822834,
0.04715730622410774,
-0.054019708186388016,
-0.022052481770515442,
0.07198849320411682,
0.03458073362708092,
0.04314964637160301,
0.01863696053624153,
-0.003844106337055564,
-0.0033895159140229225,
-0.022055678069591522,
-0.04220292717218399,
0.04015002399682999,
0.052318643778562546,
0.006823514588177204,
-0.0428205206990242,
-0.01195275317877531,
-0.01915651746094227,
-0.0006453660316765308,
0.03228994458913803,
-0.011935577727854252,
0.024958351626992226,
0.03583651781082153,
0.04192284494638443,
-0.017743689939379692,
0.05841617286205292,
-0.07214801758527756,
0.010013963095843792,
-0.003341519273817539,
-0.03461712598800659,
0.008712981827557087,
-0.012782731093466282,
0.09676968306303024,
0.034184228628873825,
-0.03703916817903519,
-0.0336591862142086,
0.017590023577213287,
0.02062131091952324,
-0.022467220202088356,
-0.03366668149828911,
-0.019747419282794,
0.02461542747914791,
0.0036795148625969887,
-0.015628967434167862,
0.0005663384217768908,
0.0068680401891469955,
-0.026970012113451958,
0.02196967974305153,
0.062015801668167114,
-0.015799913555383682,
0.0456119142472744,
-0.01135522685945034,
-0.049651287496089935,
-0.021785564720630646,
-0.021779026836156845,
-0.07872729003429413,
0.008862790651619434,
0.03238248825073242,
-0.011109123937785625,
0.057426609098911285,
-0.027861177921295166,
-0.004534341394901276,
-0.02413475699722767,
-0.044099971652030945,
0.0413772314786911,
0.01834218204021454,
0.06818360090255737,
0.005740501917898655,
0.04563521221280098,
0.006876990664750338,
0.019500626251101494,
-0.025409890338778496,
-0.04024064913392067,
-0.014681929722428322,
0.01391870342195034,
0.01154214609414339,
0.040960680693387985,
0.006793619133532047,
0.016296641901135445,
0.03158029541373253,
0.014397269114851952,
-0.03577665984630585,
-0.01710568182170391,
0.023368418216705322,
-0.005812016781419516,
-0.02760339342057705,
-0.012653928250074387,
-0.0542377233505249,
0.03209535405039787,
-0.04305940493941307,
-0.043023936450481415,
0.04589642584323883,
-0.09272560477256775,
0.0407785028219223,
-0.08103301376104355,
-0.06830506026744843,
0.018722351640462875,
0.0028039272874593735,
0.05185952037572861,
-0.008644510991871357,
0.06811191141605377,
0.05855316296219826,
0.03170815110206604,
-0.004519216250628233,
0.006150520406663418,
0.020357344299554825,
0.00868584681302309,
0.014456895180046558,
0.003907387610524893,
0.03579389676451683,
0.02366459183394909,
-0.002000688575208187,
-0.05483391135931015,
0.024618763476610184,
-0.025901496410369873,
-0.2697350084781647,
0.02831132523715496,
-0.017632650211453438,
-0.06327079236507416,
0.027123503386974335,
0.0018143760971724987,
0.02528318390250206,
-0.050796378403902054,
-0.03700075298547745,
0.05135020613670349,
-0.020957285538315773,
-0.03271465748548508,
-0.023691846057772636,
0.044709306210279465,
-0.005337240640074015,
-0.00165088870562613,
0.0004584551206789911,
-0.0459708608686924,
0.017103349789977074,
0.04535594582557678,
0.0019004762871190906,
-0.08180683106184006,
-0.00917171873152256,
0.04796571284532547,
0.025838950648903847,
0.057554326951503754,
-0.06328706443309784,
0.05248767510056496,
-0.028429534286260605,
0.004547892138361931,
0.008750983513891697,
-0.010648836381733418,
0.021590765565633774,
-0.053909432142972946,
-0.0207323357462883,
0.004634723998606205,
0.007350429892539978,
0.026791634038090706,
0.014290406368672848,
0.03917064517736435,
-0.023212265223264694,
-0.05005786195397377,
-0.027429604902863503,
0.018552985042333603,
0.07698200643062592,
-0.005674715153872967,
-0.031234974041581154,
-0.021741032600402832,
-0.03774825111031532,
0.08482399582862854,
-0.04682137072086334,
-0.04247962683439255,
-0.008667027577757835,
0.0310836024582386,
-0.030277935788035393,
-0.04241852089762688,
-0.007456024643033743,
-0.021534305065870285,
-0.03446882218122482,
-0.020480602979660034,
-0.025389939546585083,
-0.03319771960377693,
-0.03579629957675934,
-0.037854935973882675,
-0.04572600871324539,
-0.07590194046497345,
-0.07345997542142868,
-0.01174734253436327,
0.06962209939956665,
0.02907402440905571,
-0.032372765243053436,
0.0007839466561563313,
-0.006491232663393021,
-0.11618173122406006,
0.020636536180973053,
-0.01074130367487669,
-0.045182183384895325,
-0.020116450265049934,
-0.004121648613363504,
0.07276132702827454,
-0.03536231815814972,
-0.03882262855768204,
0.06259920448064804,
0.024148697033524513,
0.01915806718170643,
0.015133786015212536,
0.005957260727882385,
0.004434622824192047,
-0.021268654614686966,
0.007751529570668936,
0.054624877870082855,
0.007471093907952309,
-0.015580156818032265,
-0.038711823523044586,
0.007349982392042875,
0.057843271642923355,
0.011377097107470036,
0.004145172890275717,
0.03609807416796684,
-0.00742234755307436,
0.032517749816179276,
-0.039870645850896835,
0.026732921600341797,
-0.02683158405125141,
0.014062376692891121,
-0.062254976481199265,
-0.05341101437807083,
0.04436228796839714,
0.0033192818518728018,
0.02006937749683857,
-0.011060680262744427,
-0.04986237362027168,
-0.015604808926582336,
-0.043942566961050034,
-0.03711389750242233,
-0.04328661039471626,
0.010270259343087673,
0.029749104753136635,
-0.0396316759288311,
0.009886707179248333,
-0.0418819859623909,
0.029591871425509453,
0.0073227002285420895,
-0.017491482198238373,
-0.07193601131439209,
-0.04164225235581398,
-0.042088791728019714,
0.013791650533676147,
0.021297389641404152,
0.019634120166301727,
-0.04167965054512024,
0.015615839511156082,
-0.004108758177608252,
0.0012792493216693401,
0.018448444083333015,
0.00234779785387218,
-0.03354056179523468,
-0.04897439107298851,
-0.007518426049500704,
0.00027020013658329844,
0.008495991118252277,
-0.023361191153526306,
0.018742596730589867,
0.01235461886972189,
0.03184328228235245,
0.0025222518015652895,
0.039698030799627304,
-0.019961128011345863,
-0.007105575874447823,
0.02484274096786976,
0.01342827919870615,
-0.060973312705755234,
0.010091345757246017,
-0.04111595079302788,
-0.028676528483629227,
-0.0004821577458642423,
0.03191697970032692,
0.0016753211384639144,
-0.03895803540945053,
-0.026483112946152687,
0.01003032922744751,
-0.04344518855214119,
-0.021083394065499306,
-0.03815688565373421,
0.01706305891275406,
0.06492031365633011,
-0.051963113248348236,
0.036870718002319336,
-0.011072679422795773,
-0.034537963569164276,
-0.00010311200458090752,
0.005069938953965902,
-0.03183642029762268,
0.06421595811843872,
0.015911730006337166,
0.015433182008564472,
0.004240428563207388,
0.017735539004206657,
0.05030115321278572,
0.03496171906590462,
0.019266989082098007,
-0.03770553320646286,
0.012261630035936832,
0.01661807857453823,
0.025090161710977554,
0.021035224199295044,
0.02653798647224903,
-0.03655083104968071,
-0.009570912458002567,
-0.0052484082989394665,
-0.03433120995759964,
-0.03387800604104996,
0.00012395894736982882,
0.018947094678878784,
-0.022941600531339645,
-0.07623918354511261,
0.04455459117889404,
0.03058411367237568,
0.03174285218119621,
-0.014772854745388031,
0.026600657030940056,
-0.03448914736509323,
-0.033688656985759735,
0.026716474443674088,
0.042097385972738266,
-0.03500264510512352,
0.006312749348580837,
-0.0028706209268420935,
0.0292335357517004,
0.012854416854679585,
0.02724773809313774,
-0.0332283079624176,
-0.014454349875450134,
-0.004370096605271101,
-0.025462541729211807,
-0.05848562717437744,
0.0007805986097082496,
-0.027810411527752876,
0.019253943115472794,
0.011832352727651596,
-0.006889348849654198,
0.01513818558305502,
-0.0280119851231575,
0.00426839105784893,
-0.028186704963445663,
0.03893118351697922,
-0.050475239753723145,
0.0163135789334774,
0.0072149550542235374,
-0.02807559445500374,
0.025544479489326477,
-0.029536157846450806,
0.04075101763010025,
0.03188479319214821,
-0.05537054315209389,
-0.05097375810146332,
-0.019991088658571243,
0.011637432500720024,
0.0017760179471224546,
0.05572670325636864,
0.023766931146383286,
-0.017066622152924538,
-0.018452174961566925,
-0.009627819061279297,
-0.040338609367609024,
0.010894536972045898,
0.0163577813655138,
0.009042765945196152,
0.029602183029055595,
0.047497913241386414,
0.020425910130143166,
0.03749964013695717,
0.002510323189198971,
-0.019683629274368286,
0.05220795422792435,
-0.08423691242933273,
-0.021084824576973915,
-0.027668319642543793,
-0.06894620507955551,
0.014485283754765987,
-0.012560714967548847,
0.026100287213921547,
-0.03981570526957512,
0.019990749657154083,
0.0392870269715786,
0.008446205407381058,
0.06382031738758087,
0.012608852237462997,
0.050912439823150635,
-0.03452397510409355,
0.007283330895006657,
-0.07639909535646439,
0.03548649325966835,
0.03719494864344597,
0.03104649856686592,
-0.012918067164719105,
-0.024455685168504715,
0.007371597457677126,
0.044925808906555176,
-0.044823192059993744,
-0.01709173619747162,
0.0247183907777071,
-0.026933645829558372,
-0.021177096292376518,
0.009334941394627094,
-0.06136941537261009,
0.043872471898794174,
0.018574746325612068,
-0.027847973629832268,
-0.04633015766739845,
-0.04634881019592285,
0.04485844820737839,
0.029514972120523453,
-0.011448788456618786,
-0.04336010292172432,
0.020303847268223763,
0.04840598627924919,
0.01354935672134161,
0.022131236270070076,
0.03709570690989494,
0.0020555472001433372,
0.03081885166466236,
0.02029680274426937,
-0.030877703800797462,
-0.008668522350490093,
-0.014738130383193493,
-0.002342513995245099,
-0.05204879492521286,
0.02558954432606697,
0.006067641079425812,
-0.035135667771101,
-0.03103385865688324,
0.07290709763765335,
0.011045274324715137,
-0.03240086883306503,
-0.042951829731464386,
-0.0019604514818638563,
-0.031197398900985718,
-0.027501344680786133,
-0.002110993256792426,
-0.00009855943790171295,
-0.04393598437309265,
0.060546837747097015,
0.013949543237686157,
0.01698130927979946,
0.07828464359045029,
0.010098541155457497,
-0.016643250361084938,
-0.034060511738061905,
0.07844137400388718,
0.0646762102842331,
0.022340182214975357,
-0.004197860136628151,
0.052317600697278976,
-0.024241788312792778,
-0.03765837475657463,
0.043896570801734924,
-0.029521875083446503,
-0.02040441706776619,
-0.04627087712287903,
-0.002359208418056369,
0.06981488317251205,
-0.020176853984594345,
0.06125393509864807,
-0.03029053285717964,
-0.014876198023557663,
-0.019280673936009407,
0.04728999361395836,
0.020421547815203667,
0.041660841554403305,
0.006195375230163336,
-0.006077426485717297,
0.008647805079817772,
-0.0565018355846405,
0.04912124574184418,
-0.04654759168624878,
-0.013305353932082653,
0.025258367881178856,
-0.0007830348331481218,
-0.009958536364138126,
0.0035020005889236927,
0.010616462677717209,
0.03609638661146164,
-0.011557099409401417,
0.008784424513578415,
0.00735447509214282,
0.008356956765055656,
0.012594406493008137,
-0.028426580131053925,
-0.016945429146289825,
-0.018941786140203476,
0.004273298662155867,
-0.009236476384103298,
0.003799618221819401,
-0.024908622726798058,
-0.05707098916172981,
0.06431756168603897,
-0.0006297915824688971,
0.04091009125113487,
0.025293944403529167,
-0.01886770874261856,
-0.06865376234054565,
-0.06966865062713623,
-0.03313979506492615,
-0.012255466543138027,
-0.05487096309661865,
0.005744981113821268,
0.050151754170656204,
-0.027293436229228973,
-0.023310089483857155,
-0.04597444459795952,
-0.00869368202984333,
-0.0066301715560257435,
0.03730311244726181,
-0.03165764361619949,
-0.04083665832877159,
0.030311109498143196,
0.010405534878373146,
0.021079083904623985,
0.014766768552362919,
0.04199329391121864,
0.008243519812822342,
-0.01509682647883892,
-0.046221308410167694,
-0.023863662034273148,
0.03547056019306183,
0.002839441644027829,
0.027889177203178406,
-0.06391488015651703,
0.009296470321714878,
0.025180310010910034,
0.011024809442460537,
-0.07131066173315048,
0.02772548235952854,
0.007564154453575611,
-0.012693026103079319,
0.030607247725129128,
-0.03975142911076546,
0.008423235267400742,
-0.010095926932990551,
0.013283444568514824,
0.03149448707699776,
0.03962134197354317,
0.0329708606004715,
-0.01438149344176054,
0.05149451643228531,
0.05068165436387062,
-0.030947033315896988,
-0.017935505136847496,
-0.012898444198071957,
0.00757807120680809,
-0.0009605973027646542,
-0.015872858464717865,
-0.0429583340883255,
-0.06064635142683983,
-0.05812821537256241,
-0.02482888661324978,
0.024436956271529198,
-0.020055221393704414,
-0.027351737022399902,
0.046032171696424484,
0.01158976648002863,
-0.05995044484734535,
0.015920445322990417,
-0.03728865459561348,
0.024129733443260193,
-0.046095240861177444,
-0.02052682265639305,
0.010605691000819206,
0.053388744592666626,
-0.001537921605631709,
0.0034653590992093086,
0.015182748436927795,
-0.036509789526462555,
-0.015958255156874657,
0.009099369868636131,
0.027164697647094727,
0.06069803237915039,
0.013623529113829136,
-0.010235133580863476
] | [
-0.11425666511058807,
0.0017279498279094696,
-0.022259576246142387,
-0.02129928581416607,
0.05422211438417435,
-0.022204486653208733,
-0.0005834588664583862,
0.006860831286758184,
-0.02095196023583412,
-0.02154730260372162,
-0.017947038635611534,
-0.008342350833117962,
0.0024258054327219725,
0.0006027226918376982,
0.06280247867107391,
-0.012683028355240822,
-0.04021967202425003,
-0.06651255488395691,
0.022840995341539383,
0.04269080609083176,
0.045070938766002655,
-0.006190629210323095,
-0.050320208072662354,
-0.026446988806128502,
0.04722119867801666,
0.05010926350951195,
0.04631023481488228,
-0.03759012371301651,
0.005928182974457741,
-0.21395248174667358,
0.034222688525915146,
0.001681610243394971,
-0.010806992650032043,
-0.04145986959338188,
-0.03462125360965729,
0.014438061974942684,
0.04132923111319542,
0.01369603630155325,
0.00013886010856367648,
0.030060220509767532,
0.0006408885237760842,
0.016297318041324615,
-0.04614298418164253,
-0.011456235311925411,
0.022670043632388115,
0.0071198297664523125,
-0.036873407661914825,
-0.00023758489987812936,
-0.0005029633757658303,
0.04722410812973976,
-0.04328758269548416,
-0.012126793153584003,
-0.009589425288140774,
-0.029718033969402313,
-0.01335226371884346,
-0.0051760803908109665,
0.03614385053515434,
0.048658587038517,
0.02748316526412964,
0.018658336251974106,
0.012621795758605003,
-0.020643223077058792,
-0.13979142904281616,
0.1174745038151741,
0.008241762407124043,
0.047175463289022446,
0.0042111920192837715,
-0.009455898776650429,
0.001755030476488173,
0.08211096376180649,
0.0053290859796106815,
-0.031132658943533897,
-0.024032125249505043,
0.06279279291629791,
-0.002615521661937237,
-0.03318404406309128,
-0.005873792804777622,
0.005490897223353386,
0.046840861439704895,
-0.03968672454357147,
-0.04759750887751579,
-0.0009580301120877266,
0.00797421857714653,
-0.011173231527209282,
-0.0027065472677350044,
0.009408255107700825,
0.001619609072804451,
0.026393625885248184,
0.03355669975280762,
0.05751705542206764,
0.04305053502321243,
-0.03272811695933342,
0.010857663117349148,
0.004869568627327681,
-0.08363239467144012,
-0.023702580481767654,
0.005763832945376635,
0.011158584617078304,
-0.025266580283641815,
0.41438528895378113,
-0.025893354788422585,
-0.023515550419688225,
0.028948228806257248,
0.039420321583747864,
-0.006225590594112873,
-0.01462872326374054,
0.01917400397360325,
-0.06435836106538773,
0.015649912878870964,
-0.0033759961370378733,
0.004269901663064957,
0.024805735796689987,
0.0464329719543457,
-0.06032433733344078,
0.06374802440404892,
-0.012167021632194519,
0.04409511387348175,
-0.0029850006103515625,
0.0002780714421533048,
0.053444959223270416,
0.010021047666668892,
0.03092014044523239,
0.013158722780644894,
-0.031523264944553375,
-0.014072300866246223,
-0.03692612051963806,
0.02015010081231594,
0.05291511118412018,
0.02291032299399376,
-0.019938874989748,
0.041516050696372986,
-0.07694634795188904,
-0.05872291699051857,
0.014469001442193985,
0.015450680628418922,
0.026631217449903488,
0.024343863129615784,
-0.03694045543670654,
0.04234856367111206,
-0.01829688623547554,
0.008750622160732746,
-0.03813638538122177,
0.05924506112933159,
-0.0005612052627839148,
-0.01508552860468626,
0.07842394709587097,
0.0017542311688885093,
-0.010365731082856655,
-0.0029132948257029057,
-0.014850064180791378,
-0.00021802984701935202,
0.03276882320642471,
-0.014768071472644806,
-0.058795228600502014,
0.02736128680408001,
0.001722949673421681,
0.049649376422166824,
0.041349638253450394,
-0.02354704961180687,
-0.020296240225434303,
-0.019459469243884087,
-0.017380714416503906,
-0.025571400299668312,
0.012297193519771099,
0.020095713436603546,
-0.11265455931425095,
-0.05344067141413689,
0.037483230233192444,
0.015051943250000477,
-0.0798252671957016,
-0.00931523460894823,
-0.00804254412651062,
-0.04643615707755089,
-0.03206468001008034,
0.039068516343832016,
0.009853292256593704,
0.008444965817034245,
0.000042453819332877174,
0.037409327924251556,
0.043464984744787216,
0.0036325259134173393,
-0.00428924523293972,
-0.03404523432254791,
0.011862007901072502,
-0.013490228913724422,
-0.07798459380865097,
-0.03660493344068527,
-0.012009751982986927,
-0.00663658557459712,
-0.004776054993271828,
-0.010697183199226856,
-0.047178059816360474,
-0.1008608266711235,
0.09819433838129044,
-0.04170665144920349,
-0.0150735629722476,
0.025146882981061935,
0.004304824862629175,
0.02721848338842392,
-0.04149524122476578,
-0.024530963972210884,
0.012175830081105232,
-0.011253214441239834,
0.018537187948822975,
-0.025012793019413948,
0.06912907212972641,
0.06525848060846329,
-0.0848085805773735,
0.0940636396408081,
0.030695073306560516,
-0.019557708874344826,
-0.029612315818667412,
-0.006136976648122072,
-0.013867040164768696,
-0.038789067417383194,
-0.01842576079070568,
0.014613085426390171,
0.00964780431240797,
-0.02199096791446209,
0.035304706543684006,
-0.026964692398905754,
-0.015104821883141994,
-0.009914945811033249,
-0.3358873724937439,
-0.044355783611536026,
-0.0011665310012176633,
-0.012399783357977867,
0.05928702652454376,
-0.06762585043907166,
-0.042290762066841125,
-0.013268094509840012,
0.016644936054944992,
-0.02154870145022869,
0.06758677214384079,
-0.020891044288873672,
-0.031888920813798904,
-0.12674200534820557,
0.01672579161822796,
0.011645065620541573,
-0.05562388524413109,
-0.047242093831300735,
-0.03792226314544678,
0.007836077362298965,
-0.008507716469466686,
-0.0012772176414728165,
-0.03307807445526123,
-0.05989726260304451,
-0.0007859341567382216,
-0.05786082148551941,
0.07441424578428268,
-0.013298233970999718,
0.06656022369861603,
-0.03212255239486694,
0.04701963812112808,
-0.020528225228190422,
0.028629375621676445,
-0.05772538483142853,
-0.028492702171206474,
-0.03153969720005989,
-0.002098152646794915,
0.022409459576010704,
0.06634828448295593,
-0.046297550201416016,
-0.07165180146694183,
0.015673458576202393,
-0.03968316689133644,
-0.06954499334096909,
-0.03892097622156143,
0.009099368937313557,
0.011455261148512363,
-0.013128533028066158,
-0.00007329912477871403,
0.06374991685152054,
0.012151021510362625,
-0.01777103915810585,
-0.008088578470051289,
0.007749497890472412,
-0.005125256255269051,
-0.041544221341609955,
-0.08784670382738113,
0.0245993472635746,
0.006822396069765091,
0.01679966039955616,
0.022951027378439903,
0.09519301354885101,
0.023702340200543404,
-0.038363657891750336,
-0.0098134009167552,
0.026271790266036987,
-0.03042278252542019,
-0.042940378189086914,
0.03504665568470955,
-0.005614214576780796,
-0.004187003709375858,
0.11688034236431122,
-0.033100955188274384,
0.019702378660440445,
0.04963108152151108,
0.029549403116106987,
-0.00026793935103341937,
0.018553363159298897,
0.021411415189504623,
-0.009556790813803673,
0.007234038319438696,
0.008045842871069908,
0.04742127284407616,
-0.017884185537695885,
-0.013432680629193783,
0.016547411680221558,
-0.00021994661074131727,
0.013868202455341816,
0.07992987334728241,
0.007826519198715687,
-0.04313379526138306,
-0.00631139799952507,
0.01114790327847004,
-0.05054158344864845,
0.05723564699292183,
-0.019219201058149338,
-0.25378644466400146,
0.03373933956027031,
0.08116450160741806,
0.050103023648262024,
-0.013672299683094025,
0.02780109830200672,
0.020395180210471153,
-0.04369378462433815,
0.0005579126882366836,
0.016950227320194244,
0.014905592426657677,
0.04901799187064171,
0.003926399163901806,
0.01180854719132185,
0.02855619601905346,
-0.008917468599975109,
0.05232284590601921,
-0.01688154600560665,
-0.007336560171097517,
-0.0397421158850193,
0.008748055435717106,
0.0015689919237047434,
0.18611934781074524,
0.008209732361137867,
0.0033875172957777977,
0.0068122525699436665,
0.06895344704389572,
0.017932791262865067,
0.09684188663959503,
0.018517889082431793,
0.022218983620405197,
-0.010226774029433727,
0.025232430547475815,
0.025534577667713165,
0.02251998521387577,
-0.07499080151319504,
-0.043261632323265076,
0.022806059569120407,
0.010770636610686779,
0.01920783706009388,
-0.021985329687595367,
0.025317853316664696,
-0.034055717289447784,
-0.003854707581922412,
0.08289589732885361,
0.016467634588479996,
-0.03544086217880249,
-0.04308955371379852,
-0.037606336176395416,
-0.02380955219268799,
-0.031078847125172615,
-0.03743761405348778,
-0.017112411558628082,
-0.016722150146961212,
0.0016626794822514057,
0.07031272351741791,
0.06533259898424149,
-0.013645797967910767,
-0.009312419220805168,
0.0521862618625164,
0.02320409007370472,
0.010796436108648777,
0.12038739770650864,
0.04184678569436073,
0.04095587134361267
] | [
-0.02927408553659916,
0.014425048604607582,
0.0027539839502424,
0.017562497407197952,
-0.006661056075245142,
0.040949877351522446,
-0.031877752393484116,
0.04903746396303177,
0.004594909958541393,
-0.005967474542558193,
-0.011568917892873287,
0.0027214144356548786,
-0.010942814871668816,
-0.03979908674955368,
0.0461500845849514,
-0.041746269911527634,
0.01769312098622322,
-0.02348264306783676,
0.041791971772909164,
0.010828206315636635,
-0.0008708858513273299,
-0.0185382142663002,
-0.004135910887271166,
0.012912075035274029,
-0.023918211460113525,
0.017311258241534233,
-0.016440141946077347,
-0.011326529085636139,
0.00044794532004743814,
-0.15111719071865082,
-0.007616529706865549,
0.01350816898047924,
-0.03023477829992771,
-0.003918858245015144,
-0.018986696377396584,
-0.017366765066981316,
0.01699632778763771,
0.04027831181883812,
0.023386461660265923,
-0.0233187023550272,
0.052098315209150314,
-0.013474572449922562,
0.0004976469790562987,
0.026744307950139046,
0.03191624581813812,
0.010984417051076889,
0.04173814505338669,
0.0024618124589323997,
-0.04008961096405983,
-0.0059684575535357,
-0.04110649973154068,
-0.0013433488784357905,
-0.02091803587973118,
0.0323263481259346,
0.015760913491249084,
0.019664520397782326,
0.020224010571837425,
0.001059256843291223,
0.016275087371468544,
0.01516592688858509,
0.008409176953136921,
0.02133799158036709,
0.0032957778312265873,
-0.01679806225001812,
-0.0001017572358250618,
-0.007433439139276743,
0.032590415328741074,
0.012349365279078484,
0.02878417819738388,
-0.017107225954532623,
-0.005691582337021828,
0.012767260894179344,
-0.003329216269776225,
0.026471078395843506,
-0.029962237924337387,
-0.010219448246061802,
-0.02854086086153984,
-0.014897656626999378,
0.05437081679701805,
-0.03026801161468029,
-0.02274276502430439,
0.0009430122445337474,
-0.0005685824435204268,
0.0073051778599619865,
0.015755394473671913,
-0.005029506050050259,
0.030544953420758247,
0.02575169876217842,
0.03550850600004196,
-0.020919065922498703,
0.013569287955760956,
0.03514936566352844,
0.0013665128499269485,
0.023216724395751953,
-0.0704258605837822,
-0.014995391480624676,
0.022809280082583427,
-0.02696314826607704,
-0.012721352279186249,
0.8273223042488098,
0.013233179226517677,
0.04778223857283592,
-0.003963259980082512,
0.03294168412685394,
-0.0009726613643579185,
0.019926847890019417,
-0.020232826471328735,
-0.04603191092610359,
-0.010949486866593361,
-0.02313299849629402,
0.043958019465208054,
0.04796712473034859,
-0.004009662661701441,
-0.002068122150376439,
0.023529449477791786,
-0.006297980900853872,
-0.027522310614585876,
0.01847011409699917,
0.03339928388595581,
-0.009469660930335522,
0.017611319199204445,
0.029192140325903893,
0.012624683789908886,
0.003907263744622469,
-0.013921764679253101,
-0.16910560429096222,
0.04286273568868637,
-6.738877687813856e-33,
0.028790341690182686,
-0.025752130895853043,
0.03722463175654411,
-0.03283753618597984,
0.032282400876283646,
0.020754624158143997,
0.008291156031191349,
0.018962260335683823,
0.018174149096012115,
-0.03414188325405121,
0.03068578615784645,
-0.09708896279335022,
0.020700421184301376,
-0.046357929706573486,
0.02628954127430916,
0.00793646089732647,
-0.019966689869761467,
0.016434207558631897,
-0.0022115777246654034,
0.03288767486810684,
0.009804128669202328,
0.016539523378014565,
-0.009316543117165565,
-0.01778743416070938,
0.0120948925614357,
0.02425600029528141,
0.01537263672798872,
0.02304253540933132,
-0.02382737025618553,
-0.051885832101106644,
0.015691600739955902,
0.006304091773927212,
-0.04789469391107559,
0.010795563459396362,
0.04318978264927864,
-0.038937147706747055,
-0.002986609237268567,
-0.041152939200401306,
-0.019266048446297646,
-0.004009169992059469,
-0.05518592894077301,
-0.035318173468112946,
-0.03647875040769577,
-0.013623151928186417,
0.004470251966267824,
-0.0392269641160965,
-0.01386999897658825,
0.020276853814721107,
0.03681468591094017,
0.00020060420501977205,
-0.036016203463077545,
0.019388968124985695,
-0.00253784516826272,
-0.07064438611268997,
-0.014998487196862698,
0.044985417276620865,
0.029869141057133675,
0.015865305438637733,
0.015283798798918724,
0.03453679382801056,
0.026441937312483788,
-0.03668076545000076,
-0.04475532844662666,
-0.023819444701075554,
-0.011584757827222347,
0.0015686259139329195,
-0.013859412632882595,
-0.049230847507715225,
0.023801438510417938,
-0.0007837521261535585,
-0.028445463627576828,
-0.01487545482814312,
-0.016163429245352745,
-0.0018368784803897142,
-0.00042477904935367405,
0.00908312015235424,
0.011275873519480228,
0.042682893574237823,
0.013479331508278847,
-0.0007084106327965856,
0.021903248503804207,
-0.03962577506899834,
-0.0025740433484315872,
-0.006149439141154289,
0.014748326502740383,
-0.03824195638298988,
0.03898096829652786,
-0.008066306822001934,
-0.0041231196373701096,
-0.03102598525583744,
0.04106418043375015,
0.01470960583537817,
0.010608604177832603,
-0.004875876475125551,
-0.06280404329299927,
7.644292660643123e-33,
0.012820874340832233,
0.0012511463137343526,
-0.01688513718545437,
0.046029526740312576,
0.0189497247338295,
-0.02586490660905838,
-0.02429279498755932,
0.02974911779165268,
-0.05062342807650566,
0.017509203404188156,
-0.00005932503336225636,
-0.026235276833176613,
-0.02626091055572033,
0.016495034098625183,
0.06211823597550392,
0.017492443323135376,
0.062454305589199066,
-0.01670316606760025,
0.007348186802119017,
-0.016913287341594696,
0.05272899195551872,
-0.003454430028796196,
0.023143619298934937,
-0.01850426197052002,
0.01382410991936922,
0.0001642924326006323,
-0.010227624326944351,
0.027640361338853836,
-0.004494774155318737,
0.01568143256008625,
-0.023230858147144318,
0.0031720895785838366,
0.0091453418135643,
-0.03560527786612511,
-0.024334203451871872,
0.01013618428260088,
0.004309822805225849,
-0.023989249020814896,
0.0032975070644170046,
0.00323897204361856,
0.002268803073093295,
-0.0006673077587038279,
-0.03523996099829674,
0.00963610503822565,
-0.013456295244395733,
0.04939108341932297,
-0.02276388555765152,
0.0009034399408847094,
0.007675685919821262,
0.03145784139633179,
0.03651585057377815,
-0.023150792345404625,
0.020154396072030067,
0.0013412332627922297,
0.013458984903991222,
-0.02068283222615719,
-0.006792114116251469,
-0.017295749858021736,
0.0382654070854187,
-0.031965531408786774,
-0.01736496016383171,
0.016799334436655045,
-0.021697578951716423,
-0.008087470196187496,
0.0023032729513943195,
-0.02039642259478569,
-0.041012782603502274,
-0.021548384800553322,
-0.01167940255254507,
-0.0054334066808223724,
-0.004338563419878483,
0.014697086066007614,
-0.0054877582006156445,
0.031081415712833405,
0.00032393212313763797,
-0.012350833043456078,
-0.009535369463264942,
0.01717531681060791,
-0.028312770649790764,
0.008764122612774372,
0.004552115686237812,
-0.005746021866798401,
0.002583649940788746,
0.007863336242735386,
-0.056507211178541183,
0.04883948713541031,
-0.011742813512682915,
0.003738265484571457,
0.00944991409778595,
0.00321827526204288,
-0.04875887557864189,
-0.0044626155868172646,
-0.022785669192671776,
0.05992569401860237,
0.05126207321882248,
-1.285656647809219e-8,
0.005106438882648945,
0.047633346170186996,
-0.02611006423830986,
-0.009477782994508743,
0.014916116371750832,
0.015372787602245808,
-0.011235869489610195,
-0.04968496412038803,
-0.0023057684302330017,
0.01370870228856802,
0.03193461522459984,
-0.03672754392027855,
0.02682206779718399,
0.003164157969877124,
0.017320146784186363,
-0.015767371281981468,
-0.03596356883645058,
-0.033474475145339966,
0.0139757189899683,
-0.01616508513689041,
0.06830237060785294,
0.034135784953832626,
0.040004707872867584,
-0.010139488615095615,
0.00739479111507535,
0.06417599320411682,
0.02696746028959751,
-0.04650234058499336,
0.008959862403571606,
0.01813364587724209,
-0.00686392467468977,
-0.029831625521183014,
0.010169830173254013,
0.008152292110025883,
-0.03208940103650093,
-0.03241116926074028,
-0.03340325877070427,
0.016266250982880592,
0.050571028143167496,
0.02861056476831436,
-0.02999882586300373,
-0.023255696520209312,
-0.005218857899308205,
-0.0015766700962558389,
0.007639979477971792,
-0.027919819578528404,
-0.029765157029032707,
-0.015382501296699047,
-0.014095373451709747,
-0.04651832580566406,
-0.0019778141286224127,
0.020739760249853134,
0.012505210936069489,
-0.022156644612550735,
-0.00008355145109817386,
0.04300690069794655,
0.00979650393128395,
-0.032896317541599274,
-0.043866805732250214,
-0.01853434182703495,
0.01245989091694355,
-0.0014822783414274454,
-0.0025446745567023754,
-0.026143867522478104
] | tdd-thoughts-on-using-a-clock-in-tests | https://markhneedham.com/blog/2010/01/15/tdd-thoughts-on-using-a-clock-in-tests |
false | 2010-01-12 01:33:58 | F#: Refactoring to pattern matching | [
"f"
] | [
"fsharp"
] | I was looking through some of the F# code I've written recently and I realised that I was very much writing C# in F# with respect to the number of if statements I've been using.
I thought it would be interesting to see what the code would look like if I was able to refactor some of that code to make use of pattern matching instead which would be a more idiomatic way of solving the problem in F#.
The first example of if statements is in http://www.markhneedham.com/blog/2010/01/10/roy-osheroves-tdd-kata-an-f-attempt/[my post about my F# solution to Roy Osherove's TDD Kata].
I originally wrote a parse function which was able to parse a string and give it's decimal value or 0 if it couldn't be parsed.
[source,ocaml]
----
let parse value =
let (itParsed, value) = Decimal.TryParse value
if (itParsed) then value else 0.0m
----
If we use a pattern match expression we'd end up with the following:
[source,ocaml]
----
let parse value = match Decimal.TryParse value with | (true, value) -> value | (false, _) -> 0.0m
----
The neat thing about this approach is that we don't need to store the result of the 'Decimal.TryParse' function as we did in my original version.
We could in theory also write it like this...
[source,ocaml]
----
let parse value = match Decimal.TryParse value with | (true, value) -> value | (_, _) -> 0.0m
----
...but while that is slightly less code I quite like the other version because it's a bit more intention revealing that 0 will be returned if we fail to parse the string. I think there's less thinking needed to understand the code.
Another example is this bit of code:
[source,ocaml]
----
let add value = if ("".Equals(value) or "\n".Equals(value)) then 0.0m
else match digits value |> Array.filter (fun x -> x < 1000m) with
| ContainsNegatives(negatives) -> raise (ArgumentException (buildExceptionMessage negatives))
| NoNegatives(digits) -> digits |> Array.sum
----
If we convert that to use pattern matching we would get this:
[source,ocaml]
----
let add value = match value with
| "" -> 0.0m
| "\n" -> 0.0m
| value -> match digits value |> Array.filter (fun x -> x < 1000m) with
| ContainsNegatives(negatives) -> raise (ArgumentException (buildExceptionMessage negatives))
| NoNegatives(digits) -> digits |> Array.sum
----
That's maybe slightly easier to read mainly because of the splitting up of the two inputs which lead to a 0 result.
The final example of using if statements is the following bit of code:
[source,ocaml]
----
let (|CustomDelimeter|NoCustomDelimeter|) (value:string) =
...
if (value.Length > 2 && "//".Equals(value.Substring(0, 2))) then
if ("[".Equals(value.Substring(2,1))) then CustomDelimeter(delimeters value)
else CustomDelimeter([| value.Substring(2, value.IndexOf("\n") - 2) |])
else NoCustomDelimeter(",")
----
The only way I could see how to make this use active patterns is on the boolean statements like so:
[source,ocaml]
----
let (|CustomDelimeter|NoCustomDelimeter|) (value:string) =
...
match (value.Length > 2 && "//".Equals(value.Substring(0, 2))) with
| true -> match ("[".Equals(value.Substring(2,1))) with
| true -> CustomDelimeter(delimeters value)
| false -> CustomDelimeter([| value.Substring(2, value.IndexOf("\n") - 2) |])
| false -> NoCustomDelimeter(",")
----
I quite like that it lines up the return values of the active pattern which seems to make it a bit more readable.
I think overall maybe the pattern matching versions are slightly more readable but maybe not by much. What do you think? | null | null | [
-0.007858182303607464,
0.00870178360491991,
-0.020892925560474396,
0.026751399040222168,
0.06537526100873947,
0.03422456607222557,
0.013602765277028084,
0.03887564316391945,
0.017503496259450912,
-0.013785935007035732,
-0.025963230058550835,
-0.001342198927886784,
-0.0966869369149208,
-0.016518957912921906,
0.0018202292267233133,
0.06424904614686966,
0.09567217528820038,
-0.05505773425102234,
0.04060649499297142,
-0.01275030430406332,
-0.01929311268031597,
0.06076058745384216,
-0.025246839970350266,
0.012680044397711754,
0.04344179481267929,
0.018800996243953705,
0.036117929965257645,
-0.0152771370485425,
-0.04600139334797859,
-0.0077111381106078625,
0.03294278681278229,
0.05178746208548546,
0.011713608168065548,
-0.029044264927506447,
-0.019997909665107727,
0.009299049153923988,
0.023144900798797607,
0.011111345142126083,
-0.012320412322878838,
0.04405207559466362,
-0.06740498542785645,
-0.002635500393807888,
0.00036210616235621274,
0.021622488275170326,
-0.048248134553432465,
0.011999585665762424,
-0.05317314341664314,
0.004980056546628475,
-0.022630758583545685,
0.02559838630259037,
-0.05694322660565376,
0.025341995060443878,
-0.006930812727659941,
-0.028859375044703484,
0.009615957736968994,
0.06386367976665497,
0.006003966089338064,
-0.05619461089372635,
0.02443011850118637,
-0.024355413392186165,
-0.005761830601841211,
-0.0023006824776530266,
0.0146822240203619,
0.06675755977630615,
0.027581049129366875,
-0.003989009652286768,
-0.020700449123978615,
0.04131120443344116,
-0.08097425848245621,
-0.030084844678640366,
0.006864022929221392,
0.02550961636006832,
0.0003113101702183485,
-0.010818331502377987,
0.039552368223667145,
-0.03271935507655144,
0.0018627119716256857,
0.0374775305390358,
0.01869644783437252,
0.048759397119283676,
0.002483038231730461,
0.024626819416880608,
0.046178366988897324,
0.001122238114476204,
0.04160463437438011,
-0.011709706857800484,
-0.025097522884607315,
0.012834900990128517,
-0.007858673110604286,
0.05535120517015457,
0.016446493566036224,
-0.034141119569540024,
0.009110450744628906,
0.01776435598731041,
0.01698325201869011,
0.012915139086544514,
-0.004015755373984575,
-0.013777738437056541,
-0.02426084689795971,
-0.003530842484906316,
-0.056061722338199615,
-0.04522125422954559,
0.03322867304086685,
0.0014079122338443995,
-0.06659840047359467,
-0.008318901062011719,
-0.02263515070080757,
-0.00318259559571743,
0.04043583944439888,
0.01638626866042614,
-0.053928080946207047,
-0.007571362424641848,
0.0007115614134818316,
0.006288035307079554,
-0.0734751895070076,
0.022807911038398743,
-0.004172186367213726,
0.006193618755787611,
-0.014696097001433372,
0.04218151420354843,
0.04031282290816307,
0.000167494363267906,
0.0075702909380197525,
0.07071572542190552,
0.006730091758072376,
0.04170608147978783,
-0.0239130686968565,
0.10415776073932648,
-0.02452686056494713,
-0.04789019003510475,
-0.04737773537635803,
0.04718014597892761,
-0.032241903245449066,
-0.012717661447823048,
-0.011336764320731163,
-0.022797448560595512,
-0.030329929664731026,
-0.023586705327033997,
0.06060955300927162,
0.05296330153942108,
-0.0028199912048876286,
-0.03802544251084328,
0.01161718275398016,
-0.029492540284991264,
-0.012349921278655529,
-0.002964321756735444,
-0.00957675464451313,
0.01583230309188366,
-0.0136481998488307,
0.009784809313714504,
0.01719878427684307,
0.024716822430491447,
0.04654468595981598,
-0.03023972548544407,
-0.013474652543663979,
0.0729484111070633,
0.013790844939649105,
0.017256876453757286,
-0.0006310082389973104,
0.016811678186058998,
0.03351844847202301,
0.02915770374238491,
0.00037827593041583896,
0.02394537441432476,
0.02844098024070263,
0.02160089835524559,
0.024173693731427193,
0.03539842739701271,
-0.043254315853118896,
-0.0037518006283789873,
-0.053975291550159454,
0.02099052630364895,
0.08530735969543457,
-0.042692482471466064,
0.012435239739716053,
0.0329766646027565,
0.041897449642419815,
-0.007474867161363363,
0.030465146526694298,
0.006188736762851477,
-0.0605066642165184,
0.016742762178182602,
0.01563023217022419,
-0.00022001760953571647,
0.004494096618145704,
0.02954011969268322,
0.06381669640541077,
0.020537417382001877,
0.025728417560458183,
0.0368250347673893,
-0.06693560630083084,
-0.07803525775671005,
-0.024542491883039474,
-0.03575264289975166,
0.08540038764476776,
-0.05585296452045441,
-0.023139996454119682,
0.0522950254380703,
0.02937651425600052,
0.06044713780283928,
0.03281484171748161,
-0.016088753938674927,
0.039994314312934875,
-0.00774762686342001,
-0.02050434798002243,
0.08323822170495987,
0.04849115014076233,
-0.01444453839212656,
-0.027664804831147194,
0.006189950741827488,
0.007862799800932407,
0.002775387605652213,
0.0533260814845562,
0.0010418096790090203,
0.010266472585499287,
0.036270108073949814,
0.023343363776803017,
-0.05232769250869751,
0.03245115280151367,
-0.05154358223080635,
0.003003984922543168,
0.00507782120257616,
0.005737087223678827,
-0.015184187330305576,
-0.014333699829876423,
0.1033785492181778,
0.061119407415390015,
-0.039383918046951294,
-0.05866262689232826,
0.0035803422797471285,
-0.03333089500665665,
-0.04866274446249008,
0.022550802677869797,
0.00379602937027812,
0.01106344535946846,
-0.007724417839199305,
-0.0383017361164093,
-0.0046522472985088825,
0.029804863035678864,
-0.020862095057964325,
0.03324991464614868,
0.06265133619308472,
-0.027501942589879036,
0.02885487861931324,
-0.038248032331466675,
-0.06298378854990005,
0.0077370149083435535,
-0.01481662131845951,
-0.01228479202836752,
0.011246477253735065,
0.023812608793377876,
-0.019580241292715073,
0.05289481580257416,
-0.01666937582194805,
-0.0516725592315197,
-0.009213400073349476,
-0.03084130398929119,
0.03800644353032112,
0.03097168542444706,
0.03882379084825516,
0.004313058219850063,
0.03798928111791611,
-0.02033938653767109,
-0.005823320243507624,
-0.004795624874532223,
-0.05371125042438507,
-0.03449060395359993,
0.037520404905080795,
0.028220806270837784,
0.029760953038930893,
-0.0021074614487588406,
0.03632606193423271,
0.022050298750400543,
0.01892048679292202,
-0.016243042424321175,
-0.017445551231503487,
0.028227731585502625,
0.012438415549695492,
-0.067926324903965,
-0.05709560215473175,
-0.05267580971121788,
0.06144002079963684,
-0.025749191641807556,
-0.03214424103498459,
-0.02709697000682354,
-0.04779840633273125,
0.040664952248334885,
-0.07616237550973892,
-0.05329056829214096,
0.018285740166902542,
0.03329775854945183,
0.03172245994210243,
-0.054400064051151276,
0.017813144251704216,
0.05247968062758446,
-0.0035901053342968225,
0.029203861951828003,
0.03807860240340233,
-0.005237836856395006,
0.024271860718727112,
0.0056100632064044476,
0.028823358938097954,
0.05191841721534729,
0.016891635954380035,
-0.015626145526766777,
-0.0366051085293293,
-0.0216098390519619,
-0.0028911361005157232,
-0.25830957293510437,
0.042549017816782,
-0.06667070090770721,
-0.03268834576010704,
0.041063375771045685,
-0.030494846403598785,
0.015739724040031433,
-0.04478663578629494,
-0.014321309514343739,
0.04438771307468414,
-0.03553425520658493,
-0.041203368455171585,
-0.03559853881597519,
0.04434306547045708,
-0.019694916903972626,
-0.012794312089681625,
-0.009737370535731316,
-0.061583854258060455,
0.0242045558989048,
0.04572384059429169,
0.0031188265420496464,
-0.063215471804142,
0.034069497138261795,
0.07611942291259766,
0.0019265377195551991,
0.05970945581793785,
-0.07411583513021469,
0.013695013709366322,
-0.017654893919825554,
-0.0035108032170683146,
-0.00903511606156826,
0.020768247544765472,
0.02078200690448284,
-0.05092887580394745,
-0.002094025257974863,
-0.019911274313926697,
-0.006799652706831694,
0.007559515070170164,
0.021765606477856636,
0.06029251590371132,
-0.03468609228730202,
-0.048080042004585266,
0.010164624080061913,
0.011850357986986637,
0.08905720710754395,
-0.005165268667042255,
-0.053314801305532455,
-0.01583975926041603,
-0.04668255150318146,
0.08015503734350204,
-0.04581962525844574,
-0.026211416348814964,
-0.00637778639793396,
0.05222248658537865,
-0.01660960353910923,
-0.013044839724898338,
0.02814471535384655,
-0.009598124772310257,
-0.026380637660622597,
-0.010492173954844475,
-0.016299724578857422,
-0.04149825870990753,
-0.01932120881974697,
-0.0366935208439827,
-0.00300470064394176,
-0.06576304882764816,
-0.049042463302612305,
-0.006239073816686869,
0.03350872918963432,
0.015655314549803734,
-0.0009207007242366672,
-0.014008885249495506,
-0.0054955980740487576,
-0.10429541766643524,
-0.04936058819293976,
-0.03768405318260193,
-0.0007358166621997952,
-0.03139631822705269,
0.0024550543166697025,
0.04503250494599342,
-0.016559600830078125,
-0.03725316375494003,
0.033571984618902206,
0.02017028070986271,
0.04811564460396767,
0.002199013950303197,
0.0020090152975171804,
0.0015895054675638676,
-0.014957779087126255,
-0.024198517203330994,
0.06519189476966858,
0.0020649812649935484,
-0.00022845662897452712,
-0.018907593563199043,
0.012838618829846382,
0.0018567689694464207,
0.044944506138563156,
-0.02858894318342209,
0.019960517063736916,
0.010959051549434662,
0.034124698489904404,
-0.055595606565475464,
0.033136360347270966,
-0.051754180341959,
-0.014117239974439144,
-0.016257209703326225,
-0.04270731657743454,
0.03736084699630737,
0.02166205830872059,
-0.003944812808185816,
-0.02749866060912609,
-0.07145320624113083,
-0.005380712915211916,
-0.052764564752578735,
-0.02186085842549801,
-0.045055750757455826,
0.014704201370477676,
-0.00663074990734458,
0.028384000062942505,
-0.01984994485974312,
-0.034367505460977554,
-0.0072061289101839066,
0.010212397202849388,
-0.018295666202902794,
-0.08297070860862732,
-0.04820900037884712,
0.004711951594799757,
-0.033448442816734314,
-0.0017655480187386274,
0.02960905246436596,
-0.0009637718903832138,
0.048945944756269455,
-0.016863444820046425,
-0.03764000162482262,
0.006268991157412529,
0.04174831509590149,
0.03683173283934593,
-0.013285688124597073,
-0.033841487020254135,
-0.03450936824083328,
0.011632178910076618,
-0.01545963529497385,
0.02719912864267826,
0.027770616114139557,
0.034784916788339615,
0.006076011806726456,
0.027662456035614014,
-0.02141399495303631,
0.013005998916924,
0.016346024349331856,
0.0005071336636319757,
-0.07315817475318909,
0.05518726259469986,
-0.026080826297402382,
-0.04345402494072914,
-0.007343886885792017,
0.017264453694224358,
-0.031127337366342545,
-0.03656410053372383,
-0.05699170008301735,
0.025142300873994827,
-0.003890177235007286,
-0.06535553187131882,
-0.052414149045944214,
0.012874016538262367,
0.05177535489201546,
-0.04148046672344208,
0.061036378145217896,
-0.005961935501545668,
0.006200174801051617,
-0.01909748651087284,
0.029690900817513466,
-0.011244607158005238,
0.018453845754265785,
-0.010027934797108173,
-0.011521845124661922,
-0.009649522602558136,
0.02751162275671959,
-0.007235197350382805,
0.02960149571299553,
0.0075210146605968475,
-0.04690030962228775,
-0.0019486508099362254,
0.04871675744652748,
0.049141883850097656,
-0.004957420751452446,
0.01290551945567131,
-0.015917103737592697,
-0.015839850530028343,
0.01652819849550724,
-0.058057405054569244,
-0.03090129792690277,
-0.04150553047657013,
0.036392003297805786,
-0.03703860193490982,
-0.06887257844209671,
-0.01260360423475504,
0.023653637617826462,
0.014578540809452534,
0.00610408466309309,
0.0009783495916053653,
-0.008987889625132084,
-0.03131192922592163,
-0.025527348741889,
0.052934568375349045,
-0.04431793838739395,
0.015997545793652534,
-0.004427871201187372,
0.03688881918787956,
0.05342140048742294,
0.03708944469690323,
-0.06975502520799637,
-0.014074904844164848,
-0.01673981361091137,
-0.014330794103443623,
-0.0010595630155876279,
-0.05294137820601463,
-0.009299637749791145,
0.000907301320694387,
-0.06324418634176254,
-0.027079859748482704,
-0.013023861683905125,
-0.009366865269839764,
-0.003543017664924264,
0.004050286021083593,
-0.012115400284528732,
-0.031135737895965576,
-0.0129396365955472,
0.03331315889954567,
-0.021982986479997635,
0.0047372980043292046,
-0.037613652646541595,
0.04641244560480118,
0.01283321063965559,
-0.020174015313386917,
-0.014694513753056526,
-0.06788662075996399,
0.017705757170915604,
-0.04628719761967659,
0.032928720116615295,
0.02718057855963707,
-0.02393280155956745,
0.011905517429113388,
-0.005749715957790613,
-0.03653646260499954,
0.006802340503782034,
0.014724173583090305,
-0.0753340870141983,
0.032571278512477875,
0.0650152713060379,
-0.00797745306044817,
0.04534697160124779,
-0.01138197910040617,
-0.0009653759771026671,
0.03893211483955383,
-0.009349594824016094,
-0.009854909032583237,
-0.0008355070021934807,
-0.04754222184419632,
0.024990612640976906,
0.0013048819964751601,
-0.004370440728962421,
-0.051424626260995865,
0.03930328041315079,
0.03312184289097786,
0.037722136825323105,
0.027473952621221542,
-0.013793062418699265,
0.033998891711235046,
-0.026200588792562485,
0.000532472156919539,
-0.06548837572336197,
0.04231340065598488,
0.03772268444299698,
0.018742822110652924,
-0.021410364657640457,
-0.0009897155687212944,
0.006474252324551344,
0.051611948758363724,
-0.040692150592803955,
-0.00007499373896280304,
0.027847209945321083,
0.014480449259281158,
0.024026455357670784,
0.01939907856285572,
-0.017191892489790916,
0.028672289103269577,
0.03772169351577759,
-0.017807241529226303,
-0.05170753598213196,
-0.02022225596010685,
0.051511216908693314,
0.03506576642394066,
0.010548728518188,
-0.02495177835226059,
0.005343077704310417,
0.057275429368019104,
0.040188297629356384,
0.03212485834956169,
0.06013007462024689,
-0.03378846123814583,
0.018689017742872238,
0.022595487534999847,
-0.022231832146644592,
-0.03529488295316696,
-0.007975353859364986,
-0.018224889412522316,
-0.05379001796245575,
0.018815238028764725,
0.000043998141336487606,
-0.021501529961824417,
-0.03620888292789459,
0.0648309588432312,
0.011461292393505573,
-0.0028503311332315207,
-0.032399073243141174,
-0.02569086104631424,
-0.05056600272655487,
-0.0072581893764436245,
0.002325093373656273,
0.0019165673293173313,
-0.020720191299915314,
0.05922689661383629,
0.04405521601438522,
0.011935903690755367,
0.056559253484010696,
-0.03074946254491806,
0.015221135690808296,
0.008310621604323387,
0.06652692705392838,
0.08201413601636887,
0.029615463688969612,
-0.031105684116482735,
0.05797632783651352,
-0.010485231876373291,
-0.05760205537080765,
0.017393218353390694,
-0.059890016913414,
0.005141119007021189,
-0.04409123584628105,
0.0295980554074049,
0.07935942709445953,
0.009753049351274967,
0.04240395501255989,
-0.04444798082113266,
0.0005237344885244966,
-0.02526477910578251,
0.008524165488779545,
0.042359136044979095,
0.0721961259841919,
0.004131565801799297,
-0.003952319268137217,
0.014337879605591297,
-0.03384287282824516,
0.03733840212225914,
-0.03718801960349083,
-0.028246257454156876,
-0.005630621686577797,
0.01030342560261488,
0.00793737918138504,
-0.009438375011086464,
0.04355265572667122,
0.038513533771038055,
-0.008842037990689278,
0.002139389282092452,
0.018246950581669807,
0.022459333762526512,
0.03216740861535072,
-0.03817008435726166,
-0.008315005339682102,
-0.02422224171459675,
-0.005092272534966469,
0.014556212350726128,
-0.009348147548735142,
-0.04119941592216492,
-0.04464288800954819,
0.016453346237540245,
-0.03943025320768356,
0.0073990169912576675,
0.03258596733212471,
-0.04481033980846405,
-0.019371118396520615,
-0.043971795588731766,
-0.0425976999104023,
-0.04064317047595978,
-0.09069681167602539,
-0.016896840184926987,
-0.01569417305290699,
-0.021297086030244827,
-0.008030670695006847,
-0.022770637646317482,
-0.0225778017193079,
-0.03886864334344864,
0.05006638914346695,
-0.013044617138803005,
-0.04647863656282425,
0.04788239672780037,
0.018303874880075455,
0.029412254691123962,
0.03977528586983681,
0.011067991144955158,
-0.04754357412457466,
-0.006815339904278517,
-0.034439533948898315,
-0.026795990765094757,
0.03601406142115593,
0.025982728227972984,
0.0021305757109075785,
-0.07735586911439896,
-0.017372390255331993,
0.010628614574670792,
0.01895778812468052,
-0.06863665580749512,
0.004301333334296942,
-0.02689814381301403,
-0.00523529015481472,
0.025514259934425354,
-0.04673239216208458,
-0.011693120002746582,
-0.002956815529614687,
-0.02547142095863819,
0.006286614574491978,
-0.0037471652030944824,
0.05394838750362396,
-0.03463662043213844,
0.07845689356327057,
-0.03601120039820671,
-0.0053110807202756405,
-0.04322031885385513,
0.021830910816788673,
-0.036350324749946594,
0.034683264791965485,
-0.007457154802978039,
-0.04934432730078697,
-0.030625276267528534,
-0.01638943888247013,
0.005040440708398819,
-0.004760910756886005,
-0.03509651869535446,
-0.04722459986805916,
0.01890573464334011,
0.042707737535238266,
-0.07130249589681625,
0.07866199314594269,
-0.004663342610001564,
0.04642418399453163,
-0.0008111410425044596,
-0.0395265631377697,
0.003564798040315509,
0.01765514351427555,
0.014645867981016636,
0.008324975147843361,
0.06471846252679825,
-0.029279544949531555,
-0.012885987758636475,
0.0035974052734673023,
0.01325498428195715,
0.011456239968538284,
-0.02082321047782898,
0.013288919813930988
] | [
-0.12816786766052246,
-0.015934595838189125,
-0.078977569937706,
-0.02444440685212612,
0.022135507315397263,
-0.039891812950372696,
0.024380965158343315,
0.025201544165611267,
0.013769516721367836,
-0.020158907398581505,
-0.0012616637395694852,
-0.05536502227187157,
-0.020094051957130432,
0.030229682102799416,
0.030152520164847374,
0.006176690571010113,
-0.019910037517547607,
-0.047471512109041214,
-0.041904665529727936,
0.0055884867906570435,
0.04219963029026985,
-0.015057606622576714,
-0.06380213052034378,
-0.03484879434108734,
0.026916207745671272,
0.05493473634123802,
0.050894513726234436,
-0.054397616535425186,
0.0007433593855239451,
-0.18863388895988464,
-0.021898554638028145,
-0.007002238649874926,
0.06012244522571564,
-0.018068326637148857,
0.006093790289014578,
0.00797245092689991,
0.012032248079776764,
0.01924198493361473,
0.007413603365421295,
0.07291673123836517,
-0.004694576840847731,
0.02380332350730896,
-0.00032056571217253804,
0.024869313463568687,
0.023662755265831947,
-0.0002586491173133254,
-0.02880791947245598,
-0.0013899122131988406,
-0.028816362842917442,
0.016006499528884888,
-0.053940270096063614,
-0.0018076500855386257,
-0.05179985985159874,
-0.024906707927584648,
-0.02703581564128399,
0.04503479227423668,
0.022892732173204422,
0.06163327768445015,
0.020673485472798347,
0.029638350009918213,
0.011850256472826004,
-0.022283531725406647,
-0.11705853790044785,
0.0894647166132927,
0.03415636718273163,
0.05480838194489479,
0.020421693101525307,
-0.036283042281866074,
-0.02180006541311741,
0.09252025932073593,
0.03535648435354233,
-0.017998700961470604,
-0.031180722638964653,
0.04300506412982941,
-0.001220098347403109,
-0.05150061845779419,
-0.024287531152367592,
0.02556471899151802,
0.04007020965218544,
0.011089082807302475,
-0.03585364297032356,
-0.0031580792274326086,
0.031145596876740456,
-0.014906908385455608,
-0.0191185399889946,
0.005671383813023567,
-0.00019007398805115372,
0.04517851024866104,
0.035078611224889755,
0.009645749814808369,
0.019131099805235863,
-0.004281245172023773,
-0.009970675222575665,
0.004187022801488638,
-0.06187211349606514,
0.014001845382153988,
0.026217537000775337,
-0.006874768063426018,
-0.024328583851456642,
0.387545645236969,
-0.017798759043216705,
-0.028027797117829323,
0.006301703862845898,
0.00206635775975883,
-0.016711246222257614,
0.008242682553827763,
-0.0004653592186514288,
-0.021998262032866478,
0.019869396463036537,
-0.08569019287824631,
-0.03848946467041969,
0.00767534738406539,
0.04883129522204399,
-0.06642663478851318,
-0.02291518822312355,
0.030099552124738693,
0.04123835265636444,
-0.011188925243914127,
0.026705775409936905,
0.007612665183842182,
-0.02484484203159809,
-0.04076255112886429,
0.00892254151403904,
-0.01214207150042057,
0.006747144274413586,
-0.0013042952632531524,
0.009033216163516045,
0.08299154043197632,
0.02240362949669361,
0.04703881964087486,
0.05725960433483124,
-0.08563561737537384,
-0.08056718111038208,
-0.02019031159579754,
-0.010912139900028706,
0.03594425320625305,
0.012259466573596,
-0.012045565992593765,
0.008353237062692642,
-0.006117501296103001,
0.011535907164216042,
-0.06753893941640854,
0.015361965633928776,
0.007148379925638437,
-0.06251899152994156,
0.11968134343624115,
-0.0312960222363472,
-0.037057798355817795,
-0.02993767522275448,
-0.025188850238919258,
0.022837435826659203,
0.02974863350391388,
-0.04498759284615517,
-0.05813588574528694,
-0.00036662796628661454,
0.02443554997444153,
0.07302746176719666,
-0.046508338302373886,
-0.04606064036488533,
-0.017787372693419456,
-0.06176988407969475,
-0.009211043827235699,
-0.05450480058789253,
0.04854981601238251,
0.006219399627298117,
-0.08026663959026337,
-0.03546876460313797,
-0.012591233476996422,
0.014092957600951195,
-0.07912102341651917,
0.00816153734922409,
-0.004966218490153551,
-0.05408788099884987,
-0.03133774176239967,
0.054329097270965576,
0.012415671721100807,
0.0014417609199881554,
-0.020427679643034935,
0.030228810384869576,
0.03191071376204491,
-0.006411037873476744,
0.04015279933810234,
-0.04594679921865463,
-0.0021073431707918644,
-0.011715695261955261,
-0.07786078751087189,
-0.04178960621356964,
-0.0026543817948549986,
-0.004828006960451603,
-0.01423417218029499,
0.01422362681478262,
-0.050111185759305954,
-0.05809338390827179,
0.09005250781774521,
-0.055456001311540604,
-0.01502959243953228,
0.028758086264133453,
0.015066659078001976,
0.016784001141786575,
-0.043557483702898026,
0.05400998145341873,
0.04070667549967766,
-0.005373668856918812,
0.0408579520881176,
-0.0352817066013813,
0.042514603585004807,
0.06415163725614548,
-0.07082236558198929,
0.060418229550123215,
0.04711967706680298,
-0.02698882482945919,
-0.004099786281585693,
0.0026798336766660213,
-0.009532214142382145,
0.013769848272204399,
-0.054539620876312256,
-0.012828253209590912,
0.020064709708094597,
0.00037004376645199955,
0.04992329701781273,
-0.03149983659386635,
-0.05344732850790024,
0.005197935272008181,
-0.3448864817619324,
-0.025377025827765465,
-0.018100393936038017,
-0.036104653030633926,
0.054443005472421646,
-0.06618432700634003,
-0.0037290137261152267,
-0.02240736596286297,
-0.04505346715450287,
0.03806237503886223,
0.057054005563259125,
-0.017582571133971214,
-0.01803760975599289,
-0.09260959923267365,
0.005696103908121586,
-0.019864991307258606,
-0.01363779790699482,
-0.08152312785387039,
-0.01453470066189766,
0.01963254250586033,
0.010168621316552162,
0.013249272480607033,
-0.03472151234745979,
-0.0417373925447464,
0.0394018292427063,
-0.04356369376182556,
0.08982408791780472,
-0.025134524330496788,
0.11231008917093277,
-0.03528653085231781,
0.04598943516612053,
-0.02079254575073719,
0.021484777331352234,
-0.034231968224048615,
0.00036405501305125654,
-0.048644665628671646,
-0.018064845353364944,
0.020529966801404953,
0.054017651826143265,
-0.01323221530765295,
-0.004133285954594612,
-0.011145706288516521,
-0.04239402711391449,
-0.029461679980158806,
-0.00929694902151823,
0.0076981489546597,
-0.002579090418294072,
-0.037263210862874985,
0.012592941522598267,
0.09558308124542236,
0.02447698824107647,
0.0027292659506201744,
0.010773210786283016,
0.054721083492040634,
0.0006504354532808065,
-0.024984803050756454,
-0.06421367079019547,
-0.014572840183973312,
-0.024643370881676674,
-0.02808278053998947,
0.04036618769168854,
0.009497328661382198,
0.03843618184328079,
-0.020571034401655197,
0.005112049635499716,
0.035684797912836075,
0.0178744588047266,
-0.03364735469222069,
0.05353084206581116,
-0.01078371424227953,
-0.0010091972071677446,
0.09460553526878357,
-0.018334973603487015,
-0.001302169170230627,
0.042765285819768906,
0.060076192021369934,
-0.017525123432278633,
0.03517790883779526,
0.010811339132487774,
0.018578002229332924,
0.04934166744351387,
0.016643626615405083,
0.04907738044857979,
-0.03246024250984192,
0.008321243338286877,
0.03604482486844063,
0.009662771597504616,
0.03472137451171875,
0.0470452718436718,
-0.03503108024597168,
-0.020267503336071968,
-0.040928132832050323,
0.03762079402804375,
-0.0405549630522728,
0.0570465512573719,
-0.03092094138264656,
-0.24833789467811584,
0.013262004591524601,
0.06843265891075134,
0.09337751567363739,
-0.009203612804412842,
0.010567358694970608,
0.04173992574214935,
-0.062017157673835754,
-0.04649914801120758,
-0.001434522564522922,
-0.018114594742655754,
0.026810506358742714,
0.03315560892224312,
-0.017351342365145683,
0.04450282081961632,
-0.03934793174266815,
0.00012028721539536491,
-0.01193367037922144,
0.02228129468858242,
0.01568691059947014,
0.07142651826143265,
0.013084947131574154,
0.19796431064605713,
-0.02969701774418354,
0.04013916850090027,
-0.007237182464450598,
0.05384858697652817,
0.01732391119003296,
0.1254998743534088,
0.01271915528923273,
0.037313856184482574,
-0.004356512799859047,
0.07336212694644928,
-0.0008703147759661078,
0.019244380295276642,
-0.07633775472640991,
-0.034266434609889984,
0.062130581587553024,
0.017281120643019676,
-0.0001473066076869145,
-0.012879070825874805,
0.015734972432255745,
-0.06560541689395905,
0.006152361165732145,
0.08124308288097382,
0.023487631231546402,
0.014520195312798023,
-0.0404142290353775,
-0.03890080377459526,
-0.017618143931031227,
-0.0579383559525013,
0.01298393402248621,
0.02892237715423107,
-0.052429426461458206,
0.03044416755437851,
0.034868743270635605,
0.0047413804568350315,
-0.016625558957457542,
-0.011928810738027096,
0.028176037594676018,
0.009525063447654247,
0.020786678418517113,
0.0788831040263176,
0.04353204742074013,
0.008260046131908894
] | [
-0.012045832350850105,
0.011727352626621723,
-0.010389504954218864,
0.01901141367852688,
0.01698972098529339,
-0.016718078404664993,
0.017597878351807594,
0.027444543316960335,
0.013554695062339306,
-0.007107613608241081,
-0.02454351633787155,
-0.02039867453277111,
0.007043453399091959,
0.004283716436475515,
0.014777223579585552,
-0.014559454284608364,
-0.013251016847789288,
-0.0014374697348102927,
0.019357364624738693,
-0.0048212227411568165,
0.0013189231976866722,
0.03439280763268471,
0.02332080714404583,
-0.011515052057802677,
-0.004991826601326466,
-0.021997354924678802,
-0.016472062095999718,
0.021527787670493126,
0.03364330530166626,
-0.12266915291547775,
-0.02435975894331932,
-0.0013552962336689234,
-0.007140192203223705,
0.025158116593956947,
-0.014962059445679188,
-0.04966400936245918,
0.011645428836345673,
0.011717853136360645,
-0.042655184864997864,
0.043565768748521805,
-0.05380931496620178,
-0.025112105533480644,
0.01784614473581314,
0.028518255800008774,
0.027287514880299568,
-0.0033131386153399944,
-0.001172396121546626,
0.016151780262589455,
-0.02485242672264576,
0.014492015354335308,
-0.024550698697566986,
0.015884434804320335,
-0.03301498666405678,
0.001770165516063571,
0.04976420849561691,
-0.037656571716070175,
0.01450593862682581,
-0.026847293600440025,
0.010743998922407627,
0.011707540601491928,
0.006919145584106445,
0.0071992650628089905,
-0.046611323952674866,
-0.030745692551136017,
0.00040418701246380806,
-0.0029274639673531055,
-0.03299780935049057,
-0.014834112487733364,
0.009075743146240711,
-0.007647146936506033,
0.039747271686792374,
-0.007586757652461529,
0.016349997371435165,
0.01888170838356018,
-0.022984080016613007,
-0.008401799947023392,
-0.011205651797354221,
-0.014330977573990822,
0.013433273881673813,
0.004384366795420647,
-0.016081400215625763,
-0.002365014748647809,
0.010786183178424835,
0.021337799727916718,
0.004778505768626928,
-0.00629225792363286,
0.0007851078407838941,
0.02979356236755848,
-0.006441613659262657,
0.03256063908338547,
-0.04765184223651886,
0.01354958862066269,
0.010338960215449333,
0.018979674205183983,
-0.06985313445329666,
0.03202826529741287,
0.00011744118091883138,
-0.009876454249024391,
-0.006050697527825832,
0.8382148146629333,
-0.016547756269574165,
0.050211720168590546,
0.026713283732533455,
0.014847461134195328,
-0.010477988980710506,
0.01563219539821148,
0.04196345806121826,
0.024986427277326584,
0.02406649850308895,
-0.04286659136414528,
0.03666306659579277,
0.0176752507686615,
0.053513914346694946,
-0.0007514001335948706,
0.022760173305869102,
-0.01798972859978676,
0.029370388016104698,
-0.030182484537363052,
-0.00671414565294981,
0.011631187982857227,
0.025890236720442772,
-0.01492911297827959,
-0.00779686588793993,
0.09694860130548477,
0.03919894993305206,
-0.13059601187705994,
-0.005693382583558559,
-6.772921473581608e-33,
0.031055115163326263,
-0.03173484280705452,
0.016756074503064156,
-0.013930774293839931,
0.020185915753245354,
-0.02102777361869812,
0.04501232132315636,
0.006696249358355999,
-0.003178417682647705,
-0.02997547946870327,
0.017426427453756332,
-0.02755146287381649,
-0.029191579669713974,
-0.03429194539785385,
0.03660837188363075,
-0.03351834788918495,
0.010107132606208324,
0.027284132316708565,
-0.014971227385103703,
0.037465497851371765,
0.07138830423355103,
0.007121599745005369,
0.0021171588450670242,
0.023799585178494453,
0.03389648348093033,
0.05262387543916702,
0.0008595667313784361,
0.0005159541615284979,
0.03773396089673042,
-0.03943333402276039,
-0.029095636680722237,
0.0020857714116573334,
0.006319722160696983,
-0.06021161749958992,
0.03882784768939018,
-0.0324656218290329,
0.010621795430779457,
0.015499326400458813,
-0.011559451930224895,
-0.02078629471361637,
-0.04898610711097717,
0.019378792494535446,
-0.06498828530311584,
-0.004400660749524832,
-0.0018065201584249735,
-0.03697233274579048,
-0.0036674533039331436,
0.0867687463760376,
0.01663908176124096,
-0.01709376648068428,
0.0039022560231387615,
0.03540518134832382,
-0.012451281771063805,
0.0042998576536774635,
-0.008903968147933483,
0.00858205184340477,
-0.0008157842676155269,
-0.023218870162963867,
0.002280691172927618,
0.007126642391085625,
-0.006187807768583298,
-0.008549932390451431,
-0.020620854571461678,
0.03074520267546177,
-0.03897073492407799,
0.0004124201077502221,
-0.002573681063950062,
-0.038909487426280975,
0.03698907420039177,
0.009975487366318703,
-0.047609664499759674,
0.00785878300666809,
-0.020034663379192352,
-0.022434718906879425,
-0.0029517244547605515,
0.009180281311273575,
-0.015476243570446968,
-0.011613547801971436,
-0.02526303566992283,
0.01576094701886177,
0.013618739321827888,
0.009668965823948383,
-0.006134750321507454,
0.01244518905878067,
0.005416396073997021,
-0.009961527772247791,
0.018441002815961838,
-0.012112104333937168,
-0.029935145750641823,
0.0034528851974755526,
0.05305112898349762,
-0.007674246095120907,
-0.014814813621342182,
-0.061384573578834534,
-0.000640588637907058,
7.466798156456742e-33,
-0.011587449349462986,
0.017654797062277794,
-0.028478747233748436,
0.0139837097376585,
-0.008651389740407467,
-0.03628578782081604,
0.011263233609497547,
0.01807251386344433,
0.013212602585554123,
0.028553370386362076,
-0.010589104145765305,
-0.02476183883845806,
-0.011606684885919094,
0.0052998485043644905,
0.029344739392399788,
-0.011772943660616875,
0.011440149508416653,
0.012851540930569172,
0.016412219032645226,
0.034882064908742905,
0.01488951500505209,
0.026715096086263657,
0.019394584000110626,
-0.010700782760977745,
-0.0029509710147976875,
0.08154472708702087,
-0.03974542394280434,
0.00034321428393013775,
0.01594221033155918,
0.023442931473255157,
0.02938234806060791,
-0.01978972554206848,
0.03309234604239464,
-0.0739254280924797,
-0.03040260449051857,
0.01850018836557865,
0.02046733908355236,
-0.018363438546657562,
0.018886979669332504,
0.01607074774801731,
0.03814186155796051,
-0.049911949783563614,
-0.012983638793230057,
-0.011674572713673115,
-0.03651270270347595,
0.010151608847081661,
0.013415754772722721,
0.022082429379224777,
0.006220139097422361,
-0.05352093279361725,
0.03358454257249832,
0.002890424570068717,
-0.04972143843770027,
0.010913370177149773,
0.0001788631925592199,
-0.011056948453187943,
-0.005751315038651228,
0.01749434322118759,
-0.03962432220578194,
0.021200090646743774,
-0.01602042466402054,
0.024607306346297264,
0.02198333851993084,
-0.025592923164367676,
-0.01263859961181879,
0.01370287872850895,
-0.025074610486626625,
-0.01751982606947422,
-0.04184198006987572,
-0.016422927379608154,
-0.030590837821364403,
-0.022966507822275162,
0.032043326646089554,
0.061878327280282974,
-0.013412339612841606,
-0.0035693561658263206,
-0.02160901017487049,
0.021207833662629128,
-0.006061051040887833,
0.062219370156526566,
0.00003448875213507563,
0.00380657403729856,
-0.002395044779404998,
0.01589024066925049,
-0.03056037425994873,
0.005937064997851849,
0.00606624037027359,
0.01767803356051445,
0.037168845534324646,
-0.006800080183893442,
-0.03304535523056984,
-0.027304839342832565,
-0.014143028296530247,
-0.01224167924374342,
0.007726279087364674,
-1.2719119979465177e-8,
-0.060001686215400696,
-0.006658690981566906,
-0.034653063863515854,
0.032121844589710236,
-0.006148485001176596,
0.009989023208618164,
-0.028094952926039696,
-0.01197584718465805,
-0.0004451342683751136,
-0.017154987901449203,
0.032025232911109924,
0.03978181257843971,
-0.01278635859489441,
-0.024670729413628578,
0.039643917232751846,
-0.051953643560409546,
0.044744834303855896,
-0.04224967584013939,
0.01563812792301178,
0.017075087875127792,
-0.021136529743671417,
0.03751151263713837,
-0.026592332869768143,
-0.011215204373002052,
-0.03433004394173622,
-0.024101966992020607,
-0.0015193858416751027,
-0.0584905669093132,
0.027691980823874474,
0.003264947095885873,
0.015230072662234306,
-0.017231618985533714,
-0.015702227130532265,
0.04062957316637039,
-0.02051667869091034,
-0.013082998804748058,
0.008456176146864891,
0.043104443699121475,
0.010580901056528091,
-0.0045458110980689526,
-0.004351601004600525,
-0.023831715807318687,
-0.01029182504862547,
-0.0265020951628685,
-0.03205633908510208,
-0.021675854921340942,
-0.018040580675005913,
-0.006252977065742016,
0.012407001107931137,
-0.037808939814567566,
0.0042724693194031715,
0.015584269538521767,
-0.008263001218438148,
0.023360786959528923,
-0.023647889494895935,
0.012386644259095192,
0.01799006387591362,
-0.036027442663908005,
-0.05954137071967125,
0.016196368262171745,
0.040592655539512634,
-0.028996044769883156,
-0.011076985858380795,
-0.010665636509656906
] | f-refactoring-to-pattern-matching | https://markhneedham.com/blog/2010/01/12/f-refactoring-to-pattern-matching |
false | 2010-01-13 01:37:15 | C# Test Builder Pattern: My current thinking | [
"coding",
"c"
] | [
"Coding"
] | I've written previously about the http://www.markhneedham.com/blog/2009/01/21/c-builder-pattern-still-useful-for-test-data/[test builder pattern in C#] and having noticed some different implementations of this pattern I thought it'd be interesting to post my current thinking on how to use it.
One thing I've noticed is that we often end up just creating methods which effectively act as setters rather than easing the construction of an object.
This seems to happen most commonly when the value we want to set is a boolean value. The following is quite typical:
[source,csharp]
----
public CarBuilder WithSomething(boolean value)
{
this.something = value;
return this;
}
----
The usage would be like so:
[source,csharp]
----
new CarBuilder().WithSomething(true).Build();
----
It doesn't read too badly but it seems to be unnecessary typing for the user of the API. If we're going to use the fluent interface approach then I would prefer to have two methods, defined like so:
[source,csharp]
----
public CarBuilder WithSomething()
{
this.something = true;
return this;
}
public CarBuilder WithoutSomething()
{
this.something = false;
return this;
}
----
We could then use this like so:
[source,csharp]
----
new CarBuilder().WithSomething().Build();
...
new CarBuilder().WithoutSomething().Build();
----
That requires more code but I think it's a bit more expressive and makes life easier for the user of the API.
An alternative approach which my colleague Lu Ning showed me and which I think is actually better is to http://www.markhneedham.com/blog/2009/08/15/builders-hanging-off-class-vs-builders-in-same-namespace/[make use of the object initializer syntax if all we have are setter methods on a builder].
We might therefore end up with something like this:
[source,csharp]
----
public class FooBuilder
{
public string Something = "DefaultSomething";
public boolean SomethingElse = false;
public Foo Build()
{
return new Foo(Something, SomethingElse);
}
}
----
[source,csharp]
----
new FooBuilder { SomethingElse = true }.Build();
----
With this approach we end up writing less code and although we use public fields on the builder I don't think it's a big deal since it allows us to achieve our goal more quickly. If we need other methods that take out the complexity of construction then we can easily just add those as well.
Another thing to note when using this pattern is that *we don't need to override all the object's attributes on every single test*. We only need to override those ones which we are using in our test. The rest of the values can just be defaulted.
[source,csharp]
----
[Test]
public void ShouldDoSomething()
{
var foo = new FooBuilder { Bar = "myBar", Baz = "myBaz", SomethingElse = "mySE", AndAgain = "..." }.Build();
// and then further on we only check the value of Bar for example
Assert.That(someValue, Is.EqualTo("myBar");
}
----
We don't need to specifically set any of the values except 'Bar' because they are irrelevant and create a clutter in the test which means it takes longer to understand what's going on.
This would be preferable:
[source,csharp]
----
[Test]
public void ShouldDoSomething()
{
var foo = new FooBuilder { Bar = "myBar" }.Build();
// and then further on we only check the value of Bar for example
Assert.That(someValue, Is.EqualTo("myBar");
}
----
Something which I've been wondering about recently is understanding the best way to describe the case where we don't want to define a specific value i.e. we want it as null.
I'd normally just set it to null like so:
[source,csharp]
----
new FooBuilder { Bar = null }.Build();
----
But we could make the API have a specific method and I haven't really decided whether there's much value to doing so yet:
[source,csharp]
----
new FooBuilder().WithNoBar().Build();
---- | null | null | [
0.03919718787074089,
-0.007193080615252256,
0.00636861938983202,
0.017109885811805725,
0.08184726536273956,
0.02903970517218113,
0.02388695254921913,
0.019235676154494286,
0.0009188291151076555,
-0.018660521134734154,
0.0026228248607367277,
-0.008741743862628937,
-0.07242731750011444,
0.033239711076021194,
-0.03334788233041763,
0.061151862144470215,
0.07246088236570358,
-0.0042992508970201015,
0.022956594824790955,
0.0005391869926825166,
0.0068730260245501995,
0.023922722786664963,
-0.004372620489448309,
0.03316836059093475,
0.023734690621495247,
0.04025482013821602,
-0.010613561607897282,
-0.0029791684355586767,
-0.05592939630150795,
-0.020163055509328842,
0.03848083317279816,
0.022298933938145638,
0.013461457565426826,
-0.023816417902708054,
0.006708011031150818,
-0.0346376933157444,
-0.021986210718750954,
-0.012258135713636875,
-0.00008154060924425721,
0.007071143016219139,
-0.08444634824991226,
0.019476894289255142,
0.00892727728933096,
0.015274694189429283,
-0.032455217093229294,
0.020987404510378838,
-0.04266546666622162,
-0.019907617941498756,
-0.044508930295705795,
-0.025531398132443428,
-0.059907492250204086,
0.03356384485960007,
-0.04125445336103439,
0.015409299172461033,
0.024459829553961754,
0.0502132847905159,
0.023625414818525314,
-0.0781777948141098,
0.017362484708428383,
-0.05369624122977257,
0.016739992424845695,
-0.00047982242540456355,
0.01197731401771307,
0.021370891481637955,
0.010947741568088531,
-0.0007249954505823553,
-0.04096101224422455,
0.040851980447769165,
-0.0431244820356369,
-0.01485947985202074,
-0.03686126694083214,
-0.011431442573666573,
0.017374612390995026,
-0.01004710141569376,
0.023130005225539207,
-0.038132257759571075,
-0.005925808101892471,
0.04525384306907654,
0.031027302145957947,
0.04672342166304588,
-0.001766532426699996,
-0.0016435912111774087,
0.02752881683409214,
-0.00704578822478652,
0.022360220551490784,
-0.03017883002758026,
-0.016782967373728752,
0.004406215623021126,
-0.012460403144359589,
0.064395010471344,
0.017177022993564606,
-0.028877822682261467,
-0.00018731184536591172,
0.02354252152144909,
0.019843462854623795,
-0.004035943653434515,
0.008967201225459576,
-0.029519155621528625,
0.007311979308724403,
0.005038166418671608,
-0.037230633199214935,
-0.0016437628073617816,
0.011365988291800022,
0.03483095020055771,
-0.05887199565768242,
-0.024999650195240974,
-0.05412411689758301,
-0.01728377677500248,
-0.0006017711129970849,
0.01858288049697876,
-0.05429261550307274,
0.016494877636432648,
-0.02263306826353073,
-0.005415653344243765,
-0.07850285619497299,
0.04168357327580452,
0.0036700794007629156,
0.0026373197324573994,
-0.03410043939948082,
0.04282727092504501,
0.04396136477589607,
0.030157914385199547,
-0.0016954407328739762,
0.04999665170907974,
-0.0009996786247938871,
0.03311338275671005,
-0.007988364435732365,
0.07700459659099579,
-0.00475615169852972,
-0.0772719457745552,
0.007650976534932852,
0.06320410221815109,
-0.0054817902855575085,
-0.003359851660206914,
-0.0012262004893273115,
-0.014506304636597633,
0.004561661276966333,
-0.005936322268098593,
0.03359965234994888,
0.03763170167803764,
-0.038666982203722,
-0.05935598164796829,
0.05461021512746811,
0.0012125953799113631,
-0.008026238530874252,
0.023641148582100868,
-0.013008243404328823,
-0.01980629749596119,
0.0073996190913021564,
0.07132704555988312,
0.028299901634454727,
0.09117255359888077,
0.04786822944879532,
-0.049176398664712906,
0.009789709001779556,
0.05669897794723511,
-0.0032150025945156813,
0.004473451990634203,
0.0035053992178291082,
0.0202561616897583,
0.03610553964972496,
0.03552772477269173,
0.044202033430337906,
0.00920133013278246,
0.02002738043665886,
-0.002079532714560628,
0.004621095024049282,
0.035311948508024216,
-0.011602587066590786,
-0.01271352730691433,
-0.07018845528364182,
-0.043116822838783264,
0.04357605427503586,
-0.06318684667348862,
0.006671626586467028,
0.0018875624518841505,
0.08548858761787415,
-0.01239699125289917,
0.07618257403373718,
0.0005240064929239452,
-0.07041747868061066,
0.018290894106030464,
0.0035002590157091618,
-0.00245557795278728,
0.025345508009195328,
-0.028253372758626938,
0.07142101228237152,
0.033195462077856064,
0.010540434159338474,
0.02916550077497959,
-0.048968467861413956,
-0.050954218953847885,
-0.01018459815531969,
-0.014781204983592033,
0.05869569629430771,
-0.01873614452779293,
-0.020961944013834,
0.07797707617282867,
0.02718048356473446,
0.04252006858587265,
0.029952390119433403,
-0.015932733193039894,
0.004642427898943424,
-0.038310177624225616,
-0.0414176881313324,
0.008740250021219254,
0.031794603914022446,
0.0064199636690318584,
-0.0403241366147995,
0.01073751412332058,
0.005160767585039139,
0.006513544358313084,
0.053709860891103745,
0.004014003090560436,
0.04458445683121681,
-0.002174933673813939,
0.027349179610610008,
-0.02599794790148735,
0.069183848798275,
-0.06307540088891983,
0.0022824821062386036,
-0.01881473697721958,
-0.028626376762986183,
0.008758030831813812,
-0.002992688212543726,
0.13374796509742737,
0.039401352405548096,
-0.05293760821223259,
-0.053362343460321426,
0.021536510437726974,
0.025819122791290283,
-0.0077257356606423855,
0.014689185656607151,
-0.012757297605276108,
0.015536798164248466,
0.007554319687187672,
-0.028889548033475876,
-0.002565929666161537,
0.005582978017628193,
-0.026773646473884583,
0.03885562717914581,
0.07647097855806351,
-0.04610821232199669,
0.04351786524057388,
-0.006220246199518442,
-0.022800911217927933,
-0.010524094104766846,
-0.031178997829556465,
-0.08383340388536453,
0.011090178042650223,
0.01070150826126337,
-0.014945121482014656,
0.06996297091245651,
-0.019085412845015526,
-0.02844790555536747,
-0.03391079977154732,
-0.06622155010700226,
0.009393679909408092,
0.015408620238304138,
0.07264375686645508,
-0.004723736550658941,
0.034994956105947495,
-0.020229734480381012,
0.009614336304366589,
0.0022174532059580088,
-0.04643702879548073,
0.022265154868364334,
0.011055403389036655,
-0.0006617540493607521,
0.034874994307756424,
-0.008594208396971226,
0.013873525895178318,
0.01843576692044735,
0.020464185625314713,
-0.02866058424115181,
0.002347392262890935,
0.034173913300037384,
-0.01480079535394907,
-0.03588445112109184,
-0.03774714842438698,
-0.04185640811920166,
0.0382348895072937,
-0.04327524080872536,
-0.033281110227108,
0.022467002272605896,
-0.07874760031700134,
0.023091111332178116,
-0.10211198031902313,
-0.07654531300067902,
-0.010541134513914585,
0.033309075981378555,
0.014913343824446201,
0.00975485797971487,
0.04743844270706177,
0.09702345728874207,
0.027188707143068314,
-0.012366858310997486,
0.004400964826345444,
-0.015325335785746574,
0.02076096087694168,
-0.015509599819779396,
0.029974179342389107,
0.046348292380571365,
0.0010678592370823026,
-0.004800974391400814,
-0.04314528778195381,
0.03792737051844597,
0.002096424112096429,
-0.2534356713294983,
0.016981761902570724,
-0.016764245927333832,
-0.06136193871498108,
0.020942170172929764,
0.0020943551789969206,
-0.0006459018331952393,
-0.04090747609734535,
-0.015039298683404922,
0.06006215512752533,
-0.024282988160848618,
-0.04945184290409088,
-0.030047249048948288,
0.043845124542713165,
0.004206513520330191,
0.01633833348751068,
-0.0006477342103607953,
-0.022936565801501274,
0.006459265016019344,
0.0452483631670475,
0.00791619997471571,
-0.05392396077513695,
0.031069468706846237,
0.03684651106595993,
0.04230888932943344,
0.03435629978775978,
-0.07957987487316132,
0.05588211119174957,
-0.040987249463796616,
-0.005203994922339916,
-0.0006322570843622088,
0.006706295069307089,
0.00993040855973959,
-0.02637597732245922,
-0.04501883685588837,
0.00582926208153367,
-0.005633654072880745,
0.02999814599752426,
-0.005705933086574078,
0.025352945551276207,
-0.040139734745025635,
-0.05108319967985153,
-0.034666258841753006,
-0.020304901525378227,
0.08354458212852478,
-0.014001484960317612,
-0.08887533843517303,
-0.022854536771774292,
-0.053867407143116,
0.06261088699102402,
-0.04498923569917679,
-0.05604512244462967,
-0.0028838932048529387,
0.0444415882229805,
-0.015738595277071,
-0.028013477101922035,
0.006343720946460962,
-0.019118189811706543,
-0.045218415558338165,
-0.016045011579990387,
-0.016863292083144188,
-0.03424613177776337,
0.005837675184011459,
-0.04870053380727768,
-0.016925975680351257,
-0.06736964732408524,
-0.06588001549243927,
-0.025041745975613594,
0.06959845125675201,
0.0471973717212677,
-0.01370915211737156,
0.0031926785595715046,
0.0011407245183363557,
-0.12456858903169632,
0.005369893275201321,
-0.04511889070272446,
-0.01501263864338398,
-0.048646558076143265,
-0.01375532802194357,
0.06443073600530624,
-0.017353763803839684,
-0.02558586746454239,
0.03890956938266754,
0.03347225859761238,
0.017132671549916267,
0.020583927631378174,
0.01474940124899149,
-0.003402772592380643,
-0.028232136741280556,
0.014088936150074005,
0.06842698156833649,
-0.014247623272240162,
-0.012467727065086365,
-0.05544042959809303,
0.011966438964009285,
0.02686748281121254,
0.025557328015565872,
-0.028850726783275604,
0.031005332246422768,
-0.0026937671937048435,
0.05921946093440056,
-0.03512294963002205,
0.03783748298883438,
-0.007284957449883223,
0.009722421877086163,
-0.03177614510059357,
-0.05565567687153816,
0.012631603516638279,
0.014162036590278149,
0.005755227990448475,
-0.007118933368474245,
-0.030562199652194977,
0.0006950482493266463,
-0.039609234780073166,
-0.02848241850733757,
-0.018372556194663048,
-0.011288785375654697,
0.019667889922857285,
-0.0005119492998346686,
-0.003745483234524727,
-0.038061827421188354,
0.014104691334068775,
0.0010081686777994037,
-0.016598038375377655,
-0.06211553514003754,
-0.03153328597545624,
-0.0030750243458896875,
-0.010865955613553524,
0.00005190769297769293,
0.04520946741104126,
-0.023442309349775314,
0.03136778622865677,
0.006145913619548082,
-0.03981264680624008,
0.006111028604209423,
0.027241768315434456,
-0.010817190632224083,
-0.03613048419356346,
-0.039191458374261856,
-0.015062026679515839,
0.0021753788460046053,
0.0059281266294419765,
0.037975188344717026,
0.028315793722867966,
0.0344722643494606,
0.01216044370085001,
0.044582534581422806,
0.031628355383872986,
0.004148488864302635,
0.01652875542640686,
0.003428594209253788,
-0.0767516940832138,
0.044885266572237015,
-0.050695378333330154,
-0.015167354606091976,
-0.041650913655757904,
0.05730418488383293,
-0.01692081429064274,
-0.029691193252801895,
-0.04035158082842827,
0.0484311617910862,
-0.041237615048885345,
-0.019347762688994408,
-0.03442029282450676,
0.012180974707007408,
0.048697102814912796,
-0.024150727316737175,
0.037658631801605225,
-0.05794402211904526,
0.0031164968386292458,
0.022488567978143692,
0.014404109679162502,
-0.05992555245757103,
0.05183502659201622,
0.0100837592035532,
-0.024955837056040764,
-0.020624957978725433,
0.006630654446780682,
0.040138643234968185,
0.003240982536226511,
-0.02602948248386383,
-0.014497736468911171,
0.004329587332904339,
-0.018138613551855087,
0.05506753548979759,
0.0060907346196472645,
0.005123957991600037,
-0.00035851102438755333,
-0.014667162671685219,
0.016666749492287636,
-0.0020620780996978283,
-0.010910408571362495,
0.0010159622179344296,
0.03529104217886925,
-0.03143967315554619,
-0.06682205945253372,
0.03243205323815346,
0.024494072422385216,
0.02942747436463833,
0.0311588067561388,
-0.004458846524357796,
-0.0034814425744116306,
-0.02674116939306259,
0.01069809403270483,
0.07525262981653214,
-0.048596348613500595,
0.03585014492273331,
0.016278838738799095,
-0.0003590221458580345,
0.05271570757031441,
0.03523716330528259,
-0.03959719091653824,
-0.011856417171657085,
-0.018041623756289482,
-0.00402539037168026,
-0.05830424651503563,
-0.023864001035690308,
-0.021162115037441254,
0.033064648509025574,
-0.009799356572329998,
-0.022787412628531456,
-0.01498881634324789,
-0.010703103616833687,
-0.012739341706037521,
-0.033180948346853256,
0.02492486871778965,
-0.05021989345550537,
-0.007345374207943678,
0.01100259181112051,
-0.06372229009866714,
0.028257908299565315,
-0.012089943513274193,
0.0004929989809170365,
0.017472926527261734,
-0.01188304927200079,
-0.05441717430949211,
-0.064022496342659,
0.008662362582981586,
-0.023654019460082054,
0.0649537667632103,
-0.0022978137712925673,
-0.027145689353346825,
-0.03630223497748375,
-0.030537163838744164,
-0.022351553663611412,
0.008059022948145866,
-0.009510491043329239,
-0.0007957201451063156,
0.014221975579857826,
0.0641765147447586,
-0.02188941091299057,
0.02213163487613201,
-0.004567125346511602,
-0.014198560267686844,
0.06304625421762466,
-0.060258544981479645,
-0.045241452753543854,
-0.00987186934798956,
-0.058726999908685684,
0.01844029687345028,
0.01965511031448841,
0.02608957514166832,
-0.02689671516418457,
0.06559639424085617,
0.03871553763747215,
0.01492160465568304,
0.010084902867674828,
0.025336716324090958,
0.03526220843195915,
-0.04337289184331894,
-0.005420783068984747,
-0.06444446742534637,
0.03099527768790722,
0.06246480718255043,
0.0480392687022686,
-0.014478066936135292,
-0.03879554197192192,
-0.005783159285783768,
0.04193262383341789,
-0.05417746305465698,
-0.04206760227680206,
0.0383516363799572,
0.021402806043624878,
0.0037168236449360847,
-0.010183820500969887,
-0.04349731653928757,
0.019036350771784782,
0.005771898198872805,
-0.02538580819964409,
-0.04602839797735214,
-0.05261800065636635,
0.047089919447898865,
0.016715331003069878,
0.007527145091444254,
-0.03697237744927406,
0.010383516550064087,
0.06675288826227188,
0.02709898166358471,
0.03535240888595581,
0.040713004767894745,
-0.036337193101644516,
0.05061212554574013,
0.04393912851810455,
-0.024773677811026573,
0.0017787605756893754,
-0.012269511818885803,
0.01613747701048851,
-0.06256110966205597,
0.01612803526222706,
0.012060286477208138,
-0.046527519822120667,
-0.0520503856241703,
0.06872138381004333,
0.016262702643871307,
-0.04614879935979843,
-0.048301950097084045,
0.01947914808988571,
-0.010691617615520954,
-0.0353613942861557,
-0.00258588301949203,
0.020952023565769196,
-0.04332530125975609,
0.054784949868917465,
-0.013066704384982586,
-0.001283458899706602,
0.06023798882961273,
-0.009015491232275963,
-0.015668848529458046,
-0.02641628123819828,
0.08933035284280777,
0.0758654922246933,
0.020090023055672646,
-0.005569071043282747,
0.05737174674868584,
-0.014187726192176342,
-0.04840270057320595,
0.012325684539973736,
-0.020485877990722656,
-0.007014011964201927,
-0.021748347207903862,
0.027159931138157845,
0.05992975831031799,
-0.00013592718460131437,
0.056018728762865067,
-0.046180207282304764,
-0.0042845034040510654,
-0.011400901712477207,
0.0487985834479332,
0.006566147319972515,
0.02543291449546814,
0.005017183721065521,
0.01917283982038498,
-0.005788818933069706,
-0.04104665666818619,
0.0038245755713433027,
-0.016847295686602592,
-0.02716827765107155,
0.031758204102516174,
0.00814152043312788,
0.008078822866082191,
0.008913387544453144,
0.028339367359876633,
0.07604493945837021,
-0.03191445767879486,
-0.01127853523939848,
0.01350378803908825,
0.005162154324352741,
0.010470530018210411,
-0.05145050212740898,
-0.002431222703307867,
-0.024321120232343674,
-0.009556213393807411,
-0.005035297013819218,
0.0025645301211625338,
-0.029477976262569427,
-0.0048530795611441135,
0.02422131784260273,
-0.003998011350631714,
-0.005843453109264374,
0.006752609740942717,
0.0013999240472912788,
-0.039087288081645966,
-0.045724257826805115,
-0.044084805995225906,
-0.026371371001005173,
-0.06660829484462738,
-0.037285614758729935,
0.025834428146481514,
-0.02789205126464367,
-0.03269152343273163,
-0.04716699942946434,
0.003342065494507551,
-0.023465320467948914,
0.04952230677008629,
-0.05024779960513115,
-0.017569346353411674,
0.03781591355800629,
0.008739988319575787,
0.04433145746588707,
0.037886686623096466,
0.04101911187171936,
0.015750333666801453,
-0.017071053385734558,
-0.0501522459089756,
-0.01669825240969658,
0.006947122514247894,
0.013074064627289772,
0.032885659486055374,
-0.08822732418775558,
0.02391495183110237,
-0.0016618551453575492,
-0.0005457020015455782,
-0.06466381996870041,
0.010141966864466667,
0.01687178947031498,
-0.0003548420500010252,
0.06607837975025177,
-0.029601041227579117,
-0.012013622559607029,
-0.014363948255777359,
0.012853095307946205,
0.023532245308160782,
0.014928537420928478,
0.044210758060216904,
-0.020669547840952873,
0.06582991033792496,
0.03006538189947605,
-0.041744060814380646,
-0.00801465380936861,
-0.006185079459100962,
-0.010570322163403034,
0.023830806836485863,
-0.045081619173288345,
-0.023675184696912766,
-0.03425529971718788,
-0.06274434179067612,
0.0007929847342893481,
0.013689639046788216,
-0.009073461405932903,
-0.027546849101781845,
0.030086176469922066,
0.05684028938412666,
-0.04956066980957985,
0.011482431553304195,
-0.03204343840479851,
0.038847342133522034,
-0.019720401614904404,
-0.020230162888765335,
0.01379456464201212,
0.014334438368678093,
0.014962266199290752,
0.006932158023118973,
-0.0005660115857608616,
-0.03539854288101196,
-0.016464781016111374,
-0.03184282407164574,
0.028001675382256508,
0.03644850477576256,
-0.005851018242537975,
0.005960287060588598
] | [
-0.0846870169043541,
0.040534067898988724,
-0.029018044471740723,
-0.0032385338563472033,
0.01998475380241871,
-0.02922939322888851,
0.00599211361259222,
-0.01601330377161503,
0.010362341068685055,
-0.013829268515110016,
-0.006762372795492411,
-0.03386380150914192,
-0.028566064313054085,
-0.0026252211537212133,
0.0675160214304924,
0.004225688520818949,
-0.039160098880529404,
-0.004124229308217764,
0.0037860230077058077,
0.01008490938693285,
0.035570576786994934,
-0.01943344809114933,
-0.04410920292139053,
-0.03966774791479111,
0.003315511392429471,
0.0413343571126461,
0.03756042942404747,
-0.028887735679745674,
0.025620687752962112,
-0.20107445120811462,
-0.010858850553631783,
0.007948203943669796,
0.025037061423063278,
-0.012631549499928951,
-0.003072812221944332,
0.018525132909417152,
0.006521043833345175,
0.05484408512711525,
-0.013146399520337582,
0.04049931466579437,
-0.006709281820803881,
0.0609632171690464,
-0.022019771859049797,
-0.004494302906095982,
0.029456669464707375,
0.03970830515027046,
0.007849747315049171,
-0.006464942824095488,
-0.024647841230034828,
-0.009789648465812206,
-0.019803881645202637,
-0.029858499765396118,
-0.025559324771165848,
-0.050105076283216476,
0.012228465639054775,
0.022017287090420723,
0.032761357724666595,
0.03955117240548134,
0.0377267524600029,
0.03165159747004509,
-0.014508466236293316,
-0.00019944469386246055,
-0.1369267851114273,
0.10341893881559372,
0.030595021322369576,
0.03258335962891579,
-0.025963297113776207,
-0.01879100315272808,
0.01449365634471178,
0.08138228207826614,
0.03568243607878685,
-0.05290182679891586,
-0.02547447383403778,
0.036809179931879044,
0.05268453434109688,
-0.036970868706703186,
-0.018463125452399254,
0.03545660153031349,
0.04357851296663284,
-0.01229147333651781,
-0.0816158726811409,
-0.04497267305850983,
-0.005706096533685923,
-0.002874386729672551,
-0.010595276951789856,
0.03211464360356331,
-0.0022308819461613894,
0.01619936153292656,
0.052466992288827896,
0.026200009509921074,
-0.0009799383115023375,
-0.04677072539925575,
0.012343937531113625,
0.03964295610785484,
-0.05655645579099655,
0.015649771317839622,
-0.006836445536464453,
-0.008440067060291767,
-0.04063098877668381,
0.40475746989250183,
-0.034129343926906586,
-0.03739042952656746,
0.013702891767024994,
0.021050021052360535,
-0.030093664303421974,
0.012730831280350685,
-0.01912606880068779,
-0.05969744548201561,
0.009675046429038048,
-0.05557830259203911,
-0.011673667468130589,
0.003639885690063238,
-0.0045569841749966145,
-0.0692562460899353,
-0.023524895310401917,
-0.003630333347246051,
0.024645712226629257,
0.00854272861033678,
-0.0001231540518347174,
0.011158903129398823,
0.021825268864631653,
-0.005534035619348288,
0.039760224521160126,
0.03296145796775818,
0.008169993758201599,
-0.025841085240244865,
0.02262125164270401,
0.021105965599417686,
0.03636880964040756,
0.01516114640980959,
0.04131927713751793,
-0.028198232874274254,
-0.09815234690904617,
0.007930840365588665,
0.021730156615376472,
-0.002839685184881091,
0.028684547170996666,
0.0017190775834023952,
-0.0027500679716467857,
-0.012653050944209099,
0.0027455727104097605,
0.007554326206445694,
0.04189852625131607,
-0.05127715691924095,
-0.04787285625934601,
0.07327742874622345,
-0.020192954689264297,
0.028309140354394913,
-0.03057023137807846,
-0.03438854217529297,
-0.011067725718021393,
0.02049851045012474,
0.0013712462969124317,
-0.08108869194984436,
0.034450434148311615,
0.022082261741161346,
0.045742981135845184,
-0.006189438980072737,
-0.025389758870005608,
-0.042282987385988235,
-0.055229853838682175,
0.017229987308382988,
-0.044141899794340134,
0.022224608808755875,
0.017666684463620186,
-0.11221588402986526,
-0.060056932270526886,
0.02049456536769867,
0.017926787957549095,
-0.06559500843286514,
-0.006894293241202831,
0.05071058124303818,
-0.05416715517640114,
-0.01616089604794979,
0.061650168150663376,
0.024131933227181435,
-0.05836279317736626,
0.004262568894773722,
0.03426811099052429,
0.047426529228687286,
0.014385441318154335,
0.01607201062142849,
-0.06773536652326584,
0.024722935631871223,
-0.005382726434618235,
-0.06179218366742134,
-0.035053011029958725,
-0.010633708909153938,
-0.02819334715604782,
-0.04822656884789467,
-0.028308894485235214,
-0.020149733871221542,
-0.05955848470330238,
0.08747553080320358,
-0.02970268577337265,
-0.00643116282299161,
0.05863138660788536,
-0.005761661101132631,
0.03789359703660011,
-0.011812105774879456,
-0.011454662308096886,
0.042226046323776245,
0.00546124717220664,
0.04723405838012695,
-0.0785682424902916,
0.04273073002696037,
0.03291347995400429,
-0.07832066714763641,
0.08292338997125626,
0.03175996616482735,
-0.0405692532658577,
-0.008109319023787975,
-0.02380470372736454,
-0.0008642133325338364,
-0.0140956686809659,
-0.019675863906741142,
0.0028745117597281933,
0.047676991671323776,
-0.0017649278743192554,
0.020112115889787674,
-0.06662673503160477,
-0.03774227201938629,
-0.02049262262880802,
-0.3410111665725708,
-0.03517768159508705,
-0.023609546944499016,
-0.007084216456860304,
-0.005269201938062906,
-0.05625566467642784,
-0.011767270974814892,
-0.02325873263180256,
-0.04002393037080765,
-0.03457773104310036,
0.057714059948921204,
-0.043195512145757675,
0.009409883059561253,
-0.06978315114974976,
-0.0069597018882632256,
-0.0029119171667844057,
-0.02554388716816902,
-0.06858287006616592,
-0.041244082152843475,
0.042942218482494354,
0.03038247674703598,
0.02073172852396965,
0.024727769196033478,
-0.08172690868377686,
0.011464736424386501,
-0.056377947330474854,
0.06201004981994629,
-0.03015069290995598,
0.10750359296798706,
-0.020004479214549065,
0.08127079159021378,
0.013734417036175728,
-0.007763606030493975,
-0.0722331702709198,
-0.02627912349998951,
-0.017526589334011078,
-0.016105851158499718,
0.008818077854812145,
0.057390403002500534,
0.0160218495875597,
0.00120169622823596,
0.011331985704600811,
-0.048081159591674805,
-0.06593125313520432,
0.020946526899933815,
-0.03270580992102623,
-0.006878839340060949,
-0.002599427942186594,
-0.014783911406993866,
0.08593552559614182,
-0.027217814698815346,
0.0014737973688170314,
-0.010193077847361565,
0.02424326166510582,
-0.014898409135639668,
-0.056629206985235214,
-0.07544016093015671,
0.012717626988887787,
0.0011362602235749364,
0.00478277076035738,
0.04240228608250618,
0.03644704073667526,
0.057454079389572144,
-0.030785268172621727,
0.012829356826841831,
0.016853878274559975,
-0.0027395919896662235,
-0.020921899005770683,
0.02722717635333538,
-0.04548883065581322,
-0.02292286977171898,
0.0776241272687912,
-0.030805513262748718,
-0.001354643958620727,
0.028985297307372093,
0.043093591928482056,
-0.03326824679970741,
-0.01259193941950798,
0.010169651359319687,
0.014191966503858566,
0.00356651796028018,
0.009962626732885838,
0.017301645129919052,
-0.0022785349283367395,
0.028792915865778923,
0.043260861188173294,
-0.0337250754237175,
0.0380399264395237,
0.03392840921878815,
-0.04802972450852394,
-0.005495378281921148,
0.006974962539970875,
0.00933881476521492,
-0.03781851381063461,
0.057787198573350906,
-0.023455573245882988,
-0.26330000162124634,
0.0192793607711792,
0.05713965743780136,
0.05647579953074455,
-0.010820475406944752,
-0.0008992388029582798,
0.029830705374479294,
-0.06646563112735748,
0.012204084545373917,
0.0037522553466260433,
0.005344378761947155,
0.026238448917865753,
0.01647668145596981,
0.020727183669805527,
0.059071652591228485,
-0.006330984178930521,
0.06092418357729912,
0.0021651519928127527,
0.04084593430161476,
-0.0002747261605691165,
0.004659577272832394,
0.010556114837527275,
0.21503248810768127,
0.010113544762134552,
0.05391913652420044,
-0.016657309606671333,
0.029383527114987373,
0.014290262944996357,
0.09202390164136887,
0.048413753509521484,
0.02391621842980385,
-0.0048048547469079494,
0.12849582731723785,
0.026367580518126488,
0.04068480059504509,
-0.08848164230585098,
0.008554792031645775,
0.015716008841991425,
-0.00866708904504776,
0.018380099907517433,
-0.02056085132062435,
0.03925715386867523,
-0.041323572397232056,
0.03387760743498802,
0.08449005335569382,
0.006370196118950844,
-0.028331371024250984,
-0.04594748467206955,
-0.020175227895379066,
-0.02359888330101967,
-0.07104931026697159,
-0.038756728172302246,
0.02699635550379753,
-0.022893883287906647,
0.007756123319268227,
0.0606151819229126,
0.011127200908958912,
-0.05042079836130142,
-0.007431433070451021,
0.03545159474015236,
0.028426693752408028,
0.02421005442738533,
0.10071652382612228,
0.06805311888456345,
0.029813693836331367
] | [
-0.04581144079566002,
0.053873248398303986,
-0.01664109341800213,
0.025087518617510796,
-0.020816294476389885,
0.023134883493185043,
-0.03909088298678398,
0.002288819756358862,
-0.016372501850128174,
-0.007461048197001219,
-0.028894558548927307,
-0.04328659921884537,
0.009162567555904388,
-0.04451850801706314,
0.04226095601916313,
0.0016431557014584541,
0.0022210245952010155,
-0.023542243987321854,
0.006341246422380209,
0.000043396910768933594,
-0.011779417283833027,
0.03653525561094284,
-0.0011273212730884552,
-0.0014324347721412778,
0.026583530008792877,
-0.020385196432471275,
-0.022386711090803146,
-0.010478115640580654,
0.027214061468839645,
-0.1102370172739029,
-0.0468527227640152,
0.0006510652019642293,
-0.013707693666219711,
0.024119405075907707,
-0.019637176766991615,
0.0007470467826351523,
0.0034148888662457466,
0.054563213139772415,
-0.007811849005520344,
-0.0214493740350008,
0.002649561734870076,
-0.0001984698756132275,
-0.01621575467288494,
-0.025316428393125534,
-0.012559966184198856,
0.023733070120215416,
-0.00985924992710352,
-0.02565898559987545,
0.004922652151435614,
-0.04800238087773323,
-0.009853797033429146,
-0.038947995752096176,
0.00314704654738307,
-0.03104051761329174,
0.03572242334485054,
0.003565147053450346,
0.008595919236540794,
-0.0024769525043666363,
0.010981976054608822,
-0.019052762538194656,
0.030136283487081528,
-0.0016412439290434122,
-0.04455823823809624,
-0.041677847504615784,
0.013276265002787113,
0.0013918784679844975,
-0.01681680791079998,
0.028996756300330162,
0.015597997233271599,
-0.02256372757256031,
-0.00869261845946312,
-0.0012503908947110176,
0.015653522685170174,
-0.006294556427747011,
0.02191167138516903,
0.03780229017138481,
-0.0050261798314750195,
0.014432498253881931,
0.03886101394891739,
-0.018411338329315186,
-0.023046571761369705,
0.01898033730685711,
-0.027691315859556198,
0.008175627328455448,
0.03703949600458145,
0.024003619328141212,
0.02798694558441639,
0.015087549574673176,
0.015865987166762352,
0.03808043152093887,
-0.022109098732471466,
0.0010291880462318659,
0.004045885521918535,
0.030898764729499817,
-0.0546642504632473,
0.012419207952916622,
0.015012277290225029,
-0.026606373488903046,
0.02349037118256092,
0.8205624222755432,
-0.0017384769162163138,
0.06211640685796738,
0.039136845618486404,
0.02476372756063938,
-0.010890213772654533,
-0.006124344188719988,
-0.04513612762093544,
0.019919807091355324,
0.04090370610356331,
-0.029412278905510902,
0.01655760034918785,
0.004911837168037891,
0.042392268776893616,
-0.017596663907170296,
0.004141360986977816,
0.03315439075231552,
-0.002387320389971137,
-0.03421446308493614,
-0.031020736321806908,
0.017438748851418495,
0.012598609551787376,
-0.03725205734372139,
0.021498503163456917,
-0.002662115031853318,
0.011045506224036217,
-0.21125338971614838,
-0.004999748896807432,
-8.460647038666308e-33,
0.07035207748413086,
-0.045800842344760895,
0.037101563066244125,
0.01906217262148857,
0.04644501581788063,
-0.0174839086830616,
0.038629308342933655,
0.0616612508893013,
0.022821923717856407,
-0.02983243390917778,
0.027108747512102127,
-0.02600405365228653,
-0.025991253554821014,
0.007414191961288452,
0.029305465519428253,
-0.02358521893620491,
-0.013596631586551666,
-0.005190357565879822,
-0.021458351984620094,
0.019255738705396652,
0.027029501274228096,
0.034903768450021744,
-0.012018878012895584,
-0.006794429384171963,
0.03774067386984825,
-0.0048897117376327515,
0.033146556466817856,
-0.007860283367335796,
-0.05208529531955719,
-0.02715134434401989,
-0.04309001564979553,
0.00661946926265955,
-0.0032892206218093634,
0.00666308868676424,
0.02114148624241352,
-0.039278045296669006,
0.0002687899686861783,
0.012699219398200512,
-0.017109151929616928,
-0.028172260150313377,
0.0014337419997900724,
-0.0143280616030097,
-0.04420066252350807,
-0.011481525376439095,
-0.03634875267744064,
-0.04223459213972092,
0.00802866742014885,
0.01825934462249279,
0.028500424697995186,
-0.00836025271564722,
0.01961752027273178,
0.06896568089723587,
0.0020419799257069826,
-0.0069375368766486645,
-0.03333921730518341,
0.028832484036684036,
-0.009939274750649929,
-0.007592699956148863,
-0.03346903622150421,
-0.017563190311193466,
-0.008036226034164429,
0.016396405175328255,
-0.030730223283171654,
0.04169970005750656,
-0.057436030358076096,
0.014537695795297623,
-0.05475567653775215,
-0.015455635264515877,
0.03291420266032219,
0.008156909607350826,
-0.028037790209054947,
-0.01333543099462986,
-0.01609879359602928,
-0.05831682309508324,
0.03853488713502884,
0.021380681544542313,
-0.00885219220072031,
0.010402700863778591,
-0.021436842158436775,
0.011671182699501514,
0.01468768808990717,
0.039151158183813095,
-0.0006493196706287563,
-0.016232309862971306,
0.02443533204495907,
-0.005945655517280102,
0.018351897597312927,
-0.011814920231699944,
0.0021197637543082237,
0.00437142513692379,
0.015394232235848904,
0.010994451120495796,
-0.008100593462586403,
-0.03184005618095398,
-0.03329018875956535,
8.574285016296175e-33,
0.0026244332548230886,
-0.03139831870794296,
-0.0020311984699219465,
-0.005399647168815136,
0.030469346791505814,
-0.033846430480480194,
0.000016463163774460554,
0.0032266785856336355,
-0.04185137897729874,
0.0428210124373436,
-0.007398557383567095,
0.06161259114742279,
-0.00826353207230568,
0.008805962279438972,
0.044427741318941116,
-0.029368426650762558,
0.021867923438549042,
-0.05067026987671852,
0.016590707004070282,
-0.015191526152193546,
0.033925604075193405,
-0.009990233927965164,
0.03670341521501541,
-0.03184378519654274,
0.003501247614622116,
0.03725457191467285,
-0.08575025945901871,
0.02026555873453617,
0.03986646234989166,
0.003007126273587346,
0.002073598327115178,
-0.02370772883296013,
0.03614801913499832,
-0.047528523951768875,
-0.0376812145113945,
0.018738264217972755,
0.00698769511654973,
0.002479242393746972,
0.010951714590191841,
0.004709738306701183,
0.007199225015938282,
-0.017567571252584457,
-0.006696189753711224,
0.012569492682814598,
0.037577319890260696,
-0.010029477998614311,
0.008230520412325859,
-0.051491644233465195,
-0.0005954498192295432,
0.042625121772289276,
0.06594052910804749,
0.03728359565138817,
0.00013300112914294004,
0.010446744039654732,
0.018914667889475822,
-0.02231695130467415,
-0.006592024117708206,
-0.0033456082455813885,
-0.029492348432540894,
0.058188967406749725,
-0.004452637396752834,
0.02429836057126522,
-0.013731463812291622,
0.02320052683353424,
-0.033316921442747116,
-0.009627723135054111,
-0.01914343796670437,
-0.01966121606528759,
-0.01416364312171936,
-0.02466677501797676,
-0.029676970094442368,
0.005951759405434132,
0.002865471178665757,
0.03989063575863838,
-0.013992845080792904,
-0.03700093924999237,
0.0033430582843720913,
0.01568736881017685,
0.028525907546281815,
0.015295158140361309,
0.0037397623527795076,
-0.025397075340151787,
0.033790670335292816,
0.021887408569455147,
-0.0012271370505914092,
-0.011803237721323967,
-0.010565622709691525,
0.023780664429068565,
0.03469236195087433,
0.01226931344717741,
-0.028949692845344543,
-0.001686379429884255,
-0.0056754061952233315,
0.00758805638179183,
-0.00784371979534626,
-1.3537366783111793e-8,
-0.014068743214011192,
0.0034782718867063522,
-0.019569136202335358,
0.013562732376158237,
0.023924021050333977,
0.005670052021741867,
-0.028581686317920685,
-0.00772161316126585,
-0.020903045311570168,
-0.00888336542993784,
0.058893539011478424,
0.016069376841187477,
-0.00752813508734107,
0.0018362049013376236,
0.013558050617575645,
-0.09231368452310562,
0.005394247826188803,
-0.02276073768734932,
0.007812488358467817,
-0.015614151954650879,
-0.0015705808764323592,
0.041600197553634644,
-0.04414310306310654,
0.010990830138325691,
0.023923851549625397,
-0.05006906017661095,
-0.001108944765292108,
-0.08139413595199585,
0.030772525817155838,
0.04707755893468857,
-0.04638662934303284,
-0.0006303623667918146,
-0.0012027435004711151,
0.01954558864235878,
-0.03410283848643303,
-0.00952113326638937,
0.01999329961836338,
0.03023003600537777,
0.01861952804028988,
-0.009366912767291069,
0.02437913976609707,
-0.0025315640959888697,
0.005317392759025097,
-0.021429000422358513,
0.021219614893198013,
-0.006331580225378275,
-0.00567975826561451,
-0.00251908041536808,
0.020811429247260094,
-0.027552396059036255,
-0.0016572000458836555,
0.03227144107222557,
-0.005953073501586914,
0.02151852659881115,
0.01631028577685356,
0.014383533969521523,
-0.006622168235480785,
-0.007299448363482952,
-0.00715961679816246,
-0.030261127278208733,
0.03569268807768822,
0.005044046323746443,
-0.0035099030937999487,
-0.01785987801849842
] | c-test-builder-pattern-my-current-thinking | https://markhneedham.com/blog/2010/01/13/c-test-builder-pattern-my-current-thinking |
false | 2010-01-14 08:01:29 | F#: Refactoring to sequence/for expressions | [
"f"
] | [
"fsharp"
] | Since I started playing around with F# one of the things I've been trying to do is not use the 'for' keyword because I was trying to avoid writing code in an imperative way and for loops are a big part of this for me.
Having read http://fsharpnews.blogspot.com/2009/12/zach-cox-word-count-challenge.html[Jon Harrop's solution] to the http://www.markhneedham.com/blog/2009/12/20/f-word-count-using-a-dictionary/[word count problem] where he made use of both sequence and for expressions I thought it'd be intersting to see what some of the code I've written would look like using that approach.
An example of a function that I wrote which could be rewritten the other way is the following:
[source,ocaml]
----
let delimeters (value:string) = Regex.Matches(value, "\[([^]]*)\]") |> Seq.cast |>
Seq.map (fun (x:Match) -> x.Groups) |>
Seq.map (fun x -> x |> Seq.cast<Group> |> Seq.nth 1) |>
Seq.map (fun x -> x.Value)
----
This could be written like this if we used a sequence expression instead of chaining map operations:
[source,ocaml]
----
let delimeters (value:string) = seq { for m in Regex.Matches(value, "\[([^]]*)\]") do yield m.Groups.Item(0).Value }
----
One interesting thing I found about writing it like this was that I noticed that 'GroupCollection' had the 'Item' property on it which would let me get the match much more easily.
I completely missed that when I was writing the first solution so I'm not sure if that was just due to my lack of knowledge of that part of the API or whether the second approach actually encouraged me to explore more and therefore end up with a simpler solution.
Another example I found was this expression for getting the matches for a regular expression:
[source,ocaml]
----
let regex pattern input = Regex.Matches(input, pattern) |> Seq.cast |> Seq.map (fun (x:Match) -> x.Value)
----
That can be simplified to the following with a sequence expression:
[source,ocaml]
----
let regex pattern input = seq { for m in Regex.Matches(input, pattern) do yield m.Value }
----
One neat thing about using sequence expressions is that we don't need to make use of 'Seq.cast' to convert a value to a typed sequence - we can just use it as it is.
The following function can be rewritten to just use a for expression:
[source,ocaml]
----
let writeTo (path:string) (values:seq<string * int>) =
use writer = new StreamWriter(path)
values |> Seq.map (fun (value, count) -> value + " " + count.ToString()) |> Seq.iter (fun x -> writer.WriteLine(x))
----
Like so:
[source,ocaml]
----
let writeTo (path:string) (values:seq<string * int>) =
use writer = new StreamWriter(path)
for (value,count) in values do writer.WriteLine(value + " " + count.ToString())
----
We eventually iterate through the sequence anyway so I think it's more intention revealing to just do the iteration and mapping in one step.
This is a function from when I was http://www.markhneedham.com/blog/2009/07/12/f-a-day-writing-a-feedburner-graph-creator/[writing the little Feedburner application]:
[source,ocaml]
----
let calculateWeeklyAverages =
Seq.reverseSequence >>
Seq.windowed days >>
Seq.map (fun (entries:array<Entry>) ->
(entries.[0]).Date , entries |> Array.map (fun e -> e.Circulation |> toDecimal) |> Array.average ) >>
Seq.reverseSequence
----
If we use a sequence expression it'd look like this:
[source,ocaml]
----
let calculateWeeklyAverages entries =
seq { for (e:array<Entry>) in (entries |> Seq.reverseSequence |> Seq.windowed days) do
yield ((e.[0]).Date, entries |> Array.map (fun e -> e.Circulation |> toDecimal) |> Array.average) }
|> Seq.reverseSequence
----
The resulting code is shorter but it seems to me like the focus when you read the code has moved to the line which yields the tuple whereas in the first version I find that I read the function as a whole.
I've not really used sequence expressions that much so it's been interesting going through the code and seeing where they might be useful.
I found several places where I'd used lists because I find those easier to pattern match against but I wonder whether it would make sense to use sequences there as well. | null | null | [
0.0015048851491883397,
-0.009505516849458218,
-0.023579522967338562,
-0.005057674832642078,
0.06372804939746857,
0.03979675844311714,
0.016180383041501045,
0.05579327046871185,
0.025473976507782936,
-0.0015531476819887757,
-0.0016087001422420144,
0.011117837391793728,
-0.09895776212215424,
-0.0066590034402906895,
0.004547496326267719,
0.0666307732462883,
0.06616444140672684,
-0.040455274283885956,
0.010551352985203266,
-0.009074685163795948,
0.004321996122598648,
0.056856509298086166,
0.01868552900850773,
0.029819004237651825,
0.03294495865702629,
0.011881567537784576,
0.008137637749314308,
-0.009831973351538181,
-0.044165872037410736,
0.011745583266019821,
0.012356956489384174,
0.025012701749801636,
-0.00016762981249485165,
-0.008030212484300137,
0.0008485295111313462,
-0.009236657060682774,
0.01481651607900858,
0.022145934402942657,
0.0010875009465962648,
0.03200302645564079,
-0.057046085596084595,
-0.009338854812085629,
-0.026040013879537582,
-0.00801131222397089,
-0.050601858645677567,
0.032763056457042694,
-0.07677166163921356,
-0.017527466639876366,
-0.022471027448773384,
-0.0012460406869649887,
-0.05148545652627945,
0.022207733243703842,
0.016155295073986053,
-0.0025777779519557953,
0.013456953689455986,
0.03301770240068436,
0.01234536711126566,
-0.0661846473813057,
0.02117179147899151,
-0.01182645931839943,
-0.008873523212969303,
0.00514926528558135,
0.0037770417984575033,
0.06542167067527771,
0.000736815738491714,
-0.005977875553071499,
-0.03917381167411804,
0.056527335196733475,
-0.05582857504487038,
-0.027087775990366936,
0.01642252318561077,
0.04231272265315056,
-0.016156243160367012,
-0.02287421002984047,
0.010101097635924816,
-0.04427117481827736,
0.016140267252922058,
0.04304324835538864,
0.021532168611884117,
0.048601943999528885,
-0.02636588364839554,
0.027105828747153282,
0.038942575454711914,
0.016481904312968254,
0.023200038820505142,
-0.0039902133867144585,
-0.021628938615322113,
0.005287102423608303,
-0.035736553370952606,
0.05356312915682793,
0.029038945212960243,
-0.06503501534461975,
-0.004341219086199999,
0.0072372592985630035,
0.005748639348894358,
0.010883908718824387,
-0.004481836687773466,
0.012680566869676113,
-0.04181978851556778,
0.023647958412766457,
-0.04910633713006973,
-0.04572341591119766,
0.055800482630729675,
-0.01331794261932373,
-0.09524411708116531,
-0.00982694886624813,
0.0010561732342466712,
0.010221274569630623,
0.03969015181064606,
0.006562425754964352,
-0.04069986194372177,
0.00727112265303731,
-0.012562225572764874,
0.04008817300200462,
-0.09762752056121826,
0.043794553726911545,
0.0009661755175329745,
0.023268073797225952,
-0.015867192298173904,
0.025185812264680862,
0.05516843870282173,
0.006223968230187893,
-0.005585930775851011,
0.06323627382516861,
-0.009936083108186722,
0.028545992448925972,
0.010559462942183018,
0.08829794079065323,
-0.030732708051800728,
-0.06793290376663208,
-0.034769102931022644,
0.04989912733435631,
-0.038573987782001495,
-0.011441363021731377,
-0.0075742765329778194,
-0.030946068465709686,
-0.05252557620406151,
-0.020554525777697563,
0.03765001893043518,
0.04775070399045944,
0.004065072163939476,
-0.020683515816926956,
0.010801073163747787,
-0.053093429654836655,
0.00891159474849701,
0.011062911711633205,
-0.041844647377729416,
-0.005456371232867241,
-0.024428637698292732,
0.01163402758538723,
0.018865171819925308,
0.040473490953445435,
0.03893258050084114,
-0.0367865152657032,
-0.00036455856752581894,
0.08443807810544968,
0.0295737162232399,
0.04225970059633255,
-0.001363685936667025,
-0.004059385042637587,
0.016208933666348457,
0.04227098450064659,
-0.018616709858179092,
0.04376116767525673,
0.007353723049163818,
0.0015918213175609708,
0.030747801065444946,
0.0586889386177063,
-0.04054085910320282,
-0.019926825538277626,
-0.03575868159532547,
-0.011440196074545383,
0.04608844220638275,
-0.03417903557419777,
0.027354303747415543,
0.023898636922240257,
0.044476915150880814,
0.021244240924715996,
0.04574386402964592,
0.014343935996294022,
-0.06998646259307861,
0.014366637915372849,
-0.0049298969097435474,
0.019396783784031868,
0.03251367062330246,
-0.004151307977735996,
0.053274720907211304,
0.029630396515130997,
0.023158231750130653,
0.02752828039228916,
-0.0646682009100914,
-0.07089671492576599,
-0.020385917276144028,
-0.016032876446843147,
0.0586710162460804,
-0.04448937624692917,
0.012911194935441017,
0.04446147754788399,
0.018554335460066795,
0.04620078578591347,
0.04213464632630348,
-0.022483093664050102,
0.02478887140750885,
-0.02033650316298008,
-0.053473953157663345,
0.079466313123703,
0.0268851350992918,
-0.04215126112103462,
-0.0506855845451355,
0.005411261226981878,
0.01210083719342947,
0.04046051949262619,
0.04322861135005951,
-0.019633270800113678,
0.027923446148633957,
0.03402642160654068,
0.03432806208729744,
-0.03376082330942154,
0.022171800956130028,
-0.08393342047929764,
0.02075176127254963,
-0.008962776511907578,
-0.015416963957250118,
-0.014251790009438992,
-0.01510494016110897,
0.14409902691841125,
0.07365210354328156,
-0.05171438306570053,
-0.036829181015491486,
0.0062751490622758865,
-0.016256654635071754,
-0.04939839616417885,
0.01578078791499138,
-0.0034714729990810156,
0.0001477696350775659,
0.0033649893011897802,
-0.04302780330181122,
0.016203250735998154,
0.015858953818678856,
-0.01971685141324997,
0.021949419751763344,
0.07144187390804291,
-0.040675003081560135,
0.03896253928542137,
-0.006716839037835598,
-0.04805096238851547,
0.013094660826027393,
-0.0053549096919596195,
-0.049847863614559174,
0.02418716438114643,
0.013028692454099655,
-0.012863066047430038,
0.04512171447277069,
-0.017222201451659203,
-0.039465971291065216,
-0.0025700656697154045,
-0.035577159374952316,
0.023892119526863098,
0.05267415940761566,
0.041527099907398224,
0.0007748484495095909,
0.071251779794693,
-0.023636849597096443,
-0.02015497349202633,
-0.0030056212563067675,
-0.04963463544845581,
-0.05616099387407303,
-0.0035003195516765118,
-0.0011847573332488537,
0.024873079732060432,
0.022212857380509377,
0.03347032517194748,
0.008308629505336285,
0.018090130761265755,
0.0016058518085628748,
-0.01128126960247755,
0.03989395871758461,
0.010505757294595242,
-0.05944621562957764,
-0.02811894565820694,
-0.042528342455625534,
0.04356105625629425,
-0.029620854184031487,
-0.024230556562542915,
-0.037531476467847824,
-0.042077939957380295,
0.0385722778737545,
-0.05398200452327728,
-0.0629294365644455,
0.012983042746782303,
0.02736535295844078,
0.03942064195871353,
-0.041617296636104584,
-0.0154029605910182,
0.021011250093579292,
0.014238026924431324,
0.002364990534260869,
0.034880559891462326,
0.011986036784946918,
0.022286994382739067,
-0.02407064102590084,
-0.002533950610086322,
0.0467081144452095,
-0.022816738113760948,
-0.015854183584451675,
-0.06836650520563126,
-0.008647632785141468,
-0.007860046811401844,
-0.2694275975227356,
0.03306880220770836,
-0.053660567849874496,
-0.0005142155569046736,
0.026665277779102325,
-0.037012651562690735,
0.02310521900653839,
-0.03962419182062149,
-0.01971762254834175,
0.04888148233294487,
-0.025196250528097153,
-0.029265711084008217,
-0.025452272966504097,
0.04983670637011528,
0.003208024660125375,
-0.0015329885063692927,
-0.0026789018884301186,
-0.05118373781442642,
0.0168757401406765,
0.05487309396266937,
-0.0013723534066230059,
-0.0698229968547821,
-0.0046613505110144615,
0.07555641978979111,
-0.0000949099994613789,
0.05509449914097786,
-0.09490056335926056,
0.009866944514214993,
-0.027408242225646973,
-0.00492219440639019,
-0.018696021288633347,
0.0036049135960638523,
0.04167984798550606,
-0.030356677249073982,
-0.021691199392080307,
-0.03268356993794441,
0.029356826096773148,
-0.010669282637536526,
0.010625312104821205,
0.041332196444272995,
-0.037394408136606216,
-0.0515122227370739,
0.011973255313932896,
-0.01744469814002514,
0.06062513217329979,
0.008322171866893768,
-0.043800126761198044,
-0.008060457184910774,
-0.02706138603389263,
0.05791299790143967,
-0.04117579385638237,
-0.03893233835697174,
-0.008118776604533195,
0.04437731206417084,
0.003374710213392973,
-0.03431110456585884,
0.01689268834888935,
-0.01095544919371605,
-0.04983637109398842,
0.0026618025731295347,
-0.027886321768164635,
-0.055856719613075256,
-0.010134524665772915,
-0.0610831081867218,
-0.038734305649995804,
-0.04762072488665581,
-0.06048624590039253,
0.0192660354077816,
0.05726692080497742,
0.014002888463437557,
-0.003299656556919217,
-0.004683219362050295,
-0.026191391050815582,
-0.1083666980266571,
-0.064785435795784,
-0.0057798465713858604,
-0.009662393480539322,
-0.005354223307222128,
0.027762914076447487,
0.06239507347345352,
-0.05579415336251259,
-0.07346975058317184,
0.02602889947593212,
0.016969235613942146,
0.03574227914214134,
-0.02659866400063038,
0.0036047985777258873,
-0.021154526621103287,
-0.03789377212524414,
0.0012014622334390879,
0.0646003857254982,
-0.014661813154816628,
0.0009931025560945272,
0.0033197421580553055,
0.039886724203825,
0.004200202412903309,
0.028624054044485092,
0.016520744189620018,
0.039135243743658066,
0.016018468886613846,
0.04980234056711197,
-0.037225645035505295,
0.04302366077899933,
-0.03433488681912422,
-0.01159597560763359,
-0.0005295106093399227,
-0.04095593839883804,
0.014023860916495323,
0.048040419816970825,
0.004163472447544336,
-0.011153527535498142,
-0.027971109375357628,
0.025085201486945152,
-0.04494469240307808,
-0.016516204923391342,
-0.02006607875227928,
0.025811314582824707,
0.004433476831763983,
0.04864935576915741,
-0.005421680863946676,
-0.046383634209632874,
0.001142205554060638,
0.020089207217097282,
-0.030118828639388084,
-0.06674445420503616,
-0.038212116807699203,
-0.004395558964461088,
-0.022784540429711342,
0.0022199174854904413,
0.0547388419508934,
-0.009084182791411877,
0.028093358501791954,
-0.025797683745622635,
-0.037754155695438385,
0.03883042559027672,
0.00016887721722014248,
0.0007560622761957347,
-0.015413135290145874,
-0.05158349871635437,
-0.02283056080341339,
0.020799919962882996,
-0.013395261019468307,
0.023326227441430092,
0.03426016867160797,
0.02568984217941761,
0.027324087917804718,
0.01645437814295292,
0.008864147588610649,
-0.005696513690054417,
0.010684031061828136,
0.009764942340552807,
-0.040567364543676376,
0.03188086673617363,
-0.01843177154660225,
0.020217319950461388,
0.013086256571114063,
0.03123076818883419,
-0.02995133586227894,
-0.03641689568758011,
-0.06933639198541641,
0.040844716131687164,
-0.02372310683131218,
-0.02571023255586624,
-0.029543627053499222,
0.006751274224370718,
0.04389024153351784,
-0.03711136430501938,
0.05174661800265312,
-0.026898663491010666,
0.03085363283753395,
0.007990985177457333,
0.025261083617806435,
-0.02219322882592678,
0.028994696214795113,
-0.03271600976586342,
-0.02645694464445114,
-0.006589745637029409,
0.026260046288371086,
0.019130060449242592,
0.02252933569252491,
-0.017943125218153,
-0.027121026068925858,
0.004533579107373953,
0.034882109612226486,
0.06461700797080994,
0.007069532759487629,
0.0010266100289300084,
-0.02152300626039505,
-0.04745005443692207,
0.015971606597304344,
-0.037941545248031616,
-0.020261090248823166,
-0.03194977343082428,
0.02154480293393135,
-0.04708771035075188,
-0.06780270487070084,
-0.005877356510609388,
0.045930229127407074,
0.010931620374321938,
0.0007162097608670592,
0.006492631044238806,
-0.04457693174481392,
0.0000015984202264007763,
-0.011484021320939064,
0.06046474352478981,
-0.05651913955807686,
-0.015702208504080772,
-0.02944990247488022,
0.026151161640882492,
0.025113441050052643,
0.03587775677442551,
-0.0510689802467823,
-0.004997060634195805,
-0.01317271776497364,
-0.03044217824935913,
0.0007586915162391961,
-0.03713689744472504,
-0.01184080820530653,
0.027472225949168205,
-0.03646824136376381,
0.014540095813572407,
-0.01828116923570633,
-0.008881784975528717,
-0.005582025274634361,
0.003034099703654647,
0.015434286557137966,
-0.0575517974793911,
-0.016322601586580276,
0.023762166500091553,
-0.022421400994062424,
0.01114024966955185,
-0.04970405995845795,
0.03902025148272514,
0.04013263061642647,
0.013564330525696278,
-0.0036709310952574015,
-0.07376831769943237,
0.015402640216052532,
-0.030974773690104485,
0.037830669432878494,
0.048996731638908386,
-0.032875534147024155,
-0.019223494455218315,
0.02783050760626793,
-0.02634793519973755,
0.02561124786734581,
0.013105630874633789,
-0.06719309836626053,
0.0015724980039522052,
0.07281912863254547,
-0.005460082553327084,
0.057414066046476364,
-0.006983110681176186,
-0.012218659743666649,
0.06120765954256058,
-0.02962411940097809,
-0.013725345954298973,
-0.01184175256639719,
-0.06473178416490555,
0.02268223837018013,
-0.005888182669878006,
0.002709511434659362,
-0.05068621039390564,
0.05339367315173149,
0.0529065802693367,
0.04701759293675423,
0.024862390011548996,
0.009641099721193314,
0.02121899463236332,
-0.0016013807617127895,
0.005988106597214937,
-0.07512068748474121,
0.009121948853135109,
0.04814327508211136,
0.02396312542259693,
0.015528005547821522,
-0.009501309134066105,
-0.005491671618074179,
0.041155193001031876,
-0.04646371304988861,
-0.01181730255484581,
0.0003446987539064139,
0.0022541009820997715,
0.017688527703285217,
0.009940230287611485,
-0.018629565834999084,
0.024965127930045128,
0.04085659980773926,
-0.017297564074397087,
-0.03755071759223938,
-0.02575424313545227,
0.036676399409770966,
-0.02538125403225422,
-0.0015999081078916788,
-0.0008477593073621392,
-0.007044424768537283,
0.030492763966321945,
0.037948306649923325,
0.022607548162341118,
0.06724638491868973,
-0.03315722942352295,
0.015925336629152298,
0.03249915689229965,
-0.02161361277103424,
-0.01098932046443224,
0.004135239403694868,
-0.03260667994618416,
-0.03737420216202736,
0.022198747843503952,
-0.0037540062330663204,
-0.03520131856203079,
-0.06324970722198486,
0.06733129918575287,
0.03466419130563736,
-0.03904419764876366,
-0.0540834479033947,
0.007447623647749424,
-0.06279661506414413,
-0.0016941431676968932,
-0.015170188620686531,
0.03658000007271767,
-0.03251675143837929,
0.05019410699605942,
0.0312715508043766,
-0.00022323163284454495,
0.05190642923116684,
-0.026561709120869637,
0.009573057293891907,
0.03327039256691933,
0.06476307660341263,
0.08334286510944366,
0.06124776229262352,
-0.005425478331744671,
0.05968567728996277,
-0.04883299395442009,
-0.05135337635874748,
-0.0031379214487969875,
-0.04680780693888664,
0.026290543377399445,
-0.00479209516197443,
0.0413806177675724,
0.07254987210035324,
0.012826135382056236,
0.03910873085260391,
-0.03248190879821777,
-0.016967089846730232,
-0.014246840961277485,
0.001129042822867632,
0.055568598210811615,
0.06400547921657562,
0.005152071360498667,
0.01446529757231474,
-0.014233664609491825,
-0.03381011635065079,
0.019418468698859215,
-0.0034600053913891315,
-0.010605665855109692,
0.000642632192466408,
-0.01776251755654812,
0.00914414506405592,
0.0018896454712375998,
0.04564633592963219,
0.05823633819818497,
-0.01810489408671856,
0.010502097196877003,
-0.010722842998802662,
-0.003639861475676298,
0.0020758400205522776,
-0.008288190700113773,
-0.026487598195672035,
-0.027807705104351044,
0.00025071168784052134,
-0.012140940874814987,
-0.023334845900535583,
-0.03570364788174629,
-0.03726937621831894,
0.02316153794527054,
-0.04083402454853058,
-0.007138873916119337,
-0.005962371360510588,
-0.0140447448939085,
-0.01486346684396267,
-0.03098311275243759,
-0.04875645786523819,
-0.05606268718838692,
-0.07819734513759613,
0.018459046259522438,
-0.0028475760482251644,
-0.01869783364236355,
-0.018222829326987267,
-0.041152168065309525,
-0.021333403885364532,
-0.041663557291030884,
0.045933499932289124,
-0.02993200719356537,
-0.02074064314365387,
0.000052265208069002256,
0.011429375037550926,
0.052395012229681015,
0.029543600976467133,
0.044255487620830536,
-0.009642834775149822,
0.008098306134343147,
-0.02348785661160946,
-0.004898351617157459,
0.03789892792701721,
0.027185527607798576,
0.014081205241382122,
-0.07355379313230515,
0.010465460829436779,
0.03495769202709198,
0.009271109476685524,
-0.08438315242528915,
-0.0021239202469587326,
-0.00031956538441590965,
-0.002604117849841714,
0.020821696147322655,
-0.021731922402977943,
-0.026152200996875763,
-0.03979247063398361,
0.0022265822626650333,
0.018049294129014015,
-0.0021417704410851,
0.044526368379592896,
-0.02590569481253624,
0.07560357451438904,
-0.024865536019206047,
-0.00500668166205287,
-0.02561665140092373,
0.005126090254634619,
-0.02506362833082676,
0.04166862741112709,
-0.003147874027490616,
-0.05550110712647438,
-0.03974682092666626,
-0.03894048556685448,
-0.01780349388718605,
0.0006338912062346935,
-0.027376040816307068,
-0.04125377908349037,
0.029478536918759346,
0.0343838632106781,
-0.04555545374751091,
0.09072927385568619,
-0.02505406178534031,
0.01941169798374176,
0.0046463352628052235,
-0.05738607794046402,
-0.006487010046839714,
0.0062197535298764706,
-0.004503650590777397,
0.011658203788101673,
0.06185028329491615,
-0.022694148123264313,
-0.012409722432494164,
-0.0035609526094049215,
-0.00851399265229702,
0.002959528937935829,
-0.03990880772471428,
0.04923420399427414
] | [
-0.08924198895692825,
-0.017085401341319084,
-0.054097648710012436,
-0.005346517078578472,
0.035908427089452744,
-0.03210177645087242,
0.017127474769949913,
0.014101885259151459,
0.005897196475416422,
-0.02495867758989334,
-0.012206238694489002,
-0.051067840307950974,
0.007613409776240587,
0.009410826489329338,
0.009596345014870167,
-0.006174250040203333,
-0.029584884643554688,
-0.04538087174296379,
-0.042709965258836746,
0.005108883138746023,
0.011998292990028858,
-0.0051617613062262535,
-0.05587278679013252,
-0.000549876072909683,
0.006439270451664925,
0.05246058851480484,
0.013148991391062737,
-0.04565519839525223,
-0.0005215099081397057,
-0.2198931872844696,
-0.012597808614373207,
0.008279625326395035,
0.07071290910243988,
-0.01874893717467785,
-0.019532622769474983,
0.018623389303684235,
0.01707777939736843,
0.02662702277302742,
-0.023761427029967308,
0.05663888528943062,
0.009730271995067596,
0.017733735963702202,
-0.03558061271905899,
0.00001533679460408166,
0.019825004041194916,
-0.006934692617505789,
-0.058246973901987076,
-0.01068491954356432,
-0.010373816825449467,
0.017413025721907616,
-0.029734091833233833,
-0.01256487425416708,
-0.03776617720723152,
0.023229895159602165,
-0.015047051012516022,
0.035253170877695084,
0.028530295938253403,
0.03897798806428909,
-0.00621248222887516,
0.004008220508694649,
-0.012644967995584011,
-0.04855407029390335,
-0.13619819283485413,
0.10959307849407196,
-0.01813490502536297,
0.05440634861588478,
0.004698874894529581,
-0.016062404960393906,
-0.032117169350385666,
0.1262456178665161,
0.0014186232583597302,
-0.030836759135127068,
-0.021458394825458527,
0.04637012630701065,
0.017278112471103668,
-0.0029070666059851646,
-0.009896851144731045,
0.030576517805457115,
0.04726715385913849,
-0.011173535138368607,
-0.03528204560279846,
-0.00930735468864441,
0.01620759256184101,
-0.05025825649499893,
-0.030329963192343712,
-0.03823583945631981,
-0.009395338594913483,
0.02560598775744438,
0.04329921305179596,
0.018190447241067886,
0.0507219098508358,
-0.01073971576988697,
-0.003504987806081772,
0.022658802568912506,
-0.06422162055969238,
-0.057911697775125504,
-0.006131127942353487,
0.004484225995838642,
-0.013370504602789879,
0.41485607624053955,
-0.055442094802856445,
-0.00025121253565885127,
0.019597036764025688,
-0.01044309139251709,
-0.019343873485922813,
-0.03163135051727295,
0.000509846955537796,
-0.03147030621767044,
-0.0033502031583338976,
-0.05124926567077637,
-0.02805839665234089,
-0.004038174636662006,
0.07165378332138062,
-0.06059355288743973,
-0.02595789171755314,
0.008557389490306377,
0.02236126735806465,
0.027430320158600807,
0.029550645500421524,
0.014091430231928825,
-0.00846276804804802,
-0.03243802487850189,
0.006589496973901987,
0.03493449464440346,
0.020842138677835464,
0.018050814047455788,
0.034631650894880295,
0.07191896438598633,
0.0812426283955574,
0.004611285403370857,
0.05207926407456398,
-0.04408380016684532,
-0.07770966738462448,
0.0023704131599515676,
-0.008365574292838573,
0.029582370072603226,
0.04412280395627022,
-0.014185869134962559,
0.005716570653021336,
0.02381443977355957,
0.0007605986320413649,
-0.05942784994840622,
0.02556711994111538,
-0.008728512562811375,
-0.028297843411564827,
0.1286369413137436,
-0.02925332821905613,
-0.04615499824285507,
-0.04122655838727951,
-0.033545102924108505,
0.00042346800910308957,
0.03846293315291405,
-0.03806358575820923,
-0.037821266800165176,
0.012313993647694588,
0.05784093961119652,
0.10680515319108963,
-0.02924022451043129,
-0.06671115756034851,
0.0010676238453015685,
-0.03365514799952507,
0.00297811278142035,
-0.03174591064453125,
0.03565463796257973,
0.028123777359724045,
-0.09719197452068329,
-0.05032513290643692,
-0.005106179043650627,
-0.004589974880218506,
-0.10550744831562042,
0.032058291137218475,
-0.023004930466413498,
-0.030302545055747032,
0.02013961225748062,
0.030006326735019684,
-0.010660020634531975,
-0.014352709986269474,
0.0008456325740553439,
0.03581174463033676,
0.012323146685957909,
-0.040203895419836044,
0.036298755556344986,
-0.041173145174980164,
-0.014961788430809975,
-0.022610630840063095,
-0.06894402951002121,
-0.038689661771059036,
0.01950470544397831,
0.025952447205781937,
-0.011667687445878983,
0.017148127779364586,
-0.05429000407457352,
-0.05948151275515556,
0.08388429880142212,
-0.04462045803666115,
-0.0248489398509264,
0.005138144828379154,
0.0029740799218416214,
0.003335028886795044,
-0.02076536975800991,
0.04130869358778,
0.036148034036159515,
0.03379734978079796,
0.030732544139027596,
-0.013722497969865799,
0.022177517414093018,
0.07512357085943222,
-0.04296218231320381,
0.034239355474710464,
0.01924910582602024,
-0.05150572955608368,
-0.0034799419809132814,
-0.045589085668325424,
0.005022385623306036,
-0.013352767564356327,
-0.03396184369921684,
-0.03250172361731529,
0.0008950585033744574,
-0.006847237702459097,
0.027257565408945084,
-0.018507419154047966,
-0.06168750301003456,
-0.009974733926355839,
-0.3539055287837982,
-0.05089525505900383,
-0.00536729022860527,
0.04567877948284149,
-0.008370424620807171,
-0.04322876036167145,
-0.003956292290240526,
-0.024669790640473366,
-0.05704683065414429,
0.0757056251168251,
0.03679002821445465,
0.022042348980903625,
-0.0018834363436326385,
-0.0727229118347168,
-0.013952880166471004,
0.024332217872142792,
-0.03745938464999199,
-0.06650156527757645,
-0.010524564422667027,
0.0494193434715271,
0.030558407306671143,
0.007739296182990074,
-0.033851463347673416,
-0.0291273295879364,
0.04033288732171059,
-0.011085594072937965,
0.08701379597187042,
0.00936978030949831,
0.05776486173272133,
-0.04188820719718933,
0.05613502860069275,
-0.01950320042669773,
0.011121937073767185,
-0.03180547058582306,
-0.007150694262236357,
-0.0351097472012043,
-0.023834144696593285,
0.008311785757541656,
0.06621204316616058,
-0.01854509674012661,
-0.03225910663604736,
0.019285861402750015,
-0.04447499290108681,
-0.006981263868510723,
-0.023774197325110435,
0.017299722880125046,
0.020691873505711555,
-0.04834000766277313,
-0.01453698892146349,
0.0936780571937561,
0.0059748683124780655,
-0.007391462568193674,
0.04216231405735016,
0.031106017529964447,
-0.016322435811161995,
-0.012134733609855175,
-0.06693734973669052,
-0.0247536338865757,
-0.04925236478447914,
-0.0693637877702713,
0.0435645766556263,
0.034998856484889984,
0.050520725548267365,
-0.005623479839414358,
0.004093110095709562,
0.0249040350317955,
-0.0019794439431279898,
0.002092459937557578,
0.02558819018304348,
-0.019814545288681984,
-0.05358569324016571,
0.09424132108688354,
-0.0075738816522061825,
-0.006651621777564287,
0.04370850324630737,
0.04129021614789963,
-0.013927502557635307,
-0.0035699575673788786,
0.014512058347463608,
-0.022580929100513458,
0.06699322164058685,
-0.007775209844112396,
0.03316239267587662,
-0.020996375009417534,
0.018363669514656067,
0.059771593660116196,
-0.005064945202320814,
0.013238136656582355,
0.03453488275408745,
-0.017420083284378052,
0.015868403017520905,
0.005120111163705587,
0.02058112435042858,
-0.037449419498443604,
0.04812806844711304,
-0.004761390388011932,
-0.24017786979675293,
0.02188451960682869,
0.07600987702608109,
0.05760439485311508,
0.00831181276589632,
0.006468459032475948,
0.038895558565855026,
-0.08184290677309036,
-0.02011689729988575,
0.023161770775914192,
0.01634223200380802,
0.05994724854826927,
0.01188565045595169,
-0.030660811811685562,
0.03382442891597748,
-0.02311360463500023,
0.01969033293426037,
-0.014199881814420223,
0.02553226612508297,
0.012100531719624996,
0.058459073305130005,
-0.0011233638506382704,
0.2048868089914322,
-0.02032988891005516,
0.010256096720695496,
0.0007259760168381035,
0.01838950254023075,
0.0038549096789211035,
0.07883565872907639,
0.006320406682789326,
0.0337747186422348,
-0.02460356056690216,
0.07505805045366287,
0.010715014301240444,
0.036384839564561844,
-0.07177728414535522,
-0.026042480021715164,
0.0516432449221611,
0.03524481877684593,
-0.0008316322928294539,
-0.0000313805830955971,
0.017472276464104652,
-0.04642145708203316,
0.020555434748530388,
0.08595152199268341,
-0.007323126774281263,
0.021668896079063416,
-0.061775676906108856,
-0.030894003808498383,
0.033970098942518234,
-0.03866563364863396,
-0.020325928926467896,
-0.000991484266705811,
-0.021944915875792503,
0.008798257447779179,
0.058323685079813004,
0.01073768362402916,
-0.008352953940629959,
0.011053837835788727,
0.05211182311177254,
-0.025936346501111984,
-0.0005170823424123228,
0.0883079469203949,
0.04439705237746239,
0.01488429494202137
] | [
0.004628446418792009,
0.03438295051455498,
-0.025916244834661484,
0.02308628521859646,
-0.007698614150285721,
-0.008712179958820343,
0.013625037856400013,
0.008070292882621288,
0.013502252288162708,
-0.01720796525478363,
-0.00987208541482687,
-0.002368349116295576,
0.017048317939043045,
-0.02460385486483574,
0.03941982612013817,
0.01124621368944645,
-0.032109834253787994,
-0.020493557676672935,
0.018252750858664513,
-0.02911551669239998,
-0.008438223041594028,
0.04687640070915222,
0.05028296262025833,
-0.021373646333813667,
-0.024410128593444824,
0.022408602759242058,
-0.039727069437503815,
0.013461724855005741,
0.03181793913245201,
-0.10782986134290695,
-0.02702367678284645,
-0.0071006109938025475,
0.02318669483065605,
0.02232358418405056,
0.006686440669000149,
-0.016390107572078705,
-0.015138122253119946,
0.003865680890157819,
-0.0122522646561265,
0.03539300709962845,
-0.04323803633451462,
0.0037922414485365152,
-0.016360219568014145,
0.00018934266699943691,
0.01085162628442049,
-0.015126869082450867,
-0.017197800800204277,
0.010045313276350498,
-0.03579229861497879,
0.03294944763183594,
-0.018937526270747185,
0.007744345813989639,
-0.04318038001656532,
0.024002451449632645,
0.03915911912918091,
-0.014309108257293701,
-0.03284827619791031,
-0.048957619816064835,
-0.01764238253235817,
-0.04670726880431175,
0.010028843767940998,
-0.02260078676044941,
-0.04558149352669716,
-0.0273724552243948,
-0.014086215756833553,
-0.0074790287762880325,
-0.008321689441800117,
0.0006868334021419287,
0.021042512729763985,
-0.009689044207334518,
-0.019640007987618446,
0.01377010066062212,
0.01825280860066414,
-0.02022579312324524,
-0.005838816054165363,
0.02445358783006668,
0.008241540752351284,
-0.04467235133051872,
0.017850980162620544,
-0.015742702409625053,
-0.02602473646402359,
0.003373055486008525,
0.010855007916688919,
0.027325620874762535,
0.014913992024958134,
-0.012477749958634377,
0.005103564355522394,
0.01443442516028881,
0.006653476040810347,
0.004497491754591465,
-0.03696538507938385,
-0.012876993045210838,
0.032162923365831375,
0.003520120633766055,
-0.06603319197893143,
0.03384918347001076,
0.004416624549776316,
-0.013628171756863594,
0.005369631107896566,
0.8659972548484802,
0.002293412806466222,
0.03632041811943054,
0.009617486037313938,
-0.002185664139688015,
-0.034988123923540115,
0.01079318206757307,
-0.017462516203522682,
0.013277473859488964,
0.01457500085234642,
-0.055684156715869904,
0.007556570693850517,
0.008758598938584328,
0.05179492011666298,
0.022967282682657242,
-0.005582115147262812,
0.0201705452054739,
0.01952735148370266,
-0.003203482134267688,
0.03789133578538895,
0.0437830351293087,
0.028325963765382767,
-0.0006552523118443787,
0.0263449028134346,
0.03582614287734032,
0.027040425688028336,
-0.1468612253665924,
0.009167761541903019,
-7.680212829268375e-33,
0.04606064409017563,
-0.010632511228322983,
0.017919665202498436,
-0.006725092884153128,
0.030795777216553688,
-0.00022085568343754858,
0.015901979058980942,
0.012859613634645939,
-0.030679021030664444,
-0.02248845249414444,
0.016129354014992714,
-0.000762659590691328,
0.005633040331304073,
-0.013065269216895103,
0.035767219960689545,
-0.023107267916202545,
0.012118668295443058,
0.03895986080169678,
-0.010477500036358833,
0.0034593872260302305,
0.039903782308101654,
0.0051080090925097466,
0.025887273252010345,
0.010658749379217625,
-0.0018544851336628199,
0.03390425443649292,
-0.02089245431125164,
0.014221475459635258,
-0.006766794249415398,
-0.0437600240111351,
-0.019450940191745758,
0.0023113011848181486,
0.019786745309829712,
-0.027439886704087257,
0.03693171218037605,
-0.026441246271133423,
-0.0029005669057369232,
0.010888120159506798,
-0.007832158356904984,
-0.036536674946546555,
-0.049236468970775604,
0.009067914448678493,
-0.02984689734876156,
-0.025096498429775238,
-0.009260040707886219,
-0.027805114164948463,
-0.009611912071704865,
0.02940620481967926,
0.0007633083732798696,
0.027966266497969627,
0.03433270379900932,
0.004666550550609827,
-0.015364590100944042,
-0.003895681584253907,
-0.017158905044198036,
0.012145872227847576,
-0.016223087906837463,
-0.0005948572070337832,
0.0018556449795141816,
0.029645569622516632,
-0.012818302027881145,
0.0035244422033429146,
0.018838059157133102,
0.024484720081090927,
0.0009429898345842957,
-0.01161834318190813,
0.027210721746087074,
0.026888472959399223,
0.004885302856564522,
0.009631427936255932,
-0.018866000697016716,
0.036644767969846725,
-0.03892666473984718,
-0.03521979972720146,
0.0024115045089274645,
-0.02979106269776821,
-0.0038149140309542418,
-0.022403612732887268,
-0.02975321374833584,
0.0307319238781929,
0.011642803438007832,
-0.0073065017350018024,
-0.0066603561863303185,
-0.022121964022517204,
-0.03179866448044777,
-0.025501849129796028,
0.010498999617993832,
0.0004962438833899796,
-0.011203564703464508,
-0.00558514054864645,
0.020576342940330505,
0.024739237502217293,
-0.02091175504028797,
-0.046672720462083817,
-0.013126338832080364,
7.602248166450086e-33,
-0.01736302487552166,
-0.005755971185863018,
-0.006541734095662832,
-0.00024048668274190277,
0.025482822209596634,
-0.038775186985731125,
0.027048010379076004,
0.03534633666276932,
-0.014296192675828934,
0.030695252120494843,
-0.020048104226589203,
0.00018077215645462275,
-0.01802101358771324,
0.011658326722681522,
0.0475265197455883,
-0.025903305038809776,
0.00012507321662269533,
-0.004816731438040733,
0.03970833122730255,
0.03302065655589104,
0.016678618267178535,
0.0025982153601944447,
0.015003404580056667,
0.015628725290298462,
-0.012250805273652077,
0.049788571894168854,
-0.03191407769918442,
-0.031006179749965668,
-0.005105078686028719,
0.01873534731566906,
0.04918283596634865,
-0.009259209968149662,
0.026105212047696114,
-0.035405855625867844,
-0.029173467308282852,
0.022409072145819664,
0.008364503271877766,
-0.004510075319558382,
0.007192773278802633,
-0.009755189530551434,
0.03786173835396767,
0.000786550110206008,
-0.004089992493391037,
-0.018705373629927635,
-0.011869986541569233,
0.0028656036593019962,
0.013041415251791477,
-0.005321726202964783,
0.012970909476280212,
0.011819313280284405,
0.011664915829896927,
-0.0071771047078073025,
-0.02581995166838169,
0.012883404269814491,
-0.0006314767524600029,
-0.0060892668552696705,
-0.035299208015203476,
-0.033036187291145325,
-0.04999534413218498,
-0.015495438128709793,
-0.027189582586288452,
0.014471116475760937,
-0.005618640687316656,
0.023108912631869316,
0.0010090164141729474,
-0.0008016068604774773,
-0.03512144461274147,
-0.018939584493637085,
-0.022425388917326927,
-0.0002723619982134551,
-0.02930382452905178,
-0.024003436788916588,
-0.01661514677107334,
0.04338226839900017,
-0.02900931052863598,
-0.004630992189049721,
-0.03621407598257065,
0.013928340747952461,
-0.012309699319303036,
0.03808979317545891,
0.015552028082311153,
-0.015469161793589592,
0.01609208434820175,
0.047882769256830215,
-0.04071115329861641,
-0.008534617722034454,
0.014434398151934147,
0.007508391514420509,
0.016982639208436012,
-0.007943549193441868,
-0.004216353874653578,
-0.060352880507707596,
0.007782727014273405,
0.005936726462095976,
0.02691849321126938,
-1.3501225915035775e-8,
-0.07356635481119156,
0.015599238686263561,
-0.03667527809739113,
0.05610072985291481,
0.03445408120751381,
-0.011480508372187614,
-0.012300788424909115,
0.0010686402674764395,
-0.006541043519973755,
-0.005558413453400135,
0.031916216015815735,
-0.0000393226946471259,
-0.0033065329771488905,
-0.011293009854853153,
0.024172121658921242,
-0.041096098721027374,
0.011933737434446812,
-0.02661808393895626,
0.030426541343331337,
0.0005502506392076612,
-0.004295723978430033,
0.030052565038204193,
-0.0019402889302000403,
-0.007365135941654444,
0.016872603446245193,
0.0002376771008130163,
0.01468801312148571,
-0.06643080711364746,
0.02115296758711338,
0.007481282576918602,
0.020406201481819153,
-0.04515564814209938,
-0.0053947605192661285,
0.023272480815649033,
-0.007857690565288067,
-0.06294401735067368,
-0.024515431374311447,
0.0003584311343729496,
0.01945171132683754,
0.014742009341716766,
0.01707560010254383,
0.004277829080820084,
0.00849824771285057,
-0.029066525399684906,
-0.0318530835211277,
-0.02671126276254654,
-0.022075306624174118,
-0.021486787125468254,
0.0070668612606823444,
-0.03102869912981987,
0.013272668235003948,
-0.0187895055860281,
0.017909038811922073,
0.02214161306619644,
0.015655381605029106,
0.035370808094739914,
0.019818905740976334,
-0.008537378162145615,
-0.029509613290429115,
-0.010757414624094963,
0.010129167698323727,
-0.004156838171184063,
-0.01599462702870369,
-0.018574446439743042
] | f-refactoring-to-sequencefor-expressions | https://markhneedham.com/blog/2010/01/14/f-refactoring-to-sequencefor-expressions |
false | 2010-01-22 23:21:56 | Automapper: First thoughts | [
"automapper"
] | [
".NET"
] | I came across Jimmy Bogard's http://www.codeplex.com/AutoMapper[Automapper] library a while ago but hadn't had the opportunity to try it out on a project until this week.
The problem we wanted to solve was relatively simple.
We had a domain object and we wanted to create a copy of that with one of the fields changed and all of the ids cleared from the object and any objects contained within it so that we could persist the new web of objects to the database.
We had a structure a bit like this:
[source,csharp]
----
public class Foo
{
public Bar Bar { get; set; }
public Baz Baz { get; set; }
}
----
And wanted to create a copy of this object while changing one of the values on Baz:
[source,csharp]
----
Mapper.CreateMap<Foo, Foo>().ForMember(x => x.Id, opts => opts.Ignore());
Mapper.CreateMap<Bar, Bar>().ForMember(x => x.Id, opts => opts.Ignore());
Mapper.CreateMap<Baz, Baz>()
.ForMember(x => x.Id, opts => opts.Ignore())
.ForMember(x => x.SomeProperty, opts => opts.MapFrom(source => someNewValue));
----
It works really well although it took me a little while to realise that the 'Mapper' class was keeping track of what we'd set up via its methods internally.
http://www.lostechies.com/blogs/jimmy_bogard/archive/2009/12/23/automapper-dsl-design-post-mortem.aspx[Jimmy refers to this as the static gateway pattern] which seems a little similar to the way that Rhino Mocks keeps track of expectations from what I remember from http://www.markhneedham.com/blog/2009/07/28/reading-code-rhino-mocks/[reading some of the code].
In general though I've got more used to expression builder style DSLs so it was interesting to see one which has been done with a different approach.
The next thing we had to work out was where that mapping code should go.
Since it's completely about 'Foo' I originally thought it should go inside Foo on a static method which we could use to clone the object perhaps with an API like this:
[source,csharp]
----
public Foo CloneWith(string someNewValue)
{
// mapping code in here
}
----
The problem with that is that it means we have a static dependency in our domain model and from reading http://alistair.cockburn.us/Hexagonal+architecture[Alistair Cockburn's Hexagonal Architecture article] I've come to believe that we should try to ensure that objects in our domain model don't have dependencies on anyone else.
An alternative might be to have it on the object and then create an interface which represents the ability to clone Foo:
[source,csharp]
----
public Foo CloneWith(string someNewValue, ICanCloneAFoo fooCloner)
{
return fooCloner.Clone();
}
----
The mapping code would then go on the implementer of 'ICanCloneAFoo'. The discussions we had around this reminded me of http://www.markhneedham.com/blog/2009/02/09/oop-what-does-an-objects-responsibility-entail/[a post I wrote about a year ago] and the solution we decided to use was the same. We put the mapping code onto a mapper object.
It's not a bad solution as it follows the convention that's been done for other mapping problems in the code although as http://twitter.com/mikewagg[Mike] pointed out, the code to clone the object is not as discoverable as it would be if it was on the object itself.
In that mapper we're still calling the Automapper code directly which I think is fine although I'm not sure whether we're quite adhering to the idea of wrapping 3rd party libraries, as suggested in http://www.amazon.com/gp/product/0321503627?ie=UTF8&tag=marneesblo-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0321503627[Growing Object Oriented Software], and not allowing them to bleed into our code base.
It seems like in the case doing that might lead to more problems than it would solve. | null | null | [
0.00664529437199235,
-0.030370447784662247,
-0.014744249172508717,
0.02706988714635372,
0.09160661697387695,
-0.006538973655551672,
0.03362632170319557,
0.026467176154255867,
0.000598422484472394,
-0.031206639483571053,
-0.018504301086068153,
-0.0050134179182350636,
-0.06813991069793701,
0.016024960204958916,
-0.024163831025362015,
0.07161173969507217,
0.05564716085791588,
-0.02312564104795456,
0.02172045409679413,
0.0009770607575774193,
0.019053064286708832,
0.05129542946815491,
-0.019896220415830612,
0.042985688894987106,
0.03660409152507782,
0.05637093633413315,
-0.0037379502318799496,
0.00405219616368413,
-0.06424352526664734,
-0.01619558595120907,
0.03316044807434082,
-0.0011700241593644023,
-0.002183070871978998,
0.0034469568636268377,
0.000602210930082947,
-0.02123982645571232,
-0.027747485786676407,
-0.014039297588169575,
-0.007503229193389416,
0.019698884338140488,
-0.08641161024570465,
0.04493163898587227,
0.01579616777598858,
0.01427360437810421,
-0.045028820633888245,
0.00002651473187142983,
-0.047293465584516525,
0.0004910125862807035,
-0.032739974558353424,
-0.003245434258133173,
-0.0447559617459774,
0.04523828625679016,
-0.045404497534036636,
0.01869223080575466,
-0.017043501138687134,
0.04551664739847183,
0.03992921859025955,
-0.10369841009378433,
0.0446733683347702,
-0.045256953686475754,
-0.014018278568983078,
0.010800492018461227,
0.011204798705875874,
0.04923267289996147,
-0.002198008121922612,
-0.02046305499970913,
-0.021569492295384407,
0.042339179664850235,
-0.054681044071912766,
-0.006904414389282465,
-0.01708519272506237,
-0.009029647335410118,
0.0060246107168495655,
-0.0061980485916137695,
0.011334775947034359,
-0.04834452643990517,
-0.014768478460609913,
0.052569009363651276,
0.009226679801940918,
0.0496145524084568,
-0.022941041737794876,
-0.016098730266094208,
0.0404738113284111,
0.0005631620879285038,
0.023904290050268173,
-0.033952921628952026,
-0.03487009555101395,
-0.005608447827398777,
-0.03458055108785629,
0.03987571597099304,
0.013678223825991154,
-0.05161226913332939,
-0.016021043062210083,
0.01745351403951645,
-0.010049385949969292,
0.0016622113762423396,
0.001197228324599564,
0.010529915802180767,
0.005864837672561407,
0.0033029234036803246,
-0.002395289484411478,
-0.006382175255566835,
0.02301448956131935,
-0.0011326710227876902,
-0.07962866872549057,
-0.023708805441856384,
-0.04040719196200371,
-0.018748493865132332,
0.00864360760897398,
0.020339827984571457,
-0.05643097311258316,
0.009574249386787415,
-0.035041436553001404,
-0.0005814097239635885,
-0.07222189754247665,
0.04429885745048523,
0.0005501605337485671,
-0.012062937021255493,
0.0007816485012881458,
0.04082084447145462,
0.03209887072443962,
0.010763480328023434,
-0.01770118996500969,
0.07825398445129395,
0.0008107334142550826,
0.023137958720326424,
-0.019363611936569214,
0.07348918169736862,
-0.011037023738026619,
-0.08786261081695557,
-0.008235636167228222,
0.03015386499464512,
-0.013448654673993587,
0.0020135885570198298,
0.008010315708816051,
-0.02124737575650215,
0.0000728654777049087,
-0.007621127180755138,
0.040449779480695724,
0.047778159379959106,
-0.009887486696243286,
-0.023866767063736916,
0.02034185267984867,
-0.019709719344973564,
0.017818273976445198,
0.041105806827545166,
-0.00532659562304616,
-0.028986727818846703,
-0.021417301148176193,
0.06986074894666672,
0.01067454181611538,
0.05483585596084595,
0.04395287111401558,
-0.02149452082812786,
0.0030807366129010916,
0.08928986638784409,
-0.008597834035754204,
0.015461270697414875,
0.009848321788012981,
0.001538793439976871,
0.0449494831264019,
0.05307798460125923,
0.003250137669965625,
0.06331571191549301,
0.009482678957283497,
-0.004437058232724667,
0.015074544586241245,
0.05482884868979454,
-0.010914549231529236,
-0.03477829694747925,
-0.05997280403971672,
-0.06530657410621643,
0.05967387184500694,
-0.04991205781698227,
-0.013781470246613026,
0.023944063112139702,
0.08560553938150406,
-0.002083845203742385,
0.061746787279844284,
-0.021613776683807373,
-0.07253450155258179,
0.007567361928522587,
0.01357120182365179,
0.010790892876684666,
0.025457831099629402,
-0.0030819945968687534,
0.05129094049334526,
0.02850246988236904,
0.006140476558357477,
0.043914370238780975,
-0.06011097505688667,
-0.07354802638292313,
-0.01987992227077484,
-0.03177708014845848,
0.062447693198919296,
-0.025117794051766396,
-0.006380976643413305,
0.10676149278879166,
0.014495952986180782,
0.034529976546764374,
0.013478504493832588,
-0.02365346997976303,
0.013666868209838867,
-0.04622364789247513,
-0.02774997614324093,
0.02018355391919613,
0.03165319561958313,
0.00342182582244277,
-0.041952528059482574,
0.003925558645278215,
0.000715583679266274,
-0.0017429064027965069,
0.033347588032484055,
-0.007230457849800587,
0.03341686353087425,
0.02295033447444439,
0.033900171518325806,
-0.030609846115112305,
0.060253508388996124,
-0.06418177485466003,
0.02293444238603115,
0.00006512032996397465,
-0.02322397567331791,
-0.00005795196193503216,
-0.0012274679029360414,
0.1248200461268425,
0.06334958225488663,
-0.043501533567905426,
-0.055226750671863556,
0.015927042812108994,
0.031188197433948517,
-0.033933114260435104,
0.002401291159912944,
-0.044851962476968765,
-0.0005815037293359637,
0.020378299057483673,
-0.0373687669634819,
-0.02490130253136158,
0.0013208851451054215,
-0.014939432963728905,
0.029064688831567764,
0.06918781250715256,
-0.017392918467521667,
0.03556390106678009,
0.013539890758693218,
-0.024836404249072075,
0.007040319032967091,
-0.015863876789808273,
-0.055439360439777374,
0.00968098919838667,
0.022775569930672646,
-0.009209055453538895,
0.0674128383398056,
-0.02914666198194027,
-0.015237828716635704,
-0.012406250461935997,
-0.04158548265695572,
-0.0075102006085217,
0.005415169522166252,
0.08340203762054443,
-0.012102090753614902,
0.0754825696349144,
-0.04426627978682518,
0.026206888258457184,
-0.006854900624603033,
-0.033185187727212906,
0.00872469786554575,
0.022027358412742615,
-0.0027781499084085226,
0.033551741391420364,
0.0008286455413326621,
0.014188099652528763,
0.04629172012209892,
0.00588899664580822,
0.008455317467451096,
0.006786617450416088,
0.023562006652355194,
0.012009326368570328,
-0.051303669810295105,
-0.021493736654520035,
-0.05377111956477165,
0.03597676008939743,
-0.04827995225787163,
-0.03816802054643631,
-0.002907882211729884,
-0.08198220282793045,
0.04512537270784378,
-0.07999906688928604,
-0.06972973048686981,
0.02200591377913952,
0.03335849940776825,
0.039047058671712875,
-0.0012981531908735633,
0.04183732345700264,
0.054152801632881165,
0.017186742275953293,
-0.00473790243268013,
-0.0016298352275043726,
0.014069914817810059,
0.014873448759317398,
-0.01836506649851799,
0.02077549323439598,
0.003940085880458355,
-0.0022140806540846825,
0.021215535700321198,
-0.06864310801029205,
0.012073704041540623,
0.009943553246557713,
-0.2773057222366333,
0.04200328513979912,
0.003626446705311537,
-0.06287579238414764,
0.03479413315653801,
-0.004043492488563061,
0.024047033861279488,
-0.047871313989162445,
-0.035074442625045776,
0.03094085305929184,
-0.021971335634589195,
-0.05600563436746597,
-0.02999730408191681,
0.050477534532547,
-0.0014170694630593061,
0.02310754545032978,
-0.009986607357859612,
-0.04390041530132294,
-0.006927953101694584,
0.03663722425699234,
-0.012477735057473183,
-0.0799190029501915,
0.0067606293596327305,
0.04278380051255226,
0.006494894623756409,
0.06529590487480164,
-0.09718064218759537,
0.04134511947631836,
-0.02680322714149952,
0.005292442627251148,
0.02111835591495037,
-0.012121523730456829,
0.00804327055811882,
-0.026465484872460365,
-0.0423104502260685,
-0.017543766647577286,
0.005911646876484156,
0.029494017362594604,
-0.010144131258130074,
0.010640768334269524,
-0.030714567750692368,
-0.03647580370306969,
-0.036023661494255066,
0.01690158061683178,
0.07593746483325958,
-0.010369561612606049,
-0.05727050453424454,
-0.020536646246910095,
-0.03358786180615425,
0.06271060556173325,
-0.04306771233677864,
-0.0332818441092968,
-0.0015673210145905614,
0.053569938987493515,
-0.003189226845279336,
-0.038145218044519424,
-0.005947095807641745,
-0.012443939223885536,
-0.06676527112722397,
-0.018980862572789192,
0.02190541848540306,
-0.044127412140369415,
-0.022100066766142845,
-0.02591004967689514,
-0.004069979768246412,
-0.052237920463085175,
-0.05892584100365639,
-0.014013802632689476,
0.07657542079687119,
0.05795472115278244,
-0.019419969990849495,
0.028662698343396187,
-0.0037637436762452126,
-0.12164990603923798,
0.0010813636472448707,
-0.00963595975190401,
-0.020307710394263268,
-0.03854896128177643,
0.005026662722229958,
0.06101946160197258,
-0.04395921900868416,
-0.031553130596876144,
0.02907484397292137,
0.022220052778720856,
-0.015318736433982849,
-0.007649912498891354,
0.02433791011571884,
0.004106065258383751,
-0.04979691281914711,
-0.0006372123607434332,
0.07252922654151917,
-0.02463419921696186,
0.010403084568679333,
-0.04917297884821892,
0.015395985916256905,
0.02290329709649086,
0.046713072806596756,
-0.009426343254745007,
0.015978610143065453,
0.007857110351324081,
0.048447102308273315,
-0.056439485400915146,
0.04372669756412506,
-0.014840327203273773,
0.014683009125292301,
-0.023878851905465126,
-0.042836740612983704,
0.027620214968919754,
0.02253381535410881,
0.002989456756040454,
-0.027610667049884796,
-0.0034339120611548424,
0.012063739821314812,
-0.05740753933787346,
-0.019716352224349976,
-0.013659064657986164,
-0.00035068317083641887,
0.01630394347012043,
-0.0009453058592043817,
-0.030168242752552032,
-0.05237940326333046,
0.024279609322547913,
0.03817562758922577,
0.006215427070856094,
-0.059750791639089584,
-0.06342870742082596,
-0.020021626725792885,
0.00250554783269763,
0.035489343106746674,
0.01283403392881155,
0.007421174552291632,
0.04591546952724457,
0.012121522799134254,
-0.014113391749560833,
0.029051892459392548,
-0.008301503956317902,
-0.013180766254663467,
-0.0481920950114727,
-0.0060028620064258575,
-0.0029169886838644743,
0.0038456753827631474,
-0.031103340908885002,
0.03364564850926399,
0.017442749813199043,
0.03050060383975506,
0.002938383724540472,
0.030622249469161034,
0.035565245896577835,
0.013213841244578362,
-0.00027937558479607105,
0.0009841250721365213,
-0.0827612578868866,
0.016353078186511993,
-0.05689861997961998,
-0.01188238337635994,
-0.012621626257896423,
0.04111141711473465,
-0.0368448831140995,
-0.001803220366127789,
-0.04867878928780556,
0.025309670716524124,
-0.03532440587878227,
-0.012152285315096378,
-0.013141498900949955,
-0.010658914223313332,
0.0717410296201706,
-0.019194751977920532,
0.03247363120317459,
-0.004457800183445215,
-0.0005354146123863757,
0.0272927675396204,
0.004298134241253138,
-0.026466302573680878,
0.01644112356007099,
-0.008575040847063065,
-0.0009676212212070823,
0.00866694375872612,
0.03599489852786064,
0.04053123667836189,
0.028318695724010468,
0.008211935870349407,
-0.0053463466465473175,
0.014804105274379253,
-0.003631605301052332,
0.06345168501138687,
0.014889153651893139,
-0.017895491793751717,
-0.010338246822357178,
-0.013241755776107311,
-0.018160482868552208,
-0.02554619498550892,
-0.018843049183487892,
-0.038202084600925446,
0.02592177875339985,
-0.03939685970544815,
-0.08195166289806366,
0.02731737121939659,
0.02711101435124874,
0.0009593126596882939,
0.0029133169446140528,
0.027486450970172882,
0.001719517051242292,
-0.005983434151858091,
0.01705082878470421,
0.06110829859972,
-0.04496970400214195,
0.006433084141463041,
-0.00015008490299806,
0.01411820761859417,
0.012928355485200882,
0.009032228030264378,
-0.03433213010430336,
-0.023430801928043365,
-0.010360252112150192,
0.013423396274447441,
-0.036318033933639526,
-0.03372570872306824,
-0.02733733505010605,
0.02784835547208786,
-0.0005302292993292212,
-0.01981346495449543,
0.003049880266189575,
-0.001194010954350233,
-0.0008016313659027219,
-0.0031698853708803654,
0.027965081855654716,
-0.037028830498456955,
0.0055029126815497875,
0.01687437854707241,
-0.03600326552987099,
0.03919463977217674,
-0.024903934448957443,
0.017982566729187965,
0.025324223563075066,
-0.01726907305419445,
-0.03431509807705879,
-0.032486025243997574,
0.03336283937096596,
-0.026905972510576248,
0.0463850237429142,
0.02141781523823738,
-0.018034616485238075,
-0.03526085242629051,
0.005418125540018082,
-0.006489149294793606,
0.0034727018792182207,
-0.0016223248094320297,
-0.008950676769018173,
0.021743442863225937,
0.04313395917415619,
-0.002845749957486987,
0.04986207187175751,
-0.002533956663683057,
-0.004030017182230949,
0.07725752890110016,
-0.06480896472930908,
-0.03823210671544075,
-0.011035040952265263,
-0.07673780620098114,
0.010746150277554989,
0.01867957040667534,
0.033066943287849426,
-0.029993634670972824,
0.04741895943880081,
0.03600858151912689,
-0.005732809659093618,
0.03367340937256813,
0.008551188744604588,
0.03832598775625229,
-0.04173746332526207,
-0.00023143418366089463,
-0.06923165917396545,
0.034644000232219696,
0.05217665806412697,
0.028405366465449333,
-0.032147422432899475,
-0.028974272310733795,
-0.03954671323299408,
0.023412561044096947,
-0.05452251434326172,
-0.03304024785757065,
0.027428699657320976,
0.014736914075911045,
-0.023558860644698143,
0.008231285028159618,
-0.05080503225326538,
0.050295956432819366,
0.020346349105238914,
-0.03411262482404709,
-0.044291023164987564,
-0.026564661413431168,
0.055132992565631866,
0.0033701115753501654,
0.00978765543550253,
-0.045932989567518234,
0.0065343910828232765,
0.058597464114427567,
0.016628673300147057,
0.025924457237124443,
0.064570352435112,
-0.01782325468957424,
0.03392518684267998,
0.014255436137318611,
-0.009128466248512268,
-0.0004307089257054031,
-0.0049520269967615604,
-0.006728511303663254,
-0.06664779782295227,
0.01561961229890585,
0.011331556364893913,
-0.030321985483169556,
-0.05400683730840683,
0.05546365678310394,
0.01744668185710907,
-0.02631598338484764,
-0.03814292699098587,
0.02112528868019581,
-0.0370623953640461,
-0.02917913720011711,
-0.018223369494080544,
0.008692961186170578,
-0.02712247334420681,
0.04257062450051308,
-0.004581006243824959,
-0.0007292867521755397,
0.07314825803041458,
-0.011892019771039486,
-0.004840699024498463,
-0.0048806797713041306,
0.06980970501899719,
0.0828111544251442,
0.01612640917301178,
0.01399304624646902,
0.05385376885533333,
-0.02256198599934578,
-0.03403263911604881,
0.024882446974515915,
-0.03234924376010895,
-0.0011455382918938994,
-0.03970487788319588,
-0.02125743217766285,
0.08392880856990814,
-0.000674456125125289,
0.03937361761927605,
-0.05277036130428314,
-0.01813841611146927,
0.012522363103926182,
0.02423984557390213,
0.01866939663887024,
0.04093094915151596,
0.02378862537443638,
0.002736298367381096,
-0.031179258599877357,
-0.03558477759361267,
0.03979896008968353,
-0.026418041437864304,
-0.030400477349758148,
0.00347026321105659,
-0.017250725999474525,
0.01144032645970583,
-0.005045508965849876,
0.026130229234695435,
0.07673272490501404,
-0.014564207755029202,
-0.004923384636640549,
0.02593046985566616,
0.002866351045668125,
-0.0036822622641921043,
-0.029757002368569374,
-0.007824482396245003,
-0.029442258179187775,
-0.011558725498616695,
-0.00961514376103878,
-0.004746994934976101,
-0.023999767377972603,
-0.019000990316271782,
0.027985477820038795,
-0.0035588114988058805,
0.002507973462343216,
0.01320683117955923,
0.026280507445335388,
-0.045513883233070374,
-0.05600358173251152,
-0.0670558363199234,
-0.005358833819627762,
-0.05634738877415657,
-0.025232214480638504,
0.024634547531604767,
-0.0011145076714456081,
-0.022002389654517174,
-0.013712674379348755,
-0.03625311702489853,
-0.00517943874001503,
0.050725024193525314,
-0.03379812091588974,
-0.01734747923910618,
0.017798809334635735,
0.019374169409275055,
0.030553504824638367,
0.04792565479874611,
0.035185787826776505,
0.0013009886024519801,
-0.010637384839355946,
-0.044362250715494156,
-0.019276661798357964,
0.03036714717745781,
0.01850980520248413,
0.011967919766902924,
-0.08839187771081924,
0.03764265403151512,
0.013340165838599205,
-0.002882282016798854,
-0.0796448290348053,
0.003618270391598344,
0.026811502873897552,
0.007978642359375954,
0.0459476113319397,
-0.04317217692732811,
-0.018833784386515617,
-0.029399078339338303,
0.015477713197469711,
0.01194761786609888,
0.013037364929914474,
0.042881421744823456,
-0.02794106863439083,
0.07608989626169205,
0.034170497208833694,
-0.034811411052942276,
-0.0347588025033474,
-0.00634726881980896,
-0.0017679978627711535,
0.012195873074233532,
-0.03940078616142273,
-0.04455772787332535,
-0.05559496209025383,
-0.05112401396036148,
-0.006968977395445108,
0.037963468581438065,
-0.02881132997572422,
-0.02181430719792843,
0.0069733066484332085,
0.06742556393146515,
-0.06370773911476135,
0.02458357624709606,
-0.03283267095685005,
0.037476636469364166,
-0.03772318363189697,
-0.028581110760569572,
-0.009200128726661205,
0.025784742087125778,
0.005619254428893328,
0.028622789308428764,
0.0028698735404759645,
-0.029218535870313644,
-0.019226696342229843,
-0.007959350012242794,
0.032419126480817795,
0.012175709940493107,
-0.0023172260262072086,
0.010820918716490269
] | [
-0.09510736167430878,
-0.03189106285572052,
-0.018134307116270065,
-0.04449412226676941,
0.031471967697143555,
-0.03191860020160675,
0.015952102839946747,
0.019130907952785492,
-0.028720438480377197,
-0.020943105220794678,
-0.008127087727189064,
-0.02605966292321682,
-0.019014615565538406,
0.00482580391690135,
0.06684710830450058,
0.013265884481370449,
-0.06052251532673836,
-0.019594905897974968,
-0.004513972904533148,
0.033397212624549866,
0.02367314137518406,
-0.0009626419050619006,
-0.058325763791799545,
-0.002951766597107053,
0.008097373880445957,
0.03978631645441055,
0.04466758295893669,
-0.025826457887887955,
-0.004080273676663637,
-0.21428298950195312,
0.03388751298189163,
-0.035518188029527664,
0.01781151443719864,
-0.03740454092621803,
-0.006308253388851881,
0.009227441623806953,
0.030437041074037552,
0.05537718906998634,
0.0188148096203804,
0.023771684616804123,
0.013694657944142818,
0.014861269854009151,
-0.037283413112163544,
-0.024529119953513145,
0.05164200812578201,
-0.011138048022985458,
0.009291250258684158,
-0.03289097920060158,
-0.020840000361204147,
0.006552003789693117,
-0.05786864459514618,
-0.018607234582304955,
-0.03923647105693817,
-0.02157336287200451,
0.006149934604763985,
0.001454004319384694,
0.04591052979230881,
0.07049825042486191,
0.02841094322502613,
0.009838205762207508,
-0.0009939675219357014,
-0.005400015972554684,
-0.11304792016744614,
0.0789669081568718,
0.018326763063669205,
0.08988291025161743,
-0.016114719212055206,
-0.05314651131629944,
-0.011910883709788322,
0.07968726009130478,
0.01335631962865591,
0.0049072979018092155,
-0.032969966530799866,
0.05576307326555252,
0.027335282415151596,
-0.023722399026155472,
-0.02135249599814415,
0.04341360554099083,
0.03730602562427521,
-0.0028142319060862064,
-0.06321398168802261,
0.0064892396330833435,
0.009668931365013123,
0.0020461452659219503,
-0.03175453841686249,
0.006659811828285456,
0.024020755663514137,
0.002394470851868391,
0.03107837773859501,
0.013961459510028362,
0.02150019444525242,
-0.021837053820490837,
0.054536379873752594,
0.006264855153858662,
-0.077387735247612,
0.004547479096800089,
-0.04189446568489075,
0.027219926938414574,
0.0004833896236959845,
0.40592116117477417,
-0.021873507648706436,
-0.039047662168741226,
0.06355537474155426,
0.02678740955889225,
-0.025599004700779915,
0.008407510817050934,
-0.016382554545998573,
-0.037364620715379715,
-0.000052223702368792146,
0.005671618040651083,
-0.015742432326078415,
-0.025413228198885918,
0.01618451438844204,
-0.05055779591202736,
0.007992157712578773,
-0.0013238824903964996,
0.005593121517449617,
0.04677693173289299,
-0.026492705568671227,
0.01483636163175106,
0.007264177780598402,
0.02757505141198635,
0.03078046813607216,
0.05082909017801285,
0.012561222538352013,
-0.005837368778884411,
0.04521843045949936,
0.06077226251363754,
0.04568533971905708,
0.009508657269179821,
0.021815380081534386,
-0.05685703828930855,
-0.09375599771738052,
-0.017160264775156975,
0.05577492713928223,
-0.01672147586941719,
0.037652529776096344,
-0.046282682567834854,
-0.01170800719410181,
0.0038104532286524773,
-0.0020330213010311127,
0.0098104914650321,
0.017780708149075508,
-0.026249561458826065,
-0.029546592384576797,
0.11711778491735458,
-0.010156966745853424,
-0.031128916889429092,
-0.015086628496646881,
-0.014224482700228691,
-0.005691578146070242,
0.02543485164642334,
-0.01781558431684971,
-0.05308191105723381,
0.015943508595228195,
0.05745323747396469,
0.06889477372169495,
0.012394139543175697,
-0.04199708253145218,
-0.028749460354447365,
-0.01068235095590353,
-0.020502107217907906,
0.003122190712019801,
0.062899649143219,
0.034576717764139175,
-0.1261795163154602,
-0.0630401000380516,
-0.0030972054228186607,
0.00870133750140667,
-0.048394426703453064,
-0.02472161501646042,
0.040461327880620956,
-0.015898054465651512,
-0.021418055519461632,
0.025522181764245033,
-0.011143841780722141,
-0.04706673324108124,
-0.011785046197474003,
0.038739945739507675,
-0.012926279567182064,
-0.020391620695590973,
0.014817333780229092,
-0.041333749890327454,
-0.0012952771503478289,
-0.02940770983695984,
-0.08250000327825546,
-0.08047220855951309,
0.002851581433787942,
-0.034425999969244,
-0.02586357295513153,
0.020436471328139305,
-0.014007954858243465,
-0.060882940888404846,
0.0774722769856453,
-0.03703142702579498,
-0.025565925985574722,
0.0201797503978014,
0.008270424790680408,
0.02434353344142437,
-0.01975179836153984,
-0.02270939201116562,
0.06915435940027237,
-0.009852124378085136,
-0.0007356774876825511,
-0.056489307433366776,
0.049065377563238144,
0.044268470257520676,
-0.0430353507399559,
0.0522732250392437,
0.03401368111371994,
-0.054065775126218796,
-0.025616690516471863,
-0.04157398268580437,
0.02147071436047554,
-0.030068328604102135,
0.008185261860489845,
-0.01071199867874384,
-0.010737495496869087,
-0.0051021999679505825,
0.027914363890886307,
-0.05844072625041008,
-0.023221708834171295,
0.01706595905125141,
-0.35091978311538696,
-0.027160504832863808,
-0.014244490303099155,
-0.017711132764816284,
0.011711076833307743,
-0.06693433970212936,
0.015270378440618515,
0.0006056548445485532,
0.0020702513866126537,
-0.026572784408926964,
0.0859798863530159,
-0.05780060216784477,
0.0099077969789505,
-0.037292975932359695,
-0.028086571022868156,
0.053478579968214035,
-0.037100836634635925,
-0.043557438999414444,
-0.04766876995563507,
0.006154489237815142,
-0.022170962765812874,
0.010426857508718967,
0.0032393939327448606,
-0.06551987677812576,
0.027256330475211143,
-0.0711364820599556,
0.08192254602909088,
-0.03455262631177902,
0.08039318025112152,
-0.021750012412667274,
0.05894797295331955,
0.007937217131257057,
0.015934674069285393,
-0.07912029325962067,
-0.02796054631471634,
-0.035228412598371506,
-0.012507902458310127,
0.009863818995654583,
0.05720764398574829,
-0.008469287306070328,
-0.03589702025055885,
0.032316576689481735,
-0.05756165459752083,
-0.08015447854995728,
-0.007635682821273804,
0.007359991315752268,
-0.018485505133867264,
-0.028162173926830292,
-0.01418464258313179,
0.07696705311536789,
0.0014424542896449566,
-0.01559679489582777,
0.017596906051039696,
-0.02580822817981243,
-0.01249605044722557,
-0.02725321054458618,
-0.054273709654808044,
-0.024802101776003838,
-0.0034570093266665936,
0.019090620800852776,
0.05640069395303726,
0.040833402425050735,
0.01994337886571884,
-0.04099662974476814,
0.02298545464873314,
0.016386184841394424,
-0.019422288984060287,
-0.0050865099765360355,
0.061307236552238464,
-0.044471338391304016,
-0.028972476720809937,
0.09748024493455887,
0.02351292222738266,
0.013603572733700275,
0.060679841786623,
0.022868111729621887,
0.017168177291750908,
0.03666133061051369,
0.01605353131890297,
0.014805564656853676,
-0.0020913956686854362,
-0.01009430643171072,
0.055891383439302444,
-0.01055771391838789,
0.03374488651752472,
0.07505852729082108,
-0.018873341381549835,
-0.003404549788683653,
0.030417028814554214,
-0.005846393294632435,
-0.010924355126917362,
-0.018130149692296982,
-0.022520413622260094,
-0.05412241071462631,
0.08872633427381516,
-0.021367765963077545,
-0.25954535603523254,
0.006615474820137024,
0.0853540301322937,
0.08508938550949097,
-0.0038886782713234425,
0.028933722525835037,
0.05368231609463692,
-0.016767345368862152,
0.05179895460605621,
-0.012633302249014378,
0.013184649869799614,
0.03634854778647423,
0.02206888236105442,
0.014389807358384132,
0.048725537955760956,
0.009060338139533997,
0.01788976415991783,
-0.026764141395688057,
0.06387117505073547,
-0.01562849059700966,
-0.015111074782907963,
-0.006419236771762371,
0.1981937140226364,
0.06118471547961235,
0.037878990173339844,
0.03539733961224556,
0.0034019057638943195,
-0.018772820010781288,
0.08041687309741974,
0.026215549558401108,
0.006322309374809265,
-0.0018219342455267906,
0.09638898074626923,
0.02473512291908264,
0.02810538373887539,
-0.07821105420589447,
-0.03904680162668228,
0.030893508344888687,
-0.012315577827394009,
-0.025163134559988976,
-0.022947944700717926,
0.009203964844346046,
-0.03414662927389145,
0.040912166237831116,
0.05187070742249489,
-0.011152266524732113,
-0.028409326449036598,
-0.012962410226464272,
-0.054012782871723175,
0.010785172693431377,
-0.028399325907230377,
-0.04807976633310318,
-0.007461403030902147,
-0.03039001114666462,
-0.01226030383259058,
0.07607384026050568,
0.01637079007923603,
-0.017761461436748505,
-0.044375836849212646,
0.028146376833319664,
0.03398824483156204,
0.003503135871142149,
0.09007354080677032,
-0.011525042355060577,
0.022308696061372757
] | [
-0.018109342083334923,
0.023922255262732506,
-0.0038503692485392094,
0.04419662058353424,
-0.027735354378819466,
-0.003275084076449275,
0.0023486590944230556,
0.011655624955892563,
-0.027213113382458687,
0.024784378707408905,
-0.030679402872920036,
-0.0005494041834026575,
-0.006562691647559404,
-0.04084370285272598,
0.014407746493816376,
0.007385244593024254,
-0.007964631542563438,
-0.007419952191412449,
0.012473050504922867,
-0.0028140461072325706,
-0.031092679128050804,
0.03898906335234642,
0.003034816589206457,
0.003563444595783949,
-0.007729497738182545,
0.02282002381980419,
-0.007981189526617527,
-0.004142072983086109,
0.016313837841153145,
-0.14412297308444977,
-0.05161859840154648,
-0.03925750404596329,
-0.019053420051932335,
0.017577484250068665,
-0.034044984728097916,
-0.007350349798798561,
0.020905807614326477,
0.0436614565551281,
0.02595953270792961,
-0.022537121549248695,
0.0035503185354173183,
-0.027124634012579918,
-0.007313439156860113,
-0.008068985305726528,
-0.0033863589633256197,
-0.008677656762301922,
-0.004584443289786577,
-0.00639489758759737,
-0.006912211421877146,
0.0067791142500936985,
-0.03505495935678482,
0.0012576512526720762,
-0.0198395736515522,
0.0003499877348076552,
0.04598378762602806,
0.0322660394012928,
0.008665015920996666,
-0.04448547214269638,
0.0052864644676446915,
0.012163451872766018,
-0.02290857769548893,
0.014800035394728184,
-0.015919430181384087,
-0.039819348603487015,
-0.010476591065526009,
-0.02196430042386055,
0.010205540806055069,
0.017558032646775246,
0.03773479908704758,
0.00016778334975242615,
-0.01509254239499569,
0.02148967608809471,
-0.021087700501084328,
-0.0028804626781493425,
-0.003526040818542242,
0.025506963953375816,
0.0009437213302589953,
-0.02391817606985569,
0.03208700194954872,
-0.015292564406991005,
-0.021261148154735565,
0.021692322567105293,
-0.004919155966490507,
0.022945281118154526,
-0.014796337112784386,
-0.01742529310286045,
0.005964817013591528,
0.0031966676469892263,
0.04267828166484833,
0.018686890602111816,
-0.022881053388118744,
0.003641111310571432,
-0.013000975362956524,
0.015167975798249245,
-0.07023506611585617,
-0.02363903634250164,
0.00039998767897486687,
-0.0328294113278389,
0.01668250933289528,
0.851942777633667,
-0.011257864534854889,
0.02612503245472908,
0.04758603498339653,
0.010020398534834385,
-0.018443435430526733,
-0.02217160351574421,
0.004826813470572233,
0.00170020607765764,
-0.000983464764431119,
-0.031374868005514145,
0.00469466857612133,
0.008536909706890583,
0.017566490918397903,
0.009470256045460701,
0.015690239146351814,
0.008945703506469727,
0.012550821527838707,
-0.003846157342195511,
-0.010961255989968777,
0.02006315439939499,
-0.019227609038352966,
-0.008340503089129925,
0.006631271913647652,
-0.0142735056579113,
0.023900525644421577,
-0.2075594812631607,
-0.002227603457868099,
-8.040262340821426e-33,
0.055512480437755585,
-0.0057639493606984615,
-0.002769763581454754,
0.030118050053715706,
0.054859407246112823,
0.014058949425816536,
0.020916961133480072,
0.0232682041823864,
0.004911454394459724,
-0.018031610175967216,
-0.0004027450049761683,
-0.001649543410167098,
-0.02747437357902527,
0.0020287742372602224,
0.01517176628112793,
-0.002463253913447261,
-0.02156643383204937,
0.038573622703552246,
-0.027750464156270027,
-0.00687945494428277,
0.020218543708324432,
0.04553309828042984,
-0.007603390607982874,
-0.010617032647132874,
0.03470170125365257,
0.024382511153817177,
-0.00010379906598245725,
0.024120310321450233,
-0.03484059497714043,
-0.03708801046013832,
0.03376168757677078,
0.002035305369645357,
0.009752324782311916,
-0.0023235317785292864,
0.044160306453704834,
-0.030604945495724678,
-0.024053795263171196,
0.0018169089453294873,
-0.02390500344336033,
-0.033598046749830246,
-0.022296035662293434,
-0.03339578956365585,
-0.05703170597553253,
-0.004845235962420702,
-0.03522342070937157,
-0.014690825715661049,
-0.016768230125308037,
0.04507625102996826,
0.024488452821969986,
0.0007224486325867474,
0.06559877097606659,
0.022416213527321815,
-0.025134095922112465,
0.010796844959259033,
-0.012320982292294502,
0.025210632011294365,
-0.025877695530653,
0.007527761626988649,
0.02293444238603115,
0.01621163636445999,
0.005623555742204189,
-0.007942750118672848,
-0.03649788349866867,
0.012323178350925446,
0.011213911697268486,
0.002413240959867835,
0.022137297317385674,
-0.000977241201326251,
0.01278328150510788,
-0.028257504105567932,
-0.025782106444239616,
-0.00560959056019783,
-0.03629685565829277,
-0.015861110761761665,
0.024861609563231468,
-0.015544088557362556,
-0.00032613310031592846,
0.01897229067981243,
-0.0020747839007526636,
0.046935077756643295,
-0.006681971717625856,
0.011807959526777267,
-0.008217595517635345,
-0.02129138447344303,
0.01127547025680542,
-0.001990795601159334,
0.03434167057275772,
0.005887029226869345,
-0.0018798726378008723,
0.00011684797937050462,
0.031056035310029984,
0.03265056014060974,
-0.00996975414454937,
0.0034424839541316032,
-0.010326535440981388,
7.998388293309259e-33,
-0.02220625802874565,
-0.04286426305770874,
-0.009577391669154167,
0.03741084784269333,
-0.011331509798765182,
-0.033649321645498276,
0.043372657150030136,
0.024595024064183235,
-0.030018052086234093,
0.021262824535369873,
-0.011438354849815369,
0.04807311296463013,
-0.01071042288094759,
0.03583095967769623,
0.07361991703510284,
-0.05542069301009178,
0.01004862505942583,
-0.04795144498348236,
0.023900549858808517,
0.031166473403573036,
0.04249883070588112,
0.018615715205669403,
0.003465541871264577,
-0.017987463623285294,
0.014933832921087742,
0.03489086776971817,
-0.03807951509952545,
0.010984656400978565,
-0.009586131200194359,
0.010975956916809082,
0.010586555115878582,
0.0013198263477534056,
0.037346988916397095,
-0.05171068385243416,
-0.015254391357302666,
0.00020337372552603483,
-0.011945144273340702,
0.014368936419487,
-0.010386667214334011,
0.01054958626627922,
-0.012235801666975021,
-0.009335671551525593,
-0.010338789783418179,
0.011305759660899639,
0.023555394262075424,
0.00442111399024725,
0.017839889973402023,
-0.012991423718631268,
0.034802164882421494,
0.0488608181476593,
0.03205757588148117,
-0.012503260746598244,
0.0058776503428816795,
0.0012744737323373556,
0.009231438860297203,
-0.0027671875432133675,
-0.027314679697155952,
-0.025752108544111252,
0.016923071816563606,
0.01287029031664133,
-0.02271830476820469,
-0.009545216336846352,
-0.00211786269210279,
0.020134015008807182,
-0.013783019036054611,
0.004617589060217142,
-0.00989966094493866,
-0.022925138473510742,
0.003332268912345171,
-0.027800174430012703,
-0.005459700711071491,
-0.012763705104589462,
0.00017925811698660254,
0.024087093770503998,
0.020164085552096367,
-0.03749530389904976,
-0.007092760410159826,
0.025949103757739067,
0.003448443952947855,
-0.0000971430927165784,
0.013104679062962532,
-0.0045932503417134285,
0.023222317919135094,
0.00237830588594079,
-0.0378166101872921,
0.010257053188979626,
-0.017238624393939972,
-0.0004577416111715138,
-0.010211385786533356,
0.01991317793726921,
-0.03282865136861801,
0.014752550050616264,
-0.016278300434350967,
0.004622046370059252,
-0.021551717072725296,
-1.3427531087017996e-8,
-0.025588329881429672,
0.051634449511766434,
-0.004768055863678455,
0.033294714987277985,
0.03403129056096077,
0.007282563950866461,
-0.027700750157237053,
-0.011184295639395714,
0.0028552599251270294,
0.002910251496359706,
0.029223494231700897,
0.011119063943624496,
-0.0015944490442052484,
0.002697452437132597,
0.006707773543894291,
-0.07927028834819794,
-0.02170136384665966,
-0.04164949432015419,
0.01095174252986908,
-0.009029392153024673,
-0.009692980907857418,
0.025765474885702133,
-0.005035956855863333,
0.002120559336617589,
0.020084021613001823,
-0.0012210785644128919,
0.0379713736474514,
-0.09450802952051163,
0.006941070314496756,
0.006198799703270197,
-0.012772530317306519,
-0.0067081088200211525,
-0.012028394266963005,
0.04370330274105072,
-0.033075641840696335,
-0.013529716990888119,
0.013792772777378559,
0.0018719476647675037,
0.007042513694614172,
-0.01034704688936472,
0.007837178185582161,
0.0010863114148378372,
0.02554893307387829,
-0.031016675755381584,
-0.01352071762084961,
0.0002239302557427436,
-0.032105378806591034,
0.0020576086826622486,
0.012473334558308125,
-0.01895534247159958,
-0.000665058963932097,
-0.0007399574387818575,
0.018607791513204575,
0.009655636735260487,
0.020368725061416626,
-0.0052995034493505955,
0.017163466662168503,
-0.036026183515787125,
-0.03854285925626755,
0.014470734633505344,
0.005541298072785139,
-0.002042009960860014,
-0.01531500369310379,
-0.02794545516371727
] | automapper-first-thoughts | https://markhneedham.com/blog/2010/01/22/automapper-first-thoughts |
false | 2010-01-25 22:06:23 | TDD: Rewriting/refactoring tests | [
"tdd"
] | [
"Testing"
] | I've read several times about the dangers of http://chadfowler.com/2006/12/27/the-big-rewrite[the] http://blog.objectmentor.com/articles/2009/01/09/the-big-redesign-in-the-sky[big] http://www.magpiebrain.com/2010/01/10/the-great-rewrite/[rewrite] when it comes to production code but I've recently been wondering whether or not we should apply the same rules when it comes to test code or not.
I worked with http://raphscallion.com/blog/[Raphael Speyer] for a few weeks last year and on the code base we were working on he often spent some time rewriting tests originally written using http://rmock.sourceforge.net/[rMock] to use http://mockito.org/[mockito] which was the framework we were driving towards.
One of the benefits that he was able to get from doing this was that he had to understand the test in order to change it which enabled him to increase his understanding of how the code was supposed to work and identify anything that didn't seem quite right.
I quite liked this idea at the time and while spending some time recently working with some tests which required quite a lot of setup and were testing several different things in the same test.
Unfortunately a few of them were failing and it was quite difficult to work out why that was.
My initial approach was to try and work my way through the tests inlining all the test code to start with and then http://www.markhneedham.com/blog/2010/01/24/tdd-removing-the-clutter/[extracting out irrelevant details] to make the tests easier to understand.
Despite those attempts I was unable to work out why the test was failing so I worked out what the main things the test was trying to verify and then wrote tests from scratch for each of those cases.
I was able to write tests covering everything the original test did in several smaller tests in less time than I had spent trying to debug the original one and with a fair degree of confidence that I'm testing exactly the same thing.
As I see it the big danger of rewriting is that we're always playing catch up with the current system which is still being worked on in production and we never quite catch up.
I'm not so sure this logic applies in this case because we're only rewriting small bits of code which means that we can replace the original test very quickly.
My main driver when working with tests is to ensure that they're *easy to understand* and make it *easy to reason about the code* so if I have to rewrite some tests to make that happen then I think it's a fair trade off.
My initial approach would nearly always be to refactor the tests that are already there. Rewriting is something I'd look to do if I was really struggling to refactor effectively. | null | null | [
0.02892397716641426,
0.0005647694924846292,
0.0007187871378846467,
0.06515012681484222,
0.0979604497551918,
0.005172221455723047,
0.02768765576183796,
0.03590798377990723,
0.01853560283780098,
-0.02025742270052433,
0.004764864686876535,
0.009071540087461472,
-0.048851724714040756,
-0.0023955218493938446,
-0.04264259710907936,
0.07014742493629456,
0.06318279355764389,
-0.025509212166070938,
0.05396794155240059,
0.007896686904132366,
0.05720306187868118,
0.06664852797985077,
-0.002836196916177869,
0.03784972429275513,
0.04167313501238823,
0.022477295249700546,
0.014881671406328678,
0.002921092789620161,
-0.07119646668434143,
0.0001876077294582501,
0.038584887981414795,
0.004515837412327528,
0.013136661611497402,
-0.0008076991070993245,
0.006232907064259052,
-0.0101780379191041,
-0.021165067330002785,
0.017257755622267723,
0.004736627452075481,
0.007062376942485571,
-0.06496463716030121,
0.04284694790840149,
-0.013035527430474758,
-0.000056349599617533386,
-0.052461523562669754,
0.013033256866037846,
-0.020703913643956184,
0.0006546634831465781,
0.01236025895923376,
-0.001438283477909863,
-0.06268306821584702,
0.056348130106925964,
-0.013774116523563862,
-0.005910311825573444,
-0.008254596963524818,
0.06073034554719925,
0.03540806099772453,
-0.07142700999975204,
0.02922808565199375,
-0.043069303035736084,
-0.013058803044259548,
-0.010816766880452633,
-0.016315627843141556,
0.0692744180560112,
0.016041642054915428,
-0.02275089919567108,
0.010787944309413433,
0.03322829678654671,
-0.037091247737407684,
-0.0023079775273799896,
-0.007014291826635599,
-0.005259236320853233,
-0.019311271607875824,
-0.004860512912273407,
0.02232111245393753,
-0.03866060450673103,
-0.0015749546000733972,
0.061105694621801376,
-0.005328172817826271,
0.04225786775350571,
-0.01890619657933712,
0.0032877291087061167,
0.019966665655374527,
0.022229056805372238,
-0.006240847520530224,
-0.047187358140945435,
-0.0024025284219533205,
-0.005564462393522263,
-0.03639105334877968,
0.06672586500644684,
0.012097232975065708,
-0.057252489030361176,
0.0154538219794631,
0.03967643529176712,
-0.024830985814332962,
0.006500207353383303,
0.008832347579300404,
0.014965415932238102,
-0.012026210315525532,
-0.0033105628099292517,
-0.02877701073884964,
-0.039504967629909515,
0.021706953644752502,
0.017196035012602806,
-0.07582705467939377,
0.02031031809747219,
-0.03046184778213501,
-0.014648744836449623,
-0.007609575986862183,
0.00773165887221694,
-0.011848258785903454,
0.03586747497320175,
-0.017398307099938393,
0.0014378252672031522,
-0.09295061975717545,
0.07212435454130173,
0.006964900530874729,
-0.05064522102475166,
-0.010883662849664688,
0.023824995383620262,
0.034213338047266006,
0.023983264341950417,
-0.00796726904809475,
0.07540428638458252,
0.016825949773192406,
0.042098645120859146,
-0.012064509093761444,
0.0473288930952549,
-0.027879217639565468,
-0.05860060080885887,
-0.006320954766124487,
0.059890568256378174,
-0.015454467386007309,
-0.006571777630597353,
-0.0047258296981453896,
-0.03404231742024422,
-0.02012866921722889,
-0.022668253630399704,
0.04232028126716614,
0.062182072550058365,
-0.009813445620238781,
-0.037936754524707794,
0.01817665807902813,
0.006241226568818092,
0.022259529680013657,
0.019494257867336273,
-0.0016066357493400574,
-0.006750355940312147,
-0.03808491304516792,
0.010405061766505241,
0.01455376110970974,
0.03385245427489281,
0.027533967047929764,
-0.04344790428876877,
0.017131444066762924,
0.08184277266263962,
0.01583895832300186,
0.006526202894747257,
-0.021555013954639435,
0.03578215464949608,
0.028928209096193314,
0.030715830624103546,
0.0029460955411195755,
0.050636403262615204,
0.011384537443518639,
0.006940403021872044,
-0.01081540621817112,
0.04636464640498161,
0.012192255817353725,
0.011016716249287128,
-0.07086953520774841,
-0.06340571492910385,
0.0700099915266037,
-0.04915456101298332,
-0.015307046473026276,
0.03551623225212097,
0.0852925181388855,
0.0067247967235744,
0.03139859437942505,
0.013696188107132912,
-0.07176417112350464,
0.02136087231338024,
0.020055431872606277,
0.036488838493824005,
0.007297612261027098,
-0.03317862004041672,
0.06582982838153839,
0.0273244958370924,
0.0017735265428200364,
0.04408346861600876,
-0.08823053538799286,
-0.08710838854312897,
-0.013885581865906715,
-0.013116061687469482,
0.06122365593910217,
-0.009036405012011528,
0.0009035753319039941,
0.08319071680307388,
0.036064013838768005,
0.04842240363359451,
0.03128373995423317,
-0.013153184205293655,
0.030233535915613174,
-0.05264964699745178,
-0.032580696046352386,
0.03249772638082504,
0.03430618345737457,
-0.011813604272902012,
-0.06218418478965759,
0.007392308674752712,
0.0016626017168164253,
0.004709323868155479,
0.030023468658328056,
-0.01610858179628849,
0.016015930101275444,
0.013488714583218098,
0.06259530782699585,
-0.025642801076173782,
0.07636047154664993,
-0.05830487236380577,
0.011339538730680943,
-0.01768348552286625,
-0.0031561050564050674,
-0.009579960256814957,
-0.00516766170039773,
0.11647379398345947,
0.04993400722742081,
-0.06418731063604355,
-0.04474150389432907,
0.011111106723546982,
-0.0005747753311879933,
-0.05503030866384506,
-0.009736675769090652,
-0.013114634901285172,
0.0020883807446807623,
0.012020857073366642,
-0.06805203855037689,
-0.0275912806391716,
0.019454535096883774,
-0.04530749097466469,
0.022264767438173294,
0.0719715803861618,
-0.008331532590091228,
0.03523211181163788,
-0.013013399206101894,
-0.012779532000422478,
-0.012473979033529758,
-0.025281762704253197,
-0.04428542032837868,
0.011022965423762798,
0.028217455372214317,
-0.020628036931157112,
0.053266461938619614,
-0.034106843173503876,
-0.030096860602498055,
-0.025141501799225807,
-0.030201217159628868,
0.015503240749239922,
0.029680810868740082,
0.0731050968170166,
-0.019940095022320747,
0.06557460874319077,
0.014501924626529217,
0.01794220693409443,
-0.016042912378907204,
-0.04082353785634041,
-0.0358007550239563,
-0.023228295147418976,
-0.00982717052102089,
0.04997282102704048,
-0.008257150650024414,
0.023344889283180237,
0.015944959595799446,
0.01420854777097702,
-0.008098146878182888,
-0.01951136253774166,
0.03262041136622429,
0.015300797298550606,
-0.026608869433403015,
0.0002764187229331583,
-0.039536405354738235,
0.03514812886714935,
-0.039113085716962814,
-0.018539218232035637,
0.01405634731054306,
-0.04999590665102005,
0.04863995686173439,
-0.06767544150352478,
-0.05152682214975357,
0.009084992110729218,
0.011973145417869091,
0.03442658856511116,
-0.00846152938902378,
0.027454426512122154,
0.06614766269922256,
-0.0016586899291723967,
0.02093769609928131,
-0.008302615024149418,
0.009175111539661884,
0.026319224387407303,
0.009916230104863644,
-0.0021053734235465527,
0.018534239381551743,
0.013466105796396732,
0.015362046658992767,
-0.05178442969918251,
0.028386114165186882,
-0.013167526572942734,
-0.27050429582595825,
0.03747348114848137,
0.022204343229532242,
-0.050775207579135895,
0.0318245105445385,
-0.0010909897973760962,
-0.0033693534787744284,
-0.054314300417900085,
-0.017439180985093117,
0.023083779960870743,
-0.02492729015648365,
-0.05035929009318352,
-0.01984931156039238,
0.04816591367125511,
-0.019118662923574448,
0.010614446364343166,
0.024550465866923332,
-0.029349995777010918,
0.014803747646510601,
0.04935135692358017,
0.016039619222283363,
-0.07624620199203491,
-0.0026514825876802206,
0.02499528042972088,
0.020164627581834793,
0.07506213337182999,
-0.09554640203714371,
0.0652565285563469,
-0.030853427946567535,
-0.006581289693713188,
0.008182324469089508,
0.008582644164562225,
0.01526880357414484,
-0.023631153628230095,
-0.011582897044718266,
0.0021407913882285357,
0.02988101728260517,
-0.008636022917926311,
-0.007002333644777536,
0.014598521403968334,
-0.015418684110045433,
-0.05040496587753296,
-0.015857776626944542,
0.01591273583471775,
0.07435057312250137,
-0.011097384616732597,
-0.07044489681720734,
-0.003069368889555335,
-0.01783880405128002,
0.0710449069738388,
-0.039649635553359985,
-0.03220105916261673,
0.004756815265864134,
0.050184812396764755,
-0.018888361752033234,
-0.04543066397309303,
-0.013432196341454983,
-0.016851309686899185,
-0.047996632754802704,
-0.03684123978018761,
-0.02516770549118519,
-0.03846988081932068,
-0.01389350090175867,
-0.045487623661756516,
-0.005566328763961792,
-0.07129991799592972,
-0.04559171572327614,
-0.018436748534440994,
0.07033466547727585,
0.01499563455581665,
-0.03002846986055374,
0.03528066724538803,
-0.004014201927930117,
-0.10848640650510788,
-0.012606529518961906,
-0.006598013453185558,
-0.04485785961151123,
-0.021787570789456367,
-0.010619720444083214,
0.052610743790864944,
-0.03656284883618355,
-0.05162448808550835,
0.027543164789676666,
-0.004250305704772472,
0.016827205196022987,
-0.0013576148776337504,
0.009656299836933613,
0.016682246699929237,
-0.022142106667160988,
0.01356111653149128,
0.0868917927145958,
-0.010899350978434086,
-0.03816908225417137,
-0.03961493447422981,
0.03591994196176529,
0.0234870295971632,
0.018244855105876923,
-0.002911571180447936,
0.021879663690924644,
0.027694882825016975,
0.011799924075603485,
-0.046483881771564484,
0.06556956470012665,
-0.020988665521144867,
-0.008753946982324123,
-0.013016588985919952,
-0.052533116191625595,
0.04943825677037239,
0.009958349168300629,
0.03681961074471474,
-0.02475087158381939,
-0.03576337918639183,
0.014006653800606728,
-0.0442967489361763,
-0.04927194491028786,
-0.01591290347278118,
0.022023843601346016,
0.02643057517707348,
-0.04042607545852661,
-0.014069017954170704,
-0.04282447323203087,
0.01665819250047207,
0.0015961695462465286,
-0.018608208745718002,
-0.043548114597797394,
-0.036491017788648605,
0.01395751815289259,
-0.01257189828902483,
0.02502489648759365,
0.0352567657828331,
-0.012524006888270378,
0.030612647533416748,
0.015153331682085991,
-0.05027215927839279,
0.01937234029173851,
-0.01065810676664114,
-0.06507013738155365,
-0.006647055968642235,
0.007148610427975655,
-0.016032284125685692,
-0.004253026098012924,
0.01357787661254406,
0.015459002926945686,
0.024299435317516327,
0.03449045121669769,
-0.010764344595372677,
0.052528686821460724,
-0.0304119735956192,
0.01950256898999214,
0.01299404539167881,
0.01319245994091034,
-0.07648447901010513,
0.025246111676096916,
-0.041540537029504776,
-0.023974459618330002,
-0.017587263137102127,
0.028753913938999176,
-0.006911329925060272,
-0.024628710001707077,
-0.01689932681620121,
0.019258808344602585,
-0.05797944217920303,
-0.03715134039521217,
-0.018254589289426804,
0.02079557627439499,
0.06574160605669022,
-0.023007502779364586,
0.032717134803533554,
-0.012762362137436867,
-0.03451640531420708,
-0.005674430634826422,
0.021123914048075676,
-0.04066573455929756,
0.03230081498622894,
0.023906176909804344,
0.00909227691590786,
0.004602600354701281,
0.0002894061035476625,
0.05504949018359184,
0.02766893245279789,
-0.005351852625608444,
-0.04386352002620697,
0.010729494504630566,
0.032897528260946274,
0.03879128396511078,
-0.02520833909511566,
-0.014011308550834656,
-0.0014503508573397994,
-0.033939581364393234,
-0.030544329434633255,
-0.03807348385453224,
-0.02628508023917675,
0.004992931615561247,
0.04017810523509979,
-0.048093244433403015,
-0.08477965742349625,
0.047352179884910583,
0.018985461443662643,
0.021361306309700012,
0.018632004037499428,
0.012717201374471188,
-0.008405140601098537,
-0.014667479321360588,
0.02947765216231346,
0.04895305261015892,
-0.04658981040120125,
-0.01213565282523632,
-0.013936981558799744,
0.020463325083255768,
0.023027490824460983,
0.008232884109020233,
-0.04619571566581726,
-0.033128101378679276,
-0.001595767098478973,
0.010549206286668777,
-0.05966193974018097,
-0.028952116146683693,
-0.021511588245630264,
0.012881198897957802,
-0.009113521315157413,
-0.01803215593099594,
-0.013371733017265797,
-0.000633524963632226,
0.005064323544502258,
-0.03207329660654068,
0.01549131516367197,
-0.021933987736701965,
-0.0078812250867486,
0.003437303937971592,
-0.032646920531988144,
0.0189554113894701,
-0.010661790147423744,
0.02686225064098835,
0.010615000501275063,
-0.025527572259306908,
-0.03719918802380562,
-0.012245137244462967,
0.001887372462078929,
0.011565662920475006,
0.017310140654444695,
0.01018757838755846,
-0.02115754596889019,
-0.032021697610616684,
0.019986212253570557,
-0.037003129720687866,
0.033045683056116104,
-0.02561204694211483,
-0.01778283156454563,
0.03661525622010231,
0.06802483648061752,
0.021504834294319153,
0.04504316300153732,
-0.010122843086719513,
-0.021846037358045578,
0.048896897584199905,
-0.08032526075839996,
-0.01639668270945549,
-0.06080684810876846,
-0.07325699180364609,
0.025285949930548668,
0.003315564477816224,
0.019157785922288895,
-0.0479799248278141,
0.00828622281551361,
0.012180812656879425,
0.028482921421527863,
0.031121592968702316,
-0.00512624392285943,
0.04443155974149704,
-0.0709664598107338,
0.011703703552484512,
-0.08782815933227539,
0.010721685364842415,
0.027997616678476334,
-0.009251764044165611,
0.0005836394848302007,
-0.020048031583428383,
-0.03884986415505409,
0.043587081134319305,
-0.04367206618189812,
-0.011999944224953651,
0.04278091341257095,
-0.004793205298483372,
-0.02680223248898983,
0.011929094791412354,
-0.056164078414440155,
0.02686510607600212,
0.032091040164232254,
-0.04775199666619301,
-0.013870839029550552,
-0.017185818403959274,
0.041397396475076675,
0.008640598505735397,
0.019284173846244812,
-0.03118322603404522,
0.004341075662523508,
0.05233209952712059,
0.009821070358157158,
0.014592415653169155,
0.03631538525223732,
-0.01259100716561079,
0.025538647547364235,
0.042904485017061234,
0.015669450163841248,
-0.0006354833021759987,
0.0029366801027208567,
-0.012929911725223064,
-0.04061206802725792,
0.03933616355061531,
0.024171242490410805,
-0.037603408098220825,
-0.028033921495079994,
0.0663352683186531,
0.02117077261209488,
-0.03866307809948921,
-0.044888243079185486,
0.004153136629611254,
-0.07281489670276642,
-0.024528034031391144,
-0.017692023888230324,
0.00119334040209651,
-0.028332671150565147,
0.05495627596974373,
-0.010442015714943409,
0.0034298785030841827,
0.07510479539632797,
-0.019140711054205894,
-0.02120516635477543,
-0.02100438065826893,
0.08223225921392441,
0.07356912642717361,
0.04691139981150627,
-0.01102006807923317,
0.05010538920760155,
-0.03186335787177086,
-0.04508822783827782,
0.010379988700151443,
-0.01244332641363144,
-0.005674605257809162,
-0.03049628622829914,
0.012705479748547077,
0.03983430564403534,
-0.04224005341529846,
0.060410987585783005,
-0.006829279474914074,
0.0014154535019770265,
0.0008340770145878196,
0.021026797592639923,
0.02398490160703659,
0.07994668930768967,
-0.0001395742583554238,
-0.01289285346865654,
-0.01251029409468174,
-0.05042601376771927,
0.03787289559841156,
-0.0430796816945076,
-0.01981309801340103,
0.016859807074069977,
-0.001904109725728631,
0.03331810235977173,
0.012224717997014523,
0.01939500868320465,
0.06880350410938263,
-0.033362604677677155,
0.02266710251569748,
-0.010075095109641552,
0.039368659257888794,
-0.009850632399320602,
-0.006606620736420155,
-0.03023942932486534,
-0.03122362308204174,
-0.011975550092756748,
-0.02213861234486103,
-0.026112845167517662,
-0.03481470048427582,
-0.03917038440704346,
0.0458345040678978,
-0.002131698653101921,
-0.011775709688663483,
0.027114497497677803,
-0.005929546430706978,
-0.03546395152807236,
-0.07256155461072922,
-0.057491734623909,
-0.05466582253575325,
-0.046482883393764496,
-0.01555692870169878,
0.006739275995641947,
0.010604002512991428,
-0.035607945173978806,
-0.016458503901958466,
-0.03741573169827461,
-0.02943667210638523,
0.062357544898986816,
-0.040210746228694916,
-0.017082305625081062,
0.020870031788945198,
0.0009306080755777657,
0.021473636850714684,
0.0204902496188879,
0.027177516371011734,
0.01278733927756548,
-0.008955382741987705,
-0.027317877858877182,
-0.02572048455476761,
0.02367391437292099,
0.006124031264334917,
0.00821672659367323,
-0.08961479365825653,
0.003628096543252468,
0.018438182771205902,
0.013353013433516026,
-0.058519769459962845,
0.03194819763302803,
-0.01934518665075302,
-0.023221805691719055,
0.04582752659916878,
-0.03843478113412857,
0.03010009042918682,
-0.010924963280558586,
-0.004407715518027544,
0.0023395472671836615,
0.02316938154399395,
0.04858753830194473,
-0.010127240791916847,
0.0871073454618454,
0.014710770919919014,
-0.031966906040906906,
-0.038153089582920074,
-0.0048781828954815865,
-0.013255546800792217,
0.007365955505520105,
-0.013276125304400921,
-0.02905360423028469,
-0.04223299026489258,
-0.06840676069259644,
-0.020878786221146584,
0.010269365273416042,
-0.028036339208483696,
-0.01695583015680313,
0.04234721511602402,
-0.0024147715885192156,
-0.05275673419237137,
0.01984872668981552,
-0.04226549342274666,
0.041882142424583435,
-0.03211656212806702,
-0.024943627417087555,
0.025235380977392197,
0.01145040150731802,
0.008649549447000027,
0.019826704636216164,
0.03207991272211075,
-0.050831712782382965,
-0.0038926282431930304,
0.014468406327068806,
0.047824520617723465,
0.025244729593396187,
0.0115757891908288,
-0.028730668127536774
] | [
-0.112251415848732,
0.006445867940783501,
-0.04078061878681183,
-0.03113848902285099,
0.04073787108063698,
-0.027282705530524254,
-0.036281995475292206,
0.04055595397949219,
-0.03636833280324936,
-0.01842447742819786,
-0.02008167654275894,
-0.02231013774871826,
-0.005800830200314522,
-0.00045104394666850567,
0.06636188924312592,
0.00020944760763086379,
-0.007622659672051668,
-0.05986126884818077,
-0.009661497548222542,
0.030206557363271713,
0.03178907558321953,
-0.010233309119939804,
-0.04713905230164528,
-0.016389325261116028,
0.04205472394824028,
0.015060734003782272,
0.05773761868476868,
-0.012054208666086197,
0.0027210544794797897,
-0.208358034491539,
0.009047762490808964,
-0.00366482837125659,
-0.0000033179994716192596,
-0.03448894992470741,
0.0039053934160619974,
0.06966707110404968,
0.003014196641743183,
-0.00241418881341815,
-0.007328636012971401,
0.04925305023789406,
0.018875371664762497,
0.023059451952576637,
-0.03591740131378174,
-0.03521013259887695,
0.03381890058517456,
0.013517390005290508,
0.01580807752907276,
-0.032632604241371155,
-0.0006767507875338197,
0.04659685119986534,
-0.07021664083003998,
-0.0481964610517025,
-0.021362319588661194,
-0.02093666046857834,
-0.01629859022796154,
0.00576880294829607,
0.04374906048178673,
0.06102728098630905,
-0.00412448076531291,
0.01810937002301216,
0.014101099222898483,
-0.009414268657565117,
-0.14788654446601868,
0.08224623650312424,
0.040620628744363785,
0.0472760908305645,
-0.03406834602355957,
-0.019138045608997345,
0.007149013690650463,
0.09402431547641754,
-0.016255948692560196,
-0.04970582574605942,
-0.011669808067381382,
0.05820721760392189,
0.009477848187088966,
0.024902094155550003,
-0.00981784239411354,
0.008768059313297272,
0.03702452778816223,
-0.03983420506119728,
-0.017381709069013596,
-0.04428192973136902,
-0.008390821516513824,
-0.01950637437403202,
-0.03575294464826584,
0.004876633640378714,
-0.011477462016046047,
0.058123648166656494,
0.06249896064400673,
0.04817764461040497,
0.07825077325105667,
-0.03199974447488785,
0.04257902875542641,
-0.007489446550607681,
-0.0938645601272583,
-0.02330441027879715,
-0.016844233497977257,
0.018928896635770798,
-0.014883683994412422,
0.4113030731678009,
-0.040131598711013794,
-0.04695255309343338,
0.07630491256713867,
0.05450056493282318,
-0.01552400179207325,
-0.0034337108954787254,
0.037470828741788864,
-0.028652062639594078,
0.04001287370920181,
-0.015159574337303638,
0.016593078151345253,
0.018014181405305862,
0.07446266710758209,
-0.026790888980031013,
0.006591955199837685,
0.0419495515525341,
0.03045094944536686,
0.00035388744436204433,
-0.017371393740177155,
-0.0008171519730240107,
0.003937867470085621,
0.024611113592982292,
-0.0036344113759696484,
-0.0029655438847839832,
-0.017734674736857414,
-0.034334708005189896,
0.0355684719979763,
0.05582490190863609,
0.015579020604491234,
0.01760471984744072,
0.04269558936357498,
-0.05269767716526985,
-0.06751569360494614,
0.01815834455192089,
-0.008412680588662624,
0.022095199674367905,
0.026073476299643517,
-0.012942611239850521,
0.03908826410770416,
0.03372957929968834,
0.023339882493019104,
-0.0026216681580990553,
-0.0005925266304984689,
-0.0019073433941230178,
-0.03322825953364372,
0.07850686460733414,
0.01087878830730915,
-0.018773619085550308,
-0.014961845241487026,
-0.013621383346617222,
-0.0005471407785080373,
0.04426974803209305,
-0.036649297922849655,
-0.06308525055646896,
0.019390994682908058,
-0.006439977791160345,
0.06631895154714584,
0.020851774141192436,
-0.03419748693704605,
-0.027209410443902016,
-0.035078760236501694,
-0.0037570707499980927,
-0.05540856719017029,
0.009853819385170937,
0.06250876188278198,
-0.07942415773868561,
-0.025676602497696877,
0.015435843728482723,
0.04139692336320877,
-0.06134067103266716,
-0.0028837609570473433,
0.0042239087633788586,
-0.037717562168836594,
-0.03408168628811836,
0.01009347103536129,
-0.0273752398788929,
-0.013373307883739471,
0.023967770859599113,
0.02634252980351448,
0.023672645911574364,
0.025427231565117836,
-0.0026974400971084833,
-0.050559937953948975,
0.029661208391189575,
-0.04676211625337601,
-0.09536153823137283,
-0.05051637068390846,
-0.0018569956300780177,
-0.027371762320399284,
0.027463892474770546,
-0.0270506851375103,
-0.01890675351023674,
-0.11109726876020432,
0.1126028299331665,
-0.021431224420666695,
-0.02150736376643181,
0.009524579159915447,
-0.002379961311817169,
-0.025167157873511314,
-0.03933585062623024,
-0.030817264690995216,
0.0633758008480072,
-0.03035428188741207,
0.014688066206872463,
-0.07715512812137604,
0.07667703181505203,
0.08149237185716629,
-0.04332679137587547,
0.0843190923333168,
0.0580839142203331,
-0.03622890263795853,
-0.02386496774852276,
-0.02303222380578518,
0.0162095595151186,
-0.007161677349358797,
-0.012712451629340649,
0.004717592149972916,
0.0037051441613584757,
0.029086388647556305,
0.011582110077142715,
0.007975899614393711,
-0.001010951236821711,
-0.0005083292489871383,
-0.3394608199596405,
-0.05366155877709389,
-0.02610153518617153,
-0.005265918560326099,
0.06665554642677307,
-0.08370357006788254,
0.0007616446237079799,
0.009424105286598206,
-0.0015544425696134567,
-0.007639333605766296,
0.035272613167762756,
-0.02114131860435009,
-0.012242264114320278,
-0.08741007000207901,
0.0039293523877859116,
-0.04216848313808441,
-0.035172801464796066,
-0.025681238621473312,
-0.04492959380149841,
0.0025272031780332327,
-0.01469834242016077,
-0.017335999757051468,
-0.0031446898356080055,
-0.057361405342817307,
0.027385277673602104,
-0.05593516677618027,
0.08846157789230347,
0.01367237139493227,
0.09577549993991852,
-0.018472209572792053,
0.04367392137646675,
-0.010533475317060947,
0.03509429469704628,
-0.08406981825828552,
0.02795528806746006,
0.007664279546588659,
-0.012926565483212471,
-0.0203851331025362,
0.052883852273225784,
-0.051915597170591354,
-0.02288842760026455,
-0.007327706553041935,
-0.06683073937892914,
-0.058889586478471756,
-0.06642506271600723,
0.021764643490314484,
-0.028814075514674187,
-0.01149025373160839,
-0.04245039075613022,
0.08744344115257263,
0.012886131182312965,
0.006556844804435968,
0.022120680660009384,
-0.016945388168096542,
-0.011639703996479511,
-0.006145056337118149,
-0.0872669667005539,
-0.009487149305641651,
0.03349032998085022,
-0.02109619416296482,
0.049512628465890884,
0.11878545582294464,
0.033483389765024185,
-0.0449027381837368,
-0.010592375881969929,
0.02173948474228382,
0.026085099205374718,
-0.00795462355017662,
0.030858198180794716,
-0.005607454106211662,
-0.015315082855522633,
0.08753825724124908,
-0.01371318195015192,
-0.0091530941426754,
0.025279195979237556,
0.06725761294364929,
-0.011639314703643322,
-0.0012948515359312296,
0.012402120046317577,
-0.015189489349722862,
0.03381781652569771,
-0.03204578161239624,
0.012692667543888092,
-0.02933335117995739,
0.004435969516634941,
0.04461393877863884,
-0.00788246188312769,
-0.06632699817419052,
0.05647830292582512,
0.02977786399424076,
-0.030514199286699295,
0.00399839598685503,
-0.035770565271377563,
-0.04943577200174332,
0.026752155274152756,
-0.005339367780834436,
-0.22548484802246094,
-0.009284685365855694,
0.0415169857442379,
0.08606185764074326,
-0.0006822539726272225,
0.023547615855932236,
0.04565182700753212,
-0.03766900673508644,
0.035829197615385056,
0.027018999680876732,
0.05234139412641525,
0.03494125232100487,
0.027631422504782677,
0.009563572704792023,
0.03482023626565933,
-0.024398384615778923,
0.0350286141037941,
0.015206626616418362,
0.03274175524711609,
-0.03097786009311676,
0.002624982502311468,
-0.02991587668657303,
0.16415569186210632,
0.023320747539401054,
-0.009239374659955502,
0.008767678402364254,
0.022165535017848015,
0.016249502077698708,
0.07845501601696014,
0.0029454848263412714,
-0.0022183998953551054,
-0.004926820285618305,
0.0027931330259889364,
-0.017175797373056412,
0.025557292625308037,
-0.08951061218976974,
-0.06160959601402283,
0.01284687127918005,
0.03232872858643532,
-0.002346776658669114,
-0.010756160132586956,
-0.000837224826682359,
-0.029814111068844795,
0.019846318289637566,
0.07757198065519333,
0.0306369811296463,
-0.02401372604072094,
-0.026636522263288498,
-0.06217047944664955,
0.0010069290874525905,
-0.024140125140547752,
-0.03671812266111374,
-0.0019794150721281767,
-0.013112254440784454,
-0.004339493811130524,
0.08308722078800201,
0.005499432794749737,
0.01002317015081644,
-0.021991731598973274,
0.020521018654108047,
-0.0036861153785139322,
0.009231899864971638,
0.11606153100728989,
0.038760147988796234,
0.0032372060231864452
] | [
-0.01098905224353075,
0.0024665980599820614,
-0.02275531366467476,
0.014439119957387447,
-0.009247156791388988,
-0.025279272347688675,
-0.012477393262088299,
0.00779090728610754,
-0.01633451133966446,
-0.0003577610768843442,
-0.00948526244610548,
0.04119511693716049,
0.0052294619381427765,
-0.03188559412956238,
0.005609769839793444,
-0.00857347622513771,
-0.016104279085993767,
0.0073199402540922165,
0.013917973265051842,
-0.010803473182022572,
-0.014243376441299915,
0.006043033208698034,
0.01414958294481039,
-0.001633909298107028,
-0.028820322826504707,
0.02496977522969246,
-0.025468500331044197,
0.0021052176598459482,
0.014986810274422169,
-0.14631424844264984,
0.002709215972572565,
-0.02126849815249443,
-0.039030373096466064,
0.006158783100545406,
-0.001052707084454596,
0.014811981469392776,
0.015563604421913624,
0.005538399796932936,
0.00515757966786623,
0.0008870848687365651,
0.03555469587445259,
-0.019668525084853172,
0.0026435309555381536,
0.002213861793279648,
-0.011994036845862865,
-0.016634726896882057,
-0.011382167227566242,
-0.008512865751981735,
-0.02798856981098652,
-0.018315399065613747,
-0.029608668759465218,
-0.02982591651380062,
-0.0327114500105381,
0.018318593502044678,
0.004450628068298101,
-0.03338910639286041,
0.0038974671624600887,
-0.02403012290596962,
0.010994277894496918,
-0.015105687081813812,
0.003960179165005684,
0.01441905740648508,
-0.0145659688860178,
-0.01383658405393362,
-0.017623290419578552,
-0.006992138456553221,
0.009401245974004269,
0.003468939568847418,
-0.012741828337311745,
0.011663015000522137,
-0.018520573154091835,
0.04230860620737076,
-0.02736387588083744,
0.01312611997127533,
0.015117114409804344,
0.02323121950030327,
-0.00489457743242383,
-0.0032345950603485107,
0.02152423746883869,
0.004971235524863005,
-0.026658590883016586,
0.0021414372604340315,
0.026554645970463753,
-0.013461466878652573,
0.012998484075069427,
0.025233060121536255,
0.04556238651275635,
0.012097838334739208,
0.015061511658132076,
-0.012092504650354385,
-0.005497868172824383,
0.025506749749183655,
-0.020109407603740692,
0.018782086670398712,
-0.0898929163813591,
-0.033781494945287704,
-0.00892691407352686,
-0.010775397531688213,
-0.006958260200917721,
0.8693433403968811,
0.0031542868819087744,
-0.001942155067808926,
0.037855178117752075,
0.008052724413573742,
-0.005792392883449793,
-0.012727371416985989,
0.011889759451150894,
0.032381799072027206,
0.0374460406601429,
-0.05202318727970123,
0.001134570105932653,
0.03852313384413719,
0.02229704149067402,
0.006527813617140055,
0.004008846823126078,
0.02236597053706646,
0.006654318422079086,
-0.003749582450836897,
-0.0063884081318974495,
0.007074648514389992,
0.02975260093808174,
0.021710343658924103,
0.005804941989481449,
0.0072317360900342464,
0.006167017854750156,
-0.15518081188201904,
0.0023138432297855616,
-8.135584647097544e-33,
0.06879757344722748,
-0.01821579784154892,
-0.01815040037035942,
-0.00542239798232913,
0.024401232600212097,
0.012463878840208054,
0.031056324020028114,
0.036717768758535385,
-0.015548965893685818,
-0.02718215063214302,
0.03507866710424423,
-0.044135984033346176,
0.0074737463146448135,
-0.0034123172517865896,
0.0320504829287529,
0.0012872549705207348,
-0.03302381932735443,
0.020770275965332985,
0.012492876499891281,
0.012128864414989948,
0.02086307480931282,
0.023528316989541054,
-0.014259323477745056,
-0.0024626892991364002,
-0.014645072631537914,
0.0077577754855155945,
0.012165125459432602,
0.05079442635178566,
-0.044795431196689606,
-0.04035152122378349,
-0.010657789185643196,
0.012409443967044353,
-0.025479799136519432,
0.0003349477192386985,
0.0072021884843707085,
-0.03721898794174194,
0.00632899533957243,
-0.0010136011987924576,
-0.006540985312312841,
0.005479877348989248,
-0.02986079826951027,
-0.01843261532485485,
-0.04028777778148651,
0.015358739532530308,
0.0017873619217425585,
-0.03153296187520027,
-0.025524599477648735,
0.009213486686348915,
0.025095460936427116,
-0.009414125233888626,
-0.005384555086493492,
0.008938963524997234,
0.0313822403550148,
-0.00928136520087719,
-0.012597699649631977,
0.034621965140104294,
0.0018230692949146032,
-0.005231532733887434,
0.010793332941830158,
0.05026846379041672,
0.02590838260948658,
-0.0019240877591073513,
-0.02242918685078621,
0.030276548117399216,
-0.008716786280274391,
-0.028595054522156715,
0.04015852138400078,
0.008240975439548492,
0.017088813707232475,
-0.008542225696146488,
-0.018333695828914642,
-0.011545062065124512,
-0.02069939114153385,
0.00962713174521923,
0.007898682728409767,
-0.02713114395737648,
0.0017455746419727802,
0.03915289044380188,
-0.008246440440416336,
0.015186155214905739,
0.048438478261232376,
-0.01650070957839489,
0.01644732430577278,
-0.021608170121908188,
-0.015376536175608635,
-0.017806587740778923,
-0.008538044057786465,
-0.03233393281698227,
-0.014798453077673912,
-0.026241714134812355,
0.028965942561626434,
0.03261513635516167,
0.00467273686081171,
-0.040992844849824905,
-0.0043737515807151794,
8.144738074670603e-33,
0.0013818213483318686,
-0.01479631569236517,
-0.029200129210948944,
0.01203033048659563,
-0.0036463034339249134,
-0.013049912638962269,
0.03383444622159004,
0.019978316500782967,
-0.05706463381648064,
0.031045295298099518,
-0.0120821762830019,
0.017217254266142845,
-0.01853102259337902,
0.0040728189051151276,
0.01378392893821001,
-0.030384689569473267,
0.01937069557607174,
-0.0385957732796669,
0.04404532536864281,
-0.011020829901099205,
0.019693322479724884,
0.013425099663436413,
0.016802124679088593,
0.000781945011112839,
-0.0011419248767197132,
0.04117126017808914,
-0.01838495023548603,
0.022414160892367363,
0.006886620540171862,
-0.020564746111631393,
-0.014647774398326874,
-0.0037110019475221634,
0.02732264995574951,
0.01195497252047062,
-0.008074267767369747,
0.026030175387859344,
0.009792044758796692,
0.0002818401262629777,
0.012932337820529938,
0.0020197604317218065,
0.03449583053588867,
0.00646569998934865,
0.01239720731973648,
0.023619145154953003,
0.02202972210943699,
0.026254842057824135,
-0.0121791185811162,
-0.021829644218087196,
-0.013972252607345581,
0.005738654173910618,
-0.011302435770630836,
0.01743059791624546,
0.015325021930038929,
0.005789181683212519,
-0.010914783924818039,
-0.011653367429971695,
-0.04047268629074097,
0.0011535459198057652,
-0.04201004281640053,
0.02874322049319744,
-0.013883857056498528,
0.0009659976931288838,
-0.036288727074861526,
0.027242250740528107,
-0.02628602273762226,
0.0037595767062157393,
-0.022902781143784523,
-0.0185055211186409,
0.010745382867753506,
0.00855373777449131,
-0.04920917749404907,
-0.013253306038677692,
-0.008723322302103043,
0.028840556740760803,
0.041111987084150314,
-0.042125411331653595,
-0.025812314823269844,
0.019930871203541756,
-0.013578523881733418,
0.02905084192752838,
0.013925292529165745,
-0.01173574011772871,
-0.007410789839923382,
-0.003599144984036684,
-0.004203790798783302,
0.03889714926481247,
-0.012009209021925926,
0.018814029172062874,
-0.010907547548413277,
-0.034327130764722824,
-0.013124844059348106,
0.006305200047791004,
0.0016922375652939081,
-0.009841511957347393,
0.011626321822404861,
-1.364195600928042e-8,
0.011827878654003143,
0.019007129594683647,
-0.023455657064914703,
0.023348985239863396,
0.014899609610438347,
0.012262895703315735,
-0.022748727351427078,
-0.00011326297681080177,
-0.04142150282859802,
0.034339237958192825,
0.019324038177728653,
0.00835415255278349,
0.0025998400524258614,
0.012300629168748856,
-0.009345154277980328,
-0.0582299642264843,
-0.020116891711950302,
-0.011018786579370499,
0.02768125757575035,
0.024749239906668663,
0.013450322672724724,
0.06131306663155556,
0.0033614258281886578,
0.0025912520941346884,
0.02447868138551712,
0.013059250079095364,
0.02075907215476036,
-0.07093536853790283,
-0.02876928448677063,
0.007272628135979176,
-0.011698562651872635,
-0.03499859571456909,
-0.06776562333106995,
-0.004674735479056835,
-0.026820391416549683,
-0.012966721318662167,
-0.01634196937084198,
0.019488025456666946,
0.04594455286860466,
-0.008715528063476086,
-0.020196029916405678,
0.007322759833186865,
0.014131581410765648,
-0.01556715089827776,
0.0006709371809847653,
-0.019286643713712692,
-0.04224827140569687,
0.0018488807836547494,
0.005409160628914833,
-0.05504428595304489,
0.011986523866653442,
0.0079925786703825,
0.025536861270666122,
-0.016504384577274323,
0.010601446963846684,
0.006188165862113237,
0.0178483035415411,
-0.008820873685181141,
-0.05214732140302658,
-0.0007739563588984311,
0.04567307233810425,
0.02599393017590046,
-0.014384760521352291,
-0.02189844660460949
] | tdd-rewritingrefactoring-tests | https://markhneedham.com/blog/2010/01/25/tdd-rewritingrefactoring-tests |
false | 2010-01-25 21:23:31 | TDD: Simplifying a test with a hand rolled stub | [
"tdd"
] | [
"Testing"
] | I wrote a couple of weeks ago about my thoughts on http://www.markhneedham.com/blog/2010/01/15/tdd-hand-written-stubs-vs-framework-generated-stubs/[hand written stubs vs framework generated stubs] and I noticed an interesting situation where it helped me out while trying to simplify some test code.
The code in question was making use of several framework generated stubs/mocks and one in particular was trying to return different values depending on the value passed as a parameter.
The test was failing and I spent about half an hour unsuccessfully trying to work out why it wasn't working as expected before I decided to replace it with a hand rolled stub that did exactly what I wanted.
This is a simplified version of the test:
[source,csharp]
----
[Test]
public void SomeTest()
{
var service = MockRepository.GenerateStub<IService>();
service.Stub(x => x.SomeMethod("call1")).Return("aValue");
service.Stub(x => x.SomeMethod("call2")).Return("anotherValue");
// and so on
new SomeObject(service).AnotherMethod();
// some assertions
}
----
For the sake of the test I only wanted 'service' to return a value of 'aValue' the first time it was called and then 'anotherValue' for any other calls after that.
I therefore wrote the following hand rolled stub to try and simplify the test for myself and plugged it into the original test:
[source,csharp]
----
public class AValueOnFirstCallThenAnotherValueService : IService
{
private int numberOfCalls = 0;
public string SomeMethod(string parameter)
{
if(numberOfCalls == 0)
{
numberOfCalls++;
return "aValue";
}
else
{
numberOfCalls++;
return "anotherValue";
}
}
}
----
[source,csharp]
----
[Test]
public void SomeTest()
{
var service = new AValueOnFirstCallThenAnotherValueService();
new SomeObject(service).AnotherMethod();
// some assertions
}
----
I've never tried this particular approach before but it made it way easier for me to identify what was going wrong and I was then able to get the test to work as expected and move onto the next one.
In retrospect it should have been possible for me to work out why the original framework generated stub wasn't working but it seemed like the right time to cut my losses and the time to write the hand generated one and get it working was an order of magnitude less. | null | null | [
0.017228713259100914,
-0.004896311089396477,
-0.03420624881982803,
0.05262261629104614,
0.055102646350860596,
0.02255532704293728,
0.053038090467453,
0.021492857486009598,
0.005566838197410107,
-0.040001723915338516,
0.01673131249845028,
0.001022410113364458,
-0.06904076039791107,
0.010507147759199142,
-0.03123239427804947,
0.05924934521317482,
0.08934798091650009,
-0.03408369421958923,
0.04169302061200142,
-0.008837114088237286,
-0.0068228580057621,
0.0636497363448143,
-0.005394989624619484,
0.03713032603263855,
0.035291120409965515,
0.037753306329250336,
-0.002544827526435256,
-0.009425651282072067,
-0.06134916469454765,
-0.022390887141227722,
0.03773244470357895,
0.026163268834352493,
0.011987201869487762,
-0.026163384318351746,
-0.006404373329132795,
-0.029729032889008522,
-0.007140416651964188,
0.01845514215528965,
0.01810191571712494,
0.010730825364589691,
-0.07606765627861023,
-0.01774931699037552,
0.0004837622109334916,
0.005976958200335503,
-0.05589595437049866,
0.0008390352013520896,
-0.00843185093253851,
-0.010344049893319607,
-0.03968243673443794,
0.01654924266040325,
-0.05347951874136925,
0.01870284229516983,
-0.040178924798965454,
0.0033244427759200335,
0.0026634763926267624,
0.055026814341545105,
0.012678009457886219,
-0.07899060100317001,
0.04109058901667595,
-0.08012475073337555,
-0.0043730176985263824,
0.0011536672245711088,
-0.0025748261250555515,
0.0540110319852829,
0.0045969742350280285,
0.01581546850502491,
0.01689334586262703,
0.04699570685625076,
-0.058226801455020905,
-0.01467104721814394,
-0.017880020663142204,
-0.016004785895347595,
-0.0062212515622377396,
-0.027729345485568047,
-0.005550607573240995,
-0.058095723390579224,
-0.013437195681035519,
0.05342074856162071,
0.0033644617069512606,
0.04580453038215637,
-0.014045082032680511,
-0.0004510174912866205,
0.03833923488855362,
-0.00589287793263793,
-0.004722190089523792,
-0.033868905156850815,
-0.018576309084892273,
-0.0007800923776812851,
-0.009556100703775883,
0.06408492475748062,
0.032569047063589096,
-0.030800223350524902,
0.012111169286072254,
0.038107678294181824,
-0.008885848335921764,
0.006538483779877424,
0.01734171248972416,
-0.02366228587925434,
0.016754310578107834,
0.0059898956678807735,
-0.040017448365688324,
-0.021328669041395187,
0.048613861203193665,
0.0010533302556723356,
-0.07844699174165726,
0.0017774987500160933,
-0.03177054598927498,
-0.014064767397940159,
-0.007659547962248325,
0.015550892800092697,
-0.05090942233800888,
0.039292845875024796,
-0.008289956487715244,
0.006733385380357504,
-0.07601581513881683,
0.04714434593915939,
0.0034732716158032417,
-0.005849386565387249,
-0.009700431488454342,
0.04425058513879776,
0.025576084852218628,
0.007798143196851015,
-0.04510869085788727,
0.08140639215707779,
0.007470880169421434,
0.0486905574798584,
-0.02379017323255539,
0.06644123047590256,
-0.0013972274027764797,
-0.07512538135051727,
-0.018962882459163666,
0.04271499067544937,
-0.00007148124859668314,
0.021932577714323997,
-0.00764074781909585,
-0.036041997373104095,
-0.0001480635692132637,
-0.0269235260784626,
0.02367589809000492,
0.02928192727267742,
-0.03543046489357948,
-0.02362019382417202,
0.004125077743083239,
0.010577375069260597,
0.008449850603938103,
0.026135478168725967,
-0.0057080895639956,
-0.028925197198987007,
-0.02037847600877285,
0.0674605444073677,
0.02491760440170765,
0.06465544551610947,
0.05038168281316757,
-0.030603891238570213,
0.00991236511617899,
0.0656183511018753,
0.007732876110821962,
0.01505289413034916,
0.008140219375491142,
0.029766367748379707,
0.052140310406684875,
0.04196900501847267,
0.02209673635661602,
0.05538543686270714,
0.031472161412239075,
0.021680602803826332,
-0.003219359088689089,
0.04128880053758621,
-0.005478179547935724,
-0.025137724354863167,
-0.0725371316075325,
-0.056207746267318726,
0.05179590731859207,
-0.03688958287239075,
-0.007728108670562506,
0.021363288164138794,
0.07566935569047928,
0.004076906945556402,
0.07195772975683212,
0.016933701932430267,
-0.07373046875,
0.021408749744296074,
0.04041609913110733,
0.025553705170750618,
0.006580103188753128,
0.005827159620821476,
0.0611594058573246,
0.06162000820040703,
-0.0288673248142004,
0.035638075321912766,
-0.07405326515436172,
-0.08514107763767242,
-0.03849612921476364,
-0.0058036562986671925,
0.06397842615842819,
-0.044051434844732285,
-0.032236937433481216,
0.0902881994843483,
0.0264834426343441,
0.035360392183065414,
0.02885054424405098,
-0.023985031992197037,
0.007853475399315357,
-0.013754988089203835,
-0.005606793332844973,
0.05476335063576698,
0.0656658187508583,
0.00421304814517498,
-0.058390770107507706,
0.009019436314702034,
-0.02461967244744301,
0.0218997560441494,
0.02092963084578514,
-0.006575131788849831,
0.0387444831430912,
0.017192084342241287,
0.030151519924402237,
-0.02593424916267395,
0.0610261969268322,
-0.06314351409673691,
0.010094597935676575,
-0.0241734329611063,
-0.0242638997733593,
-0.016732318326830864,
-0.010551533661782742,
0.10768933594226837,
0.058070722967386246,
-0.04223131760954857,
-0.05664579197764397,
0.0006075284909456968,
0.017451586201786995,
-0.014161359518766403,
-0.01496907789260149,
-0.02461615763604641,
0.013945979066193104,
0.003160351188853383,
-0.030409259721636772,
0.005041960161179304,
0.01904754526913166,
-0.04232754558324814,
0.01761866919696331,
0.053850699216127396,
0.0024956087581813335,
0.042554114013910294,
-0.022440679371356964,
-0.02704276144504547,
-0.01920734904706478,
-0.03408997133374214,
-0.0481468066573143,
-0.027875930070877075,
0.05490690469741821,
-0.011764231137931347,
0.05627351626753807,
-0.002082651946693659,
-0.02131715789437294,
-0.0016127522103488445,
-0.03566541522741318,
0.009601316414773464,
0.016526581719517708,
0.06236713379621506,
0.0016253761714324355,
0.045000799000263214,
0.003233556170016527,
0.0033119546715170145,
-0.005867606960237026,
-0.04756169393658638,
0.0026806946843862534,
0.014285444281995296,
0.022003641352057457,
0.04500655084848404,
0.015526838600635529,
0.009765246883034706,
0.017541874200105667,
0.016279088333249092,
-0.020852133631706238,
0.004010828677564859,
0.026338115334510803,
-0.004431317560374737,
-0.05186203122138977,
-0.006828169338405132,
-0.04281176999211311,
0.03069951944053173,
-0.040980853140354156,
-0.04911934584379196,
0.041686803102493286,
-0.0957670658826828,
0.03452504798769951,
-0.07804503291845322,
-0.057601653039455414,
0.008334650658071041,
0.0072286371141672134,
0.03847629204392433,
0.009390040300786495,
0.04058398678898811,
0.05631353706121445,
-0.0006010329234413803,
0.0031299416441470385,
0.02942843735218048,
0.0045829289592802525,
0.0013569574803113937,
-0.0020021505188196898,
0.00111895683221519,
0.038971349596977234,
0.005972039885818958,
0.011423338204622269,
-0.05771170184016228,
-0.011598105542361736,
-0.021290553733706474,
-0.2606836259365082,
0.023243378847837448,
-0.0077221388928592205,
-0.04092470556497574,
0.04229400306940079,
-0.024054959416389465,
0.017230451107025146,
-0.05151113122701645,
-0.023103009909391403,
0.07058960199356079,
-0.0308266319334507,
-0.02095947228372097,
-0.02785700373351574,
0.054107122123241425,
-0.009993056766688824,
0.008052433840930462,
0.007875734008848667,
-0.04280213266611099,
0.027166852727532387,
0.04527260735630989,
0.012660808861255646,
-0.08093255013227463,
-0.004192935768514872,
0.04974665492773056,
0.0339314341545105,
0.05431615561246872,
-0.0667877048254013,
0.06148746609687805,
-0.017675751820206642,
-0.023981541395187378,
0.022223783656954765,
-0.014301293529570103,
0.028813514858484268,
-0.04044631868600845,
-0.02648645080626011,
-0.0016501287464052439,
0.004353406839072704,
0.003548413049429655,
0.011702868156135082,
0.021238945424556732,
-0.024850042536854744,
-0.06097269430756569,
-0.0170469768345356,
0.03518221527338028,
0.06761424243450165,
-0.00561243062838912,
-0.03502942621707916,
0.0018737298669293523,
-0.05672532692551613,
0.08145638555288315,
-0.03523105010390282,
-0.030855588614940643,
-0.021586108952760696,
0.04015059769153595,
-0.02554234303534031,
-0.020383508875966072,
-0.011569572612643242,
-0.024780474603176117,
-0.03250698745250702,
-0.022247277200222015,
-0.007709878496825695,
-0.0387832410633564,
-0.036750778555870056,
-0.043445657938718796,
-0.011126493103802204,
-0.09189030528068542,
-0.055096957832574844,
-0.006040001753717661,
0.05379217490553856,
0.010904073715209961,
-0.01448278408497572,
0.009472163394093513,
0.006727116648107767,
-0.11344775557518005,
0.026821916922926903,
-0.04605557769536972,
-0.03652970492839813,
-0.03636770695447922,
-0.008830398321151733,
0.05565521866083145,
-0.02845989167690277,
-0.03926411643624306,
0.034569837152957916,
0.012143018655478954,
0.008655720390379429,
0.01336497813463211,
0.016739120706915855,
0.012149529531598091,
-0.03217335790395737,
-0.003176566679030657,
0.0845377966761589,
-0.0023846877738833427,
0.0032517272047698498,
-0.011158006265759468,
0.0009419664856977761,
0.04345657676458359,
0.02649465575814247,
-0.009795836172997952,
0.027482513338327408,
0.022753514349460602,
0.04277122765779495,
-0.06425529718399048,
0.02737824060022831,
-0.0450281947851181,
-0.00010349487274652347,
-0.03105211816728115,
-0.07282063364982605,
0.036924466490745544,
0.015607506968080997,
0.01045260764658451,
-0.017929723486304283,
-0.047989558428525925,
-0.022320378571748734,
-0.059503600001335144,
-0.05049263685941696,
-0.03631659597158432,
-0.004106131847947836,
0.02918902412056923,
-0.0444972850382328,
-0.018860146403312683,
-0.03594706207513809,
0.02740860916674137,
0.007582307793200016,
-0.015606707893311977,
-0.05216888710856438,
-0.03988690301775932,
-0.013342460617423058,
0.027194207534193993,
0.0017264342168346047,
0.014701345935463905,
-0.007452231831848621,
0.01753317005932331,
-0.019291145727038383,
-0.017199227586388588,
0.017149532213807106,
0.018242232501506805,
-0.03252222016453743,
-0.015553991310298443,
-0.0004808308440260589,
0.0005687205702997744,
0.009133278392255306,
-0.029865749180316925,
0.008172962814569473,
0.023944392800331116,
0.04166807606816292,
-0.007619074080139399,
0.04214567691087723,
-0.00839138776063919,
0.000443384749814868,
0.0029144827276468277,
0.019548071548342705,
-0.07548518478870392,
0.017090728506445885,
-0.03234068304300308,
-0.03253279998898506,
-0.028217431157827377,
0.04184703156352043,
-0.018675632774829865,
-0.043256960809230804,
-0.019693659618496895,
0.01511133462190628,
-0.05066913366317749,
-0.05850744619965553,
-0.017656587064266205,
-0.003502962877973914,
0.04380195587873459,
-0.046051573008298874,
0.034605275839567184,
-0.009401602670550346,
-0.035515956580638885,
-0.018419655039906502,
-0.02035890892148018,
-0.016188986599445343,
0.059629980474710464,
0.010875166393816471,
0.020767658948898315,
-0.00003470011506578885,
0.005179993808269501,
0.03768512234091759,
0.025308992713689804,
0.03469763323664665,
-0.04766617342829704,
0.013326059095561504,
0.017544768750667572,
0.050060950219631195,
0.019460761919617653,
-0.0008340216591022909,
-0.009475469589233398,
-0.004321345128118992,
-0.002476506168022752,
-0.06200414150953293,
-0.02479557693004608,
-0.006821606773883104,
0.04365013912320137,
-0.029876209795475006,
-0.08941607922315598,
0.028227830305695534,
0.00909689161926508,
0.02428348921239376,
0.012853066436946392,
0.013318340294063091,
0.005677533335983753,
-0.016042260453104973,
0.013872114010155201,
0.05388283357024193,
-0.046836018562316895,
0.01035377662628889,
-0.011249823495745659,
0.03377719223499298,
0.024148110300302505,
0.021666739135980606,
-0.04139253497123718,
-0.020291924476623535,
-0.007039378862828016,
-0.02080901898443699,
-0.03244032338261604,
-0.00876114796847105,
-0.02055797167122364,
0.018858671188354492,
-0.014735301025211811,
0.0022953650914132595,
-0.016049480065703392,
-0.0034290598705410957,
-0.040138911455869675,
-0.031305402517318726,
0.026361139491200447,
-0.04085725545883179,
-0.011562331579625607,
0.014732811599969864,
-0.026643643155694008,
0.007093911990523338,
-0.017921997234225273,
0.02239043265581131,
0.02684662491083145,
-0.03811177983880043,
-0.029389459639787674,
-0.03776509687304497,
-0.00862450897693634,
-0.008523565717041492,
0.030500901862978935,
-0.0037929636891931295,
-0.003848488675430417,
-0.006985481828451157,
-0.007180976681411266,
-0.02118699438869953,
0.025305816903710365,
0.005833547096699476,
-0.01828734576702118,
0.02597636915743351,
0.06197617948055267,
0.015410715714097023,
0.04781127721071243,
0.01334821991622448,
0.005240665748715401,
0.08974739164113998,
-0.07303420454263687,
-0.021213117986917496,
-0.046456191688776016,
-0.06484230607748032,
0.013423222117125988,
-0.007058265153318644,
0.025899579748511314,
-0.032721251249313354,
0.03850063309073448,
0.029300911352038383,
-0.010731369256973267,
0.05734621360898018,
0.014351505786180496,
0.04998954012989998,
-0.04540862888097763,
0.039285384118556976,
-0.07618718594312668,
0.011085574515163898,
0.051249388605356216,
0.015189440920948982,
-0.023069672286510468,
-0.031698185950517654,
-0.018090292811393738,
0.04925798252224922,
-0.050912946462631226,
-0.012857663445174694,
0.007114517968147993,
-0.019107233732938766,
-0.014309098944067955,
0.008675060234963894,
-0.06381653249263763,
0.02455843798816204,
0.0193166583776474,
-0.028831176459789276,
-0.045366447418928146,
-0.0337742380797863,
0.040745846927165985,
0.03694852814078331,
-0.008237767033278942,
-0.05241040140390396,
0.006336513441056013,
0.04714689403772354,
0.02078784443438053,
0.03240732476115227,
0.03223785012960434,
-0.007898771204054356,
0.04107684642076492,
0.018091488629579544,
-0.02946578897535801,
0.011133809573948383,
-0.005152059718966484,
0.004997831769287586,
-0.061492133885622025,
0.0011119795963168144,
0.02028517797589302,
-0.018170801922678947,
-0.04604142904281616,
0.06440494954586029,
0.004274577833712101,
-0.02589673548936844,
-0.03279293328523636,
-0.011730333790183067,
-0.04805877432227135,
-0.04828263074159622,
-0.0015205376548692584,
-0.0009472843958064914,
-0.00976210180670023,
0.07400048524141312,
0.013433080166578293,
-0.0046975756995379925,
0.07851258665323257,
0.0005290177068673074,
-0.01751919649541378,
-0.014004788361489773,
0.06745579093694687,
0.06449533998966217,
0.03922333940863609,
-0.004092883784323931,
0.036567747592926025,
-0.0233269352465868,
-0.05428040400147438,
0.022273249924182892,
-0.0234413743019104,
-0.005905252415686846,
-0.016402272507548332,
0.0065406872890889645,
0.0785227119922638,
0.004966957028955221,
0.06374671310186386,
-0.03555280715227127,
0.001251103007234633,
-0.021127991378307343,
0.028372788801789284,
0.019992046058177948,
0.04541981592774391,
-0.00036080050631426275,
0.0008167809573933482,
0.03085160441696644,
-0.02621563896536827,
0.015546874143183231,
-0.03694610670208931,
-0.00779364351183176,
0.011029727756977081,
0.020477836951613426,
0.02345719002187252,
0.010256926529109478,
-0.007286085281521082,
0.0609980970621109,
-0.03058488294482231,
-0.007868262939155102,
-0.00088104436872527,
0.024485796689987183,
0.015583241358399391,
-0.017001831904053688,
-0.012664446607232094,
-0.05808018147945404,
0.016017522662878036,
-0.001963285030797124,
-0.008752834051847458,
-0.02423686720430851,
-0.03138628229498863,
0.032810717821121216,
-0.0005262738559395075,
0.04336162656545639,
0.03347383067011833,
-0.01298261433839798,
-0.048312678933143616,
-0.07879847288131714,
-0.049684781581163406,
-0.04090596362948418,
-0.06438716500997543,
-0.025749096646904945,
0.017684055492281914,
-0.02280430495738983,
-0.040379658341407776,
-0.027273518964648247,
-0.030179308727383614,
-0.009939420968294144,
0.06558926403522491,
-0.022274743765592575,
-0.034564193338155746,
0.03591490164399147,
0.0056839329190552235,
0.035610634833574295,
0.01706147938966751,
0.026041578501462936,
0.010875491425395012,
-0.007666625082492828,
-0.04712521284818649,
-0.030276469886302948,
0.034922704100608826,
0.010502800345420837,
0.010144037194550037,
-0.06347591429948807,
0.020607994869351387,
-0.011764680035412312,
0.02815503440797329,
-0.0684032291173935,
0.019525835290551186,
0.002749859355390072,
-0.0007585559505969286,
0.03805505111813545,
-0.04426107555627823,
-0.009972802363336086,
-0.0154270613566041,
-0.015761038288474083,
0.035733647644519806,
0.030704209581017494,
0.04589090496301651,
-0.01674756221473217,
0.06311129033565521,
0.013121017254889011,
-0.019457198679447174,
-0.04423193261027336,
0.016471007838845253,
-0.017446275800466537,
0.024582264944911003,
-0.0184205062687397,
-0.0477818101644516,
-0.05366335064172745,
-0.05306866765022278,
0.009035107679665089,
0.0026737244334071875,
-0.023180201649665833,
-0.026938024908304214,
0.030692940577864647,
0.026925798505544662,
-0.07698999345302582,
0.03876707702875137,
-0.042497605085372925,
0.03748795762658119,
-0.022783514112234116,
-0.02753128483891487,
0.01656981371343136,
0.029282597824931145,
0.031419750303030014,
-0.0018517913995310664,
0.029725393280386925,
-0.03101327270269394,
0.0008894225466065109,
-0.010385350324213505,
0.03140947222709656,
0.051591113209724426,
0.020031224936246872,
0.015360627323389053
] | [
-0.10217417031526566,
-0.0002282983623445034,
-0.05127830430865288,
-0.028742030262947083,
0.04977132007479668,
-0.036289017647504807,
0.010968619026243687,
0.048555586487054825,
-0.0035303987096995115,
-0.0148044154047966,
-0.011693453416228294,
-0.01940612681210041,
0.01009047869592905,
-0.013894764706492424,
0.09333339333534241,
0.012547659687697887,
-0.01389165036380291,
-0.06161576509475708,
-0.011843073181807995,
0.028889957815408707,
0.03215368092060089,
-0.005352261941879988,
-0.041729796677827835,
-0.03463651239871979,
0.033335331827402115,
0.03744391351938248,
0.05196003615856171,
-0.05648142099380493,
0.0023224549368023872,
-0.20774443447589874,
0.029672037810087204,
-0.011616785079240799,
0.013497211039066315,
-0.04131057858467102,
0.006735742092132568,
0.04100578650832176,
0.011928820982575417,
0.014502555131912231,
0.0018081829184666276,
0.053817152976989746,
0.010142084211111069,
0.011873268522322178,
-0.06570829451084137,
-0.019359538331627846,
0.016699349507689476,
-0.016356460750102997,
-0.030335454270243645,
-0.005406468641012907,
0.002158063231036067,
0.020945094525814056,
-0.06067190691828728,
-0.024929383769631386,
-0.004657412879168987,
-0.03677046671509743,
-0.030025331303477287,
-0.002391950460150838,
0.0445437990128994,
0.04907495528459549,
0.013171528466045856,
0.05117625743150711,
0.018161002546548843,
-0.04079824313521385,
-0.14417299628257751,
0.09736259281635284,
0.02342626079916954,
0.049109235405921936,
0.00024384053540416062,
-0.014311663806438446,
0.00975407287478447,
0.09169357270002365,
0.03621407970786095,
-0.024616673588752747,
-0.021466946229338646,
0.08183754980564117,
0.017943626269698143,
-0.017468221485614777,
0.016392379999160767,
0.021503960713744164,
0.038767009973526,
-0.03864280506968498,
-0.05804605409502983,
-0.01903415657579899,
-0.004428671207278967,
-0.008765327744185925,
-0.0032010653521865606,
0.0010224052239209414,
-0.009013229049742222,
0.044610776007175446,
0.06837351620197296,
0.042044781148433685,
0.06993446499109268,
-0.008703845553100109,
0.021286675706505775,
-0.00940207950770855,
-0.11594615131616592,
-0.022604046389460564,
-0.01263100653886795,
-0.00814420823007822,
-0.044889722019433975,
0.43642184138298035,
-0.005983254872262478,
-0.013162636198103428,
0.023488057777285576,
0.022482143715023994,
-0.0039750332944095135,
-0.015876680612564087,
-0.017113056033849716,
-0.0458461195230484,
0.00004495237226365134,
-0.02301115356385708,
0.02431880123913288,
0.007017245050519705,
0.05376642942428589,
-0.04889974370598793,
-0.0041397325694561005,
0.023315172642469406,
0.023296045139431953,
-0.003506574546918273,
-0.0282741691917181,
0.016187895089387894,
-0.0033299624919891357,
0.008659149520099163,
0.02870568074285984,
-0.0249182116240263,
-0.007470657117664814,
-0.04723747447133064,
0.024041712284088135,
0.0719907209277153,
0.008024459704756737,
-0.000786749180406332,
0.05973200872540474,
-0.07426910102367401,
-0.07006672769784927,
-0.024067651480436325,
0.0127103915438056,
0.008774069137871265,
0.036919426172971725,
-0.018963608890771866,
0.0084481630474329,
0.039380744099617004,
0.010295912623405457,
-0.03599456697702408,
0.012646312825381756,
-0.0050749643705785275,
-0.05484708026051521,
0.08027084916830063,
-0.013071768917143345,
-0.004073559772223234,
-0.009709719568490982,
-0.05044163763523102,
0.0232046190649271,
0.04640940576791763,
-0.002658582292497158,
-0.0606754906475544,
0.03263743221759796,
0.011306898668408394,
0.03293933346867561,
0.003898484166711569,
-0.011622902937233448,
-0.01621934399008751,
-0.0025164771359413862,
-0.02246382087469101,
-0.06460262089967728,
0.037244781851768494,
0.020836327224969864,
-0.0793345496058464,
-0.033828701823949814,
0.007633530534803867,
0.022711556404829025,
-0.04735070839524269,
0.003667546669021249,
-0.004430017434060574,
-0.050433386117219925,
-0.035973746329545975,
0.01784481853246689,
-0.019105229526758194,
-0.013171733357012272,
0.0219939686357975,
0.03858077898621559,
0.027426747605204582,
0.01915181614458561,
0.026453467085957527,
-0.04932161793112755,
0.022222643718123436,
0.0004916543257422745,
-0.07516968250274658,
-0.05723091587424278,
-0.01589326374232769,
-0.02242422290146351,
-0.04894314333796501,
-0.03111020103096962,
-0.0414634570479393,
-0.09924618154764175,
0.07969560474157333,
-0.022961657494306564,
-0.013797745108604431,
0.027322065085172653,
-0.011375575326383114,
0.03577515482902527,
-0.02343294396996498,
0.02628103457391262,
0.04809243977069855,
0.0005834698094986379,
0.04289776831865311,
-0.0467456579208374,
0.07228399813175201,
0.038714081048965454,
-0.045309167355298996,
0.08402818441390991,
0.05063825845718384,
-0.012949212454259396,
-0.008099200204014778,
0.012945117428898811,
0.023446599021553993,
-0.021112937480211258,
-0.007823707535862923,
0.00611804099753499,
0.02801409177482128,
-0.011512840166687965,
0.03661239519715309,
-0.030359845608472824,
-0.008669228293001652,
0.009752391837537289,
-0.3420586585998535,
-0.03273976966738701,
-0.009478110820055008,
-0.02808305062353611,
0.027103185653686523,
-0.032566435635089874,
-0.00044778076699003577,
-0.0040348730981349945,
-0.01925450749695301,
0.00015713438915554434,
0.08290250599384308,
-0.010746571235358715,
0.008610456250607967,
-0.10652351379394531,
0.027274932712316513,
0.0018036641413345933,
-0.053921014070510864,
-0.035338133573532104,
-0.014345775358378887,
0.005532482173293829,
-0.005284771788865328,
0.0016432597767561674,
0.0014601858565583825,
-0.05709310248494148,
0.026343561708927155,
-0.055000271648168564,
0.09258072823286057,
-0.02453090436756611,
0.06194396689534187,
-0.029789062216877937,
0.037778571248054504,
-0.011175905354321003,
0.05230657383799553,
-0.07437720894813538,
0.007169632241129875,
-0.046884678304195404,
-0.02075308933854103,
0.023762796074151993,
0.03807283937931061,
-0.022739287465810776,
-0.02287677489221096,
0.02655862085521221,
-0.05848824977874756,
-0.06809380650520325,
-0.015872271731495857,
-0.011744379997253418,
-0.02245572954416275,
-0.0170433446764946,
-0.013369936496019363,
0.07694175094366074,
-0.0104863615706563,
-0.020467117428779602,
0.002848060103133321,
0.02525114081799984,
0.04247723147273064,
-0.03544829785823822,
-0.0825355276465416,
0.010086779482662678,
0.02235931158065796,
-0.025126449763774872,
0.03108900785446167,
0.09247997403144836,
0.038382191210985184,
-0.057330094277858734,
0.004975327756255865,
-0.010959393344819546,
-0.0241116750985384,
-0.01621033437550068,
0.04614289104938507,
-0.03019106015563011,
-0.017479851841926575,
0.07973193377256393,
-0.005332436878234148,
0.011072918772697449,
0.038616783916950226,
0.03672727569937706,
-0.011049625463783741,
-0.004116634838283062,
0.015801070258021355,
-0.003489271504804492,
0.027146561071276665,
0.02038547210395336,
0.02892850525677204,
-0.04974914714694023,
-0.02429077960550785,
0.014391188509762287,
-0.025316664949059486,
0.0014779121847823262,
0.0951002761721611,
-0.020959781482815742,
-0.03393276780843735,
-0.014857199974358082,
0.006292402278631926,
-0.05136042833328247,
0.07187885791063309,
-0.025819789618253708,
-0.2619338929653168,
0.0068318210542202,
0.06697949767112732,
0.04457898065447807,
-0.033519089221954346,
0.05114610865712166,
0.03861374780535698,
-0.05392170324921608,
-0.009611464105546474,
0.0021738724317401648,
0.023821024224162102,
0.02375449612736702,
0.008880799636244774,
-0.012689231894910336,
0.03274490311741829,
-0.004136796109378338,
0.03690193220973015,
-0.014348299242556095,
0.015448900870978832,
-0.027390392497181892,
0.010766624473035336,
-0.029487166553735733,
0.17465372383594513,
-0.00027207646053284407,
0.015262742526829243,
0.011404508724808693,
0.028644125908613205,
0.014005806297063828,
0.10817789286375046,
0.009402088820934296,
0.014119925908744335,
-0.009748908691108227,
0.05048556998372078,
0.002253881888464093,
0.02404056303203106,
-0.07364822924137115,
-0.027385395020246506,
0.002788139507174492,
0.009213215671479702,
0.013890956528484821,
0.0037181328516453505,
0.012620755471289158,
-0.036868736147880554,
0.02161652222275734,
0.0803220272064209,
0.017477909103035927,
-0.013565006665885448,
-0.036394666880369186,
-0.03885906934738159,
-0.017781682312488556,
-0.025611918419599533,
-0.03079836443066597,
0.009359031915664673,
-0.01601194404065609,
0.01795867271721363,
0.0535556897521019,
0.038213323801755905,
-0.026727179065346718,
-0.02457263320684433,
0.0066363089717924595,
0.002066199202090502,
0.00024919118732213974,
0.1143566146492958,
0.034189704805612564,
0.04976251348853111
] | [
-0.036235611885786057,
0.012182830832898617,
-0.01555097009986639,
0.019727053120732307,
-0.03724714368581772,
0.01074910070747137,
0.012271275743842125,
0.028728708624839783,
0.02143116667866707,
0.00019738748960662633,
0.012041308917105198,
-0.01741783134639263,
-0.0027913921512663364,
-0.005918911192566156,
0.029718205332756042,
-0.0354795828461647,
0.009722319431602955,
-0.0069554392248392105,
0.020139457657933235,
0.0044137099757790565,
0.008649655617773533,
0.04048404470086098,
-0.017242155969142914,
-0.019557228311896324,
-0.00863746926188469,
-0.0021875319071114063,
-0.03519166633486748,
-0.018817536532878876,
0.025244873017072678,
-0.13620339334011078,
0.03074146807193756,
-0.006542612798511982,
-0.03801146522164345,
0.02016936056315899,
-0.03194190189242363,
-0.022307762876152992,
0.011609922163188457,
0.038588255643844604,
0.011439471505582333,
0.006006148643791676,
0.031243424862623215,
-0.009471442550420761,
0.012848353013396263,
0.03436405956745148,
0.009512449614703655,
-0.009477450512349606,
0.02769612893462181,
-0.005489471834152937,
-0.0130908889696002,
-0.011820372194051743,
-0.009556442499160767,
-0.03458157554268837,
-0.006373617798089981,
0.04420846700668335,
-0.004664678126573563,
-0.030415618792176247,
0.011355740949511528,
-0.010502319782972336,
0.018001670017838478,
0.05257938802242279,
-0.0007230081246234477,
0.020453937351703644,
0.021495701745152473,
-0.02189294807612896,
0.0029019664507359266,
-0.011217762716114521,
0.013721625320613384,
-0.0059975506737828255,
-0.016537582501769066,
-0.01327384915202856,
-0.016504952684044838,
0.005021756049245596,
-0.0019789161160588264,
0.02620680443942547,
-0.02427966333925724,
-0.01584041118621826,
-0.02378452569246292,
-0.01795012317597866,
0.04677543416619301,
-0.014873421750962734,
-0.020156672224402428,
0.00023239762231241912,
-0.011265703476965427,
0.03564734756946564,
0.00511731393635273,
0.011443336494266987,
0.02553272433578968,
0.0013364504557102919,
0.029538355767726898,
-0.004227840807288885,
0.015294005163013935,
0.044590357691049576,
0.016900494694709778,
0.04114236682653427,
-0.09023740887641907,
-0.0052993218414485455,
-0.001498718629591167,
-0.051481351256370544,
-0.021536661311984062,
0.8316817879676819,
-0.03016830049455166,
0.04076812043786049,
0.06355457752943039,
0.02304973639547825,
-0.02958362177014351,
0.0051149362698197365,
-0.01416552159935236,
-0.04477414861321449,
-0.018087897449731827,
-0.035457972437143326,
0.04069025442004204,
0.05166298896074295,
0.013670984655618668,
0.008312325924634933,
0.006950336042791605,
0.008996921591460705,
0.021036917343735695,
0.004292359109967947,
0.007631122600287199,
-0.01778143271803856,
0.021238818764686584,
0.00903303176164627,
0.00993744470179081,
0.013526194728910923,
0.007861178368330002,
-0.16717585921287537,
0.04079246148467064,
-7.946029570871726e-33,
0.03122248873114586,
-0.03400536626577377,
0.03965264558792114,
0.02116071991622448,
0.031148506328463554,
0.0020543746650218964,
0.049964290112257004,
0.04185876622796059,
0.02632327191531658,
-0.03360096737742424,
0.02847478911280632,
-0.03799591213464737,
0.04203944653272629,
-0.018698079511523247,
0.018990974873304367,
-0.015600645914673805,
-0.01094063650816679,
0.003633280750364065,
-0.010195056907832623,
0.0094467056915164,
0.0036825542338192463,
0.03181244060397148,
0.013539649546146393,
-0.01987524703145027,
-0.004786203149706125,
0.008477035909891129,
0.025780703872442245,
0.022006843239068985,
-0.0033126152120530605,
-0.05707836151123047,
0.0303727425634861,
0.014584115706384182,
-0.042790062725543976,
-0.005136239342391491,
0.03911150246858597,
-0.012112035416066647,
0.015846112743020058,
-0.00016854105342645198,
-0.02506130374968052,
0.0024674346204847097,
-0.050346311181783676,
-0.004314945079386234,
-0.029135916382074356,
0.03007851168513298,
-0.02494429238140583,
-0.046764880418777466,
-0.027490045875310898,
-0.0005913545028306544,
0.061700835824012756,
0.0061587183736264706,
-0.006741033401340246,
0.036387715488672256,
0.0006453765672631562,
-0.01602276973426342,
-0.009518254548311234,
0.04868849739432335,
0.00243044993840158,
0.018178999423980713,
-0.01832655817270279,
0.016161171719431877,
0.005633821710944176,
-0.04928452894091606,
-0.04694950580596924,
-0.008814306929707527,
-0.03766023740172386,
-0.0008590688230469823,
-0.006360111758112907,
-0.031212549656629562,
0.03674604743719101,
-0.019276317209005356,
-0.01704554073512554,
0.005892151966691017,
-0.027008356526494026,
-0.02546788565814495,
0.007609045598655939,
-0.007048678118735552,
-0.014236977323889732,
0.05642835423350334,
-0.000051602804887807,
-0.027909791097044945,
-0.006491193547844887,
-0.0173063762485981,
-0.009290398098528385,
0.0077719781547784805,
0.007692066021263599,
-0.00018410194024909288,
0.019424283877015114,
-0.009320778772234917,
-0.010005975142121315,
-0.024195941165089607,
0.012982524931430817,
0.05698871985077858,
0.017391325905919075,
-0.005671631079167128,
-0.03268883749842644,
8.579326417693265e-33,
-0.020791105926036835,
0.028774766251444817,
-0.02448093146085739,
0.04063963517546654,
0.030055999755859375,
-0.0028258184902369976,
0.03548939898610115,
0.026763860136270523,
-0.06480943411588669,
0.013269019313156605,
-0.01833713799715042,
0.02996833249926567,
-0.01742035709321499,
0.04218056797981262,
0.06744057685136795,
0.007068251259624958,
0.018469693139195442,
-0.010818935930728912,
0.022869030013680458,
-0.0006929061491973698,
0.01686195470392704,
0.03504167124629021,
0.0274143498390913,
-0.005302625708281994,
-0.016176722943782806,
0.025025969371199608,
-0.04908742010593414,
0.010223688557744026,
0.01615734025835991,
-0.012120005674660206,
0.015554174780845642,
-0.011476626619696617,
0.010503842495381832,
-0.052158862352371216,
-0.006361238192766905,
0.0018372248159721494,
-0.015487606637179852,
-0.001183500629849732,
0.015853751450777054,
0.021754471585154533,
0.006363235879689455,
-0.07041382789611816,
-0.016047358512878418,
0.034589216113090515,
-0.02008138597011566,
0.0001395518920617178,
-0.02171332761645317,
-0.027076641097664833,
0.00559905543923378,
0.009378651157021523,
0.03751947730779648,
-0.013336953707039356,
-0.014532535336911678,
0.041785407811403275,
0.014706376940011978,
-0.008124223910272121,
-0.02428758516907692,
-0.012265544384717941,
0.009014955721795559,
-0.005155164748430252,
0.002563920570537448,
0.05038154497742653,
-0.01946912705898285,
0.005140997935086489,
0.008794297464191914,
0.006974907126277685,
-0.04621299356222153,
-0.042279765009880066,
-0.03475864976644516,
-0.00945129245519638,
-0.040349025279283524,
-0.01635526493191719,
0.0029729243833571672,
-0.006000775843858719,
0.004903156775981188,
-0.059633370488882065,
-0.010426354594528675,
-0.0241069458425045,
0.006348594557493925,
0.017565080896019936,
0.03219814598560333,
-0.025563934817910194,
0.029006710276007652,
-0.011556590907275677,
-0.05819154158234596,
0.020154334604740143,
0.007207422982901335,
-0.038100019097328186,
0.032770149409770966,
0.03532103821635246,
-0.04120957851409912,
0.005833955015987158,
-0.019834939390420914,
0.00921720452606678,
0.0625290721654892,
-1.3263682596686976e-8,
-0.009549496695399284,
0.05374319851398468,
-0.0377378836274147,
0.012505979277193546,
-0.004338335245847702,
-0.004729013424366713,
-0.0348968468606472,
-0.030082764104008675,
-0.02286250703036785,
0.026024755090475082,
-0.01640932634472847,
-0.022617027163505554,
0.03182902932167053,
0.046850502490997314,
0.02022777497768402,
-0.04083417356014252,
-0.016319813206791878,
-0.03253387659788132,
0.01704859919846058,
-0.001626859069801867,
0.012276380322873592,
0.0399622842669487,
0.020204951986670494,
-0.008001727052032948,
0.003588639432564378,
0.031200433149933815,
0.025215191766619682,
-0.061375778168439865,
0.008576245047152042,
0.032427385449409485,
-0.003251389367505908,
-0.021874841302633286,
-0.016972670331597328,
0.0022100089117884636,
-0.041435301303863525,
0.02691515162587166,
-0.030432922765612602,
-0.009466027840971947,
0.04846186935901642,
0.017935318872332573,
-0.02882951684296131,
-0.010013251565396786,
0.02613794431090355,
-0.001953758765012026,
0.015688246116042137,
-0.027515998110175133,
-0.026776889339089394,
0.015539169311523438,
0.023515725508332253,
-0.020657282322645187,
-0.004279254004359245,
0.006787639576941729,
-0.012133665382862091,
-0.023774076253175735,
-0.0343797393143177,
0.011140675283968449,
0.010561276227235794,
-0.020065659657120705,
-0.040209583938121796,
0.03346777707338333,
0.038685429841279984,
-0.03196262940764427,
-0.022768404334783554,
-0.026054736226797104
] | tdd-simplifying-a-test-with-a-hand-rolled-stub | https://markhneedham.com/blog/2010/01/25/tdd-simplifying-a-test-with-a-hand-rolled-stub |
false | 2010-06-04 21:03:38 | Ask for forgiveness, not for permission | [
"software-development"
] | [
"Software Development"
] | I gave a presentation at our ThoughtWorks Brazil office in Porto Alegre last way on some of the things that I've learned while working at ThoughtWorks and the first point I made was that it was better to '*ask for forgiveness, not for permission*'.
This was something that was taught to me a few years ago and the idea behind this is that if there's some idea we want to try out it makes much more sense to start trying it now and then we can always apologise later on if someone has a problem with us doing that.
This is in preference to an approach where we ask whether we can try out an idea and get told no straight away i.e. we should look to be *proactive*.
It's really easy to say no to something when you don't really no what it is you're being asked and it seems to be the default answer a lot of the time.
An example of something where this rule may apply would be if we wanted to try writing some tests with a different language/framework to see whether it improves the way we're doing things.
We don't really know whether the new approach is going to be better than the current one so it makes sense to spend a bit of time playing around with it so that we can find out.
Later on in the talk I suggested that on some decisions it makes sense to gather data and then let the client decide what they want to do.
An example of this happened on a project I worked on a couple of years ago where the value of writing functional/unit tests was being questioned.
My colleague Kristan Vingrys came up with a matrix which showed the risks of not testing various features and then let the client decide whether they wanted to take that risk. http://blog.m.artins.net/measuring-test-effort/[Alex wrote more about this at the time].
After I mentioned this http://twitter.com/caiokf[Caio] pointed out that this idea seemed to contradict the idea of asking for forgiveness and not permission and at the time I couldn't really think of a good answer to why I didn't feel the situations were exactly the same.
A week on I think that the difference is that the 'ask for forgiveness' approach applies mainly for new situations where we haven't agreed as a team what we should do and people don't have enough information yet to know whether we should or should not do what is being proposed.
The idea of gathering data and letting the client decide applies more when a decision has been made or suggested and we want to try and influence that decision.
It doesn't make sense to just do what we want in this situation if it explicitly goes against what the client wants but equally we don't want to do something which goes against what we believe is the best approach without at least pointing that out. | null | null | [
0.02822144515812397,
0.0008698077872395515,
0.0008774669840931892,
0.03983759507536888,
0.07326528429985046,
0.018346615135669708,
0.031086327508091927,
0.03187241777777672,
0.037704914808273315,
-0.025973722338676453,
-0.007804822642356157,
0.015857387334108353,
-0.038738492876291275,
0.020259572193026543,
-0.029109066352248192,
0.06934681534767151,
0.04107740521430969,
0.012632273137569427,
0.04178296774625778,
-0.005853207316249609,
0.05945918709039688,
0.06849752366542816,
0.03200109302997589,
0.030034877359867096,
0.0619625449180603,
0.010467719286680222,
0.04055788740515709,
-0.025234835222363472,
-0.037706974893808365,
-0.012546823360025883,
0.04579406976699829,
0.0037721397820860147,
-0.0015723960241302848,
-0.003179057501256466,
0.031512048095464706,
-0.009194651618599892,
-0.010602131485939026,
0.03108111210167408,
0.01007912028580904,
0.008926644921302795,
-0.06943241506814957,
0.03385501727461815,
-0.02455737441778183,
-0.0017223542090505362,
-0.03459419682621956,
0.007744395639747381,
-0.02957790531218052,
0.005335241090506315,
0.006663974840193987,
0.006911212578415871,
-0.07338693737983704,
0.037555236369371414,
0.009011475369334221,
0.018332310020923615,
0.0018497254932299256,
0.044607896357774734,
-0.012422168627381325,
-0.07630487531423569,
0.0184963159263134,
-0.040199048817157745,
-0.04405161738395691,
-0.01939457654953003,
0.013226388022303581,
0.03023393079638481,
0.027502842247486115,
-0.04145544767379761,
0.02652587927877903,
0.03253580629825592,
-0.04163205251097679,
-0.009062412194907665,
-0.014354052022099495,
-0.007910276763141155,
-0.012141593731939793,
-0.001675905310548842,
0.006289332639425993,
-0.05087287351489067,
0.010806387290358543,
0.06221233308315277,
0.008582305163145065,
0.02344251051545143,
-0.041555006057024,
0.018224017694592476,
-0.004040105268359184,
0.01949423737823963,
-0.01343646552413702,
-0.06861358135938644,
0.016424812376499176,
-0.014289035461843014,
-0.05609776824712753,
0.06007562577724457,
0.02628544345498085,
-0.044455379247665405,
0.023370660841464996,
0.02559325285255909,
0.0020959072280675173,
0.008180314674973488,
0.03320534527301788,
0.006566355470567942,
-0.007983256131410599,
0.003582429140806198,
-0.01725565455853939,
-0.03151238337159157,
-0.012697316706180573,
0.037870362401008606,
-0.08251918107271194,
-0.018398763611912727,
-0.022707052528858185,
-0.02881442755460739,
-0.027775827795267105,
0.01342085748910904,
-0.026492897421121597,
0.02611280418932438,
0.003329773433506489,
0.012078235857188702,
-0.0805198922753334,
0.05351625382900238,
0.040411800146102905,
-0.04037696123123169,
-0.02567443437874317,
0.014852507971227169,
0.0491316132247448,
0.024219714105129242,
0.004789694678038359,
0.06756197661161423,
0.010459860786795616,
-0.0018416931852698326,
-0.028437592089176178,
0.07443096488714218,
-0.020700372755527496,
-0.07195297628641129,
0.017062757164239883,
0.03820056840777397,
-0.019038917496800423,
-0.002320591127499938,
-0.00030304488609544933,
-0.04717869684100151,
0.014284872449934483,
-0.009200300090014935,
0.03164036571979523,
0.05247059836983681,
-0.0019174154149368405,
-0.038128968328237534,
0.020891742780804634,
0.03759091719985008,
0.02214927412569523,
-0.005566244479268789,
0.010955458506941795,
-0.01179267093539238,
-0.038775719702243805,
-0.01910562440752983,
-0.009580699726939201,
0.014713150449097157,
0.0379197895526886,
-0.04062638804316521,
0.02938804030418396,
0.07936148345470428,
0.05372630059719086,
0.004370003007352352,
-0.031692855060100555,
0.0344398096203804,
0.02736712619662285,
0.027538614347577095,
0.01638812944293022,
0.021081332117319107,
0.016260452568531036,
0.002490994753316045,
-0.0022251324262470007,
0.03228401392698288,
-0.009421318769454956,
-0.0010389486560598016,
-0.0708450898528099,
-0.04404716193675995,
0.05416567996144295,
-0.06343888491392136,
-0.03253021091222763,
0.0595671646296978,
0.07008807361125946,
0.03387284651398659,
0.016554227098822594,
0.020922280848026276,
-0.07563609629869461,
0.029359672218561172,
-0.011976351961493492,
0.03593585640192032,
0.03878708556294441,
-0.027011413127183914,
0.04457831755280495,
0.04156346991658211,
0.0022355730179697275,
0.07080399245023727,
-0.08012716472148895,
-0.07320842891931534,
-0.027408869937062263,
-0.0020147738978266716,
0.034795135259628296,
-0.016772283241152763,
0.022798508405685425,
0.09337443858385086,
-0.015221789479255676,
0.05380471050739288,
0.03390398994088173,
-0.0003002943121828139,
0.0071792337112128735,
-0.03485683724284172,
-0.042262133210897446,
0.07369235157966614,
0.0444086417555809,
-0.014599375426769257,
-0.036255788058042526,
0.025341510772705078,
-0.011469820514321327,
0.0028048991225659847,
0.03315860033035278,
-0.004731485154479742,
0.03288206085562706,
-0.0002880812098737806,
0.055284176021814346,
-0.04180557653307915,
0.05746575444936752,
-0.045396432280540466,
0.018780989572405815,
-0.012887666933238506,
-0.017315763980150223,
-0.0014938877429813147,
-0.01755981706082821,
0.11086709797382355,
0.029157057404518127,
-0.045264165848493576,
-0.0569521002471447,
0.02611127682030201,
0.023750510066747665,
-0.04602169618010521,
-0.0012430987553671002,
-0.0056236195378005505,
0.031101690605282784,
0.013092203065752983,
-0.0748666524887085,
-0.036519605666399,
0.02493525668978691,
-0.04295463487505913,
0.020404623821377754,
0.058206938207149506,
-0.0006101200124248862,
0.058653634041547775,
-0.03676363080739975,
-0.004071214701980352,
-0.017000269144773483,
-0.010736837051808834,
-0.04199220612645149,
0.0285587590187788,
0.010254796594381332,
-0.012022102251648903,
0.04179618880152702,
-0.018282316625118256,
-0.016436584293842316,
-0.026469366624951363,
-0.026288334280252457,
0.022072644904255867,
0.05161770433187485,
0.06407047808170319,
-0.02075108513236046,
0.06618351489305496,
-0.006715976167470217,
0.022669918835163116,
0.014158964157104492,
-0.038288187235593796,
-0.03559153154492378,
-0.024221297353506088,
-0.01020594872534275,
0.027435287833213806,
0.009236923418939114,
-0.01937319152057171,
0.01199937704950571,
0.021750181913375854,
-0.007789317984133959,
-0.014744887128472328,
0.01123833004385233,
0.013896718621253967,
-0.017055248841643333,
-0.010841487906873226,
-0.018785860389471054,
0.04848956689238548,
-0.0331001952290535,
-0.005487666465342045,
0.03700924664735794,
-0.0849304273724556,
0.033349111676216125,
-0.0628524050116539,
-0.04541905224323273,
-0.008049830794334412,
0.024382825940847397,
0.03534051403403282,
0.039084844291210175,
0.004610247444361448,
0.0614854097366333,
0.006651200354099274,
0.02264275774359703,
-0.005293160676956177,
-0.005721717607229948,
0.048040930181741714,
-0.003276259172707796,
-0.008138813078403473,
0.04751024395227432,
-0.002404230646789074,
0.019912078976631165,
-0.04580404609441757,
0.043905772268772125,
-0.04258012771606445,
-0.3066615164279938,
0.035131048411130905,
0.0031824856996536255,
-0.01577492617070675,
0.013605398125946522,
-0.026216013357043266,
0.03659781813621521,
-0.06581579148769379,
-0.013657747767865658,
0.0056004771031439304,
-0.023353969678282738,
-0.06515970826148987,
-0.01543064322322607,
0.06139947101473808,
-0.01584428921341896,
0.045541632920503616,
0.006198550574481487,
-0.036213502287864685,
0.0353567861020565,
0.04214507341384888,
0.0005628122598864138,
-0.06791507452726364,
-0.00994613952934742,
0.04582253471016884,
0.04723231494426727,
0.07181761413812637,
-0.0688401386141777,
0.05732240155339241,
-0.044151902198791504,
0.009885626845061779,
0.0038782507181167603,
-0.003990010358393192,
0.0077909911051392555,
-0.0252514835447073,
-0.007264409214258194,
-0.008134578354656696,
0.04032272472977638,
-0.029368123039603233,
-0.017580125480890274,
0.0041520604863762856,
-0.026673326268792152,
-0.05050463601946831,
0.00645894231274724,
0.04445482790470123,
0.049069877713918686,
0.01716168038547039,
-0.08817671984434128,
-0.013844138011336327,
-0.03599439188838005,
0.07089019566774368,
-0.03776552155613899,
-0.022871047258377075,
-0.028754815459251404,
0.028954114764928818,
-0.03492506965994835,
-0.022060593590140343,
-0.014618532732129097,
-0.029416512697935104,
-0.05464288219809532,
-0.0353606678545475,
-0.016181593760848045,
-0.033116988837718964,
-0.005210591945797205,
-0.05511626973748207,
-0.013563798740506172,
-0.057602740824222565,
-0.04952215030789375,
-0.012924721464514732,
0.06523337960243225,
0.006464463658630848,
-0.030024806037545204,
0.012100732885301113,
0.00024614844005554914,
-0.10671835392713547,
-0.012964142486453056,
-0.01756613329052925,
-0.04109661653637886,
0.0006563648348674178,
0.01267308834940195,
0.03843636438250542,
-0.015806013718247414,
-0.03986620157957077,
0.028252260759472847,
0.0023953041527420282,
0.017677681520581245,
0.005396389402449131,
0.05225922539830208,
0.028961386531591415,
-0.044277798384428024,
0.02689242549240589,
0.045448314398527145,
0.02100379392504692,
-0.06282752007246017,
-0.032885923981666565,
0.014945880509912968,
0.014314727857708931,
0.010307785123586655,
-0.018494566902518272,
0.005575157701969147,
0.030082054436206818,
0.00785024929791689,
-0.04271432012319565,
0.029299169778823853,
-0.014475833624601364,
-0.014600691385567188,
-0.020263144746422768,
-0.05106888338923454,
0.04299655929207802,
0.019774211570620537,
0.025800257921218872,
0.0037296293303370476,
-0.029682643711566925,
0.017494335770606995,
-0.03997601568698883,
-0.0354432687163353,
-0.008785175159573555,
0.0071580056101083755,
0.04785414785146713,
-0.013145387172698975,
-0.03174323961138725,
-0.039870522916316986,
-0.014871018938720226,
-0.010158158838748932,
-0.0054475185461342335,
-0.05878399685025215,
-0.01600939780473709,
-0.010075758211314678,
-0.015150390565395355,
-0.019727380946278572,
0.03006344847381115,
-0.020092245191335678,
0.003925544675439596,
0.0229790098965168,
-0.024374790489673615,
0.03130608797073364,
-0.041083481162786484,
-0.06190940737724304,
-0.019899696111679077,
0.0027173811104148626,
-0.007843860425055027,
0.0020626194309443235,
0.01738067902624607,
0.002588314935564995,
0.019787145778536797,
0.04396513104438782,
0.0055244737304747105,
-0.009922287426888943,
-0.031412895768880844,
0.01870850846171379,
0.02200077287852764,
0.035747360438108444,
-0.06644286960363388,
0.019634248688817024,
-0.03908383473753929,
-0.011892111971974373,
-0.010742480866611004,
0.02001892402768135,
-0.03100847452878952,
-0.00018474331591278315,
-0.013491323217749596,
0.006390428636223078,
-0.04779617488384247,
-0.06546398252248764,
-0.03795569762587547,
0.015051918104290962,
0.04673079401254654,
-0.026381125673651695,
0.018179116770625114,
-0.010857122018933296,
-0.0008018343942239881,
0.012412821874022484,
-0.0011111102066934109,
-0.044399965554475784,
-0.00044409820111468434,
0.011728343553841114,
0.019190620630979538,
0.015699371695518494,
-0.0215297844260931,
0.04387795925140381,
0.0034270239993929863,
-0.018592698499560356,
-0.03982987254858017,
0.01539608184248209,
0.014249847270548344,
0.05865154415369034,
0.03549224138259888,
0.003111230442300439,
0.010889352299273014,
-0.03274589031934738,
-0.019224297255277634,
-0.05030538886785507,
0.003677286673337221,
-0.010719354264438152,
0.02149253338575363,
-0.03309277445077896,
-0.07049722224473953,
0.07174094766378403,
-0.007610148284584284,
0.025889353826642036,
0.027054326608777046,
0.007319895084947348,
-0.005092379171401262,
-0.026679258793592453,
0.03617965802550316,
0.05609898641705513,
-0.05844617635011673,
-0.0020927207078784704,
0.017056526616215706,
0.002942475723102689,
0.022548334673047066,
-0.0212524626404047,
-0.038983602076768875,
-0.01203847210854292,
-0.027637533843517303,
0.008772757835686207,
-0.08006363362073898,
-0.024541448801755905,
-0.02234863117337227,
0.004894218873232603,
0.020020969212055206,
0.0051297456957399845,
-0.03173058107495308,
-0.008825888857245445,
-0.005679195746779442,
-0.0295091699808836,
0.0172331053763628,
-0.049632761627435684,
-0.011012358590960503,
0.010865406133234501,
-0.03326287493109703,
-0.0018041882431134582,
-0.03238937631249428,
0.0006345021538436413,
0.01884712651371956,
-0.03287038207054138,
-0.02102155052125454,
-0.03427143394947052,
0.005379302427172661,
0.007590427529066801,
0.03450120985507965,
-0.016616512089967728,
-0.0365290567278862,
-0.05528470501303673,
-0.029743501916527748,
-0.023339997977018356,
0.0395352765917778,
-0.03459485247731209,
0.018904445692896843,
0.05145685374736786,
0.07153857499361038,
-0.004789323080331087,
0.04099762812256813,
0.007355428766459227,
-0.03317020460963249,
0.05172831937670708,
-0.06778644770383835,
-0.019362904131412506,
-0.04951704666018486,
-0.06184541806578636,
0.004761500284075737,
0.004246808588504791,
0.013562489300966263,
-0.04064245522022247,
0.03155658766627312,
-0.0035143825225532055,
0.01160342711955309,
0.05290136858820915,
0.025586608797311783,
0.02942493185400963,
-0.04759783670306206,
-0.006472183391451836,
-0.06926585733890533,
-0.0007316172122955322,
0.03446993976831436,
-0.031172478571534157,
-0.013720189221203327,
-0.010894750244915485,
-0.047347292304039,
0.06836739182472229,
-0.05614781379699707,
-0.031058501452207565,
0.04712533950805664,
-0.010391256771981716,
-0.008479648269712925,
0.028889941051602364,
-0.07738757878541946,
0.018554771319031715,
0.03600822016596794,
-0.03450723737478256,
-0.020594961941242218,
-0.030237186700105667,
0.052381083369255066,
-0.008424999192357063,
0.024108579382300377,
-0.04428642615675926,
0.0021246643736958504,
0.0638037845492363,
0.013293629512190819,
-0.0005270746187306941,
0.0518890842795372,
-0.008847849443554878,
0.022548731416463852,
0.02872457727789879,
0.011583863757550716,
-0.008575424551963806,
0.004986308980733156,
-0.022943267598748207,
-0.05446596071124077,
0.048055365681648254,
0.007380318362265825,
-0.021973866969347,
-0.031966306269168854,
0.06754410266876221,
0.012966728769242764,
-0.025547493249177933,
-0.0332576259970665,
0.010387991555035114,
-0.042045291513204575,
-0.02914084494113922,
-0.007972781546413898,
-0.0208516176789999,
-0.018195340409874916,
0.04139890894293785,
-0.008083014748990536,
0.01979835145175457,
0.07148846983909607,
-0.012570449151098728,
-0.00864903349429369,
-0.011749056167900562,
0.0806250348687172,
0.06656802445650101,
0.07424705475568771,
0.02492864988744259,
0.06766616553068161,
-0.02167944423854351,
-0.05557120963931084,
0.011900804005563259,
-0.0031417564023286104,
-0.01963605172932148,
-0.013807826675474644,
0.0512370802462101,
0.04096538573503494,
-0.021834513172507286,
0.048498768359422684,
0.0022120049688965082,
-0.0003097096923738718,
0.004371673334389925,
0.027937598526477814,
0.023357411846518517,
0.05861777067184448,
0.008426628075540066,
-0.008379178121685982,
-0.012634317390620708,
-0.04924832656979561,
0.026893112808465958,
-0.03607189655303955,
-0.02046085335314274,
0.04776597395539284,
-0.015913208946585655,
0.02283169887959957,
0.016750803217291832,
0.03013119101524353,
0.05734269693493843,
-0.039902012795209885,
0.0071046240627765656,
-0.0004812601546291262,
0.029352683573961258,
0.006351003423333168,
0.0024067002814263105,
-0.01365871261805296,
-0.013791731558740139,
0.006816117092967033,
-0.021176239475607872,
-0.016358111053705215,
-0.01318159606307745,
-0.03795759752392769,
0.03526279330253601,
-0.02291218191385269,
-0.010547931306064129,
0.02858016826212406,
0.006746077910065651,
-0.0366273857653141,
-0.056653983891010284,
-0.04354286566376686,
-0.05535595118999481,
-0.047363657504320145,
-0.007002309430390596,
0.01706947200000286,
-0.010409974493086338,
-0.04549508914351463,
0.011150358244776726,
-0.01948387920856476,
-0.03546306490898132,
0.05853787437081337,
-0.05124101787805557,
-0.032787881791591644,
0.01551714539527893,
0.014500701799988747,
0.01460928376764059,
-0.006815311033278704,
0.04740021377801895,
-0.008478604257106781,
-0.0027050620410591364,
-0.028957540169358253,
0.008313425816595554,
0.015257510356605053,
-0.014525583945214748,
0.007015977520495653,
-0.08833439648151398,
-0.0017946799052879214,
0.020118415355682373,
-0.009667342528700829,
-0.04847264662384987,
0.020366603508591652,
0.012548706494271755,
-0.0024050148203969,
0.07190912216901779,
-0.010106544941663742,
0.005167743656784296,
-0.029548799619078636,
-0.018608400598168373,
0.0025971890427172184,
0.016527121886610985,
0.06478329002857208,
-0.011963295750319958,
0.0797114148736,
0.036703962832689285,
-0.03159713372588158,
-0.034443773329257965,
-0.010406477376818657,
0.018042923882603645,
0.0002638002915773541,
-0.02505532093346119,
-0.014562008902430534,
-0.02032322622835636,
-0.07054778188467026,
-0.03158581629395485,
0.031017709523439407,
-0.01738872565329075,
-0.014759092591702938,
0.03457508981227875,
0.017485523596405983,
-0.05009704455733299,
0.0279313363134861,
-0.057222314178943634,
0.025562917813658714,
-0.0076746647246181965,
-0.0143558569252491,
0.0017274984857067466,
0.01710624061524868,
0.0036375001072883606,
-0.006776160094887018,
0.029045358300209045,
-0.05968674272298813,
-0.019420068711042404,
-0.004350852221250534,
0.006087498739361763,
0.04858684167265892,
-0.005717054940760136,
-0.026970596984028816
] | [
-0.07712116092443466,
0.02881765551865101,
-0.03431529551744461,
-0.027464961633086205,
0.026656698435544968,
-0.015992911532521248,
0.010216460563242435,
0.028913132846355438,
0.0040375953540205956,
-0.03318062424659729,
-0.0028151473961770535,
-0.006878852844238281,
-0.02447802759706974,
-0.004753094166517258,
0.06321048736572266,
0.02282845415174961,
-0.008692220784723759,
-0.0689108595252037,
-0.016640257090330124,
0.05164100229740143,
-0.005640268791466951,
-0.015810925513505936,
-0.04126660153269768,
3.672232651297236e-7,
0.01041030790656805,
0.014317535795271397,
0.04121238365769386,
-0.03154905512928963,
-0.0018903948366641998,
-0.16267308592796326,
0.016789766028523445,
0.0009202477522194386,
0.019542206078767776,
-0.011914649046957493,
-0.015996139496564865,
0.05481735244393349,
0.00334603781811893,
0.010694248601794243,
-0.02641070820391178,
0.0326821431517601,
0.03050117939710617,
0.02410055510699749,
-0.014851708896458149,
-0.041526757180690765,
0.03226468712091446,
0.021323710680007935,
0.020367223769426346,
-0.0404793843626976,
-0.03946075215935707,
0.011584272608160973,
-0.04418081417679787,
-0.034833330661058426,
-0.026690740138292313,
-0.027628730982542038,
-0.026324795559048653,
0.014946235343813896,
0.02507246471941471,
0.05420985072851181,
-0.0028891563415527344,
0.02677818201482296,
0.038898713886737823,
-0.01228383556008339,
-0.1526004821062088,
0.09021653980016708,
0.01871035248041153,
0.04378128424286842,
-0.036944638937711716,
0.012055531144142151,
-0.012887285090982914,
0.10347843170166016,
0.015634853392839432,
-0.037264104932546616,
-0.008423920720815659,
0.049090199172496796,
0.017771657556295395,
0.015346289612352848,
0.0007930212887004018,
0.04282193258404732,
0.039279915392398834,
-0.05345011502504349,
-0.02924363873898983,
0.01783272810280323,
-0.01112989243119955,
0.007154506631195545,
-0.042555563151836395,
0.010339765809476376,
-0.017691276967525482,
0.05223306640982628,
0.024871623143553734,
0.027820484712719917,
0.06249107047915459,
-0.005804442800581455,
0.005255791824311018,
-0.004817265085875988,
-0.09494474530220032,
-0.03795319423079491,
-0.015527239069342613,
0.045846424996852875,
-0.091223806142807,
0.45744559168815613,
-0.016262510791420937,
-0.006282489746809006,
0.047959212213754654,
0.03601156547665596,
-0.021306194365024567,
-0.007254661992192268,
0.0372820608317852,
-0.07409533113241196,
0.023983323946595192,
-0.014660854823887348,
0.030671648681163788,
0.0064116427674889565,
0.06338990479707718,
-0.04458886384963989,
0.007207341957837343,
0.0695505365729332,
0.04950961470603943,
0.016818759962916374,
-0.02467159554362297,
-0.04518384113907814,
-0.01569327898323536,
0.009116321802139282,
0.025162948295474052,
-0.007253026124089956,
-0.025748178362846375,
-0.045565709471702576,
0.040825195610523224,
0.06537079066038132,
0.019589101895689964,
-0.010045960545539856,
0.045451074838638306,
-0.09287509322166443,
-0.038681432604789734,
0.005856902338564396,
-0.0006924504414200783,
0.007004030980169773,
0.016470298171043396,
-0.010738859884440899,
0.03239893168210983,
0.024525770917534828,
0.03283330053091049,
-0.03371937945485115,
0.0016743690939620137,
0.0004285714530851692,
-0.03287826105952263,
0.11630804091691971,
0.006531215738505125,
-0.04502173885703087,
-0.0008680039318278432,
-0.009581808932125568,
0.03165576234459877,
0.039968300610780716,
-0.04784252122044563,
-0.07291095703840256,
0.027537478134036064,
0.004186560865491629,
0.08743032813072205,
-0.01156607549637556,
-0.06499884277582169,
0.015108969062566757,
0.009345322847366333,
-0.01872248947620392,
-0.06045478954911232,
0.040694549679756165,
0.06597072631120682,
-0.08456069976091385,
-0.03480168804526329,
-0.017572199925780296,
0.033935096114873886,
-0.05979004502296448,
0.004888526629656553,
0.0016021598130464554,
-0.029049193486571312,
0.0016063845250755548,
0.03144003823399544,
-0.014934302307665348,
-0.019780930131673813,
0.012487439438700676,
0.027775967493653297,
0.017495444044470787,
0.004132305737584829,
-0.0021602942142635584,
-0.025380216538906097,
0.019646288827061653,
-0.055690959095954895,
-0.062409162521362305,
-0.03932195529341698,
-0.029782958328723907,
-0.021727969869971275,
0.006632251664996147,
-0.00664896983653307,
-0.011115878820419312,
-0.1062333807349205,
0.09348596632480621,
-0.0534401498734951,
-0.04297582805156708,
0.013420112431049347,
-0.013181139715015888,
-0.053826019167900085,
0.007368667982518673,
-0.06487549096345901,
0.037590041756629944,
-0.026671098545193672,
0.014035402797162533,
-0.033494334667921066,
0.049098771065473557,
0.0699433833360672,
-0.04331652447581291,
0.0911431834101677,
0.04715673625469208,
-0.025041630491614342,
-0.004787702113389969,
0.017852408811450005,
0.021986622363328934,
-0.0024936802219599485,
-0.0035301893949508667,
0.004204257391393185,
-0.00831188540905714,
-0.00038509885780513287,
0.009731764905154705,
0.00693056033924222,
0.0020767846144735813,
0.012620899826288223,
-0.3493136763572693,
-0.044185806065797806,
-0.056345753371715546,
0.011271273717284203,
0.038986340165138245,
-0.04983927309513092,
0.02265981025993824,
-0.025292012840509415,
-0.04098789021372795,
0.029268784448504448,
0.05634913221001625,
0.0004374778363853693,
-0.0034774981904774904,
-0.04262688010931015,
0.012353084050118923,
-0.021854162216186523,
-0.052748195827007294,
-0.009257910773158073,
-0.033290185034275055,
0.016455121338367462,
-0.017686933279037476,
-0.0029312409460544586,
-0.0007181063410826027,
-0.05345694720745087,
0.003958261571824551,
-0.023395169526338577,
0.08690716326236725,
0.039854470640420914,
0.04197125509381294,
-0.02067297138273716,
0.03874021768569946,
-0.005666481330990791,
0.044375646859407425,
-0.14292238652706146,
0.011552262119948864,
-0.02131321094930172,
-0.015535126440227032,
-0.02861800044775009,
0.04137630760669708,
-0.0397954024374485,
-0.031480394303798676,
0.01523923221975565,
-0.059127967804670334,
-0.02216482348740101,
-0.0836535170674324,
0.026972800493240356,
-0.013083321042358875,
-0.004191996529698372,
-0.02197100967168808,
0.08424873650074005,
0.009610241279006004,
-0.006982595659792423,
-0.010271253064274788,
0.011333614587783813,
-0.012112480588257313,
-0.027887433767318726,
-0.1081356629729271,
-0.004482665099203587,
0.006944926455616951,
-0.007119950372725725,
0.021660422906279564,
0.08673664182424545,
0.03237743675708771,
-0.0526936836540699,
-0.0008052752236835659,
-0.006375086959451437,
0.0045598647557199,
0.01807275600731373,
0.030090557411313057,
-0.000742520613130182,
-0.021879930049180984,
0.09176406264305115,
-0.011949151754379272,
-0.03789032623171806,
0.035176292061805725,
0.06384923309087753,
-0.015348213724792004,
0.02037009969353676,
-0.024240875616669655,
-0.007085984107106924,
0.02652999758720398,
-0.02510288916528225,
0.0061189294792711735,
-0.05260971933603287,
-0.01876549795269966,
0.026951424777507782,
-0.00962937530130148,
-0.04335055127739906,
0.06987262517213821,
0.015134798362851143,
-0.010752490721642971,
0.006300549954175949,
-0.03576362878084183,
-0.025857361033558846,
0.07701472193002701,
-0.008748868480324745,
-0.24704377353191376,
0.006194585468620062,
0.04869673401117325,
0.044817473739385605,
-0.010586696676909924,
0.04072858393192291,
0.026722339913249016,
-0.030388256534934044,
-0.013629557564854622,
0.01297820545732975,
0.024838736280798912,
0.016443124040961266,
0.017264168709516525,
0.02197657711803913,
0.023448297753930092,
-0.022057699039578438,
0.03299921751022339,
0.007654199376702309,
0.018556997179985046,
-0.02107613906264305,
0.021640583872795105,
-0.013683718629181385,
0.13014298677444458,
0.015595690347254276,
0.019832802936434746,
0.0013326118933036923,
0.03260807693004608,
0.00007240540435304865,
0.07318389415740967,
-0.016596883535385132,
-0.00023996864911168814,
0.0011497867526486516,
-0.01446247473359108,
-0.002503613941371441,
0.06314010918140411,
-0.0913892388343811,
-0.05970221012830734,
0.010119200684130192,
0.035763051360845566,
0.00248417304828763,
0.013545329682528973,
0.0037333336658775806,
-0.01846846379339695,
0.029655298218131065,
0.060502298176288605,
0.024668114259839058,
-0.0017443689284846187,
-0.018509356305003166,
-0.049243345856666565,
-0.008359209634363651,
-0.010450578294694424,
-0.029740700498223305,
0.017900248989462852,
-0.0037438850849866867,
0.01869559846818447,
0.0536491796374321,
0.03558075800538063,
-0.02057606540620327,
0.008968396112322807,
0.0008581083966419101,
-0.027686938643455505,
0.02649679407477379,
0.1392088383436203,
0.03399571031332016,
0.02481173910200596
] | [
0.000041935105400625616,
0.024880802258849144,
-0.00048739297199063003,
0.009931798093020916,
-0.004448356106877327,
0.004639685153961182,
-0.0015506531344726682,
-0.001635909778997302,
0.04847065731883049,
0.011563349515199661,
0.004785221070051193,
0.01546123344451189,
0.00655175419524312,
0.005849876906722784,
-0.0049238004721701145,
-0.03013344295322895,
-0.01399165391921997,
-0.019325973466038704,
0.03143860027194023,
0.016605844721198082,
0.008891470730304718,
-0.005373283755034208,
-0.013929699547588825,
-0.01581045240163803,
-0.011485682800412178,
0.005065262317657471,
0.0028434940613806248,
-0.004212732892483473,
0.018624454736709595,
-0.12214083224534988,
-0.05893760547041893,
-0.015555468387901783,
0.012120546773076057,
-0.005747827235609293,
-0.022012270987033844,
-0.017398932948708534,
0.007887397892773151,
0.027319448068737984,
-0.003242749022319913,
-0.017996124923229218,
-0.01965375617146492,
-0.009275265038013458,
-0.009706290438771248,
0.019382795318961143,
-0.006587301846593618,
-0.013401743024587631,
0.045612890273332596,
-0.03555356338620186,
-0.01715797185897827,
-0.017215721309185028,
-0.04443177208304405,
-0.024453874677419662,
-0.03297919034957886,
-0.004785691853612661,
-0.023732075467705727,
-0.029544014483690262,
0.014724836684763432,
0.03807324916124344,
0.015802720561623573,
0.006020951550453901,
0.004243511240929365,
-0.025809992104768753,
-0.039574094116687775,
-0.012899341993033886,
-0.014295333996415138,
0.005468845367431641,
-0.030970122665166855,
0.02772894687950611,
-0.04051734507083893,
0.01788216456770897,
-0.015617706812918186,
0.014354790560901165,
-0.010987761430442333,
-0.031230513006448746,
-0.017416980117559433,
0.012881007045507431,
-0.022572707384824753,
-0.04294261336326599,
0.017403485253453255,
0.0049404604360461235,
-0.006387724541127682,
0.03358377516269684,
-0.009586488828063011,
0.015479383990168571,
-0.013348705135285854,
0.02133060246706009,
0.03201238438487053,
-0.0038327553775161505,
0.053350720554590225,
-0.00575176952406764,
-0.0036326011177152395,
0.027772365137934685,
-0.03150608763098717,
0.008338882587850094,
-0.08658885210752487,
-0.0162347462028265,
-0.02854619175195694,
0.0011165268952026963,
-0.02846214734017849,
0.8670757412910461,
-0.00872720591723919,
0.01605416275560856,
0.017121106386184692,
-0.0042683458887040615,
-0.0007716640247963369,
0.04558032378554344,
0.0075344424694776535,
-0.0037841491866856813,
-0.005510598421096802,
-0.024677928537130356,
-0.01525497529655695,
0.023402629420161247,
0.011065753176808357,
0.010040830820798874,
0.015018806792795658,
0.008530043996870518,
-0.027660513296723366,
-0.011002170853316784,
-0.02541276626288891,
0.0010132589377462864,
0.0449126698076725,
0.013669026084244251,
0.04797022417187691,
-0.004979703575372696,
0.007983230985701084,
-0.16045601665973663,
0.008982496336102486,
-8.792320116590509e-33,
0.06026431545615196,
-0.0061354017816483974,
0.025359736755490303,
0.0038223087321966887,
-0.008422848768532276,
-0.014156053774058819,
0.03128917142748833,
0.044456131756305695,
0.005040212534368038,
-0.023096702992916107,
0.01216818019747734,
-0.010260846465826035,
-0.014870965853333473,
-0.05098628252744675,
0.018477972596883774,
0.017430076375603676,
0.010891072452068329,
0.028519093990325928,
-0.02980850078165531,
0.052703458815813065,
0.058059029281139374,
0.021812789142131805,
-0.006830625236034393,
0.0014936213847249746,
0.006838049273937941,
-0.006415872368961573,
0.010943135246634483,
0.015251732431352139,
-0.011819323524832726,
-0.04528353363275528,
-0.035859011113643646,
0.026459291577339172,
-0.023999018594622612,
-0.003145338036119938,
0.005036392714828253,
-0.035449542105197906,
-0.005322576966136694,
0.008853231556713581,
0.015414983965456486,
-0.013382574543356895,
-0.006097127217799425,
-0.015642987564206123,
0.002954247873276472,
-0.021404597908258438,
0.004940224811434746,
-0.02199295349419117,
-0.02206679806113243,
0.019268348813056946,
0.038262929767370224,
0.03132161498069763,
0.015136489644646645,
0.0066094715148210526,
0.008583434857428074,
0.008099788799881935,
-0.010895468294620514,
-0.008491321466863155,
-0.014174782671034336,
0.0289976354688406,
0.005931594874709845,
0.008669042028486729,
0.012668212875723839,
-0.023114362731575966,
-0.022848207503557205,
0.009605584666132927,
-0.030576657503843307,
0.007617321331053972,
-0.015551787801086903,
0.012275757268071175,
0.03799571096897125,
-0.028651097789406776,
-0.07681706547737122,
0.007424744311720133,
0.02082795836031437,
0.013345450162887573,
-0.009571032598614693,
0.009444461204111576,
-0.008869115263223648,
0.03671969100832939,
0.0006398633704520762,
0.02950597181916237,
-0.013253875076770782,
-0.0009735992643982172,
-0.008771779015660286,
-0.03954535722732544,
-0.016040129587054253,
0.02943766675889492,
0.02598041482269764,
-0.00026780960615724325,
-0.023686733096837997,
0.006495557259768248,
0.01952764205634594,
0.027340130880475044,
-0.007750106509774923,
-0.002813104772940278,
-0.015792733058333397,
8.307637347123586e-33,
0.043954037129879,
-0.05888516828417778,
-0.0227572713047266,
-0.017231496050953865,
0.04828634113073349,
-0.0018682973459362984,
0.012840545736253262,
0.020983001217246056,
-0.04156063497066498,
0.017462201416492462,
-0.023609867319464684,
-0.039561767131090164,
0.02430642582476139,
0.03241321071982384,
0.02351856417953968,
-0.02436162531375885,
0.02744472399353981,
-0.03708532080054283,
-0.016344858333468437,
-0.030266569927334785,
0.014470472000539303,
0.03622589632868767,
-0.007143242284655571,
0.015114727430045605,
-0.006003798916935921,
0.04751192033290863,
-0.02242795005440712,
0.011768619529902935,
-0.004613368771970272,
0.018245777115225792,
-0.016376789659261703,
-0.006801674608141184,
0.025829806923866272,
-0.009898427873849869,
-0.015077540650963783,
-0.0031524086371064186,
-0.0032800824847072363,
-0.004551639314740896,
-0.026747915893793106,
0.0006917909486219287,
0.030481914058327675,
0.005927485879510641,
-0.0015111754182726145,
0.04108971729874611,
0.005682499147951603,
0.00662114005535841,
-0.00044510781299322844,
-0.019260428845882416,
-0.0033710291609168053,
0.004217227455228567,
0.013360371813178062,
0.005016026087105274,
0.009148024953901768,
-0.0067976838909089565,
0.012559939175844193,
-0.018916107714176178,
-0.026891864836215973,
-0.024521181359887123,
-0.00008520375558873639,
0.04489124193787575,
-0.004861883353441954,
0.004887253046035767,
-0.01699541136622429,
-0.012128191068768501,
-0.025189109146595,
0.016097096726298332,
-0.019407959654927254,
0.007233251351863146,
0.0062340134754776955,
0.01857973262667656,
-0.0009468055795878172,
0.01033352967351675,
-0.006759367883205414,
0.028354205191135406,
0.05282805114984512,
-0.042674459517002106,
-0.0329492911696434,
-0.018009865656495094,
-0.03791600093245506,
0.0151602141559124,
0.01085768174380064,
-0.018197091296315193,
0.010302381590008736,
0.022083695977926254,
-0.007060523144900799,
0.04363282769918442,
-0.025872742757201195,
-0.0009462644811719656,
0.004452492576092482,
0.005911411717534065,
-0.030020859092473984,
-0.017416298389434814,
0.010800488293170929,
0.006412611808627844,
0.004320775158703327,
-1.4145397742026944e-8,
-0.008699106983840466,
0.012038851156830788,
-0.009548583999276161,
0.044909339398145676,
-0.01214022096246481,
-0.0026666526682674885,
-0.027660734951496124,
0.013955163769423962,
-0.02731582708656788,
0.007408321835100651,
0.03660062327980995,
-0.010362756438553333,
-0.011139998212456703,
-0.00888017937541008,
0.006171451881527901,
-0.032388247549533844,
0.0032651133369654417,
0.017121082171797752,
0.02521740086376667,
-0.006895698141306639,
0.014681081287562847,
0.03004678152501583,
-0.054291803389787674,
0.01703382469713688,
0.007007339503616095,
0.015866614878177643,
-0.02988344617187977,
-0.0796484649181366,
-0.008118079975247383,
0.007894217036664486,
0.005731966346502304,
-0.04150328412652016,
0.004857835825532675,
0.029233533889055252,
-0.02436915598809719,
-0.022276895120739937,
-0.003378113266080618,
0.015772756189107895,
0.013446751050651073,
-0.011576516553759575,
0.018443839624524117,
-0.014200696721673012,
-0.0023087598383426666,
-0.032023075968027115,
-0.02634260430932045,
0.02145378105342388,
-0.037088941782712936,
-0.02417765185236931,
0.013817685656249523,
-0.022294871509075165,
-0.013424666598439217,
0.016650168225169182,
0.0019584076944738626,
0.024591373279690742,
0.003524678060784936,
0.021515289321541786,
0.025585763156414032,
0.026061812415719032,
-0.06201181560754776,
-0.01080736517906189,
0.04304877668619156,
0.013760187663137913,
-0.001157034421339631,
-0.03358298912644386
] | ask-for-forgiveness-not-for-permission | https://markhneedham.com/blog/2010/06/04/ask-for-forgiveness-not-for-permission |
false | 2010-06-04 21:05:52 | XP2010: Coding Dojo Open Space | [
"xp2010"
] | [
"Coding Dojo"
] | I attended an open space hosted by http://twitter.com/emilybache[Emily Bache] at the XP2010 conference in Trondheim, Norway with several other people who have been organising coding dojos around the world.
It was really interesting to hear about some of the different approaches that people have taken and how a lot of the issues we had with http://www.markhneedham.com/blog/category/coding-dojo/[the one we used to run in Sydney] were the same as what others had experienced.
These were some of the things that I took from the session:
* We talked about the difficulty of keeping up the enthusiasm/energy for a coding dojo over a long period of time and Emily suggested that one way to reduce this problem was to *link the dojo with a group which met up for something else* other than just a coding dojo. For example Emily runs a dojo with the Ruby and Python user groups whereby one week someone would do a presentation on something and the next week they would run a dojo. The one we ran was generally internal to ThoughtWorks so we had a different problem in that some people preferred a coding dojo and others preferred to hack on problems alone but with others around.
* Another suggestion around this was that *rotating the organiser* between the group was a way to keep enthusiasm up and made it the whole groups' responsibility to keep the dojo running rather than placing the responsibility at the feet of one or two people
* An idea suggested by http://twitter.com/hugocorbucci[Mariana] & http://twitter.com/hugocorbucci[Hugo] from their experiences running a dojo in Sao Paulo was how to *introduce a new language in the dojo environment*. They originally tried just running a randori style dojo but found that this didn't work out so well if there wasn't at least one person who had enough experience to at least know how to setup the development environment and write some tests in the language. The approach they took was to have one person do a prepared kata in the new language at the beginning of the session and then after they'd done that then the rest of the group would participate.
* Another suggestion was to run a retrospective on each dojo session where people would write down *what they had learnt from the session and what had hindered their learning*. This strikes me as something which would be quite useful to consider even on a normal project, especially near the beginning, and would help us to at least recognise if there are factors which are preventing us learning as much as we'd like. We could then do something to fix that if necessary.
* Hugo and Emily both suggested the *'Kake' format* as one which might be better suited in a dojo with people who are quite experienced with the dojo idea. In this format there would be more than one computer being used and pairs would rotate between the stations. At each station the same problem could be being solved in a different language or a different problem in the same language.
* I also learnt that we had misunderstood the way we were supposed to pair in a randori dojo. We somehow had the idea that the driver was supposed to drive for the whole 7 minutes and the navigator would just navigate during that time and then they would be the driver next time around. Emily pointed out that the idea is just to *pair normally but have one person rotate after 7 minutes*. This makes much more sense to me and would have made our sessions much more natural than they felt at times while we tried to follow this idea. | null | null | [
0.01163686253130436,
-0.018898459151387215,
-0.01330325286835432,
0.017689278349280357,
0.06729253381490707,
0.015426922589540482,
0.02760080061852932,
0.03740780055522919,
0.012332896701991558,
0.002877989085391164,
-0.03836356848478317,
-0.007939777337014675,
-0.05227045342326164,
0.0014873439213261008,
-0.0422431044280529,
0.05805684253573418,
0.06879762560129166,
0.0028377564158290625,
0.021931199356913567,
0.003338020760565996,
0.029932094737887383,
0.06110178306698799,
0.02219953015446663,
0.041676927357912064,
0.034038640558719635,
0.006527354475110769,
0.03173484280705452,
0.008859287947416306,
-0.059786390513181686,
-0.027759943157434464,
0.026154974475502968,
0.015292702242732048,
0.016047174111008644,
0.013329081237316132,
0.03369569778442383,
-0.01193201169371605,
-0.018892796710133553,
0.031881459057331085,
-0.0034366906620562077,
0.02865593135356903,
-0.057578712701797485,
0.04145706444978714,
-0.008376562036573887,
0.01388886570930481,
-0.0348595567047596,
-0.003593786619603634,
-0.04029618203639984,
0.017344342544674873,
-0.0026348894461989403,
-0.010245674289762974,
-0.08512633293867111,
0.0052161137573421,
0.00661127083003521,
0.006981643382459879,
-0.01627514511346817,
0.05186353996396065,
0.02368670143187046,
-0.05313701182603836,
0.012096204794943333,
-0.040609776973724365,
-0.013135169632732868,
-0.013961412943899632,
0.012574683874845505,
0.028185635805130005,
0.021541772410273552,
-0.0315486416220665,
-0.0008103168802335858,
0.04295306280255318,
-0.020204661414027214,
-0.012673778459429741,
-0.011183585971593857,
0.026283154264092445,
-0.017273342236876488,
-0.025000493973493576,
0.00115746702067554,
-0.06929036974906921,
-0.003937419503927231,
0.06599237769842148,
0.015943551436066628,
0.027591945603489876,
-0.034425631165504456,
-0.001413312740623951,
0.004843360278755426,
0.031383078545331955,
0.0013387191575020552,
-0.044384654611349106,
-0.018098989501595497,
-0.014310825616121292,
-0.07518244534730911,
0.04583920165896416,
0.02894170768558979,
-0.034803494811058044,
0.011876065284013748,
0.02753935195505619,
0.02419150248169899,
0.046610277146101,
0.01816689968109131,
-0.012354870326817036,
-0.007056755479425192,
-0.022546622902154922,
-0.022009896114468575,
-0.008094284683465958,
0.007090197876095772,
0.007349731866270304,
-0.07854920625686646,
-0.01015451829880476,
-0.02138737216591835,
0.00435902364552021,
0.02007768116891384,
0.013063189573585987,
-0.02772543579339981,
0.008308126591145992,
-0.002677924232557416,
0.0008308507385663688,
-0.06868825107812881,
0.057266782969236374,
0.00006417124677682295,
-0.047238074243068695,
-0.04275571554899216,
-0.002775835571810603,
0.04516172036528587,
0.034878626465797424,
-0.019421862438321114,
0.08678346872329712,
0.00479529332369566,
0.024664651602506638,
-0.03600184619426727,
0.07446439564228058,
-0.026908522471785545,
-0.06690385192632675,
-0.0036174736451357603,
0.02774232067167759,
0.0040618437342345715,
-0.005525190848857164,
0.004141965880990028,
-0.03535536304116249,
0.008613327518105507,
0.006457864306867123,
0.0286556463688612,
0.03393341973423958,
-0.006628859788179398,
-0.024440407752990723,
0.006260068621486425,
0.0002814318286255002,
0.025232458487153053,
0.00515009555965662,
-0.029553700238466263,
-0.04467891901731491,
-0.02898358553647995,
-0.013701829127967358,
-0.0017148888437077403,
0.001357253990136087,
0.020800473168492317,
-0.050777237862348557,
0.019453123211860657,
0.07886145263910294,
0.031132711097598076,
0.021593013778328896,
-0.017699236050248146,
0.027018139138817787,
0.012565101496875286,
0.023101365193724632,
-0.0004855793376918882,
0.03610459342598915,
-0.005628169514238834,
-0.012261630967259407,
-0.008832162246108055,
0.041622474789619446,
-0.004884637426584959,
0.024682600051164627,
-0.06763520836830139,
-0.04366275668144226,
0.048968300223350525,
-0.05400523170828819,
-0.04815350100398064,
0.036329008638858795,
0.07562705874443054,
0.04899098351597786,
0.01661885529756546,
0.018270226195454597,
-0.08589369058609009,
0.004455095157027245,
0.0017352376598864794,
0.012294397689402103,
0.03933650627732277,
-0.027068624272942543,
0.045986536890268326,
0.04764415696263313,
-0.0017650523222982883,
0.07552747428417206,
-0.08702754974365234,
-0.07628655433654785,
-0.016232427209615707,
-0.014231438748538494,
0.0658750981092453,
-0.020857511088252068,
0.03979148343205452,
0.07406661659479141,
0.014892430044710636,
0.05853196233510971,
0.022397084161639214,
-0.007411722559481859,
0.03503214940428734,
-0.0222151018679142,
-0.04302095249295235,
0.05801082029938698,
0.04214378818869591,
-0.017433254048228264,
-0.04175197333097458,
0.0057159909047186375,
-0.02502484619617462,
-0.009940098971128464,
0.041597358882427216,
0.0017983631696552038,
0.01868518628180027,
0.006851415149867535,
0.040153130888938904,
-0.04572361335158348,
0.0390707366168499,
-0.050101540982723236,
0.02168678678572178,
0.011251632124185562,
-0.01695391908288002,
-0.007653878070414066,
0.015635773539543152,
0.12850384414196014,
0.045206476002931595,
-0.03180091083049774,
-0.03226029500365257,
0.01917004957795143,
-0.0021903845481574535,
-0.036770641803741455,
0.001222011400386691,
-0.0036058758851140738,
0.036970026791095734,
-0.01644434966146946,
-0.036352355033159256,
-0.05742902308702469,
0.0038667405024170876,
-0.04747195914387703,
0.019657080993056297,
0.07101326435804367,
-0.012709339149296284,
0.05764663591980934,
-0.02762399986386299,
0.00029361157794483006,
0.01679621823132038,
-0.004566106479614973,
-0.029684029519557953,
0.016325416043400764,
0.02287697046995163,
-0.021623503416776657,
0.0356346033513546,
-0.01655961200594902,
-0.012745271436870098,
-0.04546675831079483,
-0.005395302549004555,
-0.0003901487507391721,
0.04623293876647949,
0.05199520289897919,
-0.006777911446988583,
0.05582951754331589,
-0.025461019948124886,
0.02819339744746685,
0.005175932310521603,
-0.050333183258771896,
-0.02241809107363224,
-0.04753333702683449,
0.000005752253400714835,
0.016033722087740898,
0.02098769322037697,
0.016473425552248955,
0.03217174485325813,
-0.008493899367749691,
-0.023025689646601677,
-0.012865432538092136,
0.01968444511294365,
-0.00006761628173990175,
-0.022568318992853165,
-0.020514825358986855,
-0.02992354705929756,
0.04300585389137268,
-0.047598954290151596,
-0.028233807533979416,
0.006460859440267086,
-0.07828550785779953,
0.0334794819355011,
-0.07319649308919907,
-0.06806515157222748,
0.015454435721039772,
0.026555821299552917,
0.04370129480957985,
0.01569758541882038,
-0.0021882131695747375,
0.06635230034589767,
-0.006160760298371315,
0.027669740840792656,
0.011589952744543552,
-0.02667977474629879,
0.03551795706152916,
-0.006708306726068258,
-0.0017370060086250305,
0.034219689667224884,
0.0026973080821335316,
0.012879994697868824,
-0.04649101197719574,
0.04700478911399841,
-0.023364022374153137,
-0.29311054944992065,
0.03260631114244461,
0.0005562396836467087,
-0.034668438136577606,
0.01547129638493061,
-0.01670042984187603,
0.02396015264093876,
-0.053430378437042236,
-0.020736685022711754,
-0.029907042160630226,
-0.02583312802016735,
-0.04254183918237686,
-0.03164280205965042,
0.04292057082056999,
-0.0026828222908079624,
0.03613719716668129,
0.017969608306884766,
-0.027626074850559235,
0.02623390033841133,
0.04736802354454994,
-0.013882211409509182,
-0.053179118782281876,
-0.002905474044382572,
0.04878325015306473,
0.03635145723819733,
0.061133094131946564,
-0.09701374918222427,
0.004306137561798096,
-0.040373362600803375,
-0.010693002492189407,
0.016929084435105324,
0.0044755227863788605,
-0.0059658526442945,
-0.008657459169626236,
-0.014184195548295975,
0.00960117019712925,
0.06907004117965698,
-0.010984441265463829,
-0.017612367868423462,
0.003440056461840868,
-0.024743150919675827,
-0.03510931879281998,
-0.018061133101582527,
0.013897771015763283,
0.07829450070858002,
0.011216334998607635,
-0.08506373316049576,
-0.0022087013348937035,
-0.027582412585616112,
0.07003773748874664,
-0.031618814915418625,
-0.03313584253191948,
-0.018081946298480034,
0.03715316206216812,
0.0025958751793950796,
0.0040990556590259075,
-0.023267626762390137,
-0.007717674598097801,
-0.050736088305711746,
-0.05215071886777878,
-0.030139531940221786,
-0.047993481159210205,
-0.017702238634228706,
-0.07548429816961288,
0.013165869750082493,
-0.07263171672821045,
-0.0536218099296093,
0.0017160666175186634,
0.07972463965415955,
0.007570133078843355,
-0.050785988569259644,
0.01073393039405346,
-0.025807000696659088,
-0.11085579544305801,
-0.013789358548820019,
0.00858411006629467,
-0.012712877243757248,
-0.0064194463193416595,
0.025561464950442314,
0.041049420833587646,
-0.043310005217790604,
-0.04395229369401932,
0.025960376486182213,
0.006480028387159109,
0.006922360509634018,
-0.008273089304566383,
0.05147789046168327,
0.010991881601512432,
-0.0027461049612611532,
0.0075528668239712715,
0.07126877456903458,
0.0008311267010867596,
-0.04871857911348343,
-0.014843914657831192,
0.039878103882074356,
0.026188725605607033,
0.033037252724170685,
-0.022212641313672066,
0.009370427578687668,
0.025382142513990402,
-0.010762819088995457,
-0.05937890708446503,
0.010750279761850834,
-0.009491115808486938,
-0.006625617388635874,
-0.0002923051069956273,
-0.05552361533045769,
0.021520022302865982,
0.029770860448479652,
0.024936098605394363,
0.007051094900816679,
-0.05318984016776085,
0.004065598826855421,
-0.04376235976815224,
-0.02638021670281887,
-0.010115247219800949,
0.01702457293868065,
0.04169774428009987,
0.0075677442364394665,
-0.010257799178361893,
-0.03969087079167366,
0.011499662883579731,
0.008190624415874481,
-0.005899359472095966,
-0.04870385304093361,
0.004544797819107771,
-0.032998234033584595,
-0.021711401641368866,
0.010129985399544239,
0.007854057475924492,
-0.01741020753979683,
0.015345250256359577,
0.022682832553982735,
-0.024580925703048706,
0.023297103121876717,
-0.010959630832076073,
-0.05167694389820099,
-0.03802498057484627,
0.012709073722362518,
0.008060616441071033,
-0.020694302394986153,
0.05055732652544975,
-0.012073234654963017,
0.02032015472650528,
0.046236686408519745,
0.019018763676285744,
-0.0026026868727058172,
-0.002539785346016288,
0.020427878946065903,
0.01369490846991539,
0.022770976647734642,
-0.07863679528236389,
0.010791067034006119,
-0.025409244000911713,
-0.024082286283373833,
-0.008300756104290485,
0.029709557071328163,
-0.005499143619090319,
-0.01990586519241333,
-0.007358009461313486,
0.013754332438111305,
-0.047486577183008194,
-0.030584128573536873,
-0.009711132384836674,
0.019214147701859474,
0.05064001306891441,
0.00015154054563026875,
0.02612130157649517,
-0.0242709182202816,
-0.035404596477746964,
0.01624138280749321,
0.009064240381121635,
-0.040971703827381134,
0.007637710776180029,
0.00790462177246809,
-0.017169738188385963,
0.00860634259879589,
0.010000236332416534,
0.04858962446451187,
0.007065844722092152,
-0.0076826647855341434,
-0.020006796345114708,
0.00117184326518327,
0.026035897433757782,
0.05240660905838013,
0.03293773904442787,
-0.010956961661577225,
0.0035533085465431213,
0.006359247025102377,
-0.022656241431832314,
-0.03435825556516647,
0.010346919298171997,
-0.007590498775243759,
0.00998518243432045,
-0.035340383648872375,
-0.06784641742706299,
0.04937701299786568,
0.02127305045723915,
0.005025995429605246,
0.03913342207670212,
-0.013514536432921886,
-0.01016678661108017,
-0.025036368519067764,
0.02871818281710148,
0.04591299593448639,
-0.052590858191251755,
-0.015780510380864143,
-0.008430007845163345,
0.006514410488307476,
-0.014583390206098557,
-0.02865385264158249,
-0.03702659532427788,
-0.0028907840605825186,
-0.023068374022841454,
0.0009136120206676424,
-0.056301433593034744,
-0.02677777037024498,
-0.014854127541184425,
0.022877801209688187,
-0.030507581308484077,
0.007321360055357218,
-0.010336404666304588,
-0.009055393747985363,
-0.012428496964275837,
-0.02921060286462307,
0.033557627350091934,
-0.04756758362054825,
0.02450178936123848,
-0.0035380064509809017,
-0.05197056010365486,
-0.008918702602386475,
-0.029609978199005127,
0.009348270483314991,
0.014464672654867172,
-0.02370745874941349,
0.0028317144606262445,
-0.041147779673337936,
0.003537097480148077,
0.020248329266905785,
0.058547187596559525,
0.019051529467105865,
-0.008643480017781258,
-0.050740160048007965,
-0.009557363577187061,
-0.05216864496469498,
0.04961245134472847,
-0.046780358999967575,
-0.01224583201110363,
0.052337635308504105,
0.05022552236914635,
0.021760577335953712,
0.04981600493192673,
-0.029302436858415604,
-0.01369438599795103,
0.04110756516456604,
-0.07968780398368835,
-0.020832326263189316,
-0.0407865010201931,
-0.09111330658197403,
-0.011672821827232838,
0.010692842304706573,
0.03600780665874481,
-0.01797691360116005,
0.035580676048994064,
0.012754292227327824,
0.026243340224027634,
0.024095913395285606,
-0.03927251696586609,
0.008523279801011086,
-0.05883850157260895,
0.01666194386780262,
-0.07923664897680283,
0.014989026822149754,
0.029551107436418533,
0.008818619884550571,
-0.013974480330944061,
0.00034527890966273844,
-0.03145363926887512,
0.05052119493484497,
-0.06833760440349579,
0.007359346840530634,
0.0449204221367836,
0.0035598697140812874,
-0.032698385417461395,
0.0037400266155600548,
-0.07793223857879639,
0.03144276887178421,
0.03513910993933678,
-0.043068673461675644,
-0.014456269331276417,
-0.03168981522321701,
0.032863277941942215,
0.008836296387016773,
0.042809467762708664,
-0.005981338210403919,
-0.018769746646285057,
0.07614345848560333,
0.004354598466306925,
-0.018505487591028214,
0.03835480287671089,
-0.0031686427537351847,
0.052063144743442535,
0.025995656847953796,
-0.0024663812946528196,
-0.010455540381371975,
0.021303055807948112,
-0.007571997586637735,
-0.07560484111309052,
0.041785627603530884,
0.027195168659090996,
-0.033824410289525986,
-0.04106634110212326,
0.06017042696475983,
0.02437765523791313,
-0.03246444836258888,
-0.04247354716062546,
0.028047511354088783,
-0.07344882935285568,
-0.0009805550798773766,
-0.048657286912202835,
0.005094210617244244,
-0.05393766239285469,
0.05521316081285477,
0.01596722938120365,
0.009450426325201988,
0.06010754406452179,
-0.008830954320728779,
-0.02949218824505806,
-0.017724530771374702,
0.08552578836679459,
0.07073094695806503,
0.06533867120742798,
0.024062762036919594,
0.07371076941490173,
-0.018934981897473335,
-0.04979672655463219,
-0.005597091745585203,
0.007491011172533035,
-0.024518368765711784,
-0.02455592341721058,
0.03331642970442772,
0.06776493787765503,
-0.012107590213418007,
0.062206171452999115,
-0.010888024233281612,
-0.038107626140117645,
-0.0040213377214968204,
0.035948872566223145,
0.02886832132935524,
0.04425894096493721,
0.043323613703250885,
0.010077273473143578,
0.0014650106895714998,
-0.039932895451784134,
0.04243428632616997,
-0.03313592076301575,
-0.018097687512636185,
0.020248735323548317,
-0.00169746286701411,
0.03292263299226761,
0.016468577086925507,
0.050579000264406204,
0.0637119933962822,
-0.045220132917165756,
0.008467600680887699,
-0.005084759555757046,
0.02625514753162861,
0.006894795689731836,
0.027777409180998802,
-0.028555063530802727,
0.010260255075991154,
0.004241288173943758,
-0.044874273240566254,
-0.02622598223388195,
-0.013006685301661491,
-0.02125486545264721,
0.03992105647921562,
-0.0427510105073452,
0.020990673452615738,
0.022525545209646225,
0.00782458670437336,
-0.03633922338485718,
-0.0630231723189354,
-0.040931347757577896,
-0.02352157235145569,
-0.06365527212619781,
-0.0283522866666317,
0.039697952568531036,
-0.01554045733064413,
-0.018563982099294662,
0.004483953583985567,
-0.03399369493126869,
-0.014455016702413559,
0.04499160498380661,
-0.06367933005094528,
-0.021256476640701294,
0.006514966022223234,
-0.004501404240727425,
0.042668938636779785,
0.030441682785749435,
0.05916844680905342,
-0.011890308000147343,
-0.0014778970507904887,
-0.02310551144182682,
0.027010146528482437,
0.03340988606214523,
0.0022579608485102654,
-0.0007164062117226422,
-0.09480578452348709,
0.030916493386030197,
0.03581583872437477,
-0.01039005909115076,
-0.03970201686024666,
0.0385267548263073,
0.039858121424913406,
0.03165913000702858,
0.04745441675186157,
-0.008870895020663738,
0.008861711248755455,
-0.018918851390480995,
-0.019700873643159866,
-0.017104392871260643,
0.012885237112641335,
0.05205388739705086,
-0.008358536288142204,
0.09382424503564835,
0.022358769550919533,
-0.018692096695303917,
-0.04187825694680214,
-0.004633798263967037,
-0.003132872749119997,
-0.016653435304760933,
-0.00832883920520544,
-0.033479511737823486,
-0.05060192197561264,
-0.07749799638986588,
-0.037208180874586105,
0.02601243555545807,
-0.0160576943308115,
-0.033751413226127625,
0.016745535656809807,
0.02645908296108246,
-0.020457474514842033,
0.033796340227127075,
-0.02843349054455757,
0.02819218672811985,
-0.038348644971847534,
-0.0056394911371171474,
-0.010565035976469517,
-0.01782325655221939,
-0.0023644189350306988,
-0.01082221046090126,
0.026339370757341385,
-0.038813576102256775,
0.0011380803771317005,
0.0044870516285300255,
0.041278306394815445,
0.03561653941869736,
0.01868482679128647,
-0.020420923829078674
] | [
-0.08855166286230087,
0.0015202182112261653,
-0.00772275822237134,
-0.03441867232322693,
0.025707004591822624,
-0.010633217170834541,
-0.03514863923192024,
0.03381327912211418,
-0.012126726098358631,
-0.032164737582206726,
0.007434437517076731,
-0.02726365253329277,
-0.00883397739380598,
-0.007204014342278242,
0.09649845957756042,
0.0044000158086419106,
-0.02404705621302128,
-0.06772558391094208,
-0.0053850202821195126,
0.02275068126618862,
-0.004761995282024145,
-0.03380902111530304,
-0.027598438784480095,
-0.023478081449866295,
-0.007957927882671356,
0.025512395426630974,
0.036056358367204666,
-0.03813012316823006,
0.01924440637230873,
-0.1849105954170227,
-0.009537891484797001,
0.014549207873642445,
0.06699765473604202,
-0.006268588360399008,
-0.016393467783927917,
0.06798812747001648,
0.024134816601872444,
-0.010356093756854534,
-0.03359944745898247,
0.049249980598688126,
0.008630940690636635,
0.01620039902627468,
-0.042374253273010254,
-0.030986692756414413,
0.04750652238726616,
-0.00947883166372776,
0.015217993408441544,
-0.04906420409679413,
-0.032074976712465286,
0.01570606417953968,
-0.06149936467409134,
-0.050829075276851654,
-0.0001889780833153054,
-0.04988744854927063,
-0.004028421360999346,
0.0217730775475502,
0.030099861323833466,
0.049504876136779785,
-0.01098679006099701,
0.0035131617914885283,
0.020731177181005478,
-0.008734393864870071,
-0.13607676327228546,
0.08108699321746826,
0.031254567205905914,
0.037277109920978546,
-0.02822921611368656,
-0.003795458935201168,
0.011074729263782501,
0.08074895292520523,
0.007507310248911381,
-0.03497197851538658,
0.019391894340515137,
0.032628778368234634,
0.012052575126290321,
0.008198319002985954,
-0.008697999641299248,
0.028592990711331367,
0.010178402997553349,
-0.05143536254763603,
-0.032913967967033386,
-0.0191348884254694,
-0.020933151245117188,
-0.006219998933374882,
-0.054302673786878586,
0.01881403848528862,
-0.01257692277431488,
0.05628647282719612,
-0.009563385508954525,
0.03014010190963745,
0.02564895711839199,
0.01718732714653015,
0.03445129469037056,
0.00026341184275224805,
-0.09452114254236221,
-0.034568533301353455,
-0.0003345882287248969,
0.052838295698165894,
-0.03754432126879692,
0.4767124652862549,
-0.02509954944252968,
-0.027298176661133766,
0.09408929944038391,
0.02858405001461506,
-0.0036125299520790577,
-0.011580193415284157,
0.024350231513381004,
-0.0467446893453598,
0.04062836244702339,
-0.01800636760890484,
0.019337056204676628,
0.0069908578880131245,
0.0743914470076561,
-0.02280798740684986,
-0.009845544584095478,
0.06475299596786499,
0.02803960070014,
0.026912327855825424,
-0.015307294204831123,
0.005346027668565512,
-0.002996856812387705,
0.00853788573294878,
0.01654435135424137,
-0.006664123386144638,
-0.02647034078836441,
-0.011932381428778172,
0.033860981464385986,
0.05235481262207031,
0.040934424847364426,
0.0006448437343351543,
0.05477099120616913,
-0.03071592189371586,
-0.03861448913812637,
0.015549326315522194,
-0.016537543386220932,
-0.0073983315378427505,
0.04369024932384491,
-0.010261510498821735,
0.001474328339099884,
0.043487340211868286,
0.040371451526880264,
-0.016304589807987213,
0.03887595981359482,
-0.029306676238775253,
-0.03444948047399521,
0.09419669210910797,
-0.0045822723768651485,
-0.03188887611031532,
0.02309129387140274,
-0.022632285952568054,
0.005860143341124058,
0.01934228092432022,
-0.010685645043849945,
-0.05943480134010315,
0.015965400263667107,
-0.005599294789135456,
0.09953228384256363,
-0.0018703752430155873,
-0.030578142032027245,
-0.008753737434744835,
-0.02039489708840847,
-0.023216385394334793,
-0.028170812875032425,
0.04076476767659187,
0.08423320204019547,
-0.10403382033109665,
-0.03290622681379318,
0.00009200297063216567,
0.03382750600576401,
-0.09111975133419037,
-0.02079477719962597,
0.009920282289385796,
-0.030309859663248062,
0.005644345656037331,
0.0689753070473671,
-0.025991734117269516,
-0.01718965359032154,
0.03842948377132416,
0.029109669849276543,
0.017625868320465088,
0.03548399731516838,
0.025016609579324722,
-0.012160496786236763,
-0.018480271100997925,
-0.04319601505994797,
-0.05361493304371834,
-0.034254975616931915,
-0.02145230770111084,
-0.03169171139597893,
-0.0009521251195110381,
-0.034069109708070755,
-0.007520910352468491,
-0.09008100628852844,
0.08230696618556976,
-0.0021256718318909407,
-0.03400731086730957,
0.009071477688848972,
-0.03443039581179619,
-0.029826585203409195,
-0.00973702222108841,
-0.058424998074769974,
0.04617562144994736,
-0.04649166017770767,
0.012739622965455055,
-0.03450935706496239,
0.025645991787314415,
0.06333135813474655,
-0.02729836478829384,
0.07686822861433029,
0.06708670407533646,
-0.05265536531805992,
-0.028507577255368233,
0.04463984817266464,
0.030252402648329735,
0.01840514875948429,
-0.022191068157553673,
-0.007218207232654095,
0.021291380748152733,
-0.005123139824718237,
0.009598860517144203,
-0.008155922405421734,
0.002786996541544795,
-0.021897053346037865,
-0.3489093482494354,
-0.027732040733098984,
-0.012814677320420742,
0.01430459227412939,
0.011105324141681194,
-0.03603019565343857,
0.037005528807640076,
-0.03891180083155632,
0.0001974438055185601,
-0.0016879098257049918,
0.07361656427383423,
-0.02236672304570675,
0.012955359183251858,
-0.05001228675246239,
-0.010192692279815674,
0.011940079741179943,
-0.024968184530735016,
-0.021727699786424637,
-0.015815526247024536,
0.003229589434340596,
0.02900417149066925,
0.006333968602120876,
-0.014923269860446453,
-0.02924393303692341,
-0.03421467915177345,
-0.04924483597278595,
0.10705158114433289,
0.005947079975157976,
0.09322626888751984,
-0.06264475733041763,
0.04824915528297424,
-0.01312306895852089,
0.02098388597369194,
-0.1107679083943367,
0.026992537081241608,
-0.011568425223231316,
0.01827220991253853,
-0.03561592102050781,
0.06316927075386047,
-0.03447205200791359,
-0.02169896848499775,
0.015684159472584724,
-0.06030263379216194,
-0.03496266528964043,
-0.06473301351070404,
0.00878323893994093,
-0.03512446582317352,
-0.06512374430894852,
-0.02907935529947281,
0.04844161868095398,
0.005267389118671417,
-0.011835497803986073,
0.027861835435032845,
0.011177200824022293,
-0.025413794443011284,
-0.02102130651473999,
-0.08921585232019424,
0.0034795559477061033,
0.0017094038194045424,
0.018842676654458046,
0.03558807447552681,
0.07841935008764267,
0.019125455990433693,
-0.08216328173875809,
0.00356857618317008,
0.02655036374926567,
0.016626469790935516,
0.008710469119250774,
0.06320745497941971,
0.005983898416161537,
-0.012112187221646309,
0.05377184599637985,
-0.002202606061473489,
-0.01989874057471752,
0.04159391298890114,
0.02652440033853054,
-0.0178044643253088,
-0.0064874873496592045,
0.017138289287686348,
0.013860606588423252,
0.04271421581506729,
-0.028357435017824173,
0.03837623447179794,
-0.024702364578843117,
-0.015334906987845898,
0.042907096445560455,
0.021958626806735992,
-0.04792621731758118,
0.06078348681330681,
0.03423595428466797,
-0.019536834210157394,
-0.002257252112030983,
-0.02264360524713993,
-0.019447987899184227,
0.05335148796439171,
-0.008431929163634777,
-0.25827229022979736,
0.015991274267435074,
0.03609957918524742,
0.02072526142001152,
-0.009463367983698845,
0.036381885409355164,
0.03044312819838524,
-0.07262958586215973,
0.01427270658314228,
0.026053238660097122,
0.04822809621691704,
0.021816721186041832,
-0.01701212301850319,
-0.01494420226663351,
0.04709281399846077,
0.004607187118381262,
0.01791336201131344,
0.004052672069519758,
0.04787244647741318,
-0.019666515290737152,
0.009977415204048157,
0.021680133417248726,
0.1362113058567047,
0.01754692569375038,
0.04433636739850044,
0.022322261705994606,
-0.013727821409702301,
-0.011377900838851929,
0.04749385267496109,
-0.02023826725780964,
-0.01606869138777256,
-0.01443603914231062,
0.029518580064177513,
0.0012862482108175755,
0.01570422574877739,
-0.07794172316789627,
-0.05410980433225632,
0.02046126313507557,
0.017926741391420364,
0.006227343343198299,
-0.008173978887498379,
-0.0093839755281806,
-0.026904629543423653,
0.011211369186639786,
0.049767907708883286,
0.02722288854420185,
0.003090446349233389,
-0.04527730494737625,
-0.042763229459524155,
-0.013304120860993862,
-0.02838488481938839,
-0.06024651601910591,
-0.007150684483349323,
-0.008178076706826687,
0.0014626365154981613,
0.08928025513887405,
0.008148147724568844,
-0.0242471881210804,
-0.0017346773529425263,
-0.0009793647332116961,
-0.005192485172301531,
-0.035761915147304535,
0.09154757857322693,
0.011521803215146065,
0.016155563294887543
] | [
-0.02418786846101284,
0.0066727339290082455,
-0.009780109860002995,
0.007889140397310257,
-0.0034808802884072065,
-0.0019433938432484865,
-0.004298189654946327,
0.0024183611385524273,
-0.005822408944368362,
0.01553223468363285,
0.013544312678277493,
0.011350871995091438,
0.007996967062354088,
-0.005705330055207014,
0.02415337599813938,
0.0057841078378260136,
0.013505839742720127,
-0.008566257543861866,
0.024626081809401512,
0.003340653609484434,
-0.002010063035413623,
0.0008166397456079721,
0.019795721396803856,
-0.010432095266878605,
-0.008359778672456741,
0.02148950845003128,
0.004587079863995314,
-0.00031530711567029357,
0.026368364691734314,
-0.103569395840168,
-0.04022875055670738,
-0.016138004139065742,
0.005348108243197203,
-0.011647994630038738,
-0.0015531231183558702,
0.009108254685997963,
0.007732258643954992,
0.001670962548814714,
-0.009946666657924652,
0.01956617273390293,
-0.01155316736549139,
0.01560046523809433,
0.009673108346760273,
0.010884462855756283,
-0.021572506055235863,
-0.006261125206947327,
0.024817006662487984,
-0.04780147597193718,
-0.04687768965959549,
-0.0034655241761356592,
-0.023136306554079056,
-0.013322259299457073,
0.022495919838547707,
0.004394834395498037,
0.0005653327098116279,
-0.01750866509974003,
0.028084957972168922,
0.010507901199162006,
0.007126161828637123,
0.00644146092236042,
0.022037584334611893,
-0.016076229512691498,
-0.055337030440568924,
-0.01775524578988552,
-0.014435230754315853,
-0.04260106757283211,
-0.045667488127946854,
0.04039173573255539,
-0.05477600172162056,
-0.014593503437936306,
-0.031094728037714958,
-0.009951042011380196,
0.006215494126081467,
-0.02296995185315609,
0.021290233358740807,
-0.007712225429713726,
0.026145916432142258,
-0.026148904114961624,
0.010761445388197899,
-0.006892613600939512,
-0.020534362643957138,
0.01586943492293358,
0.0010885072406381369,
0.02506972849369049,
0.004669885616749525,
0.017298610880970955,
0.04536003991961479,
0.01862986944615841,
0.032889507710933685,
0.005201725289225578,
-0.02499222755432129,
0.03265365585684776,
-0.011109421029686928,
0.005967124830931425,
-0.08757700026035309,
-0.027851756662130356,
0.009722771123051643,
0.022027364000678062,
0.0022258630488067865,
0.851884663105011,
-0.011587469838559628,
-0.00038914859760552645,
0.046793729066848755,
0.010564250871539116,
-0.019939148798584938,
-0.001156363869085908,
0.013867807574570179,
0.011698243208229542,
0.04244936257600784,
-0.02903270348906517,
0.019013410434126854,
0.03372590243816376,
0.02647450938820839,
0.01613754592835903,
0.010723763145506382,
0.0103767616674304,
0.021622197702527046,
0.021163268014788628,
-0.01995253749191761,
0.028059249743819237,
0.0623885914683342,
0.008419469930231571,
0.03485414385795593,
0.017436856403946877,
0.009390597231686115,
-0.16804702579975128,
0.046852730214595795,
-7.425546386266542e-33,
0.03931194543838501,
-0.021860137581825256,
-0.017252102494239807,
0.0025124161038547754,
0.017718739807605743,
0.0029688638169318438,
0.01425214298069477,
0.018258413299918175,
-0.01848152093589306,
-0.01563958451151848,
-0.0012780212564393878,
0.012979716062545776,
0.0008467173902317882,
-0.021387912333011627,
0.022143449634313583,
-0.028173474594950676,
0.0015516813145950437,
0.04060961678624153,
0.013167845085263252,
0.01720516011118889,
0.04944312199950218,
0.037462104111909866,
-0.03205152228474617,
-0.011684447526931763,
0.006612814962863922,
0.01874133013188839,
0.029085826128721237,
-0.034203849732875824,
-0.005459109786897898,
-0.030384797602891922,
-0.03157668933272362,
0.01960824802517891,
-0.014689916744828224,
-0.01772150956094265,
-0.037664636969566345,
-0.0209409948438406,
-0.000584942230489105,
0.008296258747577667,
-0.03183876723051071,
-0.08110447973012924,
-0.01338974293321371,
0.0031902468763291836,
-0.044809408485889435,
-0.035182055085897446,
-0.0033116366248577833,
-0.019264763221144676,
0.025837836787104607,
-0.004851426929235458,
0.021158521994948387,
0.021831899881362915,
-0.008899522945284843,
-0.001561434823088348,
0.02585916593670845,
0.049362216144800186,
-0.017332790419459343,
-0.014522135257720947,
-0.011662760749459267,
0.016256066039204597,
0.01186644658446312,
0.02140684425830841,
-0.014082611538469791,
0.007301015313714743,
-0.030031729489564896,
0.04167661815881729,
-0.02842838689684868,
-0.028922637924551964,
0.03289356455206871,
-0.021083375439047813,
0.055654264986515045,
-0.006248210556805134,
-0.07626964151859283,
0.007565672975033522,
-0.006435466464608908,
-0.0033664610236883163,
-0.03585268557071686,
-0.014077027328312397,
0.008105645887553692,
0.0525178536772728,
-0.016725409775972366,
0.056268591433763504,
0.02717079035937786,
-0.013720233924686909,
-0.020385930314660072,
-0.03725668787956238,
-0.012311574071645737,
0.03981640189886093,
0.019653894007205963,
-0.0015110591193661094,
-0.04786023125052452,
0.030416011810302734,
0.0021969592198729515,
-0.012189721688628197,
0.028589989989995956,
-0.005539609584957361,
0.0016619403613731265,
7.637913399738004e-33,
-0.01236914936453104,
-0.023478353396058083,
-0.03382038325071335,
0.002834753366187215,
0.03454846143722534,
0.0019315974786877632,
0.018667034804821014,
-0.012967870570719242,
-0.06279348582029343,
-0.01100696437060833,
-0.03811969608068466,
-0.03789930418133736,
-0.010747364722192287,
0.04058998078107834,
0.04508737102150917,
-0.022501135244965553,
0.008935552090406418,
0.006619471125304699,
0.017765652388334274,
0.0254232008010149,
0.019635876640677452,
0.02835082821547985,
0.00030198373133316636,
-0.004595712758600712,
0.02196172997355461,
0.058724209666252136,
-0.023791123181581497,
0.025521496310830116,
0.0015000689309090376,
0.009379017166793346,
-0.013300705701112747,
-0.008090132847428322,
0.009924137033522129,
-0.002598249353468418,
-0.033391039818525314,
0.001844610320404172,
-0.028608059510588646,
-0.0038240018766373396,
0.0006752126500941813,
0.020021570846438408,
0.041643980890512466,
-0.004092059563845396,
0.0032056665513664484,
0.03894374519586563,
-0.0044623129069805145,
0.03151361644268036,
-0.028888754546642303,
-0.028139635920524597,
-0.03790443763136864,
0.014399227686226368,
-0.0026092776097357273,
0.016941938549280167,
-0.022906113415956497,
-0.02865893580019474,
0.003262813203036785,
-0.04444648697972298,
-0.019022636115550995,
-0.021349811926484108,
-0.03295134752988815,
0.036120157688856125,
0.009285783395171165,
0.008216607384383678,
-0.006769205909222364,
0.011782873421907425,
-0.014050830155611038,
-0.0006801817798987031,
-0.029372895136475563,
0.006320666987448931,
-0.01968889683485031,
-0.00582888862118125,
-0.003150743432343006,
0.014778121374547482,
0.005560644902288914,
0.038550104945898056,
0.03745903819799423,
-0.028679804876446724,
-0.035943422466516495,
0.015863604843616486,
-0.01842671073973179,
0.026037447154521942,
-0.010006112046539783,
-0.001015565707348287,
0.0133639145642519,
0.010593770071864128,
0.0032685352489352226,
0.03515598550438881,
-0.01353146880865097,
0.016786443069577217,
-0.006038065068423748,
-0.0004888434195891023,
0.004034707788378,
-0.020443769171833992,
0.0135649424046278,
0.005385188851505518,
-0.015337811782956123,
-1.3146926214346877e-8,
-0.01670226827263832,
-0.012548604980111122,
-0.00230261217802763,
0.03786403313279152,
0.011996423825621605,
0.010219554416835308,
-0.021510034799575806,
0.012548754923045635,
-0.010019296780228615,
0.030284782871603966,
0.06348660588264465,
-0.014121931977570057,
-0.020411228761076927,
0.016708850860595703,
0.033362165093421936,
-0.03061213344335556,
-0.035698797553777695,
0.0019780497532337904,
0.03211401775479317,
0.013503745198249817,
0.035040829330682755,
0.042525000870227814,
-0.01255835872143507,
-0.015900082886219025,
-0.03051009401679039,
0.0108270775526762,
-0.021554460749030113,
-0.06258942186832428,
-0.019763289019465446,
-0.030776474624872208,
-0.0007269266061484814,
-0.03032767027616501,
-0.04348645359277725,
0.04723319411277771,
-0.04488552361726761,
-0.046324748545885086,
-0.00511945178732276,
-0.0015635634772479534,
0.003565811086446047,
-0.0014645690098404884,
0.009151932783424854,
-0.007575565483421087,
0.0061641875654459,
-0.024527277797460556,
-0.041405946016311646,
0.02096482552587986,
-0.020158665254712105,
-0.03583196550607681,
0.04491783678531647,
-0.042320895940065384,
-0.01734546571969986,
-0.015111264772713184,
0.005112134385854006,
0.03104538284242153,
0.01025631558150053,
0.009592953138053417,
0.0005803662934340537,
-0.002146766986697912,
-0.04497282952070236,
0.0005191572126932442,
0.013940448872745037,
0.01851053349673748,
-0.03907197341322899,
-0.023069076240062714
] | xp2010-coding-dojo-open-space | https://markhneedham.com/blog/2010/06/04/xp2010-coding-dojo-open-space |
false | 2010-06-20 22:37:32 | Coding: Controlled Technical Debt | [
"coding"
] | [
"Coding"
] | A couple of months ago I wrote about http://www.markhneedham.com/blog/2010/04/14/agile-slimming-down-stories/[an approach to stories] that Christian has been encouraging on our project whereby we slim stories down to allow us to deliver the core functionality of the application as quickly as possible.
In our case we had a requirement to setup a range of different parameters used to lookup reference data used in the different calculations that we have in our application.
At the time we created an interface that the rest of the application would interact with so that we could easily substitute the real version in when we needed to:+++<center>+++image:{{<siteurl>}}/uploads/2010/06/technicaldebt.jpg[technicaldebt.jpg,514]+++</center>+++
We released the first version of the application about a month ago and finally last week implemented the story where the data would move from being in memory to being in a database table.
One of the requirements which we had delayed by only having these parameters in memory was the ability to easily modify them.
Any changes that needed to be made required an update of the code and then redeployment whereas with the database approach we would only have needed to deploy a delta script.
In the event there has only been one occasion so far where those parameters needed to be updated so it hasn't proved to be a problem.
Discussing this with a colleague on Friday he pointed out that what we'd done originally was to accept technical debt in our solution knowing that at some stage in the future we would need to address that.
The interesting thing about this case was that *we knew exactly when we were going to repay that debt* whereas it's often the case that we create technical debt in a code base and vaguely know that at some stage we'll address it.
As Martin Fowler points out in http://www.martinfowler.com/bliki/TechnicalDebt.html[his entry on technical debt]:
____
Just as a business incurs some debt to take advantage of a market opportunity developers may incur technical debt to hit an important deadline.
____
We probably saved at least a day's worth of effort by delaying this decision and were able to work on functionality that the business needed by the deadline instead. We then paid back that debt last week when we had more slack in the system.
The benefits of getting something into the market place quickly are much greater than I previously imagined and I think we can look at our assumptions of how a solution 'needs' to be designed much more closely to see if we can make these trade offs more frequently. | null | null | [
0.016872506588697433,
0.007174768950790167,
0.004513941705226898,
0.049158092588186264,
0.10466042160987854,
0.01997191272675991,
0.0012681501684710383,
0.04000858962535858,
0.005034577567130327,
-0.015973538160324097,
-0.03498956188559532,
0.0085651446133852,
-0.058762528002262115,
0.013020562008023262,
-0.03870999440550804,
0.07056956738233566,
0.05881268158555031,
0.00008756000897847116,
0.03038046322762966,
-0.012351247482001781,
0.028991660103201866,
0.08172827959060669,
0.019429771229624748,
0.03433581441640854,
0.021710414439439774,
0.021656423807144165,
0.0005437910440377891,
-0.018792416900396347,
-0.06947015970945358,
-0.008879639208316803,
0.03672345355153084,
-0.0004022146749775857,
-0.0018885621102526784,
0.0004206843441352248,
0.026259977370500565,
-0.008054319769144058,
-0.002208068734034896,
0.040662821382284164,
-0.030621200799942017,
0.006681521888822317,
-0.07735370099544525,
0.0513492114841938,
-0.021087119355797768,
0.011013076640665531,
-0.035446666181087494,
0.0016949736746028066,
-0.03062150999903679,
-0.014160960912704468,
-0.012975265271961689,
-0.019989777356386185,
-0.0618189312517643,
0.035459406673908234,
-0.020150000229477882,
-0.010023548267781734,
-0.015551459975540638,
0.05291622132062912,
-0.009986881166696548,
-0.07252216339111328,
-0.001185634289868176,
-0.03279092162847519,
-0.013352794572710991,
-0.017969399690628052,
-0.007366909179836512,
0.0331052727997303,
0.020374903455376625,
-0.036524757742881775,
-0.0032268462236970663,
0.03259114548563957,
-0.0334625169634819,
-0.0005026853177696466,
0.002647627145051956,
0.014972133561968803,
-0.020735377445816994,
-0.012010342441499233,
0.007337980438023806,
-0.049697909504175186,
-0.005758531391620636,
0.06675782054662704,
0.02171963080763817,
0.04403658211231232,
-0.02296278066933155,
0.020269615575671196,
0.00113868888001889,
0.024709045886993408,
-0.023827295750379562,
-0.05608762800693512,
0.00125843973364681,
-0.024906542152166367,
-0.05469422787427902,
0.0596221387386322,
0.03694640472531319,
-0.06306484341621399,
0.02889510802924633,
0.04758746922016144,
-0.005746907088905573,
0.016175279393792152,
0.02275603637099266,
0.012009036727249622,
0.009933601133525372,
-0.007583038881421089,
-0.039679259061813354,
-0.017995012924075127,
0.00842038169503212,
0.015073956921696663,
-0.07252834737300873,
-0.0024733354803174734,
-0.0534534752368927,
-0.017545979470014572,
-0.0020242645405232906,
-0.005028553307056427,
-0.014864496886730194,
0.03116847202181816,
-0.03013155609369278,
-0.002675980096682906,
-0.07340804487466812,
0.06722656637430191,
-0.004521163180470467,
-0.05730465427041054,
-0.027066409587860107,
-0.014203702099621296,
0.0480387918651104,
0.0246417298913002,
-0.017724335193634033,
0.07012418657541275,
0.01736440882086754,
0.010215220972895622,
0.008181658573448658,
0.04710017517209053,
-0.027938567101955414,
-0.05233675241470337,
-0.0043870555236935616,
0.06146419793367386,
-0.029094120487570763,
-0.018458625301718712,
-0.00014850409934297204,
-0.0124732106924057,
-0.006503116339445114,
-0.0073624649085104465,
0.03443817421793938,
0.022424371913075447,
-0.006211713422089815,
-0.03133039176464081,
-0.015159649774432182,
0.03982660546898842,
0.02579542063176632,
-0.002127099083736539,
0.01009554322808981,
-0.030412808060646057,
-0.05341588705778122,
-0.006138251628726721,
0.008431816473603249,
0.0068922266364097595,
0.034749586135149,
-0.038727883249521255,
0.025980524718761444,
0.09636522084474564,
0.02106436900794506,
0.0007282194565050304,
-0.012587322853505611,
0.0348125658929348,
0.04084882140159607,
0.04056096076965332,
0.008614408783614635,
0.016312917694449425,
0.012138140387833118,
-0.004495649132877588,
-0.0005578023265115917,
0.028836248442530632,
0.003169598523527384,
0.0005312430439516902,
-0.05461280420422554,
-0.03242243826389313,
0.06443782895803452,
-0.03241748362779617,
-0.0406176894903183,
0.050194382667541504,
0.07737889140844345,
0.047881919890642166,
0.022039271891117096,
0.00767242768779397,
-0.07888969779014587,
0.024936843663454056,
0.02877505123615265,
0.008683267049491405,
0.02988050878047943,
-0.01644224300980568,
0.058437246829271317,
0.024845313280820847,
0.010789199732244015,
0.021874066442251205,
-0.08605998009443283,
-0.08864571154117584,
-0.022811690345406532,
-0.005449637770652771,
0.04267527535557747,
-0.03895467519760132,
0.01769043691456318,
0.07328691333532333,
0.011759459972381592,
0.062453653663396835,
0.01836545765399933,
0.015269231051206589,
0.00784016028046608,
-0.04227062687277794,
-0.03288167715072632,
0.0369836799800396,
0.04543511942028999,
0.009518235921859741,
-0.060095373541116714,
0.031638529151678085,
-0.012640784494578838,
0.00615558959543705,
0.02920963428914547,
-0.026912476867437363,
0.036352433264255524,
0.010270760394632816,
0.04504016786813736,
-0.029637256637215614,
0.04232978820800781,
-0.06501445919275284,
0.004999256227165461,
0.006562318652868271,
-0.031132878735661507,
0.02298365905880928,
0.001688408083282411,
0.10153338313102722,
0.05265849456191063,
-0.062027402222156525,
-0.038167376071214676,
0.02412937767803669,
0.013286812230944633,
-0.04685233533382416,
-0.0074654435738921165,
-0.031417373567819595,
0.02860245667397976,
-0.005259733181446791,
-0.056553591042757034,
-0.04735748842358589,
0.01950342021882534,
-0.037171270698308945,
0.03882622718811035,
0.04879610985517502,
-0.012960106134414673,
0.06310990452766418,
0.0011211801320314407,
-0.005428891163319349,
-0.006017728243023157,
-0.019689008593559265,
-0.06155557557940483,
-0.0005613663233816624,
0.017296673730015755,
-0.018493546172976494,
0.04192245379090309,
-0.02012522518634796,
-0.028692716732621193,
-0.041316282004117966,
-0.03940555453300476,
0.019584598019719124,
0.02768896147608757,
0.07039747387170792,
-0.007776692975312471,
0.06399188935756683,
-0.007790777366608381,
0.024417070671916008,
-0.006167181301862001,
-0.029760092496871948,
-0.04272840544581413,
-0.022547079250216484,
0.003996219020336866,
0.04532795771956444,
0.01820717193186283,
0.010422526858747005,
0.013073049485683441,
0.014319092966616154,
0.0035127312876284122,
-0.027219712734222412,
0.05084461718797684,
-0.008528157137334347,
-0.017630955204367638,
-0.032499175518751144,
-0.014860348775982857,
0.05099186673760414,
-0.04659213125705719,
-0.017402689903974533,
0.015270199626684189,
-0.07548242062330246,
0.03914903849363327,
-0.052372485399246216,
-0.03814614564180374,
0.003335851477459073,
-0.00017010653391480446,
0.03757142275571823,
0.001534698880277574,
0.030537134036421776,
0.06768496334552765,
0.01638215035200119,
0.002903918270021677,
-0.01710798405110836,
0.007916289381682873,
0.025197573006153107,
0.01550942100584507,
-0.0058067976497113705,
0.04980233311653137,
0.01735224761068821,
0.011906622909009457,
-0.07183510065078735,
0.04657626524567604,
-0.02713560312986374,
-0.2988852858543396,
0.04067043960094452,
0.0020099433604627848,
-0.05715058743953705,
0.019690677523612976,
0.0070143104530870914,
0.011834624223411083,
-0.0466729961335659,
-0.02193901501595974,
0.011296980082988739,
-0.04887573421001434,
-0.034986890852451324,
-0.015779584646224976,
0.043601393699645996,
0.021949810907244682,
0.032677870243787766,
0.053749993443489075,
-0.02038208767771721,
0.0049757142551243305,
0.0499439500272274,
-0.0029991164337843657,
-0.07576464861631393,
0.010102045722305775,
0.032122865319252014,
0.034027136862277985,
0.06707635521888733,
-0.072121262550354,
0.041838519275188446,
-0.050072167068719864,
-0.0180362556129694,
0.020810304209589958,
0.006199181545525789,
0.027616940438747406,
-0.02215702086687088,
-0.03099692240357399,
-0.010232333093881607,
0.03719598427414894,
0.02116258628666401,
0.010766658000648022,
-0.016707774251699448,
-0.007140026427805424,
-0.031551625579595566,
-0.006437969394028187,
0.03667515888810158,
0.08156844973564148,
-0.0087294802069664,
-0.08529028296470642,
0.016409261152148247,
-0.019737333059310913,
0.07130380719900131,
-0.021226076409220695,
-0.021527834236621857,
-0.016244985163211823,
0.053998809307813644,
-0.014990014024078846,
-0.02413894422352314,
-0.008837963454425335,
-0.027774712070822716,
-0.03148838132619858,
-0.005253248382359743,
0.012297539040446281,
-0.03314482793211937,
-0.02009195275604725,
-0.041382960975170135,
0.0035598252434283495,
-0.0669894888997078,
-0.04600488767027855,
-0.01007647905498743,
0.07761485129594803,
0.010485743172466755,
-0.020530711859464645,
0.013703127391636372,
0.017849428579211235,
-0.10729563236236572,
0.005041535012423992,
-0.008811479434370995,
-0.034157104790210724,
0.015171640552580357,
-0.005907983984798193,
0.03001762181520462,
-0.024121390655636787,
-0.058859918266534805,
0.02768538147211075,
-0.0029355455189943314,
0.020172348245978355,
-0.035988762974739075,
0.034535858780145645,
0.03026987984776497,
-0.03129555284976959,
0.017320262268185616,
0.05986896902322769,
-0.017639363184571266,
-0.017784282565116882,
-0.015569503419101238,
0.007502279244363308,
-0.0058170463889837265,
0.019329290837049484,
-0.001112601486966014,
0.010346779599785805,
0.03646398335695267,
-0.0009100254974327981,
-0.04955923929810524,
0.03495187312364578,
-0.03277764469385147,
-0.007487931288778782,
-0.01386118121445179,
-0.028049102053046227,
0.009359036572277546,
0.02749013900756836,
0.046903710812330246,
0.002536538988351822,
-0.020714089274406433,
0.006479108706116676,
-0.06835620105266571,
-0.05653386563062668,
0.0030302461236715317,
0.002003128407523036,
0.03662814572453499,
-0.015534104779362679,
-0.015338868834078312,
-0.056957900524139404,
0.00218939664773643,
-0.0019727738108485937,
0.003611290128901601,
-0.05136311426758766,
-0.012078966945409775,
-0.030413296073675156,
-0.007174888625741005,
0.02566307596862316,
0.02375110797584057,
-0.019647130742669106,
0.01575629599392414,
-0.0007693681982345879,
-0.04867939278483391,
0.01295149140059948,
-0.030182473361492157,
-0.04269089922308922,
-0.033752746880054474,
0.01810762844979763,
-0.01978703960776329,
0.0001650829944992438,
0.041948601603507996,
0.006362876854836941,
0.021960485726594925,
0.04021505266427994,
0.006299776956439018,
0.025929607450962067,
0.0007605477585457265,
0.029825575649738312,
0.013226151466369629,
-0.009820811450481415,
-0.05636373534798622,
0.026003900915384293,
-0.041847970336675644,
-0.030109943822026253,
-0.029968589544296265,
0.037101034075021744,
-0.01895357482135296,
-0.005599802825599909,
-0.00841417908668518,
-0.004780982155352831,
-0.05393330752849579,
-0.03875301405787468,
-0.01046435534954071,
0.015399039722979069,
0.05473542958498001,
-0.008739963173866272,
0.012535488232970238,
-0.0017153413500636816,
0.00583491288125515,
-0.011613771319389343,
0.019202882423996925,
-0.05327099189162254,
0.0017177214613184333,
0.022174175828695297,
-0.01208800170570612,
0.004241975490003824,
-0.003121846355497837,
0.04243091121315956,
0.029189953580498695,
-0.008444027043879032,
-0.028458986431360245,
0.005647001788020134,
0.0237582940608263,
0.03824163228273392,
0.020146483555436134,
-0.008034778758883476,
0.018254633992910385,
-0.027317579835653305,
-0.03233786299824715,
-0.0481274351477623,
-0.006014286074787378,
0.0020954804494976997,
0.006200270727276802,
-0.01605382189154625,
-0.08701854944229126,
0.05430259928107262,
0.005944555625319481,
0.02291077934205532,
0.014815988019108772,
-0.00424865260720253,
0.002371766371652484,
-0.02443622052669525,
0.04091626778244972,
0.05873178690671921,
-0.05760737136006355,
0.010016045533120632,
-0.016535287722945213,
0.02063882164657116,
0.00927475094795227,
-0.006484318058937788,
-0.02870352379977703,
-0.02411685325205326,
-0.0029990586917847395,
0.012579873204231262,
-0.07515106350183487,
-0.0032447760459035635,
-0.016294676810503006,
0.0003335026849526912,
-0.0014755397569388151,
-0.016529293730854988,
-0.011435277760028839,
-0.01096874289214611,
-0.011999254114925861,
-0.019995838403701782,
0.01449495181441307,
-0.02759876847267151,
-0.00942727830260992,
-0.014915918000042439,
-0.030728664249181747,
-0.017022890970110893,
-0.04935864359140396,
-0.004427957348525524,
0.019087014719843864,
-0.025085140019655228,
0.011420992203056812,
-0.026813112199306488,
-0.0013571957824751735,
0.0067340605892241,
0.04176110029220581,
-0.022216830402612686,
-0.023323064669966698,
-0.012455957941710949,
-0.00429715309292078,
-0.04162588715553284,
0.033444613218307495,
-0.018773216754198074,
-0.0026632328517735004,
0.024564141407608986,
0.056656934320926666,
0.008005213923752308,
0.040235329419374466,
-0.01901690475642681,
-0.01729213446378708,
0.04191725701093674,
-0.06742680817842484,
-0.02761468105018139,
-0.04657359793782234,
-0.05725971981883049,
-0.007447586394846439,
0.017647452652454376,
0.0357690155506134,
-0.0631185919046402,
0.0455438494682312,
0.03182229772210121,
0.031234774738550186,
0.04738429933786392,
0.011455419473350048,
0.04166705533862114,
-0.046237315982580185,
-0.019975604489445686,
-0.07464012503623962,
-0.0020212270319461823,
0.025304939597845078,
0.015238613821566105,
-0.0016109873540699482,
0.018925607204437256,
-0.04022512212395668,
0.015668220818042755,
-0.06784427165985107,
-0.02981642633676529,
0.04328093305230141,
-0.015004752203822136,
-0.023706872016191483,
0.024441715329885483,
-0.06864824891090393,
0.03086160123348236,
0.03007379174232483,
-0.04309976100921631,
-0.037763986736536026,
-0.0036426763981580734,
0.052181556820869446,
-0.002747360384091735,
0.033172108232975006,
-0.05154183506965637,
-0.010446122847497463,
0.07406400889158249,
0.014064885675907135,
0.008902891539037228,
0.04879509657621384,
0.0018677737098187208,
0.026131324470043182,
0.035845935344696045,
0.01392723061144352,
-0.007329744752496481,
0.004456347785890102,
-0.009062085300683975,
-0.06500550359487534,
0.0197900403290987,
0.008585285395383835,
-0.018702369183301926,
-0.025014927610754967,
0.05229862406849861,
0.025438467040657997,
-0.003227910725399852,
-0.06147703900933266,
0.013232804834842682,
-0.04878944158554077,
0.0032244648318737745,
-0.029045218601822853,
-0.004781276453286409,
-0.06026705354452133,
0.04447539895772934,
0.0007006334490142763,
0.007858802564442158,
0.07620687782764435,
0.01402145717293024,
0.008430528454482555,
-0.018544809892773628,
0.07436983287334442,
0.07290825992822647,
0.06181037425994873,
0.019615942612290382,
0.064304418861866,
-0.02463385835289955,
-0.041403040289878845,
0.020575815811753273,
-0.015208706259727478,
-0.012376151047647,
-0.03590288385748863,
0.004162946250289679,
0.06149302050471306,
-0.017700718715786934,
0.06752155721187592,
-0.01929626613855362,
-0.018534701317548752,
-0.003963098395615816,
0.049052875488996506,
0.016402490437030792,
0.07045299559831619,
-0.004061022773385048,
0.004724842496216297,
-0.02309744991362095,
-0.045265696942806244,
0.022482464089989662,
-0.03625589981675148,
-0.037866853177547455,
0.041397854685783386,
0.0042681037448346615,
0.041313543915748596,
0.0018633778672665358,
0.027062704786658287,
0.07974126935005188,
-0.04991917312145233,
0.012657154351472855,
-0.02781074307858944,
0.025966627523303032,
-0.0102514224126935,
0.03657517582178116,
-0.03284475952386856,
-0.009110650047659874,
0.014994844794273376,
-0.014245493337512016,
-0.015086657367646694,
-0.008870978839695454,
-0.024037685245275497,
0.04876513406634331,
-0.028628334403038025,
-0.0010559342335909605,
0.03022877313196659,
-0.0009621247882023454,
-0.05976249277591705,
-0.06624608486890793,
-0.03353579342365265,
-0.03665395453572273,
-0.0770321786403656,
0.0070758783258497715,
0.0410601831972599,
0.017134906724095345,
-0.04665860906243324,
-0.005736310034990311,
-0.03244327753782272,
-0.039786625653505325,
0.04802170395851135,
-0.047183405607938766,
-0.020969577133655548,
0.0064262947998940945,
0.02432449907064438,
0.008716967888176441,
0.015939861536026,
0.04144013673067093,
-0.016284402459859848,
-0.019756082445383072,
-0.022224249318242073,
0.0438612699508667,
0.025075092911720276,
0.015165513381361961,
0.00582429813221097,
-0.075905941426754,
0.036154720932245255,
0.04193449392914772,
-0.02114298939704895,
-0.07223045825958252,
0.040566518902778625,
0.006525398697704077,
-0.024785712361335754,
0.061598051339387894,
-0.0334506556391716,
0.014828003942966461,
-0.04569202661514282,
-0.012198692187666893,
0.009523392654955387,
0.004821341950446367,
0.03388227894902229,
-0.02667194977402687,
0.09629731625318527,
0.04246266186237335,
-0.003866886720061302,
-0.05254834145307541,
0.002992648398503661,
0.005047070328146219,
0.001570113585330546,
-0.0008960216073319316,
-0.037621840834617615,
-0.03255324065685272,
-0.07996504753828049,
-0.0319601371884346,
0.02602193132042885,
-0.03359818086028099,
-0.04066504165530205,
0.04183407127857208,
0.018188990652561188,
-0.03442329168319702,
0.0046340604312717915,
-0.04463403671979904,
0.0409003347158432,
-0.02983979508280754,
-0.01452100183814764,
-0.017595138400793076,
0.003542544087395072,
0.025575103238224983,
-0.002522073220461607,
0.0060188909992575645,
-0.05749393627047539,
0.005503783468157053,
0.008175380527973175,
0.015071401372551918,
0.03808647394180298,
0.027211487293243408,
-0.002492977073416114
] | [
-0.08816148340702057,
-0.010702342726290226,
-0.03460892289876938,
-0.02845621667802334,
0.035498011857271194,
-0.0351155586540699,
-0.03083678148686886,
0.0273802038282156,
-0.008208347484469414,
-0.018877027556300163,
0.02762008272111416,
0.0032275361008942127,
0.0014364586677402258,
-0.014758620411157608,
0.07564598321914673,
0.018503446131944656,
-0.0034229292068630457,
-0.08186326920986176,
0.008809872902929783,
0.0356406606733799,
0.009791362099349499,
-0.055263422429561615,
-0.024151520803570747,
-0.014438589103519917,
0.025818107649683952,
0.00403799582272768,
0.017210176214575768,
-0.037073832005262375,
-0.008284948766231537,
-0.17770156264305115,
0.015770049765706062,
0.017956852912902832,
0.044550202786922455,
-0.01898026093840599,
0.029494764283299446,
0.0643354281783104,
0.009164013899862766,
0.026266587898135185,
-0.01470380462706089,
0.0398300401866436,
0.012784050777554512,
0.03160276636481285,
-0.061759088188409805,
-0.035634055733680725,
0.03159739077091217,
-0.0010767673375084996,
0.01982133463025093,
-0.03090585395693779,
-0.0048585087060928345,
0.02977951616048813,
-0.06032884493470192,
-0.01228337176144123,
-0.017697004601359367,
-0.023875506594777107,
-0.02800120785832405,
0.03773098066449165,
0.025974927470088005,
0.08166446536779404,
0.014392492361366749,
0.015328346751630306,
0.019623275846242905,
-0.028271280229091644,
-0.12525127828121185,
0.06514856219291687,
0.046991635113954544,
0.05651123449206352,
-0.03936697542667389,
-0.021370863541960716,
-0.010057847015559673,
0.08550974726676941,
0.029625844210386276,
-0.025913938879966736,
-0.01866910234093666,
0.0516185499727726,
0.011725928634405136,
-0.00972357764840126,
0.026773756369948387,
0.02411617338657379,
0.0032555563375353813,
-0.05189032480120659,
-0.029544781893491745,
-0.0032702761236578226,
-0.024073109030723572,
0.004416801035404205,
-0.08013208210468292,
0.0055463481694459915,
-0.0056543718092143536,
0.0524245984852314,
0.04666205495595932,
0.014655448496341705,
0.06050841137766838,
-0.01402054913341999,
0.048433929681777954,
-0.005453458055853844,
-0.10943175107240677,
0.0026525130961090326,
-0.011842930689454079,
0.021194450557231903,
-0.059277862310409546,
0.4561130702495575,
0.007821190170943737,
-0.014976275153458118,
0.0643736943602562,
0.032345838844776154,
0.014670326374471188,
-0.00173148512840271,
0.015198295935988426,
-0.03103371523320675,
0.029501667246222496,
-0.03179408237338066,
0.02036382630467415,
0.029246237128973007,
0.08819299936294556,
-0.03391570970416069,
0.011061115190386772,
0.035770200192928314,
-0.015577206388115883,
0.007746430579572916,
-0.014383415691554546,
-0.0010000780457630754,
-0.026529012247920036,
0.029331902042031288,
0.0022870178800076246,
0.00032942515099421144,
-0.03830021992325783,
-0.03128531947731972,
0.0311364084482193,
0.044840797781944275,
0.018552614375948906,
-0.010595851577818394,
0.04439147934317589,
-0.05379578471183777,
-0.07975177466869354,
0.004169364459812641,
0.004718875978142023,
-0.00013623200356960297,
0.02197612263262272,
-0.02495071478188038,
0.006654748227447271,
0.034254007041454315,
-0.016203241422772408,
-0.010798637755215168,
-0.01390193123370409,
-0.024729477241635323,
-0.05799095332622528,
0.11475145816802979,
0.06269614398479462,
-0.032473064959049225,
-0.013341022655367851,
-0.057887572795152664,
0.0012064282782375813,
0.0266485046595335,
0.0363035574555397,
-0.06830529868602753,
0.02728736400604248,
0.0027052080258727074,
0.09185697883367538,
-0.001510275644250214,
-0.061650652438402176,
0.009202562272548676,
-0.009307876229286194,
-0.02879207581281662,
-0.05854044482111931,
0.053731631487607956,
0.0660838931798935,
-0.1224389597773552,
-0.013198346830904484,
0.017875095829367638,
0.053943995386362076,
-0.041497860103845596,
-0.012574979104101658,
0.01519953366369009,
-0.021714048460125923,
-0.0331631675362587,
0.06488027423620224,
-0.037629738450050354,
-0.04801882058382034,
0.005813129246234894,
0.036621760576963425,
0.019520973786711693,
0.00806029886007309,
-0.004952266346663237,
-0.02579197846353054,
0.005976452026516199,
-0.04399704188108444,
-0.09542638808488846,
-0.0452474020421505,
-0.008192146196961403,
-0.02147379145026207,
-0.00697289127856493,
-0.02630363032221794,
-0.020884772762656212,
-0.06796877831220627,
0.10670116543769836,
-0.036202069371938705,
-0.04585827887058258,
0.016928525641560555,
0.002732288558036089,
-0.042009271681308746,
-0.026090312749147415,
-0.04526994377374649,
0.020610271021723747,
-0.04245341941714287,
0.032974570989608765,
-0.05532475933432579,
0.04613400623202324,
0.03530479222536087,
-0.04892837256193161,
0.09362226724624634,
0.05720606818795204,
-0.010975219309329987,
-0.018131252378225327,
0.02851301059126854,
0.03040001168847084,
0.0006609988049603999,
0.005926358979195356,
0.0052129789255559444,
0.015529044903814793,
0.010660262778401375,
0.01642449013888836,
-0.022494859993457794,
0.004723283462226391,
0.004790186882019043,
-0.3576916456222534,
-0.05082063749432564,
-0.04962486773729324,
-0.018941324204206467,
0.007861350663006306,
-0.04643915221095085,
0.023673420771956444,
-0.030113141983747482,
-0.03455248847603798,
-0.007506127469241619,
0.06607107818126678,
-0.04378925636410713,
0.016956275328993797,
-0.08419730514287949,
0.00812555942684412,
-0.013918169774115086,
-0.04204870015382767,
-0.024982919916510582,
-0.032973211258649826,
0.0012661938089877367,
-0.0012320926180109382,
-0.01055594440549612,
-0.04580944404006004,
-0.0472203828394413,
0.0037103246431797743,
-0.03147384896874428,
0.09963136911392212,
-0.010900137946009636,
0.08259528130292892,
-0.027195822447538376,
0.023201802745461464,
-0.00003480819214018993,
0.04030737653374672,
-0.1069139838218689,
0.015238024294376373,
-0.01303586084395647,
0.017283791676163673,
-0.018834883347153664,
0.006070130039006472,
-0.03525439649820328,
-0.07577981799840927,
0.014146259054541588,
-0.05288255587220192,
-0.039417918771505356,
-0.05943537876009941,
0.016917940229177475,
-0.03092663548886776,
-0.02327796071767807,
-0.010436455719172955,
0.08510643988847733,
0.021742358803749084,
-0.012575075030326843,
0.014285651035606861,
0.007009117864072323,
0.04112379997968674,
-0.049451276659965515,
-0.07781852781772614,
0.04044150933623314,
0.025529831647872925,
-0.011105271056294441,
0.039387769997119904,
0.04332943633198738,
0.030994120985269547,
-0.023692240938544273,
0.01236733142286539,
-0.00043912921682931483,
0.012188727036118507,
0.0000885996560100466,
0.014923952519893646,
-0.03582340106368065,
0.00033624007483012974,
0.08524616062641144,
-0.007738685235381126,
-0.019528347998857498,
0.01741691678762436,
0.03658989071846008,
-0.011656543239951134,
0.014943340793251991,
0.018276916816830635,
-0.014855874702334404,
0.028429780155420303,
-0.00548018841072917,
0.03399122133851051,
-0.020255956798791885,
-0.02147565968334675,
0.03374334052205086,
0.004437961615622044,
-0.036534857004880905,
0.0483863390982151,
0.0239064022898674,
-0.02730698324739933,
-0.0006213122978806496,
-0.04476547613739967,
-0.04502265527844429,
0.09922121465206146,
-0.005196182522922754,
-0.23331795632839203,
0.017778540030121803,
0.05915256217122078,
0.0140833156183362,
0.008356866426765919,
0.0591125451028347,
0.046525172889232635,
-0.015070144087076187,
0.03538123518228531,
0.03291943669319153,
0.005617808550596237,
0.014979115687310696,
0.013536184094846249,
-0.004487689584493637,
0.04428885877132416,
-0.02841944247484207,
0.03369896113872528,
-0.007011118810623884,
0.0036115588154643774,
-0.01315215602517128,
0.026642249897122383,
-0.0047003417275846004,
0.14222803711891174,
0.003795008175075054,
0.0007530796574428678,
0.03239389881491661,
-0.011373043060302734,
0.019694333896040916,
0.0653739795088768,
0.015156522393226624,
0.005952374078333378,
0.020239537581801414,
0.013909388333559036,
0.001963948365300894,
0.008657122030854225,
-0.08353285491466522,
-0.023838592693209648,
0.04331948608160019,
0.01193466316908598,
0.01657991297543049,
-0.0033574600238353014,
0.0098161231726408,
-0.006121015641838312,
0.027968745678663254,
0.06076854467391968,
0.03543126583099365,
-0.0026848725974559784,
-0.040461912751197815,
-0.0376632884144783,
-0.0068333507515490055,
-0.04320370405912399,
-0.042523015290498734,
0.022549722343683243,
-0.027774324640631676,
0.018851900473237038,
0.08940518647432327,
0.011653953231871128,
-0.0173279270529747,
0.01923505961894989,
-0.004456895403563976,
-0.02056952938437462,
-0.008175435476005077,
0.07725207507610321,
0.01834172010421753,
0.031046954914927483
] | [
-0.00670834444463253,
0.020672913640737534,
0.005247985944151878,
0.016985280439257622,
-0.019690999761223793,
-0.015036181546747684,
0.014689791016280651,
0.039429325610399246,
0.0001478985941503197,
0.008299916982650757,
-0.001161308609880507,
0.0019054472213611007,
0.04987498000264168,
-0.015530074946582317,
0.005293931812047958,
-0.020598620176315308,
-0.008874412626028061,
-0.009465833194553852,
0.013785536400973797,
0.009152742102742195,
-0.006384709849953651,
0.026664331555366516,
-0.017544236034154892,
-0.0005224233027547598,
-0.005242832936346531,
-0.008514026179909706,
-0.004044089466333389,
-0.019891949370503426,
0.03617667034268379,
-0.1452970951795578,
-0.03125104680657387,
-0.010245684534311295,
-0.004949318710714579,
0.004578213207423687,
0.022098753601312637,
0.013775266706943512,
0.022082438692450523,
0.003629260463640094,
-0.0017290969844907522,
-0.031192149966955185,
-0.012659129686653614,
-0.02708890289068222,
0.011597620323300362,
0.01303919032216072,
0.015574070625007153,
-0.039151549339294434,
-0.022744499146938324,
-0.03236786276102066,
0.0031025747302919626,
-0.03583024814724922,
-0.0455084964632988,
0.0053251092322170734,
-0.01366524025797844,
-0.008062297478318214,
0.02855537459254265,
0.007665055338293314,
0.027549710124731064,
-0.012238598428666592,
0.007146891672164202,
0.0021619133185595274,
0.014639419503509998,
-0.015225968323647976,
-0.019662125036120415,
-0.011729107238352299,
0.01907496713101864,
0.019239893183112144,
0.033426281064748764,
-0.009266414679586887,
-0.01988636702299118,
-0.007228847127407789,
0.0075026401318609715,
0.014487490057945251,
-0.061124205589294434,
-0.022848907858133316,
-0.00227889115922153,
-0.008118431083858013,
0.024472979828715324,
-0.012180895544588566,
0.0045216744765639305,
-0.01931924931704998,
-0.043690480291843414,
0.005862536374479532,
0.0072363317012786865,
-0.032623372972011566,
-0.05663217976689339,
-0.019045082852244377,
0.014566166326403618,
0.0005423190305009484,
0.05014711618423462,
0.00921340100467205,
0.03215430676937103,
0.006338674575090408,
-0.02409469150006771,
-0.008564206771552563,
-0.10571975260972977,
-0.002988889580592513,
-0.0259056705981493,
-0.053258493542671204,
-0.029852427542209625,
0.8501173853874207,
0.000015000856365077198,
0.022694621235132217,
0.03438597172498703,
0.009957102127373219,
0.003120193025097251,
-0.0019051367416977882,
0.022811004891991615,
-0.002427071798592806,
0.0021504731848835945,
-0.03810761496424675,
0.0009361437405459583,
0.04411529377102852,
0.009085235185921192,
0.00091523677110672,
0.0006012858357280493,
0.0065605612471699715,
0.012994210235774517,
-0.039429619908332825,
-0.024312060326337814,
0.00373376184143126,
0.03556491434574127,
0.01757444627583027,
-0.018158307299017906,
0.023440591990947723,
0.023196883499622345,
-0.17096520960330963,
-0.010891251266002655,
-8.089040213592766e-33,
0.03898480907082558,
0.009327678009867668,
0.0037588714621961117,
0.01635565422475338,
0.011710166931152344,
-0.0012506975326687098,
-0.0042410041205585,
0.017528081312775612,
-0.04047514870762825,
-0.019593479111790657,
-0.003739228006452322,
-0.013001264072954655,
-0.009952766820788383,
0.0037899520248174667,
0.03187700733542442,
-0.01869296468794346,
-0.030757872387766838,
0.03425830230116844,
0.025891823694109917,
0.020389694720506668,
0.017987707629799843,
0.03142181411385536,
0.01012271735817194,
-0.005684633273631334,
0.03972877562046051,
0.01351570338010788,
0.011959555558860302,
0.028701648116111755,
0.022959673777222633,
-0.04401751607656479,
0.006856797728687525,
0.0313582569360733,
-0.01072478387504816,
-0.006912517827004194,
-0.0035103519912809134,
-0.029074903577566147,
-0.015543356537818909,
0.0017261753091588616,
-0.021720148622989655,
0.026998452842235565,
-0.012622211128473282,
0.0263606458902359,
-0.08477046340703964,
0.007088838145136833,
0.001877494971267879,
-0.0019055557204410434,
0.02629312127828598,
0.027891671285033226,
0.006068686489015818,
-0.014649798162281513,
0.0015476209810003638,
0.017855215817689896,
0.016254257410764694,
-0.0059522646479308605,
0.0007315417751669884,
0.01563604548573494,
0.013558286242187023,
-0.058683931827545166,
0.028467778116464615,
0.023515108972787857,
0.020273711532354355,
-0.02574918419122696,
-0.03222993016242981,
0.013464211486279964,
-0.01396912895143032,
0.006654755212366581,
0.025736652314662933,
0.020676549524068832,
0.011156094260513783,
-0.006078090984374285,
-0.058181554079055786,
-0.005202845204621553,
0.003533742856234312,
-0.001918908441439271,
0.02066613733768463,
0.011656164191663265,
-0.01560487411916256,
0.00983717292547226,
-0.02271365001797676,
0.0334867499768734,
-0.004356795456260443,
0.012596724554896355,
-0.028010910376906395,
-0.029764702543616295,
0.0009851077338680625,
-0.011940786615014076,
0.019067948684096336,
-0.02647203393280506,
0.004809033125638962,
-0.024582697078585625,
0.016584211960434914,
0.012015311978757381,
0.005477123893797398,
-0.020798210054636,
0.006834341678768396,
7.78741571001146e-33,
-0.0047219195403158665,
0.0005701641202904284,
-0.037015605717897415,
0.019298966974020004,
0.03030841052532196,
-0.048247553408145905,
0.003940815106034279,
0.01698860339820385,
-0.03764994069933891,
0.016805944964289665,
-0.0017701650504022837,
0.01762559823691845,
-0.06707325577735901,
0.012800883501768112,
0.02231845259666443,
0.0010115051409229636,
0.030629556626081467,
-0.033152032643556595,
-0.004028962925076485,
0.019252492114901543,
0.0016952974256128073,
0.007532468065619469,
-0.0037090585101395845,
0.015379359945654869,
0.04247957840561867,
0.06869187206029892,
-0.04985228180885315,
0.029804708436131477,
-0.017001604661345482,
-0.031173987314105034,
-0.012858892790973186,
-0.02282222919166088,
0.02320554107427597,
-0.011203908361494541,
-0.03532014414668083,
0.018263692036271095,
-0.012640342116355896,
-0.01224904041737318,
0.04223425313830376,
0.002906927140429616,
0.04352138936519623,
0.027973920106887817,
0.004460676573216915,
0.02597229741513729,
-0.008816898800432682,
-0.018812190741300583,
0.013746841810643673,
-0.052483003586530685,
0.0011751814745366573,
-0.0038998776581138372,
0.014924082905054092,
0.005999134853482246,
0.023740125820040703,
0.027662625536322594,
-0.003899402217939496,
-0.009930086322128773,
0.012311306782066822,
-0.011821640655398369,
0.010388935916125774,
0.046497367322444916,
-0.0007265317253768444,
0.026984473690390587,
-0.0019086113898083568,
-0.008698658086359501,
-0.03291191905736923,
-0.005499234423041344,
0.03108491189777851,
0.007013455033302307,
-0.05078752711415291,
-0.024115867912769318,
-0.0195058211684227,
0.011894823983311653,
0.019401151686906815,
0.04788162559270859,
0.01869138330221176,
-0.010320821776986122,
-0.023081116378307343,
0.011458574794232845,
-0.013411957770586014,
-0.004344546236097813,
0.0025958102196455,
0.017324598506093025,
0.012843525037169456,
-0.0033890551421791315,
-0.052138324826955795,
0.028878485783934593,
-0.04228024184703827,
0.011295249685645103,
0.005605580750852823,
-0.015568946488201618,
-0.05937676876783371,
-0.03655098378658295,
0.028956804424524307,
0.04922330379486084,
-0.021801145747303963,
-1.3650537589171563e-8,
-0.03041767328977585,
0.02381400391459465,
-0.01061162818223238,
-0.0107088228687644,
0.03751300275325775,
-0.002256605541333556,
-0.01862178184092045,
-0.00833058450371027,
-0.0035321437753736973,
-0.008839575573801994,
0.031701065599918365,
-0.02054506726562977,
-0.02834455668926239,
0.035130999982357025,
0.01879958063364029,
-0.04449877515435219,
-0.019597571343183517,
-0.03260552138090134,
0.009268197230994701,
0.015789423137903214,
0.028732281178236008,
0.05036040395498276,
-0.0033740969374775887,
-0.0014327786630019546,
0.028297429904341698,
-0.017870599403977394,
-0.009571545757353306,
-0.07000817358493805,
0.015134130604565144,
0.005680426489561796,
-0.01667843386530876,
-0.006411759648472071,
-0.03833508491516113,
0.023865215480327606,
-0.004316150210797787,
-0.02727949619293213,
0.05560588836669922,
0.028705721721053123,
-0.005524767562747002,
-0.008448558859527111,
-0.017545433714985847,
-0.03812309727072716,
-0.0020720488391816616,
-0.030916819348931313,
0.013363175094127655,
-0.010027731768786907,
-0.03341647610068321,
-0.004215378314256668,
0.03480680286884308,
-0.03884993866086006,
0.01105131208896637,
-0.00944431871175766,
0.0026906279381364584,
0.05067451298236847,
-0.002493644133210182,
-0.012035916559398174,
-0.000023282234906218946,
-0.002556007355451584,
-0.030163712799549103,
-0.004520623944699764,
0.018956828862428665,
-0.007458040490746498,
0.010590583086013794,
-0.00998726673424244
] | coding-controlled-technical-debt | https://markhneedham.com/blog/2010/06/20/coding-controlled-technical-debt |
false | 2010-06-18 17:36:25 | Slack time | [
"software-development",
"agile"
] | [
"Software Development",
"Agile"
] | Ken Schwaber recently wrote a blog post where he compared http://kenschwaber.wordpress.com/2010/06/10/waterfall-leankanban-and-scrum-2/[the differences between the kanban, lean and scrum approaches to software development] and although I haven't had the same experiences as he has with the first two, one interesting thing he implies is that with a scrum approach we have slack time built in.
____
God help us. People found ways to have slack in waterfall, to rest and be creative. With Lean and Kanban, those hiding places are removed. We now have a progressive death march without pause.
____
The project that I'm currently working on has switched emphasis from being in pure delivery mode into a combination of delivery and handover and it's been quite noticeable how much more slack we have in the system as a result.
I find it much more enjoyable when there's a bit of slack such that we're not churning out story after story.
It gives you the opportunity to explore the code base a bit more and try out any ideas that you have to see if they're likely to improve the productivity of the team.
An example of this on our project is that we've had the time to introduce a calculation descriptions DSL that my colleague http://twitter.com/dermotkilroy[Dermot] had written in his own time.
This has helped reduce the number of tests required in certain areas of the code base as well as making the code more intuitive and therefore easy to understand.
It can be quite difficult to create this slack time when the team is under big deadline pressure and working on anything which isn't directly related to hitting that deadline isn't considered valuable.
I've noticed that the typical slack in the projects I've worked on tends to be towards the end of the day if we finish a story late on.
That tends to disappear if the team is working late and people start to become too tired to notice that there might be a better way to do things.
It seems to me that it would beneficial to try and work some slack time into projects to allow for the type of innovation that allows us to come up with ideas that allow us to be more productive. | null | null | [
0.03958451375365257,
-0.013889976777136326,
-0.0056274039670825005,
0.03253323957324028,
0.088037870824337,
0.014711735770106316,
0.030366972088813782,
0.04391610994935036,
0.01659337989985943,
-0.0408020094037056,
-0.026138396933674812,
-0.017549052834510803,
-0.050357311964035034,
0.014242156408727169,
-0.054212141782045364,
0.07458534091711044,
0.0652165338397026,
-0.01637667417526245,
0.03418085724115372,
0.005054420791566372,
0.03823487460613251,
0.06737260520458221,
0.02966506965458393,
0.04351779446005821,
0.03844914212822914,
0.009715007618069649,
-0.006365163251757622,
-0.005640637595206499,
-0.05887357145547867,
-0.024288661777973175,
0.051345743238925934,
0.011960688978433609,
0.019145101308822632,
-0.000565259309951216,
0.022217243909835815,
-0.009911823086440563,
-0.0054318043403327465,
0.03103194385766983,
-0.0031718614045530558,
-0.001481575658544898,
-0.07861129939556122,
0.05116109177470207,
-0.013102876022458076,
0.004134583752602339,
-0.023477574810385704,
0.010452243499457836,
-0.02810295857489109,
0.0075993104837834835,
-0.019009990617632866,
0.00005217620491748676,
-0.07553660869598389,
0.032288406044244766,
0.004157266113907099,
-0.00958057027310133,
-0.01786978356540203,
0.041553109884262085,
0.024213062599301338,
-0.05628262832760811,
0.013323730789124966,
-0.048160914331674576,
-0.0009058151626959443,
-0.020547745749354362,
-0.0015557801816612482,
0.028834456577897072,
0.04223782941699028,
-0.035147037357091904,
0.015368887223303318,
0.03523977845907211,
-0.025242511183023453,
0.02288018725812435,
-0.007642061449587345,
0.03192334622144699,
-0.03510180860757828,
-0.008678906597197056,
0.014877152629196644,
-0.056298594921827316,
0.010439630597829819,
0.07199212908744812,
0.04297087714076042,
0.05703260377049446,
-0.021513912826776505,
0.011996651068329811,
0.011661786586046219,
0.03778454661369324,
-0.024138808250427246,
-0.02583099715411663,
0.0188096072524786,
-0.04014443978667259,
-0.05404379218816757,
0.06682195514440536,
0.0017350871348753572,
-0.059896063059568405,
0.035079069435596466,
0.04131990671157837,
0.008939340710639954,
0.010941299609839916,
0.025858335196971893,
0.01916683092713356,
0.000366369349649176,
-0.004530944395810366,
-0.03117832913994789,
-0.04499441757798195,
-0.006518514361232519,
0.008333117701113224,
-0.07232915610074997,
-0.02711494080722332,
-0.01865016482770443,
-0.020495055243372917,
0.0021677918266505003,
0.01659364253282547,
-0.03251419961452484,
0.01321205124258995,
-0.02828245423734188,
0.003303252626210451,
-0.05504479631781578,
0.0734245702624321,
0.0006307164439931512,
-0.041793279349803925,
-0.027337154373526573,
-0.011573804542422295,
0.027821660041809082,
0.019815519452095032,
-0.010600348934531212,
0.07855819165706635,
0.010527566075325012,
0.008239565417170525,
-0.03789469972252846,
0.029759155586361885,
-0.014047602191567421,
-0.046019796282052994,
0.0011557484976947308,
0.06215839087963104,
-0.0431184358894825,
-0.028846681118011475,
-0.003238987410441041,
-0.017596706748008728,
0.006980255711823702,
0.0218613613396883,
0.012603973969817162,
0.04056930169463158,
-0.015947945415973663,
-0.012321059592068195,
0.01427505537867546,
0.009145170450210571,
0.028585350140929222,
0.00396239897236228,
0.011326039209961891,
-0.03838328272104263,
-0.04958084225654602,
-0.024258757010102272,
0.004213699139654636,
-0.0007934573804959655,
0.01491704210639,
-0.03689263388514519,
0.04210016131401062,
0.0771762803196907,
0.036141492426395416,
0.008369763381779194,
-0.017906086519360542,
0.030057048425078392,
0.03172741457819939,
0.023263761773705482,
0.010709621012210846,
0.019698774442076683,
0.008461345918476582,
-0.002446311293169856,
0.011274855583906174,
0.010562248528003693,
0.001790940877981484,
0.00884233508259058,
-0.053908366709947586,
-0.016908133402466774,
0.04356004297733307,
-0.06530416011810303,
-0.0036645056679844856,
0.039100244641304016,
0.07655824720859528,
0.049949608743190765,
0.03886277601122856,
0.009460154920816422,
-0.07785138487815857,
0.03142065554857254,
0.009574627503752708,
0.029092058539390564,
0.02943764440715313,
-0.023145241662859917,
0.05431107431650162,
0.022472761571407318,
-0.00897234957665205,
0.02960631251335144,
-0.08250057697296143,
-0.09634734690189362,
-0.0076987529173493385,
-0.025474900379776955,
0.03846703842282295,
-0.04243902489542961,
0.01701970584690571,
0.06098956987261772,
-0.0014564250595867634,
0.06201917678117752,
0.02931882254779339,
0.006119780708104372,
0.002376140560954809,
-0.051562074571847916,
-0.03839505463838577,
0.059957120567560196,
0.04030609503388405,
-0.002394263632595539,
-0.06250399351119995,
0.012652965262532234,
-0.00026699609588831663,
-0.007809378206729889,
0.041451554745435715,
-0.019068246707320213,
0.04066244512796402,
0.02300149016082287,
0.06048775464296341,
-0.028027372434735298,
0.053454577922821045,
-0.04949034005403519,
0.015065222978591919,
0.00912067387253046,
-0.027599364519119263,
0.0174490287899971,
0.002087595872581005,
0.08991007506847382,
0.061329349875450134,
-0.06673254072666168,
-0.04649808257818222,
0.028004804626107216,
0.0011528721079230309,
-0.052619803696870804,
-0.011375047266483307,
-0.0033935962710529566,
0.013463534414768219,
-0.010402313433587551,
-0.06567377597093582,
-0.05661791190505028,
0.023460213094949722,
-0.04456491023302078,
0.02606583945453167,
0.07015398144721985,
-0.013201114721596241,
0.05252627283334732,
0.0020280848257243633,
-0.018340693786740303,
-0.025492897257208824,
0.009344547986984253,
-0.05456600338220596,
0.030248889699578285,
-0.0007628420717082918,
-0.008777264505624771,
0.053058382123708725,
-0.024671226739883423,
-0.025886408984661102,
-0.03327946364879608,
-0.03729891777038574,
0.012513288296759129,
0.055298566818237305,
0.0640726163983345,
0.0021430591586977243,
0.050275593996047974,
0.0028158959466964006,
0.030673623085021973,
0.0026329425163567066,
-0.04684852063655853,
-0.05009366571903229,
-0.03792068734765053,
0.012162684462964535,
0.02009502612054348,
0.011595928110182285,
0.020810943096876144,
0.016399580985307693,
0.0010018699103966355,
-0.004137588199228048,
-0.022814244031906128,
0.03422881290316582,
0.007568230852484703,
-0.008622162975370884,
-0.04333613067865372,
-0.025181010365486145,
0.051623087376356125,
-0.033683955669403076,
-0.014482959173619747,
-0.006080716848373413,
-0.08028813451528549,
0.039959847927093506,
-0.054008372128009796,
-0.04094363749027252,
0.0016740575665608048,
0.002377182012423873,
0.04625920578837395,
-0.013834210112690926,
0.03130742907524109,
0.06600392609834671,
0.013948485255241394,
0.009866717271506786,
-0.0020231977105140686,
0.00615592859685421,
0.024281848222017288,
0.0312640555202961,
-0.013444335199892521,
0.061627935618162155,
0.012027858756482601,
-0.002829783596098423,
-0.04552948847413063,
0.05970882624387741,
-0.03769779950380325,
-0.29685118794441223,
0.030612193048000336,
0.0013606507563963532,
-0.0540122389793396,
0.01759972609579563,
-0.010268623009324074,
0.009871886111795902,
-0.036410875618457794,
-0.02828267216682434,
0.01864217035472393,
-0.0542067214846611,
-0.04004177078604698,
-0.012404383160173893,
0.03713536262512207,
-0.0013137701898813248,
0.017287269234657288,
0.033795058727264404,
-0.030030088499188423,
0.011845744214951992,
0.047739606350660324,
-0.020108550786972046,
-0.08393919467926025,
-0.0013478545006364584,
0.03745733201503754,
0.04971753805875778,
0.06361983716487885,
-0.08330726623535156,
0.060394156724214554,
-0.05538078024983406,
-0.0021829574834555387,
0.018017206341028214,
-0.004819462541490793,
-0.0036284183152019978,
-0.033180806785821915,
0.0006583217182196677,
-0.0030294673051685095,
0.03816523030400276,
0.01903696171939373,
0.013876061886548996,
0.007797852158546448,
-0.012824698351323605,
-0.040177807211875916,
-0.003423793474212289,
0.015278784558176994,
0.06461524963378906,
0.015235122293233871,
-0.07096986472606659,
0.0015897653065621853,
-0.013749027624726295,
0.08085424453020096,
-0.015518005937337875,
-0.033090319484472275,
-0.017940253019332886,
0.02659463882446289,
-0.013968782499432564,
-0.041121941059827805,
-0.016650795936584473,
-0.03720644861459732,
-0.02748940885066986,
-0.0045129950158298016,
-0.0051896278746426105,
-0.023638887330889702,
-0.011600022204220295,
-0.045924112200737,
-0.006528937257826328,
-0.05846942216157913,
-0.060395389795303345,
-0.002128031337633729,
0.07051016390323639,
0.00251047988422215,
-0.04445368051528931,
0.010412224568426609,
0.002197681926190853,
-0.11291269212961197,
0.002227621152997017,
-0.0028065734077244997,
-0.037265658378601074,
0.01710275188088417,
0.021061627194285393,
0.03782736510038376,
-0.030595483258366585,
-0.060821812599897385,
0.029163837432861328,
0.015507425181567669,
0.02821284905076027,
0.006530003622174263,
0.03565844148397446,
0.019262470304965973,
-0.01652730070054531,
0.020061984658241272,
0.048701927065849304,
-0.005819825921207666,
-0.03532413765788078,
-0.021066220477223396,
0.025097372010350227,
-0.003962354734539986,
0.02679246850311756,
-0.004996748641133308,
0.01293154340237379,
0.020751405507326126,
-0.013435125350952148,
-0.056853339076042175,
0.016163058578968048,
-0.022093279287219048,
0.007231281604617834,
-0.02604059688746929,
-0.05761387199163437,
0.03147856518626213,
0.04257762059569359,
0.027400366961956024,
-0.002933604409918189,
-0.019732441753149033,
-0.003274957649409771,
-0.051975030452013016,
-0.040220148861408234,
-0.02072765864431858,
0.00597514770925045,
0.036225587129592896,
-0.023959247395396233,
0.018743500113487244,
-0.06280607730150223,
0.022873613983392715,
-0.006921074353158474,
-0.002472398802638054,
-0.05030142888426781,
0.010594080202281475,
-0.04479355365037918,
-0.03798461705446243,
0.029207762330770493,
0.013542902655899525,
-0.00661044754087925,
0.03008829429745674,
0.021293917670845985,
-0.037603478878736496,
-0.0007233803626149893,
-0.029688892886042595,
-0.0737634152173996,
-0.03499719128012657,
0.0028050262480974197,
-0.004348174203187227,
-0.021165262907743454,
0.035144221037626266,
-0.009986338205635548,
0.011665758676826954,
0.03758849576115608,
0.016583764925599098,
0.015574077144265175,
-0.02111992985010147,
0.025249702855944633,
0.017023516818881035,
0.010623379610478878,
-0.08729555457830429,
0.012777826748788357,
-0.0642443522810936,
-0.021793998777866364,
-0.03754160553216934,
0.035739243030548096,
-0.0023003111127763987,
-0.025352489203214645,
-0.0013534094905480742,
0.0047051263973116875,
-0.055195152759552,
-0.04417271912097931,
-0.020762849599123,
0.010266179218888283,
0.054767705500125885,
-0.011450731195509434,
0.023106586188077927,
-0.011471121571958065,
-0.020914986729621887,
0.006595696788281202,
0.02442092075943947,
-0.05864517018198967,
-0.0016945042880252004,
0.023550275713205338,
0.00022571235604118556,
0.0023686359636485577,
0.0017068027518689632,
0.05404772236943245,
0.019556712359189987,
0.009217936545610428,
-0.015261650085449219,
-0.0030621278565376997,
0.024507155641913414,
0.027652805671095848,
0.027181342244148254,
0.005315257236361504,
-0.009964182041585445,
-0.02077868953347206,
-0.023844655603170395,
-0.0463380441069603,
-0.016753675416111946,
0.01149444468319416,
-0.003928219433873892,
-0.028949541971087456,
-0.06603381782770157,
0.06294302642345428,
0.052845727652311325,
0.00822682399302721,
0.020569628104567528,
-0.005507708061486483,
-0.0035827518440783024,
-0.012170003727078438,
0.024034852162003517,
0.06884782761335373,
-0.0755215585231781,
0.004215418826788664,
-0.006900111213326454,
0.002467967104166746,
-0.01256514061242342,
-0.011916151270270348,
-0.023580817505717278,
-0.024694936349987984,
-0.018660036846995354,
0.00532871950417757,
-0.06685981899499893,
-0.013612411916255951,
-0.021672414615750313,
0.011341138742864132,
0.0014876595232635736,
-0.016880853101611137,
-0.030974386259913445,
-0.022187070921063423,
-0.012753170914947987,
-0.025972342118620872,
0.016416151076555252,
-0.028312070295214653,
0.009306465275585651,
0.016400892287492752,
-0.018408989533782005,
-0.006774356123059988,
-0.04162587597966194,
0.01605922356247902,
0.023668702691793442,
-0.025534186512231827,
0.01232348196208477,
-0.023483682423830032,
-0.011675341986119747,
-0.0026103337295353413,
0.037309665232896805,
-0.015586760826408863,
-0.018068164587020874,
-0.027437811717391014,
-0.010299565270543098,
-0.04538803920149803,
-0.0007066781399771571,
-0.03511187061667442,
0.00473017618060112,
0.019361384212970734,
0.05657147243618965,
0.03289983049035072,
0.02982127107679844,
-0.007221524138003588,
-0.0173115823417902,
0.03652698174118996,
-0.07685334980487823,
-0.03684395179152489,
-0.032660599797964096,
-0.054788738489151,
0.005702607799321413,
0.017125559970736504,
0.01901162974536419,
-0.02304401807487011,
0.051236703991889954,
0.01493357215076685,
0.04808882251381874,
0.034642405807971954,
0.008042927831411362,
0.01601133681833744,
-0.06381776183843613,
-0.004844066686928272,
-0.07923450320959091,
-0.005323306191712618,
0.04320915415883064,
-0.005525697488337755,
-0.0005266493535600603,
-0.000013244378351373598,
-0.02691604755818844,
0.03086625598371029,
-0.07551496475934982,
-0.018339533358812332,
0.05179496482014656,
-0.002626089146360755,
-0.007342454046010971,
0.027557244524359703,
-0.08080792427062988,
0.030337106436491013,
0.018727058544754982,
-0.0465441457927227,
-0.02024730294942856,
-0.027681130915880203,
0.05164536088705063,
-0.003394447499886155,
0.050959598273038864,
-0.056640032678842545,
-0.006221403833478689,
0.07370748370885849,
-0.00008474157220916823,
-0.029179533943533897,
0.04178670048713684,
0.0025637242943048477,
0.02895975299179554,
0.0416853167116642,
0.021806448698043823,
-0.020194508135318756,
-0.00035232416121289134,
-0.006587225943803787,
-0.0627610832452774,
0.02265097387135029,
0.015679024159908295,
-0.021217959001660347,
-0.020810000598430634,
0.06339125335216522,
0.029105890542268753,
-0.024060362949967384,
-0.05189964547753334,
0.0021430449560284615,
-0.054278772324323654,
0.012593609280884266,
-0.018600165843963623,
-0.0033501735888421535,
-0.0595671646296978,
0.039830148220062256,
-0.0016686356393620372,
0.014429084956645966,
0.07792901992797852,
0.014195269905030727,
-0.01827716827392578,
-0.010448151268064976,
0.09106528013944626,
0.0724627897143364,
0.06296926736831665,
0.005756189581006765,
0.06696391105651855,
-0.020917432382702827,
-0.046877361834049225,
0.021214475855231285,
0.014445457607507706,
-0.00937564205378294,
-0.03508264198899269,
0.020658832043409348,
0.04366687312722206,
-0.01837017573416233,
0.06906557828187943,
-0.017727980390191078,
-0.026523496955633163,
0.0030127603095024824,
0.036518894135951996,
0.0008569519268348813,
0.06551768630743027,
0.012028295546770096,
0.0001403332717018202,
-0.02316097356379032,
-0.018282398581504822,
0.025174643844366074,
-0.052334241569042206,
-0.01587153598666191,
0.03384028747677803,
0.0022728517651557922,
0.014119469560682774,
0.021428069099783897,
0.016789423301815987,
0.09047672897577286,
-0.06308025866746902,
0.02832937240600586,
-0.012709320522844791,
0.032234370708465576,
-0.01333614345639944,
0.017813364043831825,
-0.025548920035362244,
-0.016817549243569374,
-0.0013757902197539806,
-0.003578854724764824,
-0.009024696424603462,
0.004048406146466732,
-0.012895331718027592,
0.049205388873815536,
-0.008230120874941349,
0.023744823411107063,
0.02633713372051716,
0.00028267077868804336,
-0.026110492646694183,
-0.068773053586483,
-0.01579011045396328,
-0.0447290875017643,
-0.04526582732796669,
-0.016826901584863663,
0.050963785499334335,
-0.015602356754243374,
-0.03723137080669403,
-0.0009639155468903482,
-0.013028450310230255,
-0.03786943107843399,
0.03455907851457596,
-0.04422477260231972,
-0.03086172789335251,
0.008566745556890965,
0.01956963539123535,
0.016616996377706528,
0.01746169477701187,
0.05120600387454033,
-0.024958936497569084,
-0.0009825760498642921,
-0.009927898645401001,
0.02275075577199459,
0.029805870726704597,
0.012697411701083183,
0.0010162637336179614,
-0.07203633338212967,
0.031120263040065765,
0.035243891179561615,
-0.02046085149049759,
-0.0658508837223053,
0.05343766510486603,
0.0004640831029973924,
-0.011538851074874401,
0.061288926750421524,
-0.02201090380549431,
0.02617424540221691,
-0.06462185084819794,
0.00962120946496725,
-0.003498553764075041,
0.012199821881949902,
0.03676498308777809,
-0.022730953991413116,
0.06965146213769913,
0.026223188266158104,
-0.007398900575935841,
-0.0450877882540226,
-0.011511784978210926,
-0.0066943480633199215,
-0.020024726167321205,
-0.017801253125071526,
-0.030814243480563164,
-0.030769212171435356,
-0.07677225023508072,
-0.02094593457877636,
0.022852810099720955,
-0.014235874637961388,
-0.03450412303209305,
0.046796929091215134,
0.014862367883324623,
-0.024816546589136124,
0.0021793630439788103,
-0.05613132193684578,
0.041863106191158295,
-0.02826598659157753,
-0.017105018720030785,
-0.019219771027565002,
0.006793141830712557,
-0.005387731362134218,
-0.012142662890255451,
0.01090226974338293,
-0.05813853442668915,
0.019181935116648674,
0.01953842304646969,
0.006859193556010723,
0.03552080690860748,
0.01636170782148838,
-0.0116011593490839
] | [
-0.10709039121866226,
-0.026052959263324738,
-0.014779677614569664,
-0.03795813396573067,
0.040461234748363495,
-0.028341220691800117,
-0.01882772706449032,
0.002445173216983676,
-0.016340985894203186,
-0.0199104156345129,
0.00405026413500309,
-0.0038552135229110718,
-0.0057487585581839085,
-0.02997005730867386,
0.0887238159775734,
-0.01098150759935379,
-0.011681288480758667,
-0.06843702495098114,
0.009298705495893955,
0.009211422875523567,
0.0006087496876716614,
-0.03228349611163139,
-0.034546416252851486,
0.0015277310740202665,
0.020213695243000984,
0.012057546526193619,
0.01371705811470747,
-0.058239005506038666,
-0.005826395470649004,
-0.18071675300598145,
0.005628975108265877,
0.019773120060563087,
0.03830333426594734,
-0.026602383702993393,
0.014272901229560375,
0.05505475029349327,
0.015719186514616013,
0.03401723876595497,
-0.010888909921050072,
0.047789860516786575,
0.03166535124182701,
0.044196248054504395,
-0.03537564352154732,
-0.03346652910113335,
0.0045646666549146175,
-0.004942948464304209,
0.01338413916528225,
-0.030112141743302345,
-0.03840281069278717,
0.01945970393717289,
-0.04926101118326187,
-0.04739519581198692,
-0.018173251301050186,
-0.015551116317510605,
-0.010376009158790112,
0.02632729522883892,
0.043524377048015594,
0.0767289474606514,
0.004524860996752977,
0.021348707377910614,
0.027087142691016197,
-0.030198639258742332,
-0.13845689594745636,
0.066871777176857,
0.05052443966269493,
0.05869295820593834,
-0.04533058777451515,
-0.007844348438084126,
-0.011326607316732407,
0.10281237959861755,
0.01946592517197132,
-0.01679348200559616,
-0.01149752177298069,
0.049778860062360764,
0.018474364653229713,
0.00954486895352602,
0.011333191767334938,
0.044605355709791183,
0.013982267118990421,
-0.04811333492398262,
-0.04146375507116318,
0.004061165731400251,
-0.0158440750092268,
0.012559250928461552,
-0.04661334678530693,
0.008051755838096142,
-0.0116627411916852,
0.05339716002345085,
0.043439291417598724,
0.02530389465391636,
0.04832892492413521,
-0.0014961512060835958,
0.037642206996679306,
-0.012147461995482445,
-0.09468390047550201,
-0.0053309728391468525,
-0.014609514735639095,
0.02535225823521614,
-0.06226864084601402,
0.4326187074184418,
-0.03139442577958107,
-0.011599142104387283,
0.06181365251541138,
0.04026777297258377,
-0.0016117627965286374,
0.00011736857413779944,
0.02339053340256214,
-0.028406955301761627,
0.029784249141812325,
-0.006256774999201298,
0.03634784743189812,
0.02216440811753273,
0.061999209225177765,
-0.05088094249367714,
0.017912544310092926,
0.03358367085456848,
-0.0008085789158940315,
0.03159353882074356,
-0.020551521331071854,
0.03148002550005913,
-0.02471732906997204,
0.036372922360897064,
0.03246404603123665,
0.008346392773091793,
-0.028195541352033615,
-0.0171528160572052,
0.026995854452252388,
0.03374815359711647,
0.04529692605137825,
-0.01717093400657177,
0.05352078378200531,
-0.021012643352150917,
-0.06358950585126877,
0.004538821056485176,
-0.013662531040608883,
-0.011864328756928444,
0.025698747485876083,
-0.026505177840590477,
-0.012982127256691456,
0.025058045983314514,
0.02011755295097828,
0.02485327050089836,
0.03533240035176277,
-0.04103706777095795,
-0.03227536752820015,
0.11499641835689545,
0.022919567301869392,
-0.026909926906228065,
-0.016276391223073006,
-0.056849174201488495,
-0.03220226243138313,
0.019742745906114578,
0.016956720501184464,
-0.07038258016109467,
0.04648594185709953,
0.009665790013968945,
0.08735311776399612,
0.01054504606872797,
-0.05639006197452545,
0.0068035004660487175,
-0.02732745371758938,
-0.024355502799153328,
-0.05694756656885147,
0.02122853696346283,
0.06987021863460541,
-0.11037018150091171,
-0.006453295703977346,
-0.012300628237426281,
0.030764393508434296,
-0.07207730412483215,
-0.02143157459795475,
0.008120576851069927,
-0.003947957418859005,
-0.004719072487205267,
0.06149788945913315,
-0.04077961668372154,
-0.043327003717422485,
0.012450234964489937,
0.08696594089269638,
0.01135952491313219,
0.03703417256474495,
0.04339541122317314,
0.0016480071935802698,
-0.0032286159694194794,
-0.024766521528363228,
-0.07771115005016327,
-0.03881228715181351,
-0.005089886486530304,
-0.04495364800095558,
0.0020212132949382067,
-0.02890610136091709,
-0.03240795433521271,
-0.07527032494544983,
0.1056050956249237,
-0.02120734564960003,
-0.04111609607934952,
0.020667433738708496,
0.010493477806448936,
-0.058286573737859726,
-0.016381489112973213,
-0.06654255837202072,
0.041885651648044586,
-0.032973695546388626,
0.009276105090975761,
-0.052819106727838516,
0.045595526695251465,
0.031803425401449203,
-0.07187503576278687,
0.07748860120773315,
0.053351983428001404,
-0.036130838096141815,
-0.04682866856455803,
0.03396358713507652,
0.033615004271268845,
0.007545204367488623,
-0.003509161062538624,
0.015387623570859432,
0.042087532579898834,
-0.022583452984690666,
0.028475463390350342,
-0.0291132889688015,
0.023796096444129944,
0.004498048685491085,
-0.3462810814380646,
-0.024654820561408997,
-0.013994143344461918,
-0.013366829603910446,
0.04112889617681503,
-0.03925485908985138,
0.001165986293926835,
-0.03338887542486191,
-0.01802719756960869,
-0.012229476124048233,
0.09553108364343643,
-0.014999732375144958,
0.0017669072840362787,
-0.08398605138063431,
0.010633036494255066,
0.022191861644387245,
-0.05771439149975777,
-0.03965882956981659,
-0.021863635629415512,
-0.010497981682419777,
0.02015615627169609,
0.004995190072804689,
-0.015478364191949368,
-0.04488273710012436,
-0.029921218752861023,
-0.05002158507704735,
0.0877080112695694,
-0.015494599007070065,
0.09732016921043396,
-0.03157113865017891,
0.009067700244486332,
0.010549711063504219,
0.023942213505506516,
-0.10623063892126083,
0.008495686575770378,
-0.010504431091248989,
0.03241564333438873,
-0.030674898996949196,
0.028309818357229233,
-0.036230623722076416,
-0.07032053172588348,
0.029736444354057312,
-0.06273709982633591,
-0.04485132545232773,
-0.060979243367910385,
0.010196874849498272,
-0.032621487975120544,
-0.04482458904385567,
-0.01574721373617649,
0.03729823976755142,
-0.0026162141002714634,
-0.011094416491687298,
0.0290609709918499,
-0.0024162638001143932,
0.023494314402341843,
-0.0326361320912838,
-0.07181466370820999,
0.03778943046927452,
-0.002769959159195423,
0.0005261367768980563,
0.02792796492576599,
0.06802785396575928,
0.01783844269812107,
-0.03332097828388214,
0.0055540744215250015,
0.04052603244781494,
-0.021541479974985123,
0.0034325788728892803,
0.02680429257452488,
-0.021991660818457603,
0.0031111848074942827,
0.08443956077098846,
-0.021542176604270935,
-0.02288028970360756,
0.02412460558116436,
0.015879366546869278,
-0.020234882831573486,
0.00159229408018291,
0.008588595315814018,
-0.02639108896255493,
0.02872968651354313,
-0.04406138136982918,
0.04102027416229248,
-0.022829914465546608,
-0.022470086812973022,
0.0236908420920372,
0.0026114219799637794,
-0.036567945033311844,
0.06189649552106857,
0.0347520150244236,
-0.013819660991430283,
0.0010177651420235634,
-0.021336447447538376,
-0.03824281319975853,
0.09950476139783859,
0.0037169840652495623,
-0.24027392268180847,
0.015748945996165276,
0.057415638118982315,
0.009113038890063763,
-0.006712731905281544,
0.0537990964949131,
0.027905916795134544,
-0.06413882970809937,
-0.004528660327196121,
0.02057081274688244,
0.01775066740810871,
0.03192681819200516,
-0.012646091170608997,
-0.0006525376229546964,
0.05203723907470703,
0.0036404456477612257,
0.052964139729738235,
-0.01739412173628807,
0.03655191510915756,
-0.019096657633781433,
0.008260216563940048,
-0.0014191862428560853,
0.15812493860721588,
-0.027867164462804794,
0.04324612766504288,
0.046420618891716,
-0.005018853582441807,
0.020847104489803314,
0.08359885960817337,
0.025034014135599136,
0.007062734570354223,
-0.013544767163693905,
0.04981968551874161,
0.012000185437500477,
0.027279039844870567,
-0.06860478222370148,
-0.038331326097249985,
0.02788289450109005,
0.008372445590794086,
-0.0037375804968178272,
0.01290970016270876,
0.004821496549993753,
-0.014157659374177456,
0.026958374306559563,
0.07865224033594131,
0.0024559996090829372,
-0.02775111049413681,
-0.07065936177968979,
-0.028264861553907394,
-0.018165869638323784,
-0.04606102034449577,
-0.050597596913576126,
0.00628086319193244,
0.01862902194261551,
0.017984408885240555,
0.06994514912366867,
0.022816989570856094,
-0.03578081727027893,
-0.010557843372225761,
0.005122440401464701,
-0.008428096771240234,
-0.04547513648867607,
0.08729399740695953,
0.01537279598414898,
0.027749186381697655
] | [
0.002347382018342614,
0.00797226931899786,
0.021833550184965134,
0.0010531771695241332,
-0.013223581947386265,
0.016192464157938957,
-0.03546246513724327,
0.05540012940764427,
0.022609863430261612,
0.0050914231687784195,
-0.01911282353103161,
-0.021382803097367287,
-0.02581082470715046,
-0.014003527350723743,
0.0509253665804863,
-0.022823166102170944,
0.02041621319949627,
-0.004039086867123842,
0.033973660320043564,
0.017521943897008896,
0.020239699631929398,
0.01722361519932747,
-0.0165588166564703,
0.023917702957987785,
0.010309392586350441,
0.006744342856109142,
-0.014685075730085373,
0.012100310996174812,
0.029440969228744507,
-0.12806619703769684,
-0.02916274406015873,
-0.04479961842298508,
-0.004050989169627428,
0.012980284169316292,
0.009230907075107098,
0.0005167144699953496,
0.0009302044636569917,
0.043649084866046906,
0.03391748294234276,
0.017604967579245567,
0.018873069435358047,
-0.021083496510982513,
-0.0034845841582864523,
0.004959130194038153,
0.029062822461128235,
-0.01931060664355755,
0.00006430226494558156,
-0.02928762137889862,
-0.04063556715846062,
-0.007005150429904461,
-0.005131653044372797,
-0.0460924431681633,
-0.01514404732733965,
0.0022311864886432886,
0.027924342080950737,
-0.014359195716679096,
0.04578094929456711,
0.003284311620518565,
0.0409170538187027,
-0.0015005427412688732,
0.002017909660935402,
-0.002252176869660616,
-0.03637232631444931,
-0.035506412386894226,
-0.009058298543095589,
-0.02240179106593132,
0.020827068015933037,
0.018846724182367325,
-0.019491009414196014,
0.018713831901550293,
0.01668614149093628,
-0.00603347597643733,
0.0004918589256703854,
-0.04105769842863083,
-0.018350951373577118,
-0.022928012534976006,
0.013330711983144283,
-0.02027244307100773,
-0.007546760607510805,
-0.005329874809831381,
-0.012261050753295422,
0.01735253818333149,
0.0162343792617321,
-0.0054697138257324696,
-0.049689121544361115,
-0.010691984556615353,
0.023087967187166214,
-0.014929141849279404,
0.030069855973124504,
-0.01544151920825243,
-0.0031762798316776752,
0.004427545703947544,
-0.014343483373522758,
0.012717369943857193,
-0.10916010290384293,
-0.013888457790017128,
-0.0035402528010308743,
-0.008525512181222439,
-0.006941291503608227,
0.8470232486724854,
-0.007332748733460903,
0.028935691341757774,
0.028541751205921173,
0.001059332280419767,
0.03134724497795105,
-0.020392300561070442,
0.022036883980035782,
-0.012780312448740005,
-0.01469182688742876,
-0.025484023615717888,
-0.002092928858473897,
0.0266567375510931,
0.012418759055435658,
0.038210026919841766,
0.043934863060712814,
0.02736355923116207,
0.009536362253129482,
-0.0034259094391018152,
-0.02086886763572693,
0.018573271110653877,
0.04646832123398781,
0.029354548081755638,
0.03637544438242912,
0.027887027710676193,
0.02721474878489971,
-0.1537112444639206,
0.012893784791231155,
-7.895622903740528e-33,
0.04127674922347069,
-0.021936601027846336,
-0.024825869128108025,
-0.004183128010481596,
0.011991126462817192,
-0.05526868626475334,
-0.02362244948744774,
0.007779347710311413,
-0.026070591062307358,
-0.006449596956372261,
-0.019146522507071495,
-0.021283455193042755,
-0.018459124490618706,
0.002613983815535903,
0.00620540464296937,
-0.04670122638344765,
-0.03670867532491684,
0.020236562937498093,
-0.012973875738680363,
0.03606857731938362,
0.030387086793780327,
-0.030996883288025856,
0.006892256438732147,
0.021652132272720337,
0.0076935687102377415,
-0.0017712903209030628,
0.036528438329696655,
0.011528118513524532,
-0.009299961850047112,
-0.048424214124679565,
-0.019677216187119484,
0.002535138977691531,
-0.0022636433131992817,
-0.027717750519514084,
0.020158449187874794,
-0.04443326219916344,
-0.014048130251467228,
0.015238629654049873,
-0.01865270920097828,
-0.01309497281908989,
-0.04635621979832649,
0.010211938992142677,
-0.08066672086715698,
-0.01548601221293211,
-0.004002225585281849,
0.014308570884168148,
0.02219882793724537,
0.010131853632628918,
0.011063567362725735,
-0.03151395171880722,
-0.0024097394198179245,
-0.010237556882202625,
0.0010248543694615364,
0.004860564600676298,
0.022321132943034172,
-0.007645317353308201,
0.0010933117009699345,
-0.007913901470601559,
0.039169106632471085,
0.030051032081246376,
0.0024640955962240696,
-0.019360849633812904,
-0.032229166477918625,
0.00043327262392267585,
-0.007046401966363192,
-0.006978566292673349,
0.0032045352272689342,
0.01287763100117445,
0.03357890248298645,
-0.08019185066223145,
-0.044585831463336945,
-0.00493576331064105,
-0.003979984670877457,
0.006967899389564991,
0.02002796344459057,
-0.007916786707937717,
0.01291840709745884,
0.06426087766885757,
-0.0005855796043761075,
0.02279004454612732,
0.01717478409409523,
-0.010860749520361423,
-0.008461386896669865,
-0.0337030291557312,
0.005870778113603592,
0.007524966262280941,
0.04298907890915871,
-0.060504984110593796,
-0.06549802422523499,
0.014020291157066822,
0.0028556338511407375,
0.017406614497303963,
0.008961653336882591,
-0.013464568182826042,
-0.0021628367248922586,
8.755848934988309e-33,
-0.0014811313012614846,
-0.0043465071357786655,
-0.030085204169154167,
0.010573389008641243,
0.036166008561849594,
0.005786148831248283,
-0.00007761967572150752,
-0.015843013301491737,
-0.011850500479340553,
0.049392666667699814,
-0.01795046776533127,
0.011196957901120186,
-0.053595274686813354,
0.045911770313978195,
0.03691558912396431,
-0.0336386002600193,
0.04335977882146835,
-0.031046992167830467,
-0.00342031242325902,
-0.004751489497721195,
0.0159152802079916,
0.005763520952314138,
-0.019974330440163612,
-0.016202697530388832,
0.04830068349838257,
0.08206899464130402,
-0.031544655561447144,
0.03799211233854294,
-0.012912396341562271,
-0.02812991663813591,
0.022102059796452522,
-0.003888585837557912,
0.02895544469356537,
-0.0042142258025705814,
-0.03683597594499588,
0.022319640964269638,
0.0052161444909870625,
0.007893023081123829,
0.012176874093711376,
-0.02179255150258541,
0.03432518243789673,
0.016757195815443993,
0.029101362451910973,
0.013955507427453995,
-0.0232999250292778,
0.03409672528505325,
0.016727549955248833,
-0.013362674042582512,
-0.010937829501926899,
-0.006217059213668108,
0.029590193182229996,
0.0050924778915941715,
-0.007045161910355091,
0.0355604887008667,
-0.004359666258096695,
0.003177053527906537,
0.01037492323666811,
-0.03282713517546654,
-0.004821971990168095,
0.017809558659791946,
-0.017820842564105988,
-0.017422253265976906,
-0.0030605706851929426,
0.0036396293435245752,
-0.001715413061901927,
-0.01011489424854517,
0.02970963530242443,
-0.020644333213567734,
-0.022045230492949486,
0.0015886491164565086,
-0.0007010363042354584,
0.009770216420292854,
0.009867089800536633,
0.03421197086572647,
0.01339163351804018,
-0.008723667822778225,
-0.03602838143706322,
0.022680051624774933,
-0.029952729120850563,
-0.010884905233979225,
0.00014428651775233448,
-0.011918568052351475,
-0.0011445210548117757,
0.01049072202295065,
-0.01421468798071146,
-0.001108668278902769,
-0.006662832107394934,
0.03751672804355621,
0.015396990813314915,
-0.01564144901931286,
-0.022834783419966698,
-0.030292613431811333,
0.004923929926007986,
0.040483660995960236,
0.01774095557630062,
-1.36344935341981e-8,
0.008291633799672127,
-0.008656621910631657,
-0.021463556215167046,
-0.00004241367423674092,
0.01582002267241478,
0.006695469841361046,
-0.0008855542400851846,
0.011845797300338745,
-0.014693043194711208,
0.020629148930311203,
0.05209122225642204,
0.003974645398557186,
-0.012704852037131786,
0.0302265752106905,
0.01221925113350153,
-0.07992023229598999,
-0.001790134352631867,
0.01792040280997753,
0.0286355372518301,
-0.024127688258886337,
0.006853059865534306,
0.05659312382340431,
-0.028556572273373604,
-0.01565675437450409,
0.029211698099970818,
-0.011463487520813942,
-0.014613472856581211,
-0.060421377420425415,
0.0006325822323560715,
-0.02719101682305336,
0.03407733514904976,
0.002837663982063532,
-0.03788809850811958,
0.024664627388119698,
-0.018139291554689407,
-0.040115416049957275,
0.028631284832954407,
0.013189038261771202,
0.00017554723308421671,
0.013211393728852272,
-0.005354554858058691,
0.004410947673022747,
-0.0035930327139794827,
-0.029057305306196213,
0.003506447421386838,
0.021051527932286263,
-0.03186939284205437,
0.011982466094195843,
0.018548958003520966,
-0.04563601315021515,
-0.0033456769306212664,
-0.004223325755447149,
0.028777452185750008,
0.03871620446443558,
-0.00334459962323308,
0.01680707186460495,
-0.010820460505783558,
-0.035595156252384186,
-0.053166281431913376,
-0.0010325491894036531,
0.01644120365381241,
0.003483345964923501,
0.016009286046028137,
-0.03522823750972748
] | slack-time | https://markhneedham.com/blog/2010/06/18/slack-time |
false | 2010-06-29 06:45:11 | NHibernate 2nd level cache: Doing it wrong? | [
"nhibernate"
] | [
"Hibernate"
] | I wrote a couple of weeks ago about how we'd been trying to make use of the http://www.markhneedham.com/blog/2010/06/16/fluent-nhibernate-and-the-2nd-level-cache/[NHibernate 2nd level cache] and we were able to cache our data by following the various posts that I listed.
Unfortunately when we ran some performance tests we found that the performance of the application was significantly worse than when we just wrote our own 'cache' - an object which had a dictionary containing the reference data items we'd previously tried to lookup and the appropriate values.
We don't need to handle cache invalidation. The client's policy is to restart production servers every night so if we want to update any of the reference data then we just need to make sure a database script is run before the servers get restarted.
== Explicit transactions when reading
There is a post on the NHibernate Profiler website which describes why http://nhprof.com/Learn/Alerts/DoNotUseImplicitTransactions[we should not use implicit transactions] when using NHibernate. Instead we should create explicit ones:
____
When we don't define our own transactions, it falls back into implicit transaction mode, where every statement to the database runs in its own transaction, resulting in a large performance cost (database time to build and tear down transactions), and reduced consistency. Even if we are only reading data, we should use a transaction, because using transactions ensures that we get consistent results from the database.
____
We ended up with something like this:
[source,csharp]
----
public class OurRepository
{
public ReferenceDataObject Find(ReferenceDataObjectKey key)
{
using(var session = SessionFactory.OpenSession())
{
using(var tx = session.BeginTransaction())
{
var query = session.Linq<ReferenceDataObject>().Where(r => r.Key == key);
query.QueryOptions.SetCachable(true).SetCacheMode(CacheMode.Normal);
// and so on
}
}
// return the object
}
}
----
As well as performance tests, we found that our integration tests became much slower than when we used our own 'cache'.
We have some tests which look up 100s of different bits of reference data and the total time taken to run those tests went from around 4 seconds up to 30 seconds.
As I understand it, putting a transaction around a query means that we create a transaction with the database on every request even if the query is cached and we're going to retrieve the results from the 2nd level cache rather than the database.
We took out the transaction which reduced the time taken to 7 seconds but it was still slower than when we used our hand rolled cache.
It seems like we must be doing something wrong or not understand something with respect to the NHibernate 2nd level cache because it seems ridiculous that the performance could be this different? | null | null | [
-0.00918891467154026,
-0.007073548622429371,
0.006082788575440645,
0.047829464077949524,
0.0758242979645729,
-0.02651146985590458,
0.048737164586782455,
0.034822478890419006,
0.01324463915079832,
-0.0220946092158556,
0.01461581140756607,
0.0031397526618093252,
-0.06645628809928894,
0.011953067034482956,
-0.006224410142749548,
0.05769720673561096,
0.0705476775765419,
-0.020504971966147423,
0.03446877375245094,
0.00043965710210613906,
0.004744675476104021,
0.08779480308294296,
0.0012285214615985751,
0.05437088385224342,
0.03450951352715492,
0.05863545089960098,
-0.03215295448899269,
0.007357197348028421,
-0.06880009919404984,
-0.007402298040688038,
0.01414728257805109,
0.003750244854018092,
-0.020315200090408325,
0.00025609895237721503,
0.051507193595170975,
-0.001991855213418603,
-0.00042392557952553034,
0.024032918736338615,
-0.025948993861675262,
0.01362545508891344,
-0.07611225545406342,
0.02497882954776287,
-0.009723300114274025,
0.02263774536550045,
-0.038309063762426376,
-0.003324988065287471,
-0.050811346620321274,
0.017135951668024063,
-0.013090886175632477,
-0.02748158574104309,
-0.07546107470989227,
0.049637991935014725,
-0.014170530252158642,
0.017364708706736565,
-0.012532335706055164,
0.04920642822980881,
0.00359360221773386,
-0.07335493713617325,
0.0320366695523262,
-0.04456184059381485,
0.031222403049468994,
-0.0018167644739151,
-0.01452222466468811,
-0.0030616025906056166,
0.01167220901697874,
-0.02471734583377838,
0.012064472772181034,
0.036475758999586105,
-0.04249175265431404,
0.002701528836041689,
-0.010412207804620266,
0.003425095696002245,
-0.0011792635777965188,
0.008856475353240967,
0.003946126904338598,
-0.02884567342698574,
0.005116935353726149,
0.04209062457084656,
0.05287173017859459,
0.054304271936416626,
-0.0018996552098542452,
-0.016781365498900414,
0.016324348747730255,
0.024885108694434166,
-0.000014497304618998896,
-0.05707200616598129,
0.0006172469002194703,
-0.014837137423455715,
-0.0443984679877758,
0.060683123767375946,
0.001518529374152422,
-0.0318685881793499,
0.013279181905090809,
0.011170185171067715,
-0.04715360328555107,
-0.028124557808041573,
0.04626614227890968,
-0.0030531713273376226,
0.022998547181487083,
-0.0019864351488649845,
-0.028784751892089844,
-0.03120632842183113,
0.02993297204375267,
0.03100723959505558,
-0.06834721565246582,
0.0019799412693828344,
-0.07242642343044281,
-0.026668190956115723,
0.015215948224067688,
0.0034211885649710894,
-0.018970360979437828,
0.015563610009849072,
-0.011713427491486073,
0.005568172782659531,
-0.07297758013010025,
0.07224095612764359,
0.009414706379175186,
-0.03407319262623787,
0.0018989677773788571,
0.022504566237330437,
0.05262071266770363,
0.0316915363073349,
-0.020845085382461548,
0.05621828883886337,
-0.01003155019134283,
0.05498340725898743,
0.02023886889219284,
0.03332895785570145,
-0.007155121304094791,
-0.09640088677406311,
0.02472398616373539,
0.03336035832762718,
-0.026591366156935692,
0.019184190779924393,
-0.006108937319368124,
-0.03283689543604851,
-0.012589993886649609,
-0.004160171374678612,
0.06205807253718376,
0.026936696842312813,
0.013405336067080498,
-0.05273914709687233,
0.019876649603247643,
-0.0004450617707334459,
0.049507152289152145,
0.00040261141839437187,
-0.005575062241405249,
-0.03115042671561241,
-0.016254857182502747,
0.021322395652532578,
0.030433200299739838,
0.09175992012023926,
0.036722127348184586,
-0.03550705686211586,
0.035469502210617065,
0.09250593185424805,
-0.0033630391117185354,
0.003118539461866021,
-0.00623823469504714,
0.03226994350552559,
0.023507198318839073,
0.034671850502491,
0.003818954573944211,
0.025691639631986618,
-0.004073833115398884,
-0.0054887705482542515,
0.002646814798936248,
0.05457085743546486,
-0.011757701635360718,
-0.005734757054597139,
-0.07114715129137039,
-0.05407342314720154,
0.028705386444926262,
-0.05259034410119057,
-0.0062349471263587475,
0.07122410833835602,
0.06880924105644226,
0.03156976401805878,
0.05792241916060448,
-0.004820817615836859,
-0.07966966181993484,
0.006842904258519411,
0.020542364567518234,
-0.004568132571876049,
-0.010078471153974533,
0.02544478140771389,
0.06129501014947891,
0.046920616179704666,
-0.014637846499681473,
0.020152263343334198,
-0.0713421180844307,
-0.04955358803272247,
-0.027085790410637856,
-0.00209009344689548,
0.045164987444877625,
-0.014947512187063694,
0.01773061417043209,
0.09258472919464111,
0.028177211061120033,
0.05282235145568848,
0.04038049280643463,
0.0038006706163287163,
0.029412848874926567,
-0.061102986335754395,
-0.03991967439651489,
0.023537741973996162,
0.018289214000105858,
0.014499927870929241,
-0.0683189332485199,
-0.005337284412235022,
-0.03125367313623428,
-0.015022620558738708,
0.01713164895772934,
0.016774151474237442,
0.019830889999866486,
-0.014724932610988617,
0.010601092129945755,
-0.004787005018442869,
0.05807099491357803,
-0.04553729668259621,
0.024134259670972824,
0.02600310929119587,
-0.013823914341628551,
0.0014262513723224401,
-0.01952471025288105,
0.11214796453714371,
0.037751927971839905,
-0.058392465114593506,
-0.03905396908521652,
0.04616520181298256,
0.01873048022389412,
-0.03702344372868538,
0.014169336296617985,
-0.03732246905565262,
0.011036043986678123,
0.026975611224770546,
-0.022892290726304054,
-0.011896771378815174,
0.007809047121554613,
-0.034271810203790665,
-0.0233011431992054,
0.05689693242311478,
-0.00037083838833495975,
0.06277255713939667,
0.0113552026450634,
-0.019212467595934868,
-0.017819007858633995,
-0.017900345847010612,
-0.06294882297515869,
-0.015707580372691154,
0.0018274295143783092,
-0.012393380515277386,
0.04573075845837593,
-0.028988521546125412,
-0.01593274064362049,
-0.041409242898225784,
-0.058869022876024246,
0.043587055057287216,
-0.00045241936459206045,
0.06657136231660843,
0.003092848462983966,
0.07015927881002426,
0.000709983054548502,
-0.0012857078108936548,
-0.004417868796736002,
-0.0384514294564724,
-0.020417122170329094,
-0.026375340297818184,
0.004987014457583427,
0.01076945848762989,
0.021609175950288773,
-0.03496119752526283,
0.04393544793128967,
0.02245577983558178,
-0.0010608513839542866,
-0.027895497158169746,
0.045505546033382416,
0.024075843393802643,
-0.011361095122992992,
-0.03813754394650459,
-0.04254908114671707,
0.02797531522810459,
-0.059005025774240494,
-0.023654649034142494,
0.002671290887519717,
-0.07653583586215973,
0.02815188840031624,
-0.08620470017194748,
-0.05515918508172035,
0.007757191080600023,
0.026405591517686844,
-0.002219187328591943,
-0.004827417433261871,
-0.0003051858220715076,
0.0681067556142807,
0.036658287048339844,
0.008178960531949997,
-0.00781636219471693,
0.006139122880995274,
0.02664778381586075,
0.002952719107270241,
-0.006684605497866869,
0.011634187772870064,
-0.00038197520188987255,
0.005133984610438347,
-0.06688560545444489,
0.014277334325015545,
-0.02270907536149025,
-0.274137020111084,
0.025462612509727478,
0.0187075175344944,
-0.05774574726819992,
0.04641116410493851,
-0.02451261319220066,
0.010770353488624096,
-0.020309189334511757,
-0.050328925251960754,
0.06450220197439194,
0.006498032249510288,
-0.026083042845129967,
-0.0152059867978096,
0.05189617723226547,
-0.009759536013007164,
0.04714350029826164,
0.0411827489733696,
-0.047267813235521317,
-0.01624874211847782,
0.03577430546283722,
-0.006679743528366089,
-0.07024682313203812,
-0.007729330565780401,
0.00876060500741005,
0.024421971291303635,
0.06566409021615982,
-0.06938422471284866,
0.02866751328110695,
-0.042104754596948624,
-0.01854676939547062,
0.0038910680450499058,
0.01468446385115385,
0.019904082641005516,
-0.01811797544360161,
-0.027880366891622543,
-0.022180205211043358,
0.025197109207510948,
0.04431156441569328,
0.0083076860755682,
0.0096540916711092,
-0.04582972452044487,
-0.04214313253760338,
-0.029456408694386482,
0.010640349239110947,
0.09511279314756393,
0.0013949727872386575,
-0.0788622722029686,
0.005828836467117071,
-0.01625210978090763,
0.044255614280700684,
-0.0458473339676857,
-0.049538251012563705,
-0.011184710077941418,
0.05527980625629425,
-0.023363783955574036,
-0.043591681867837906,
-0.003408275078982115,
-0.02556898258626461,
-0.0655474066734314,
-0.04150249436497688,
-0.017232196405529976,
-0.03668360784649849,
-0.013151600956916809,
-0.008440597914159298,
0.000485197058878839,
-0.053069908171892166,
-0.04022734612226486,
-0.006942731328308582,
0.07855894416570663,
0.04093005880713463,
-0.02142689935863018,
-0.010922906920313835,
0.011158933863043785,
-0.10453620553016663,
-0.004148731008172035,
-0.04155578464269638,
-0.00017339238547720015,
-0.009195593185722828,
-0.02563302032649517,
0.03469539061188698,
-0.00889345072209835,
-0.020897258073091507,
-0.00685437535867095,
0.030513782054185867,
0.055506475269794464,
-0.013304034247994423,
0.03376448154449463,
-0.004088948480784893,
-0.040192797780036926,
-0.00022298123803921044,
0.08390571922063828,
-0.014769908040761948,
-0.0016649927711114287,
-0.02840663492679596,
-0.022626100108027458,
0.013266640715301037,
-0.014480089768767357,
0.0014322163769975305,
-0.002143839141353965,
0.008921416476368904,
0.06100878491997719,
-0.04514964297413826,
0.04162314161658287,
-0.02620117925107479,
-0.019652314484119415,
-0.0171319879591465,
-0.049222275614738464,
0.04189561307430267,
0.031220804899930954,
0.03532474488019943,
-0.01871475949883461,
-0.009909430518746376,
0.013151581399142742,
-0.04194245487451553,
-0.038909122347831726,
-0.012234436348080635,
0.025369906798005104,
0.026651820167899132,
-0.020373176783323288,
-0.02302285097539425,
-0.03522179648280144,
0.03903678432106972,
0.030687274411320686,
-0.0023078874219208956,
-0.0536993108689785,
-0.02471441775560379,
-0.0165296271443367,
-0.012934577651321888,
0.012885401025414467,
0.0334920659661293,
0.00018538518634159118,
0.02069009840488434,
0.019323602318763733,
-0.027541985735297203,
0.0326530784368515,
-0.018025005236268044,
-0.011686349287629128,
-0.03959611430764198,
-0.012488892301917076,
-0.011290869675576687,
0.0037943199276924133,
-0.004871550016105175,
0.023007340729236603,
0.04377177730202675,
0.034512296319007874,
0.02661166712641716,
0.055896274745464325,
-0.01012955978512764,
0.00135675014462322,
0.025082025676965714,
0.02092099003493786,
-0.05591479316353798,
0.0010583486873656511,
-0.03684628754854202,
-0.030499257147312164,
0.00038112036418169737,
0.04970661178231239,
-0.025706928223371506,
-0.014131790958344936,
-0.019458578899502754,
0.00856722705066204,
-0.08479882776737213,
-0.035718195140361786,
-0.01730690337717533,
-0.0016258179675787687,
0.061552323400974274,
-0.014569724909961224,
0.03593582287430763,
-0.018934618681669235,
-0.005096025299280882,
0.014141489751636982,
0.016675235703587532,
-0.04335165396332741,
0.02156192623078823,
0.030572256073355675,
-0.00195227877702564,
-0.003201363142579794,
0.013979382812976837,
0.030699627473950386,
0.016697069630026817,
0.006498148664832115,
-0.00423132861033082,
-0.00012511601380538195,
-0.008453271351754665,
0.04486223682761192,
0.013177210465073586,
0.01668684557080269,
0.01565096341073513,
-0.0003282169927842915,
-0.015594514086842537,
-0.020013771951198578,
-0.008637764491140842,
-0.023832056671380997,
0.010199652053415775,
-0.0016359166475012898,
-0.08105278015136719,
0.07018576562404633,
0.004995046183466911,
-0.0029282942414283752,
0.036567095667123795,
0.035277582705020905,
-0.01894836314022541,
-0.017596671357750893,
0.03756577894091606,
0.03320761397480965,
-0.05140485242009163,
0.0032343098428100348,
-0.019126854836940765,
0.005628427490592003,
0.012186581268906593,
0.010537036694586277,
-0.022011173889040947,
-0.03016906976699829,
-0.007137893233448267,
-0.00015337008517235518,
-0.03367769345641136,
-0.022547423839569092,
-0.03617275133728981,
-0.00020440900698304176,
-0.007797106169164181,
-0.020990923047065735,
0.0022533603478223085,
-0.005786695051938295,
-0.01716623082756996,
-0.024605905637145042,
0.007993859238922596,
-0.011948560364544392,
-0.01814188063144684,
-0.001960292225703597,
-0.03129896521568298,
0.016012806445360184,
-0.027858128771185875,
0.010414442978799343,
0.004864617716521025,
-0.021867660805583,
-0.022973645478487015,
-0.026985930278897285,
0.02036460116505623,
0.02514311484992504,
0.04614938423037529,
-0.026273686438798904,
0.0034626834094524384,
0.0010075680911540985,
-0.012890655547380447,
-0.02705227956175804,
0.012183970771729946,
0.00035879583447240293,
-0.014994428493082523,
0.038244836032390594,
0.05329025536775589,
-0.015857744961977005,
0.03626080974936485,
0.00523321283981204,
-0.040357816964387894,
0.06043523922562599,
-0.0758042111992836,
-0.0018818927928805351,
-0.017945218831300735,
-0.06208972632884979,
0.011815520003437996,
0.009090704843401909,
-0.002224999712780118,
-0.040559522807598114,
0.006937318481504917,
0.03228273242712021,
0.021130148321390152,
0.05164159834384918,
0.009204159490764141,
0.0529618114233017,
-0.038312580436468124,
-0.02007010206580162,
-0.07125107944011688,
-0.01149882934987545,
0.03496422991156578,
0.009727823548018932,
-0.024801379069685936,
-0.000992939923889935,
-0.03462160378694534,
0.05264337360858917,
-0.056575991213321686,
-0.029283208772540092,
0.02528032287955284,
-0.005117952823638916,
-0.031035514548420906,
0.015021080151200294,
-0.03668687492609024,
0.014365332201123238,
-0.013402736745774746,
-0.017679985612630844,
-0.06743132323026657,
-0.026142572984099388,
0.04538547247648239,
0.011388106271624565,
0.028357932344079018,
-0.07416500896215439,
0.028176484629511833,
0.06823506951332092,
0.014471505768597126,
0.022869696840643883,
0.03969121724367142,
-0.029701314866542816,
0.04668106511235237,
0.012873951345682144,
0.008004395291209221,
0.011046307161450386,
-0.026040976867079735,
-0.0015394642250612378,
-0.06594150513410568,
0.01676582731306553,
-0.010260804556310177,
-0.027477111667394638,
-0.05919436737895012,
0.0607275627553463,
0.020991722121834755,
0.0015358122764155269,
-0.07398316264152527,
0.02133517526090145,
-0.037345826625823975,
-0.037171371281147,
-0.03365030512213707,
0.028354888781905174,
-0.05401507392525673,
0.06496728956699371,
0.010543040931224823,
0.01586225815117359,
0.06359986215829849,
-0.00510500418022275,
-0.01916745863854885,
0.009905090555548668,
0.07321757078170776,
0.07864214479923248,
0.03943498805165291,
-0.0031646150164306164,
0.07402532547712326,
-0.002012076321989298,
-0.026539495214819908,
0.012655837461352348,
-0.036319550126791,
-0.040740590542554855,
-0.022678814828395844,
0.028678417205810547,
0.0596877783536911,
-0.02013310231268406,
0.05144469439983368,
-0.05156956613063812,
-0.010223418474197388,
0.015603131614625454,
-0.0006543169729411602,
0.036478638648986816,
0.041600823402404785,
0.00806387048214674,
0.027130434289574623,
-0.0120988255366683,
-0.03524624556303024,
-0.004417333751916885,
-0.00009428660268895328,
-0.006812149193137884,
0.0015984175261110067,
-0.023965490981936455,
0.019362900406122208,
0.009511919692158699,
0.00984088983386755,
0.09538304805755615,
-0.006570105906575918,
0.0005857059732079506,
-0.027541322633624077,
-0.00982639193534851,
0.0014383564703166485,
-0.00013065416715107858,
-0.024499094113707542,
-0.05437898263335228,
0.01254374161362648,
-0.019491510465741158,
-0.016182662919163704,
-0.0077848308719694614,
-0.044217709451913834,
0.029063129797577858,
-0.011225801892578602,
0.010600607842206955,
0.004084424115717411,
0.013548256829380989,
-0.06655191630125046,
-0.0578007809817791,
-0.067463718354702,
-0.02304278127849102,
-0.0565362274646759,
0.023691978305578232,
0.014353671111166477,
0.0014535462250933051,
-0.04392389580607414,
-0.02433810383081436,
-0.0009289798908866942,
-0.04531611129641533,
0.06036745756864548,
-0.0507582426071167,
-0.011173904873430729,
0.019882846623659134,
0.015752259641885757,
0.01707455702126026,
0.04666031897068024,
0.0612143836915493,
-0.0011074444046244025,
0.029152069240808487,
-0.013764801435172558,
-0.023690886795520782,
0.048691526055336,
-0.022537365555763245,
-0.009571017697453499,
-0.08793207257986069,
0.011076918803155422,
0.01943623088300228,
-0.007719917688518763,
-0.0862865149974823,
-0.010489138774573803,
0.008958839811384678,
-0.026455674320459366,
0.05061046779155731,
-0.016859378665685654,
0.01231173425912857,
-0.014864074997603893,
-0.01719294860959053,
0.005204323213547468,
0.03890133649110794,
0.02847491391003132,
-0.013658280484378338,
0.06147687882184982,
0.03583385422825813,
-0.0408121757209301,
-0.0317925326526165,
0.0010246428428217769,
-0.0016012670239433646,
0.015870682895183563,
-0.012208623811602592,
-0.03909881412982941,
-0.03557113930583,
-0.07431729137897491,
-0.044587261974811554,
0.038280121982097626,
-0.009381295181810856,
0.0014717867597937584,
0.015140523202717304,
0.04808405414223671,
-0.06725914776325226,
0.022954337298870087,
-0.0331093892455101,
0.02190377749502659,
-0.021236876025795937,
-0.05218132585287094,
0.00851003173738718,
0.027643773704767227,
-0.005791390780359507,
-0.02118275687098503,
0.016321582719683647,
-0.06738750636577606,
-0.0003996734449174255,
-0.001925020944327116,
0.033999014645814896,
0.025486957281827927,
-0.004651098046451807,
0.003831622889265418
] | [
-0.10554486513137817,
-0.01224831398576498,
-0.040523167699575424,
-0.006927542854100466,
0.014439386315643787,
-0.03381555899977684,
0.017850084230303764,
-0.0036111208610236645,
0.01617037132382393,
-0.006993826478719711,
-0.0005580915603786707,
-0.03449338302016258,
0.00849880650639534,
0.024687107652425766,
0.06064179539680481,
0.0005836521741002798,
-0.004783103242516518,
-0.09372503310441971,
-0.03330862522125244,
0.049503982067108154,
0.014286556281149387,
-0.04877674579620361,
-0.025985531508922577,
-0.004871862940490246,
0.005235941149294376,
0.02530304342508316,
0.04269569739699364,
-0.06414300948381424,
-0.0002290737465955317,
-0.2061479389667511,
0.018042508512735367,
-0.034223418682813644,
0.013288041576743126,
-0.017352130264043808,
0.003492639632895589,
0.043712370097637177,
0.023011697456240654,
0.03434012830257416,
-0.009386786259710789,
0.04654780402779579,
0.01943737454712391,
0.04546529799699783,
-0.09206265211105347,
-0.013562126085162163,
0.05268720164895058,
-0.03233521059155464,
0.012300743721425533,
-0.0328805036842823,
0.007418208289891481,
0.03034854680299759,
-0.05946262553334236,
-0.026021810248494148,
-0.01918630488216877,
-0.023611728101968765,
0.018053386360406876,
0.021905411034822464,
0.0634431540966034,
0.05758560448884964,
0.016440890729427338,
0.006291724741458893,
0.015140536241233349,
-0.008193070068955421,
-0.12376419454813004,
0.09262292087078094,
0.008025767281651497,
0.042290426790714264,
-0.005758403334766626,
-0.0435902364552021,
0.0044394563883543015,
0.07396642863750458,
-0.009205713868141174,
-0.014734131284058094,
-0.04785766080021858,
0.050691135227680206,
0.026063259690999985,
-0.017066704109311104,
0.01326538436114788,
0.03389768674969673,
0.0446915328502655,
-0.03123120404779911,
-0.05148252472281456,
0.005166334565728903,
0.0028407806530594826,
-0.0020827287808060646,
-0.0242964755743742,
0.03646795451641083,
-0.00932967010885477,
0.03449947014451027,
0.025185825303196907,
0.0064319889061152935,
0.05467233806848526,
0.011324477382004261,
0.06550054997205734,
0.004378313198685646,
-0.09953653067350388,
0.021230921149253845,
-0.013585072010755539,
0.03511489927768707,
-0.013376212678849697,
0.3974851369857788,
0.0001662240392761305,
-0.02457677386701107,
0.008843081071972847,
0.032368965446949005,
-0.0047321198508143425,
0.003461918095126748,
0.014244651421904564,
-0.05505465716123581,
0.03667541593313217,
-0.019030438736081123,
0.0046090069226920605,
0.01674695499241352,
0.038506560027599335,
-0.05121181532740593,
0.0028347910847514868,
0.051170963793992996,
0.031412623822689056,
0.017887115478515625,
-0.05089181289076805,
0.01193631999194622,
-0.02213406376540661,
0.02414168044924736,
0.03570055216550827,
0.022670648992061615,
0.008099083788692951,
-0.012248361483216286,
0.015781065449118614,
0.04477362334728241,
0.00891866721212864,
-0.0022692319471389055,
-0.0003356651868671179,
-0.035432104021310806,
-0.07769043743610382,
0.0026321392506361008,
0.009075476787984371,
-0.017639048397541046,
0.01633467711508274,
-0.05175357311964035,
0.02386993169784546,
0.02146349847316742,
-0.024180786684155464,
-0.0073562017641961575,
0.0016659145476296544,
-0.0021990365348756313,
-0.07188230007886887,
0.12254253774881363,
0.05141659080982208,
-0.007286404259502888,
-0.03559861332178116,
-0.051745057106018066,
-0.0040945992805063725,
0.07293514162302017,
-0.011602260172367096,
-0.08898359537124634,
0.015239235945045948,
0.02048603631556034,
0.05225282907485962,
-0.004577873274683952,
-0.05301683396100998,
-0.05042513087391853,
-0.0319121852517128,
-0.02757743000984192,
-0.06905817985534668,
0.05239192023873329,
0.016666177660226822,
-0.06314823776483536,
-0.04271143302321434,
0.03086850233376026,
0.01393270306289196,
-0.06294842064380646,
-0.017316941171884537,
0.010011444799602032,
-0.04091019555926323,
-0.01080995611846447,
0.05379800125956535,
-0.051994938403367996,
-0.03902334347367287,
-0.020741449669003487,
0.0009107023943215609,
0.0029355825390666723,
0.01429898664355278,
0.010654343292117119,
-0.06865868717432022,
0.00406173150986433,
-0.012760305777192116,
-0.11422986537218094,
-0.053477030247449875,
0.030798187479376793,
-0.002074427902698517,
-0.03539430722594261,
-0.04780770465731621,
-0.02741016261279583,
-0.06646867096424103,
0.13429245352745056,
0.002725154859945178,
-0.047264717519283295,
0.025451647117733955,
0.04939228668808937,
-0.0231883954256773,
-0.03773321956396103,
0.06932119280099869,
0.07829698175191879,
-0.004675579722970724,
0.04568219929933548,
-0.049668166786432266,
0.023252544924616814,
0.005402274429798126,
-0.05831240862607956,
0.07074158638715744,
0.022445958107709885,
-0.017562923952937126,
-0.0005629521328955889,
-0.03908645361661911,
0.053369589149951935,
-0.031623724848032,
-0.0034958033356815577,
0.005711712874472141,
0.05169890820980072,
0.02247665449976921,
0.014363054186105728,
-0.009793178178369999,
-0.03246305137872696,
0.00522267073392868,
-0.3507993519306183,
-0.018095320090651512,
-0.02710898034274578,
-0.019770994782447815,
0.022124139592051506,
-0.06790020316839218,
0.023999076336622238,
-0.013772083446383476,
-0.02061145193874836,
0.007499467581510544,
0.04929758980870247,
-0.02079569734632969,
0.016005955636501312,
-0.05973448231816292,
0.021654369309544563,
0.020777573809027672,
-0.03836534544825554,
-0.02384227141737938,
-0.043510399758815765,
-0.0018337300280109048,
0.008139055222272873,
-0.01655237004160881,
-0.026230715215206146,
-0.07227149605751038,
0.030306430533528328,
-0.005990485195070505,
0.11567521840333939,
-0.04997644200921059,
0.06953046470880508,
-0.069008968770504,
0.056242652237415314,
0.009800664149224758,
-0.02340742200613022,
-0.14367195963859558,
0.001487815286964178,
-0.042161885648965836,
-0.02880113571882248,
0.008213718421757221,
0.007456915453076363,
-0.04521375149488449,
-0.05761106312274933,
0.0262045469135046,
-0.041219908744096756,
-0.06359010189771652,
-0.023138107731938362,
0.018452215939760208,
-0.04204392433166504,
-0.012910722754895687,
-0.01691092923283577,
0.05845453590154648,
0.013142353855073452,
0.016286998987197876,
0.00351312686689198,
0.038495808839797974,
0.014053579419851303,
-0.018173400312662125,
-0.06549106538295746,
-0.012895251624286175,
-0.0029018118511885405,
0.002800854854285717,
0.035235896706581116,
0.0663859024643898,
0.0140382694080472,
-0.04594539478421211,
0.009335320442914963,
0.01077447272837162,
0.015121876262128353,
-0.008422308601439,
0.042894039303064346,
-0.04784339293837547,
-0.046058960258960724,
0.09234580397605896,
-0.022249605506658554,
-0.005165900569409132,
0.053717393428087234,
0.04335598275065422,
-0.04657496139407158,
-0.008030558936297894,
-0.002228794153779745,
-0.0005431995377875865,
0.035298630595207214,
-0.01425634603947401,
0.06277821958065033,
0.015208679251372814,
-0.004556836560368538,
0.08188506215810776,
0.014604833908379078,
0.01674151048064232,
0.033759232610464096,
-0.009560654871165752,
-0.024583404883742332,
-0.0057342033833265305,
-0.03453271836042404,
-0.09223411977291107,
0.07741193473339081,
-0.02290400303900242,
-0.23090589046478271,
0.04408171400427818,
0.04440809413790703,
0.03291533514857292,
0.007845941931009293,
0.024362225085496902,
0.016779201105237007,
-0.03360304608941078,
0.02951311506330967,
0.01474645733833313,
0.04326183721423149,
0.043195437639951706,
-0.009932172484695911,
0.0015793760539963841,
0.04616178199648857,
0.010760731995105743,
0.04870429262518883,
0.0029996135272085667,
0.03446659818291664,
-0.022653115913271904,
0.009621369652450085,
-0.023676946759223938,
0.1561402827501297,
0.056768227368593216,
-0.004088771063834429,
0.023752059787511826,
-0.023056592792272568,
0.02609321102499962,
0.0882038027048111,
0.024505216628313065,
-0.01440963800996542,
0.019643496721982956,
0.07432631403207779,
0.03741924464702606,
0.025509566068649292,
-0.07828303426504135,
-0.020262453705072403,
0.02196667343378067,
0.01913757435977459,
-0.0012233753222972155,
0.017319612205028534,
0.036711130291223526,
-0.04642658308148384,
0.0660574659705162,
0.07052110880613327,
0.020925167948007584,
0.003265193896368146,
-0.03716545179486275,
-0.030957935377955437,
-0.009080001153051853,
-0.024534445255994797,
-0.014714132994413376,
0.027593472972512245,
0.007553830277174711,
0.02024977095425129,
0.035516805946826935,
0.020560191944241524,
-0.04873302951455116,
-0.012560222297906876,
0.01683765836060047,
0.0225962083786726,
0.024007314816117287,
0.059628285467624664,
-0.012237177230417728,
-0.006208739243447781
] | [
0.02876427210867405,
0.014934729784727097,
0.0034308074973523617,
0.013240662403404713,
-0.03146757557988167,
-0.006276146974414587,
0.03391670808196068,
0.010076158680021763,
-0.018572872504591942,
0.028243951499462128,
-0.029424389824271202,
-0.018588555976748466,
-0.006785412319004536,
0.0001908798876684159,
0.012600155547261238,
0.006428551394492388,
0.03199094161391258,
-0.01912749744951725,
0.007769840303808451,
0.012478247284889221,
-0.018727431073784828,
0.03712848201394081,
0.04613896459341049,
-0.0254279263317585,
-0.021181177347898483,
0.002106723841279745,
-0.021414924412965775,
-0.023848140612244606,
0.016690805554389954,
-0.12406256794929504,
-0.04063768312335014,
-0.03997453674674034,
-0.04046788439154625,
0.01535127591341734,
-0.005729710683226585,
-0.0063749258406460285,
0.019879590719938278,
0.043574653565883636,
0.024472905322909355,
0.005558069329708815,
0.007791336625814438,
-0.006217812653630972,
-0.026983588933944702,
-0.00047395392903126776,
0.0030589019879698753,
0.009246230125427246,
0.00869068969041109,
-0.02861890010535717,
-0.02492242492735386,
-0.006064870394766331,
-0.022394336760044098,
-0.02207172103226185,
-0.0029241458978503942,
0.03236071392893791,
0.009316099807620049,
0.03308353200554848,
-0.03125573322176933,
0.010236933827400208,
-0.009031957015395164,
0.013243285939097404,
0.012722761370241642,
-0.014125666581094265,
-0.003196386620402336,
-0.045411597937345505,
0.010625441558659077,
-0.02025223709642887,
0.016573479399085045,
-0.030721960589289665,
-0.0010240890551358461,
0.0031830102670937777,
-0.031291279941797256,
0.019655609503388405,
0.0011905432911589742,
-0.023505767807364464,
-0.02559668943285942,
0.005827242508530617,
0.018622422590851784,
-0.007396933156996965,
0.038724493235349655,
-0.040065228939056396,
-0.045079268515110016,
0.010456900112330914,
0.029301943257451057,
-0.018486887216567993,
-0.01348128542304039,
-0.017243126407265663,
0.03693430870771408,
-0.03145571053028107,
0.06537536531686783,
-0.011769890785217285,
-0.03671855106949806,
0.019600143656134605,
0.04348088055849075,
-0.0020628434140235186,
-0.10645941644906998,
-0.016536006703972816,
0.047367703169584274,
-0.0033161775209009647,
0.018083423376083374,
0.8245607018470764,
0.029727574437856674,
0.04704257845878601,
0.007577462587505579,
0.01595091074705124,
-0.014945411123335361,
0.00585103640332818,
0.020886240527033806,
-0.015257565304636955,
0.014902475290000439,
0.01712591014802456,
-0.006495057139545679,
0.06007806211709976,
0.03618411719799042,
0.00013743418094236404,
0.01211981475353241,
-0.015963198617100716,
0.014350136741995811,
-0.033419787883758545,
-0.020003043115139008,
0.03228738158941269,
-0.00316141196526587,
-0.028540080413222313,
0.0003590776468627155,
-0.0008693955023773015,
-0.005694101564586163,
-0.18231552839279175,
0.039174847304821014,
-8.040349033529799e-33,
0.07126692682504654,
0.005416250787675381,
0.009755764156579971,
0.02954084984958172,
0.04901568219065666,
0.0019679595716297626,
0.010239165276288986,
0.02883971855044365,
-0.01000206358730793,
-0.017910998314619064,
-0.00018692700541578233,
-0.03192459046840668,
-0.03494252637028694,
-0.017727278172969818,
0.010036914609372616,
0.04557875171303749,
-0.03470108285546303,
0.038526251912117004,
0.030815761536359787,
0.0011478881351649761,
-0.006942037492990494,
0.062237970530986786,
0.004245958756655455,
-0.01138584315776825,
-0.021890979260206223,
0.0248098224401474,
-0.005419465247541666,
0.02966858446598053,
-0.024821551516652107,
-0.041298750787973404,
0.041575875133275986,
-0.007436439394950867,
-0.012750225141644478,
-0.00783203449100256,
-0.010203898884356022,
-0.037499479949474335,
0.003879042575135827,
0.01853957772254944,
-0.024345314130187035,
-0.04994651675224304,
-0.02795514278113842,
0.019848428666591644,
-0.023062486201524734,
-0.03076377511024475,
-0.04850241169333458,
0.007618125062435865,
0.01199036743491888,
0.04263625666499138,
0.026450207456946373,
-0.009142789989709854,
-0.011630128137767315,
-0.0021135599818080664,
-0.00871826708316803,
-0.005096013657748699,
-0.027369854971766472,
0.0005950101185590029,
0.025989146903157234,
-0.006839153356850147,
0.015669308602809906,
0.04830142483115196,
-0.02135598473250866,
-0.023928191512823105,
-0.01939796842634678,
0.013407350517809391,
-0.03220697119832039,
0.0013362078461796045,
0.005833167117089033,
-0.045705657452344894,
0.03670911118388176,
-0.01584363542497158,
-0.019761335104703903,
-0.003308516461402178,
-0.00834718532860279,
-0.037605512887239456,
0.0006015053950250149,
-0.042629580944776535,
-0.0178363174200058,
0.007149301934987307,
-0.00991075299680233,
0.06587013602256775,
0.03018125705420971,
0.0009366765152662992,
-0.051969945430755615,
-0.026889203116297722,
-0.02489636465907097,
-0.027158474549651146,
0.014709540642797947,
-0.0035375310108065605,
0.012570646591484547,
0.024766141548752785,
0.02999844402074814,
0.014431298710405827,
0.012121152132749557,
-0.03490249812602997,
-0.015475046820938587,
8.073237161413899e-33,
0.011322341859340668,
-0.019540702924132347,
-0.026563866063952446,
0.015876207500696182,
0.015461125411093235,
-0.013998854905366898,
-0.003251668531447649,
0.025153741240501404,
-0.05287329852581024,
-0.01130403857678175,
0.003307679668068886,
-0.010188445448875427,
-0.005777355283498764,
0.06973928958177567,
0.01933862455189228,
-0.01867077685892582,
0.011330829001963139,
-0.04454904422163963,
0.017362380400300026,
0.034579627215862274,
0.048946309834718704,
0.008136151358485222,
-0.03979797661304474,
0.03500812128186226,
0.011670822277665138,
0.05809585005044937,
-0.04516010358929634,
0.021342087537050247,
-0.02527018077671528,
-0.019544541835784912,
-0.0028308681212365627,
0.0039217653684318066,
0.020118819549679756,
-0.04815014824271202,
-0.025381242856383324,
0.006522478070110083,
0.002348819049075246,
-0.010163305327296257,
-0.027637608349323273,
-0.021547634154558182,
0.018066691234707832,
-0.015030713751912117,
-0.0046141669154167175,
0.02718161791563034,
0.013109633699059486,
-0.02886873483657837,
-0.03402820602059364,
0.00335330911912024,
0.020321844145655632,
0.04779957979917526,
0.019215768203139305,
-0.029857732355594635,
-0.01606132835149765,
-0.00884295254945755,
0.0213601253926754,
0.03553006425499916,
-0.05041944608092308,
-0.0009445344912819564,
0.018256332725286484,
0.015078946948051453,
0.00820082426071167,
-0.0023993460927158594,
-0.015091145411133766,
0.03429825231432915,
-0.01140139251947403,
0.017867712303996086,
-0.009259178303182125,
-0.03712030127644539,
-0.010160389356315136,
-0.014605648815631866,
-0.04626715928316116,
-0.03161236271262169,
0.017315389588475227,
0.027136171236634254,
0.023442387580871582,
-0.051159750670194626,
0.01644529402256012,
-0.028973987326025963,
-0.00576385110616684,
0.012749364599585533,
-0.0036562765017151833,
-0.017069941386580467,
0.037549328058958054,
-0.01882113516330719,
-0.00025888156960718334,
0.008911769837141037,
-0.021654436364769936,
-0.008671876974403858,
-0.038646481931209564,
0.008762121200561523,
-0.024686738848686218,
-0.034821610897779465,
-0.013064333237707615,
-0.02355983667075634,
-0.026046913117170334,
-1.3371535878548002e-8,
-0.040659863501787186,
-0.017238840460777283,
-0.01031260285526514,
0.04087130352854729,
0.023310188204050064,
0.008079322054982185,
-0.02290184423327446,
0.0012787351151928306,
0.02348247542977333,
0.011913345195353031,
0.06785385310649872,
0.025873996317386627,
0.02104439213871956,
0.020256957039237022,
0.020438341423869133,
-0.054135993123054504,
-0.014568165875971317,
-0.013339808210730553,
0.014727823436260223,
-0.014519203454256058,
-0.039368968456983566,
0.04330967366695404,
0.018340248614549637,
-0.00043751249904744327,
0.06462351977825165,
0.018412340432405472,
0.0477224662899971,
-0.03517371788620949,
0.015235619619488716,
0.010344807989895344,
-0.03317296504974365,
-0.022110791876912117,
0.05589832365512848,
-0.004740367643535137,
-0.011205685324966908,
-0.014403091743588448,
0.015316106379032135,
0.04147501289844513,
-0.009236060082912445,
-0.01636258326470852,
0.012683458626270294,
-0.00009299512748839334,
-0.01135237980633974,
0.006779721472412348,
-0.003538825549185276,
0.013200655579566956,
-0.053809553384780884,
0.0500137135386467,
0.018316542729735374,
-0.05351835489273071,
-0.00963057205080986,
0.003176869358867407,
0.041652269661426544,
0.003268197877332568,
-0.020825954154133797,
0.015330961905419827,
0.004193668719381094,
0.0032379531767219305,
-0.010029898025095463,
0.03996376693248749,
0.043743714690208435,
-0.010546069592237473,
-0.02201228402554989,
-0.0524774044752121
] | nhibernate-2nd-level-cache-doing-it-wrong | https://markhneedham.com/blog/2010/06/29/nhibernate-2nd-level-cache-doing-it-wrong |
false | 2010-06-16 00:07:43 | Fluent NHibernate and the 2nd level cache | [
"nhibernate",
"fluent-nhibernate"
] | [
"Hibernate"
] | We've been trying to cache some objects using NHibernate's second level cache which always proves to be a trickier task than I remember it being the previous time!
We're storing some reference data in the database and then using LINQ to NHibernate to query for the specific row that we want based on some user entered criteria.
We can cache that query by calling 'SetCacheable' on the 'QueryOptions' property of our query:
[source,csharp]
----
public class OurRepository
{
public ReferenceDataObject Find(string criteria1, string criteria2)
{
var query = session.Linq<ReferenceDataObject>();
query.QueryOptions.SetCachable(true).SetCacheMode(CacheMode.Normal);
// and so on
}
}
----
That helps to ensure that if we do the exact same query again it won't go to the database again. Instead it will just retrieve the id of the appropriate object from the 2nd level cache and then go and retrieve that.
In order to ensure that the 'ReferenceDataObject' does not get retrieved from the database each time we need to ensure that it is cached as well.
We can do that by adding the following to its mapping file:
[source,csharp]
----
public class ReferenceDataObjectMappings : ClassMap<ReferenceDataObject>
{
...
Cache.ReadOnly();
// or
Cache.ReadWrite();
// depending on whether we want to update the value in the cache based on it changing in the database or not
..
}
----
The next step is to ensure that we have the query cache and second level cache turned on in the place where we configure our session factory:
[source,csharp]
----
Fluently
.Configure()
.Database(MsSqlConfiguration.MsSql2000.ConnectionString("connection string")
.Cache(c => c.UseQueryCache().ProviderClass(typeof(NHibernate.Caches.SysCache.SysCacheProvider).AssemblyQualifiedName)))
.Mappings(m => m.FluentMappings.AddFromAssemblyOf<ICurrentSessionFactory>())
.BuildSessionFactory();
----
The 'SysCacheProvider' is one we can use for web applications although there are all sorts of others available too.
Having got all this setup we wrote an integration test which added an item to the reference data table and then tried to retrieve it several times with the theory being that we would only see one call to the database.
[source,csharp]
----
[Test]
public void ShouldCacheTheReferenceData()
{
var myReferenceObject = new ReferenceDataObject(...);
using(var session = SessionFactory.OpenSession())
{
session.Save(myReferenceDataObject);
session.Flush();
}
// try and retrieve the object a few times here
}
----
Unfortunately we were seeing the database being hit every single time which confused us greatly until we came across http://blogs.hibernatingrhinos.com/nhibernate/archive/2008/11/09/first-and-second-level-caching-in-nhibernate.aspx[the following explanation on Gabriel Schenker's blog]:
____
A common error (It happened to me as well!) is to *forget to commit or omit a transaction when adding or changing an entity/aggregate to the database*. If we now access the entity/aggregate from another session then the 2nd level cache will not be prepared to provide us the cached instances and NHibernate makes an (unexpected round trip to the database).
____
We need to change our test to commit the object in a transaction if we want the object to be propagated down to the 2nd level cache:
[source,csharp]
----
[Test]
public void ShouldCacheTheReferenceData()
{
var myReferenceObject = new ReferenceDataObject(...);
using(var session = SessionFactory.OpenSession())
{
using(var tx = session.BeginTransaction())
{
session.Save(myReferenceObject);
tx.Commit(); // important otherwise caching does NOT work!
}
}
// try and retrieve the object a few times here
}
---- | null | null | [
-0.011965501122176647,
-0.008233352564275265,
-0.00915145967155695,
0.036714110523462296,
0.09247257560491562,
-0.02482706867158413,
0.03172338381409645,
0.030749183148145676,
-0.00840846449136734,
-0.024077482521533966,
0.0014350978890433908,
0.012733438983559608,
-0.06588228046894073,
0.02031366340816021,
-0.009011542424559593,
0.06522566080093384,
0.06362379342317581,
-0.011702800169587135,
0.017795685678720474,
-0.00615924596786499,
0.002598857507109642,
0.07996105402708054,
-0.01897422783076763,
0.059626832604408264,
0.027720438316464424,
0.07068519294261932,
-0.028259778395295143,
0.01105632446706295,
-0.061212606728076935,
-0.01726735383272171,
0.006401953287422657,
-0.0005181290907785296,
-0.0007963043171912432,
-0.007449641823768616,
0.04729607328772545,
-0.011403351090848446,
0.0010335062397643924,
0.0067989337258040905,
-0.011411028914153576,
0.014180398546159267,
-0.06411736458539963,
0.020182227715849876,
-0.000375252275262028,
0.004644074477255344,
-0.04155731201171875,
0.010246730409562588,
-0.03723127394914627,
0.017565544694662094,
-0.030181679874658585,
-0.030846290290355682,
-0.05571260675787926,
0.047916680574417114,
-0.028844520449638367,
0.026826390996575356,
-0.015576214529573917,
0.05694252625107765,
-0.0016945555107668042,
-0.06900039315223694,
0.03803052380681038,
-0.03756653890013695,
0.02651039883494377,
-0.00363907846622169,
0.0009869876084849238,
0.01788831315934658,
0.01829063706099987,
-0.003543856320902705,
-0.006546152755618095,
0.03847967088222504,
-0.034576259553432465,
-0.006862536538392305,
-0.0413631834089756,
-0.019508274272084236,
0.0135860126465559,
0.018527381122112274,
-0.012224321253597736,
-0.0022369222715497017,
-0.013898507691919804,
0.0322260782122612,
0.03130223974585533,
0.06407589465379715,
-0.015298021957278252,
-0.028179151937365532,
0.011154335923492908,
0.012369505129754543,
0.00808615330606699,
-0.04853244498372078,
-0.03492517024278641,
-0.022179696708917618,
-0.03651350736618042,
0.06827104836702347,
0.0021800524555146694,
-0.03496929258108139,
-0.008688893169164658,
0.000869675655849278,
-0.021755509078502655,
-0.032199032604694366,
0.030885575339198112,
-0.016433361917734146,
0.051293592900037766,
-0.0054861255921423435,
-0.023275377228856087,
-0.041266560554504395,
0.04053322598338127,
0.016169022768735886,
-0.08187413960695267,
0.024719590321183205,
-0.07726981490850449,
-0.03170944005250931,
0.015984561294317245,
-0.008227461948990822,
-0.038763225078582764,
0.005682927556335926,
-0.00875898078083992,
-0.0037034780252724886,
-0.058827225118875504,
0.03732294961810112,
0.014827415347099304,
-0.011819982901215553,
0.007961682975292206,
0.04471601918339729,
0.04785909131169319,
0.023323578760027885,
-0.018078897148370743,
0.050222694873809814,
-0.012426143512129784,
0.04891519993543625,
0.007192029617726803,
0.039996158331632614,
-0.007029113359749317,
-0.10615760833024979,
0.023210957646369934,
0.022126227617263794,
-0.016105571761727333,
0.017579760402441025,
-0.0010864798678085208,
-0.016729773953557014,
-0.041889991611242294,
-0.007756783161312342,
0.05909880995750427,
0.03445452079176903,
-0.01098768599331379,
-0.053512927144765854,
0.01263801846653223,
-0.0044777789153158665,
0.02358737401664257,
0.023829597979784012,
0.005295600742101669,
-0.03266194835305214,
0.007459742482751608,
0.058096375316381454,
0.054684966802597046,
0.09341362118721008,
0.05314809828996658,
-0.042452823370695114,
0.004809744656085968,
0.09423002600669861,
-0.029601771384477615,
0.0002412795292912051,
-0.0027318208012729883,
0.016606785356998444,
-0.00006183590448927134,
0.04197617247700691,
-0.0032574322540313005,
0.058923061937093735,
-0.0009182576322928071,
-0.00630840053781867,
0.003283289959654212,
0.06732242554426193,
0.006098558660596609,
-0.008646884933114052,
-0.08588899672031403,
-0.06608989834785461,
0.03290463984012604,
-0.06093048304319382,
-0.00845771562308073,
0.06107502430677414,
0.0782863050699234,
0.016884075477719307,
0.06114369258284569,
-0.014686010777950287,
-0.08525294065475464,
-0.01463543064892292,
0.00589187815785408,
-0.020181406289339066,
-0.026132654398679733,
0.031748782843351364,
0.051465969532728195,
0.027590416371822357,
-0.0031394900288432837,
0.01665479876101017,
-0.0741615816950798,
-0.038051486015319824,
-0.05360603332519531,
-0.007563199382275343,
0.03946731612086296,
-0.010344966314733028,
0.021325506269931793,
0.09844085574150085,
0.02426259033381939,
0.06338567286729813,
0.04435829073190689,
-0.01242872979491949,
0.03322955593466759,
-0.0527442991733551,
-0.04089472442865372,
0.019059790298342705,
0.031003141775727272,
0.02714461460709572,
-0.054958708584308624,
-0.01047918014228344,
-0.01735214702785015,
0.0038616876117885113,
0.017508164048194885,
0.023603660985827446,
0.029248671606183052,
-0.02166626788675785,
-0.012246454134583473,
-0.011764168739318848,
0.05879945307970047,
-0.06941001862287521,
0.022099021822214127,
0.03764067217707634,
-0.012812146916985512,
-0.009651103988289833,
-0.015665264800190926,
0.12251715362071991,
0.019342144951224327,
-0.037927210330963135,
-0.027231762185692787,
0.05176955834031105,
0.036748256534338,
-0.017869872972369194,
0.007673663552850485,
-0.04389253631234169,
0.0189808402210474,
0.026987619698047638,
-0.001055863918736577,
-0.007162804715335369,
0.003962585236877203,
-0.03370910510420799,
0.0031985195819288492,
0.05777917429804802,
-0.0028825700283050537,
0.044323407113552094,
0.04058613255620003,
-0.039299190044403076,
-0.01382750179618597,
-0.017044393345713615,
-0.05850212648510933,
-0.019240383058786392,
0.010100024752318859,
-0.0193479023873806,
0.03738095983862877,
-0.004683806095272303,
-0.008096590638160706,
-0.024989789351820946,
-0.058667879551649094,
0.03973284736275673,
-0.0027438898105174303,
0.06885600090026855,
-0.016179755330085754,
0.0632593184709549,
0.0009360052063129842,
-0.0063081239350140095,
-0.019463015720248222,
-0.04436366260051727,
0.0025934232398867607,
-0.020971767604351044,
0.014612828381359577,
0.019927825778722763,
0.03366861492395401,
-0.037134166806936264,
0.06598685681819916,
0.018216654658317566,
-0.025696877390146255,
-0.010941214859485626,
0.04376473277807236,
0.004581703804433346,
-0.017507541924715042,
-0.05061352625489235,
-0.031212668865919113,
0.028406662866473198,
-0.06801073253154755,
-0.05845506116747856,
-0.0002745071251410991,
-0.08310696482658386,
0.019171057268977165,
-0.09512155503034592,
-0.06505879014730453,
0.004195323213934898,
0.016525020822882652,
-0.009933550842106342,
0.001931600971147418,
0.011310678906738758,
0.0596422478556633,
0.027721526101231575,
0.003173707751557231,
-0.00042210021638311446,
0.024455100297927856,
0.013551527634263039,
-0.016195178031921387,
-0.004204601515084505,
0.01688648760318756,
-0.016934065148234367,
0.0055312709882855415,
-0.07237114757299423,
0.01606740988790989,
-0.013909014873206615,
-0.2689073979854584,
0.019665725529193878,
0.005856459029018879,
-0.032862305641174316,
0.0671214833855629,
-0.02106531150639057,
0.010432319715619087,
-0.0203457809984684,
-0.028339650481939316,
0.04793641343712807,
0.01386401616036892,
-0.0315529890358448,
-0.004425881430506706,
0.05288776010274887,
-0.012873218394815922,
0.03483694791793823,
0.03114771656692028,
-0.03540832921862602,
-0.016243048012256622,
0.03282095119357109,
-0.015266185626387596,
-0.0802985355257988,
-0.00599442794919014,
0.019598741084337234,
0.023163411766290665,
0.059415221214294434,
-0.062097370624542236,
0.025346742942929268,
-0.04314147308468819,
-0.02746410295367241,
0.00027528853388503194,
0.00839263666421175,
0.020043250173330307,
-0.0040056160651147366,
-0.05455123633146286,
-0.042046159505844116,
0.03025883063673973,
0.03537479415535927,
0.0011497818632051349,
0.014685655012726784,
-0.04875175654888153,
-0.040344882756471634,
-0.0315072275698185,
0.012014377862215042,
0.09325855225324631,
-0.007105577737092972,
-0.07474645972251892,
-0.025987641885876656,
-0.025019990280270576,
0.04129927232861519,
-0.038697969168424606,
-0.04902726784348488,
-0.007050557993352413,
0.05425702780485153,
0.00043608309351839125,
-0.01591472141444683,
0.024398423731327057,
-0.005643631797283888,
-0.06835494190454483,
-0.03518374264240265,
-0.011660654097795486,
-0.05107288062572479,
-0.008507349528372288,
-0.015792731195688248,
-0.005886722356081009,
-0.04627103731036186,
-0.05649179220199585,
-0.023989543318748474,
0.055645860731601715,
0.0637173280119896,
-0.02086692489683628,
-0.027430931106209755,
0.006216788664460182,
-0.1080438643693924,
-0.017876731231808662,
-0.03624405339360237,
-0.013184485025703907,
-0.038445767015218735,
-0.037742771208286285,
0.04259158670902252,
-0.004583099856972694,
-0.004604870919138193,
0.003676085500046611,
0.055568061769008636,
0.04205428436398506,
-0.0005118625704199076,
0.034892160445451736,
-0.02981163188815117,
-0.026998674497008324,
-0.013363598845899105,
0.07964754849672318,
-0.011589804664254189,
0.015460937283933163,
-0.03446318209171295,
-0.024660563096404076,
0.02296556532382965,
-0.0074204751290380955,
-0.0033416992519050837,
0.026623696088790894,
-0.0022535205353051424,
0.06766761094331741,
-0.022514982149004936,
0.04985123872756958,
-0.02045663446187973,
-0.010243523865938187,
-0.04509475454688072,
-0.051111578941345215,
0.030056484043598175,
0.0224121306091547,
0.026845240965485573,
-0.03613295033574104,
-0.01745549961924553,
0.000030400726245716214,
-0.05248286575078964,
-0.04949403926730156,
-0.025050554424524307,
0.03693823516368866,
0.02704818919301033,
-0.015177612192928791,
-0.02055332250893116,
-0.037372101098299026,
0.040687721222639084,
0.02768348529934883,
0.005352064035832882,
-0.0649704784154892,
-0.04352802038192749,
-0.006441634148359299,
-0.010181590914726257,
0.004022362641990185,
0.03747740387916565,
-0.001681865775026381,
0.018451180309057236,
0.0045667411759495735,
-0.02687046304345131,
0.04028534144163132,
0.0050190812908113,
0.013907911255955696,
-0.03733775019645691,
-0.02055906131863594,
-0.006573904305696487,
-0.009137632325291634,
-0.006551458965986967,
0.02021081931889057,
0.03860094025731087,
0.03893924131989479,
0.012395896948873997,
0.03898915648460388,
-0.010230242274701595,
-0.019571809098124504,
0.024773258715867996,
-0.016278723254799843,
-0.0641874447464943,
0.004187984392046928,
-0.03813917934894562,
-0.018069686368107796,
-0.006463697180151939,
0.03947669267654419,
-0.012719527818262577,
-0.005930728744715452,
-0.02209702879190445,
-0.004652258008718491,
-0.07388629764318466,
-0.029978863894939423,
-0.004995277617126703,
-0.01872672699391842,
0.06349902600049973,
-0.02466360665857792,
0.031965211033821106,
-0.025293799117207527,
0.012514129281044006,
0.016408689320087433,
0.004424110520631075,
-0.04240453615784645,
0.03963480889797211,
0.026160145178437233,
-0.02611856535077095,
0.01276853121817112,
0.03129664063453674,
0.01658450998365879,
0.01875082589685917,
0.008683065883815289,
0.024065779522061348,
-0.0027996432036161423,
-0.04012734815478325,
0.03531339764595032,
-0.0027016422245651484,
-0.0028928369283676147,
0.01930973306298256,
-0.0020831169094890356,
-0.05272151902318001,
-0.005731821060180664,
-0.015836236998438835,
-0.040617313235998154,
0.016264578327536583,
-0.0035274922847747803,
-0.06486588716506958,
0.04741939157247543,
-0.00864756852388382,
0.010263419710099697,
0.019056066870689392,
0.028575316071510315,
-0.0018470652867108583,
-0.010942124761641026,
0.028330430388450623,
0.01732831820845604,
-0.04587900638580322,
0.021755555644631386,
0.010221335105597973,
0.004459191579371691,
0.010367779061198235,
0.016068072989583015,
-0.01846831478178501,
0.0018112229881808162,
0.012788544408977032,
-0.00021419137192424387,
-0.035980306565761566,
-0.009614642709493637,
-0.023000279441475868,
0.008957580663263798,
-0.01430029608309269,
-0.010621439665555954,
-0.012723535299301147,
0.026650752872228622,
-0.02136634849011898,
-0.0025137385819107294,
0.018537674099206924,
-0.001386219635605812,
-0.008815592154860497,
0.015359027311205864,
-0.03659280389547348,
0.01879626326262951,
-0.014867709949612617,
0.027205290272831917,
0.0012661395594477654,
-0.025936022400856018,
-0.04080689698457718,
-0.021834732964634895,
0.0278310589492321,
0.0048647657968103886,
0.0555269718170166,
-0.0024208789691329002,
0.0023476562928408384,
0.014527788385748863,
-0.01582568697631359,
-0.022213701158761978,
0.013732199557125568,
0.002648288384079933,
-0.00745031563565135,
0.04704423248767853,
0.04362118989229202,
-0.00983001571148634,
0.034322965890169144,
0.021337412297725677,
-0.029186904430389404,
0.07007701694965363,
-0.05377516150474548,
0.005070263519883156,
-0.008173839189112186,
-0.06261825561523438,
0.007124462630599737,
0.011857803910970688,
0.016163412481546402,
-0.032554782927036285,
0.014387792907655239,
0.038213733583688736,
-0.0034992462024092674,
0.03696559742093086,
0.012470059096813202,
0.0433371476829052,
-0.03886523097753525,
-0.00459609879180789,
-0.05671915039420128,
-0.008889388293027878,
0.010712801478803158,
0.02946825884282589,
-0.04230320081114769,
-0.019615070894360542,
-0.01821841113269329,
0.045778658241033554,
-0.04724482446908951,
-0.026787089183926582,
0.02428022213280201,
-0.012368129566311836,
-0.0022930235136300325,
0.006875198800116777,
-0.036904819309711456,
0.016015686094760895,
0.0028346178587526083,
-0.0208820179104805,
-0.05477194860577583,
-0.031209543347358704,
0.04802077263593674,
0.018683284521102905,
0.005986804608255625,
-0.06167403608560562,
0.03820792958140373,
0.06445984542369843,
0.03972458094358444,
0.054440438747406006,
0.05807258561253548,
-0.041262734681367874,
0.0505652129650116,
-0.00946639571338892,
-0.015455047599971294,
-0.00048355181934311986,
0.004796518012881279,
0.015245465561747551,
-0.06795575469732285,
0.008061304688453674,
-0.012092012912034988,
-0.011780944652855396,
-0.06915035098791122,
0.06321868300437927,
0.016775470227003098,
0.0005520014674402773,
-0.03995995596051216,
0.01520149689167738,
-0.023363566026091576,
-0.04494794085621834,
-0.02121886797249317,
0.025372043251991272,
-0.06890171021223068,
0.06732119619846344,
0.02132442034780979,
0.008788731880486012,
0.0644531100988388,
0.00042237553861923516,
-0.018848517909646034,
0.013732406310737133,
0.07060018926858902,
0.07113488763570786,
0.029320089146494865,
0.0036246287636458874,
0.07008186727762222,
-0.010872576385736465,
-0.025896461680531502,
-0.014911685138940811,
-0.04288601875305176,
-0.025133369490504265,
-0.011167201213538647,
0.019445402547717094,
0.06389398127794266,
-0.006393591407686472,
0.039983101189136505,
-0.054859258234500885,
-0.013462168164551258,
0.005058086942881346,
0.006256334483623505,
0.0486077219247818,
0.015864897519350052,
0.00881300400942564,
0.03016282245516777,
-0.014000294730067253,
-0.0310494564473629,
0.015609994530677795,
0.01667231321334839,
-0.004356865305453539,
0.0025310989003628492,
-0.004340335261076689,
0.011884087696671486,
-0.0014423636021092534,
0.012081783264875412,
0.07910127192735672,
0.009605004452168941,
-0.020356880500912666,
-0.020991776138544083,
-0.013720127753913403,
-0.00242617423646152,
-0.013283335603773594,
-0.021992545574903488,
-0.04785618931055069,
0.016931982710957527,
-0.01525237038731575,
-0.023451464250683784,
-0.01755114085972309,
-0.02023039385676384,
0.014918393455445766,
-0.005694848019629717,
0.011848150752484798,
0.005613783840090036,
0.033747393637895584,
-0.0604216568171978,
-0.046541061252355576,
-0.08394109457731247,
-0.02342546172440052,
-0.039082083851099014,
0.0031788686756044626,
0.030322274193167686,
-0.0032292071264237165,
-0.04042826220393181,
-0.02972974069416523,
-0.00900859571993351,
-0.03779103234410286,
0.044033657759428024,
-0.02132248505949974,
-0.006014571525156498,
0.030286427587270737,
0.014092897064983845,
0.03696860000491142,
0.04735111817717552,
0.06046849861741066,
0.005840438883751631,
0.02788529358804226,
-0.014135903678834438,
-0.02736423909664154,
0.03566650301218033,
-0.019048627465963364,
0.005412567872554064,
-0.08520974218845367,
0.020387006923556328,
0.017881063744425774,
-0.003981253132224083,
-0.08349896222352982,
-0.02554457075893879,
0.0388060063123703,
-0.03707363083958626,
0.05310697481036186,
-0.017334340140223503,
0.01468420960009098,
0.0010892183054238558,
-0.0013307584449648857,
0.023118743672966957,
0.03821774944663048,
0.028526246547698975,
-0.003852664027363062,
0.0440332256257534,
0.04695236682891846,
-0.03998170420527458,
-0.036001525819301605,
0.020171133801341057,
-0.0002816101477947086,
0.0355311781167984,
-0.036135584115982056,
-0.041548293083906174,
-0.051015425473451614,
-0.05799509957432747,
-0.047973789274692535,
0.015152555890381336,
-0.0010080229258164763,
-0.001959027023985982,
-0.000037734120269306004,
0.04055195301771164,
-0.0727875828742981,
0.026335373520851135,
-0.04506761580705643,
0.007321722339838743,
-0.037279464304447174,
-0.06200769171118736,
0.005676424130797386,
0.037630919367074966,
-0.014350981451570988,
-0.009719864465296268,
0.02935638837516308,
-0.05056622996926308,
-0.017299773171544075,
-0.020676426589488983,
0.034866318106651306,
0.050735604017972946,
-0.006160194519907236,
0.02688821405172348
] | [
-0.09867937117815018,
-0.006231159903109074,
-0.04033798351883888,
-0.01402144506573677,
-0.004674217198044062,
-0.02990407682955265,
0.02071782946586609,
-0.024764617905020714,
0.02799597755074501,
0.010194114409387112,
-0.0185225959867239,
-0.05594722181558609,
0.019258612766861916,
0.022196633741259575,
0.06023075804114342,
0.006440268829464912,
-0.02174658142030239,
-0.04605204612016678,
-0.05915093049407005,
0.043858904391527176,
0.039986029267311096,
-0.04541914910078049,
-0.029948513954877853,
-0.013897808268666267,
0.0029070719610899687,
0.03302997723221779,
0.05769087001681328,
-0.06947024911642075,
0.006220017559826374,
-0.21194761991500854,
-0.011187178082764149,
-0.05166686698794365,
0.0016292993677780032,
-0.021494504064321518,
0.004339472856372595,
0.0248522087931633,
0.032915323972702026,
0.04305790364742279,
-0.006075579207390547,
0.07014892995357513,
0.01821206696331501,
0.034105896949768066,
-0.09340006858110428,
-0.040389589965343475,
0.059593841433525085,
-0.03778925910592079,
0.011037195101380348,
-0.027051366865634918,
0.015676843002438545,
0.00751095823943615,
-0.07160992175340652,
-0.022354593500494957,
-0.028199227526783943,
-0.028734873980283737,
0.01668364182114601,
0.026695486158132553,
0.06462637335062027,
0.03908675163984299,
0.02032424509525299,
0.017221760004758835,
0.022112388163805008,
-0.014764104038476944,
-0.10090044885873795,
0.10775990784168243,
0.012849073857069016,
0.026981718838214874,
0.0010223661083728075,
-0.053215526044368744,
0.010722226463258266,
0.06663741171360016,
0.013315044343471527,
-0.008228732272982597,
-0.042950328439474106,
0.0553707592189312,
0.047580890357494354,
-0.02044065296649933,
0.011053523048758507,
0.021611567586660385,
0.044658295810222626,
-0.016186825931072235,
-0.08644680678844452,
-0.0018205054802820086,
0.039812102913856506,
0.003081369213759899,
-0.002380609745159745,
0.04643365368247032,
-0.02478511445224285,
-0.023693840950727463,
0.02700044773519039,
0.016604267060756683,
0.05094273388385773,
0.005597642157226801,
0.0404866561293602,
0.010253246873617172,
-0.1337827742099762,
0.001762217259965837,
-0.02618333511054516,
0.05801090970635414,
0.009047960862517357,
0.40542876720428467,
-0.027086108922958374,
-0.027637716382741928,
0.016059618443250656,
0.02753390744328499,
-0.0281754732131958,
-0.02236737497150898,
0.014693726785480976,
-0.06319784373044968,
0.022525429725646973,
-0.037420034408569336,
-0.007221118081361055,
0.004131200257688761,
0.019696354866027832,
-0.04536888375878334,
-0.006675409153103828,
0.06547019630670547,
0.056788474321365356,
0.01656947284936905,
-0.059071410447359085,
0.010714709758758545,
-0.015034269541501999,
0.018392004072666168,
0.03237760066986084,
0.03169020637869835,
0.0344109944999218,
-0.012560111470520496,
0.020263968035578728,
0.04055115953087807,
0.015428728424012661,
-0.013214267790317535,
0.005546185653656721,
-0.039782118052244186,
-0.09470762312412262,
-0.011950352229177952,
0.01028504129499197,
-0.004645040258765221,
0.026460202410817146,
-0.050060421228408813,
0.02249101549386978,
-0.007608896121382713,
-0.02823498658835888,
-0.008097071200609207,
0.029427923262119293,
-0.008370080031454563,
-0.06883742660284042,
0.12006940692663193,
0.011149167083203793,
-0.014148574322462082,
-0.05199605971574783,
-0.044833146035671234,
-0.005269438959658146,
0.058661043643951416,
-0.0015724245458841324,
-0.05939065292477608,
0.034538958221673965,
0.01587611995637417,
0.048724573105573654,
-0.0006879859138280153,
-0.032611183822155,
-0.07315769046545029,
-0.023712368682026863,
-0.01393208559602499,
-0.051374927163124084,
0.039314333349466324,
0.038451503962278366,
-0.07268472760915756,
-0.05819682776927948,
0.03860365226864815,
0.004077577032148838,
-0.06240532919764519,
-0.009024381637573242,
0.041831620037555695,
-0.05157192051410675,
-0.010572423227131367,
0.04938128963112831,
-0.03585141897201538,
-0.056276265531778336,
-0.021335145458579063,
0.009984866715967655,
0.0164792463183403,
-0.010758762247860432,
0.017650993540883064,
-0.06918598711490631,
0.007503727450966835,
-0.007692388724535704,
-0.1094169169664383,
-0.0363813117146492,
0.021967435255646706,
0.00695880176499486,
-0.04105878248810768,
-0.04100336879491806,
-0.011521915905177593,
-0.04479072988033295,
0.1266070306301117,
0.013244403526186943,
-0.03882487490773201,
0.02392345294356346,
0.027652442455291748,
0.019583482295274734,
-0.040531616657972336,
0.08644479513168335,
0.06467195600271225,
-0.008170422166585922,
0.05814409628510475,
-0.029961097985506058,
-0.007218982558697462,
0.00745598878711462,
-0.043616488575935364,
0.0666613057255745,
0.04273148253560066,
-0.02763066440820694,
0.00281907944008708,
-0.05396895483136177,
0.025306526571512222,
-0.012346049770712852,
-0.022401610389351845,
0.019175341352820396,
0.03198983892798424,
0.031393926590681076,
0.01222577691078186,
-0.0017953008646145463,
-0.04644160717725754,
0.013167325407266617,
-0.3366060256958008,
0.008008649572730064,
-0.033684443682432175,
-0.03368661180138588,
-0.00019028346287086606,
-0.06161342188715935,
0.02460753545165062,
-0.005913549568504095,
-0.026934808120131493,
-0.0006565985386259854,
0.048022907227277756,
-0.01713895983994007,
0.017563000321388245,
-0.043671149760484695,
0.024945391342043877,
0.024366071447730064,
-0.018170887604355812,
-0.03814012184739113,
-0.03889524191617966,
-0.010334799997508526,
0.026038285344839096,
-0.007015620823949575,
-0.0208943672478199,
-0.05100405961275101,
0.03815518692135811,
-0.01698267087340355,
0.10239391028881073,
-0.04170985892415047,
0.07323432713747025,
-0.06861425936222076,
0.06112336367368698,
0.007316979579627514,
-0.019351493567228317,
-0.11822991818189621,
-0.0038748420774936676,
-0.05576905608177185,
-0.05379433557391167,
-0.002134473994374275,
0.0115050682798028,
-0.02053960971534252,
-0.02762097492814064,
0.033582136034965515,
-0.02765018865466118,
-0.06443218141794205,
0.0023625597823411226,
0.00360026559792459,
-0.01944563537836075,
-0.008933965116739273,
0.013873586431145668,
0.04958154261112213,
-0.011908121407032013,
0.028350679203867912,
0.0030915592797100544,
0.02469640225172043,
0.0017293894197791815,
0.0011331214336678386,
-0.051184650510549545,
-0.04823692515492439,
-0.00613626791164279,
-0.00661169458180666,
0.03347761183977127,
0.052643295377492905,
0.00793468952178955,
-0.05575842037796974,
-0.00554053345695138,
0.01759577915072441,
0.014468353241682053,
0.006686622742563486,
0.039307545870542526,
-0.07545645534992218,
-0.048155054450035095,
0.07704860717058182,
0.00453341705724597,
-0.007781263906508684,
0.03824120759963989,
0.04813497141003609,
-0.02136574499309063,
0.014398165047168732,
0.00018852118228096515,
0.006327338516712189,
0.0564480684697628,
-0.023192809894680977,
0.07647144049406052,
0.01123744435608387,
0.017167411744594574,
0.08577901870012283,
0.0018047601915895939,
0.02363446168601513,
0.03361505642533302,
-0.029029373079538345,
-0.03934145346283913,
-0.016237681731581688,
-0.01539771631360054,
-0.09382175654172897,
0.06483691930770874,
-0.03944559767842293,
-0.23849298059940338,
0.046563662588596344,
0.05268526449799538,
0.03320549428462982,
0.0037354889791458845,
0.009503678418695927,
0.011964711360633373,
-0.0374194011092186,
0.028907639905810356,
0.007284659892320633,
0.043970987200737,
0.05490747094154358,
0.003934098873287439,
-0.007050914224237204,
0.04090060666203499,
0.014295055530965328,
0.04275715351104736,
0.0041999537497758865,
0.0457221157848835,
-0.0043403576128184795,
0.01676679030060768,
-0.016598863527178764,
0.15152989327907562,
0.06896606087684631,
0.037806253880262375,
0.0035960348322987556,
-0.022601936012506485,
0.01162024587392807,
0.06759289652109146,
0.024661483243107796,
0.012712961994111538,
0.002857205690816045,
0.08152265846729279,
0.036960285156965256,
0.01663762331008911,
-0.06626574695110321,
-0.011578074656426907,
0.04121110215783119,
0.019592054188251495,
-0.015838434919714928,
0.013319556601345539,
0.039520494639873505,
-0.0830654725432396,
0.05311015620827675,
0.07107575237751007,
0.0010413096752017736,
-0.00413438118994236,
-0.02602502517402172,
-0.018543561920523643,
-0.003767953719943762,
-0.0063996645621955395,
0.009007885120809078,
0.02703356184065342,
0.00544536579400301,
0.0010285127209499478,
0.024861184880137444,
0.026799557730555534,
-0.06304597854614258,
-0.020741716027259827,
0.008480421267449856,
0.018379084765911102,
0.02689579874277115,
0.053294192999601364,
-0.0288112573325634,
0.0004422853817231953
] | [
0.015219016000628471,
-0.00779923377558589,
0.005020656157284975,
0.03501007705926895,
-0.03438983112573624,
0.017116433009505272,
0.034311749041080475,
0.01726907677948475,
-0.03596397861838341,
0.03608843684196472,
-0.04424554482102394,
-0.05662709102034569,
0.014346492476761341,
-0.0028788431081920862,
0.009622602723538876,
0.02828533574938774,
0.025919189676642418,
-0.02068472094833851,
0.0049460758455097675,
0.01921137049794197,
0.011082709766924381,
0.043752267956733704,
0.03732285648584366,
-0.04199749231338501,
-0.012672461569309235,
-0.0005908876773901284,
-0.021042823791503906,
-0.01270909421145916,
0.016886141151189804,
-0.1154424399137497,
-0.02865544706583023,
-0.016097817569971085,
-0.042287975549697876,
0.024112878367304802,
0.0014004471013322473,
-0.03410789743065834,
0.016178900375962257,
0.04959111660718918,
0.02839132770895958,
-0.023563215509057045,
0.011115798726677895,
0.015018489211797714,
-0.017860637977719307,
0.001710358657874167,
-0.002577658509835601,
0.00670181680470705,
0.013677757233381271,
-0.040427565574645996,
-0.014872726052999496,
0.014804107137024403,
-0.0253507811576128,
-0.026113364845514297,
0.0003824060258921236,
0.015211793594062328,
0.026019934564828873,
0.04328535497188568,
-0.013788712210953236,
0.012136311270296574,
-0.018176427111029625,
0.015116618946194649,
0.003608585335314274,
-0.02056826278567314,
-0.01878059282898903,
-0.04332195222377777,
0.03259134292602539,
-0.012483982369303703,
0.010468016378581524,
-0.05898484215140343,
0.0015811258926987648,
-0.02054026536643505,
-0.03795405849814415,
0.02179054729640484,
-0.0036020874977111816,
0.016366947442293167,
-0.017230134457349777,
0.04037734866142273,
0.021853532642126083,
-0.0011973700020462275,
0.03602143004536629,
-0.07110273838043213,
-0.04470379650592804,
0.027158502489328384,
0.023600539192557335,
0.00636431435123086,
-0.02370540238916874,
-0.0509047731757164,
0.012789880856871605,
-0.03775157779455185,
0.058529432862997055,
-0.015308213420212269,
-0.014184458181262016,
0.013021825812757015,
0.04623433202505112,
0.01593431457877159,
-0.0879480317234993,
-0.02547166310250759,
0.025369703769683838,
0.013782283291220665,
0.005726665258407593,
0.8025235533714294,
0.021655021235346794,
0.03741247206926346,
-0.0014995085075497627,
0.012887267395853996,
-0.00962829403579235,
-0.007696264889091253,
0.023168418556451797,
-0.04250744357705116,
0.012780667282640934,
0.003010641084983945,
-0.007987500168383121,
0.06302164494991302,
0.03611142560839653,
-0.0031806339975446463,
0.014685466885566711,
-0.017237596213817596,
0.04593504220247269,
-0.02178855612874031,
-0.024682197719812393,
0.011738019995391369,
-0.007831756956875324,
-0.045821502804756165,
-0.0012617730535566807,
-0.03530137613415718,
-0.016024412587285042,
-0.1791093796491623,
0.017171230167150497,
-7.609518599009922e-33,
0.05593402311205864,
-0.0073650432750582695,
0.04201455041766167,
0.04769245535135269,
0.06910315155982971,
-0.00246257777325809,
0.010216755792498589,
0.019019966945052147,
0.01296201627701521,
-0.015861758962273598,
-0.030292455106973648,
-0.017909251153469086,
-0.04570861905813217,
-0.029147831723093987,
0.010958516970276833,
0.027843650430440903,
-0.03659791871905327,
0.02341434359550476,
0.003250512760132551,
-0.0010644285939633846,
-0.027607711032032967,
0.06792019307613373,
0.014221850782632828,
-0.017183927819132805,
0.005583209916949272,
0.009131208062171936,
0.0025865838397294283,
0.006798833142966032,
-0.009196161292493343,
-0.03273177146911621,
0.045840535312891006,
-0.013255586847662926,
-0.033153850585222244,
-0.008446087129414082,
-0.00928287860006094,
-0.053403377532958984,
0.019735440611839294,
0.022083600983023643,
-0.02719769813120365,
-0.03865816816687584,
-0.027959540486335754,
0.004956694319844246,
-0.0013674905057996511,
-0.02875440940260887,
-0.03575897589325905,
-0.027630070224404335,
0.0016896940069273114,
0.050683703273534775,
0.01517200656235218,
0.002120243851095438,
0.014617937617003918,
0.0030811515171080828,
-0.018465852364897728,
0.012183708138763905,
-0.010488241910934448,
0.007129637058824301,
0.003003243822604418,
0.0007562797982245684,
0.025510935112833977,
0.04344615712761879,
-0.022301698103547096,
-0.03200544789433479,
-0.02642865478992462,
0.004352939780801535,
-0.02075684815645218,
0.033310387283563614,
0.012272698804736137,
-0.05824699252843857,
0.052524518221616745,
-0.01982719637453556,
-0.00807336624711752,
-0.012535051442682743,
0.0018262779340147972,
-0.03958290070295334,
-0.031368233263492584,
-0.04322750121355057,
-0.02428319677710533,
0.006797358393669128,
-0.020480690523982048,
0.062401220202445984,
-0.01185778807848692,
0.0006439165445044637,
-0.06358218193054199,
-0.023443590849637985,
-0.01885850913822651,
-0.027897223830223083,
0.013428316451609135,
-0.02061341144144535,
0.012394582852721214,
0.029317842796444893,
0.021503996104002,
0.015457702800631523,
0.010416436940431595,
-0.019653992727398872,
-0.01638904958963394,
8.055252832530287e-33,
0.006047166883945465,
-0.0294832494109869,
-0.023129573091864586,
0.000502690440043807,
0.033617183566093445,
-0.02383660152554512,
0.01672225445508957,
0.0019167768768966198,
-0.05522014573216438,
-0.0005629433435387909,
-0.008586524054408073,
0.024853060021996498,
0.019606200978159904,
0.05489058420062065,
0.03594914823770523,
-0.00989972148090601,
0.0351078025996685,
-0.04113058000802994,
0.02268275059759617,
0.04332088679075241,
0.06169836223125458,
0.022391481325030327,
-0.032476041465997696,
0.022671394050121307,
0.026776183396577835,
0.042735084891319275,
-0.04226009175181389,
0.012138119898736477,
-0.01240971963852644,
-0.03183068707585335,
-0.0023391516879200935,
-0.0015944369370117784,
0.024119388312101364,
-0.07675571739673615,
-0.01138684619218111,
-0.022985992953181267,
0.003592525143176317,
-0.020844778046011925,
-0.030903447419404984,
-0.010549532249569893,
-0.0018602999625727534,
-0.029303697869181633,
-0.01060826051980257,
0.0328856036067009,
0.018837381154298782,
-0.015873029828071594,
-0.030007196590304375,
-0.006991270929574966,
0.013227482326328754,
0.065789595246315,
0.03411031514406204,
-0.05067994445562363,
-0.023717589676380157,
0.01181022822856903,
0.04108915477991104,
0.018811481073498726,
-0.04618087783455849,
-0.0018795982468873262,
0.031149333342909813,
-0.001821531797759235,
0.017874514684081078,
0.01793733797967434,
-0.024580026045441628,
0.005581261590123177,
-0.00150630425196141,
0.044468436390161514,
-0.009961821138858795,
-0.01859731785953045,
-0.0004872099671047181,
-0.008888169191777706,
-0.044614922255277634,
-0.041620928794145584,
0.024478167295455933,
0.036883771419525146,
0.018633686006069183,
-0.03763410821557045,
0.013870852999389172,
-0.013095423579216003,
0.001881392439827323,
-0.0001798544399207458,
-0.012843389995396137,
-0.026705412194132805,
0.04684057831764221,
-0.020356599241495132,
0.003758438630029559,
-0.0185535941272974,
-0.02311810664832592,
-0.008731610141694546,
-0.02812080830335617,
0.01611739583313465,
-0.03240704536437988,
-0.0439554825425148,
-0.02295778878033161,
-0.017822297289967537,
-0.021558238193392754,
-1.3041777435773838e-8,
-0.03629732504487038,
0.00016194691124837846,
-0.014500224962830544,
0.04334637522697449,
0.040930163115262985,
0.0028736034873872995,
-0.06204567477107048,
-0.0009009629138745368,
0.021278584375977516,
0.01884942129254341,
0.05059351027011871,
0.026165492832660675,
0.051136378198862076,
0.01207000482827425,
0.03700146824121475,
-0.04247530177235603,
-0.005507519468665123,
-0.02115902490913868,
0.007297934032976627,
-0.02376365475356579,
-0.043394532054662704,
0.04718460515141487,
0.017655715346336365,
0.023334024474024773,
0.04474109411239624,
0.028195638209581375,
0.02554159425199032,
-0.06152883917093277,
0.022054923698306084,
0.026682132855057716,
-0.0288830753415823,
-0.0028092185966670513,
0.039488259702920914,
0.008706919848918915,
-0.01241296250373125,
-0.0010018427856266499,
0.018536366522312164,
0.04616330564022064,
0.012435056269168854,
-0.02237398736178875,
0.021155793219804764,
0.005736173130571842,
0.007335399277508259,
0.019796008244156837,
0.010753675363957882,
0.012128429487347603,
-0.03867749124765396,
0.053233399987220764,
0.018959160894155502,
-0.050418198108673096,
-0.0282131340354681,
-0.00007684635784244165,
0.0416283942759037,
0.008404445834457874,
-0.03557585924863815,
0.023073017597198486,
0.004216231871396303,
0.008722009137272835,
-0.008534294553101063,
0.06498904526233673,
0.0347469300031662,
0.007737553212791681,
-0.019545601680874825,
-0.04744445160031319
] | fluent-nhibernate-and-the-2nd-level-cache | https://markhneedham.com/blog/2010/06/16/fluent-nhibernate-and-the-2nd-level-cache |
false | 2010-06-28 08:39:10 | Intuition and 'quit thinking and look' | [
"software-development"
] | [
"Software Development"
] | Something which http://twitter.com/dermotkilroy[Dermot], http://twitter.com/christianralph[Christian] and I noticed last week is that on our project we've reached the stage where we intuitively know what the underlying problem is for any given error message in the application we're working on.
We're pretty much at the stage where we're effectively pattern matching what's going on without needing to think that much anymore.
This is a good thing because it saves a lot of time analysing every single message to try and work out what's going on - I think this means that we've reached a higher level of the http://www.markhneedham.com/blog/2009/08/10/dreyfus-model-more-thoughts/[Dreyfus model] when it comes to this particular situation.
The problem with getting too used to this approach is that eventually we'll come across a problem that we haven't come across before and if we don't recognise that this is the case we'll end up getting very frustrated.
I had the chance to work with http://www.oshineye.com/[Ade Oshineye] a few years ago and he always encouraged me to "*quit thinking and look*" when it came to problem solving.
This idea is derived from a book titled 'http://www.amazon.com/exec/obidos/ASIN/0814474578/debuggingrule-20[9 indispensable rules of debugging]' and the thinking behind it is that we often go straight to the solution for a problem without spending the time to understand what the problem actually is.
We actually came across a situation like this recently while investigating a problem in production.
We were getting an exception which looked pretty similar to other problems that we'd seen previously so we immediately tried that solution without any further investigation.
It had no impact at all so we had to go back and actually look at the error message we were receiving before trying something else.
As it turned out the time we wasted picking the wrong solution was less than 30 seconds but I think we had got to the point where a bit of *complacency had crept in* and we believed that there weren't any ways the application could go wrong that we hadn't seen before.
Talking further about this with Dermot he pointed out that this situation was akin to discovering an unknown unknown i.e. we came across a problem that we didn't know we didn't know about since we thought we knew about all of them!
Errol Morris wrote http://opinionator.blogs.nytimes.com/2010/06/20/the-anosognosics-dilemma-1/?hp[an interesting article about this recently in the New York Times] in which referenced Dunning and Kruger's paper 'http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect[Unskilled and Unaware of It: How Difficulties of Recognizing One's Own Incompetence Lead to Inflated Self-assessments]'.
The learning for me from this is that while intuition is very useful it's also important to at least be aware that we probably don't know everything and that we may well come across new situations and will have to approach them as a novice again. | null | null | [
0.02256307192146778,
0.02284979447722435,
-0.006610725075006485,
0.034065790474414825,
0.08366047590970993,
0.040152017027139664,
0.04136845842003822,
0.04339360073208809,
0.013826515525579453,
-0.023191843181848526,
-0.02086278609931469,
-0.0026765367947518826,
-0.07452110201120377,
0.02368597313761711,
-0.036822300404310226,
0.07716038823127747,
0.05848091468214989,
0.003681637579575181,
0.028106553480029106,
0.00339074176736176,
0.035690851509571075,
0.06933441758155823,
0.0015038151759654284,
0.02617863193154335,
0.025527525693178177,
0.01495380513370037,
0.0125148706138134,
-0.002861135872080922,
-0.06468576937913895,
-0.006013114470988512,
0.0423794724047184,
0.019626734778285027,
0.013239945285022259,
-0.024753855541348457,
0.013301157392561436,
0.008724149316549301,
-0.03219089284539223,
0.028433607891201973,
-0.00023932132171466947,
0.0222321730107069,
-0.06803765147924423,
0.058455415070056915,
-0.023827042430639267,
0.007926213555037975,
-0.04943728819489479,
0.0077371494844555855,
-0.04596461355686188,
0.006327368319034576,
0.01655740663409233,
-0.006214361637830734,
-0.08679235726594925,
0.03834099322557449,
-0.008100386708974838,
-0.008192363195121288,
-0.03280296549201012,
0.05814523994922638,
0.012053698301315308,
-0.07626871764659882,
0.02496558614075184,
-0.03362761810421944,
-0.0131333377212286,
-0.005240169353783131,
0.016029594466090202,
0.03191208466887474,
0.015316203236579895,
-0.03350594639778137,
0.009071851149201393,
0.0473773330450058,
-0.05078453943133354,
0.008379245176911354,
0.009148672223091125,
0.011628404259681702,
-0.006728679407387972,
-0.021404657512903214,
0.018971282988786697,
-0.037253934890031815,
0.012728122062981129,
0.061333704739809036,
0.021374117583036423,
0.04244475066661835,
-0.022862602025270462,
0.010942017659544945,
0.01771186850965023,
0.019040271639823914,
-0.014952624216675758,
-0.02908739075064659,
-0.006703922525048256,
-0.01962066814303398,
-0.05634286254644394,
0.06371822953224182,
0.03700302913784981,
-0.057251110672950745,
0.028353342786431313,
0.029201049357652664,
-0.005844397004693747,
0.012470781803131104,
0.024313678964972496,
0.00042280455818399787,
-0.021067436784505844,
-0.01326692383736372,
-0.020533213391900063,
-0.021229717880487442,
0.019182005897164345,
0.026996497064828873,
-0.08822239190340042,
-0.02074727788567543,
-0.017032165080308914,
-0.009413461200892925,
0.0010660146363079548,
0.0018847662722691894,
-0.009178024716675282,
0.04151204228401184,
-0.020814843475818634,
0.013564987108111382,
-0.08028440922498703,
0.0696624293923378,
-0.007132214959710836,
-0.049224138259887695,
0.0031028324738144875,
0.02883332036435604,
0.04157380014657974,
0.03367237001657486,
-0.016850383952260017,
0.08103398978710175,
0.0161594171077013,
0.03554287180304527,
-0.013652724213898182,
0.05164941027760506,
-0.023284727707505226,
-0.05334974825382233,
-0.01512894593179226,
0.07255471497774124,
-0.02544589899480343,
-0.017248043790459633,
0.00635937787592411,
-0.0301711093634367,
0.005244507919996977,
-0.0008040857501327991,
0.023571552708745003,
0.044680722057819366,
-0.023481734097003937,
-0.03603614866733551,
0.003606781829148531,
0.021141057834029198,
0.01950753480195999,
0.021876810118556023,
0.0006426334148272872,
-0.014108658768236637,
-0.03828029707074165,
-0.004617301747202873,
-0.002895258367061615,
0.010333167389035225,
0.008547695353627205,
-0.04489465430378914,
0.022602258250117302,
0.07655641436576843,
0.02018035016953945,
0.008556989021599293,
-0.03090720809996128,
0.031049547716975212,
0.02951710671186447,
0.039255283772945404,
0.0011187344789505005,
0.03513466939330101,
0.009286521933972836,
-0.025558892637491226,
0.010506821796298027,
0.04302777349948883,
-0.004913696553558111,
0.02314693108201027,
-0.0552288182079792,
-0.06969229876995087,
0.06539759039878845,
-0.05026645585894585,
-0.02609475702047348,
0.05551096796989441,
0.07740511745214462,
0.025640323758125305,
0.04104970768094063,
0.012163596227765083,
-0.08555930852890015,
0.032154958695173264,
0.008860080502927303,
0.023492224514484406,
0.013461321592330933,
-0.022737527266144753,
0.06102418899536133,
0.012263808399438858,
0.0019328953931108117,
0.034874077886343,
-0.07811930775642395,
-0.09596988558769226,
-0.01340510230511427,
-0.02231837995350361,
0.049644701182842255,
-0.02500675991177559,
0.0051228865049779415,
0.062319960445165634,
0.008305656723678112,
0.06458985805511475,
0.03432539477944374,
0.007899081334471703,
0.009351576678454876,
-0.05651954188942909,
-0.06180178001523018,
0.06674853712320328,
0.03446944057941437,
-0.010071133263409138,
-0.0492863692343235,
0.00494050420820713,
-0.0049454341642558575,
-0.023128580302000046,
0.03089340589940548,
-0.03188158571720123,
0.033645935356616974,
0.0063247657380998135,
0.05250747501850128,
-0.048370733857154846,
0.04862610623240471,
-0.050113800913095474,
-0.012056328356266022,
-0.00044815349974669516,
0.006839717738330364,
0.010130907408893108,
0.013274667784571648,
0.11492414027452469,
0.06035270541906357,
-0.039002761244773865,
-0.03699050098657608,
-0.005886403378099203,
0.03148597106337547,
-0.05078329145908356,
0.002593817189335823,
-0.02576090395450592,
-0.007805977948009968,
0.011069035157561302,
-0.07560835778713226,
-0.04782004654407501,
0.02923579327762127,
-0.04024385288357735,
0.013757064938545227,
0.07102687656879425,
-0.03222879767417908,
0.06516657024621964,
-0.014113671146333218,
-0.0005212164833210409,
-0.003202830906957388,
-0.024176442995667458,
-0.051174312829971313,
0.015499931760132313,
0.00914664939045906,
-0.012222891673445702,
0.040808454155921936,
-0.02013544924557209,
-0.028450269252061844,
-0.03727557137608528,
-0.018382547423243523,
0.023946933448314667,
0.04698541387915611,
0.07615258544683456,
-0.012830551713705063,
0.07876023650169373,
-0.011187451891601086,
0.029774857684969902,
0.012657706625759602,
-0.049888502806425095,
-0.0402710922062397,
-0.0223577581346035,
0.0029134396463632584,
0.048119597136974335,
0.01421248447149992,
-0.002553309081122279,
0.01150124054402113,
0.002635345095768571,
0.009459925815463066,
-0.022563789039850235,
0.032648585736751556,
0.0018090626690536737,
-0.026964610442519188,
-0.015879927203059196,
-0.029757464304566383,
0.05884683504700661,
-0.04854775592684746,
-0.00286599132232368,
0.006572220008820295,
-0.07282876968383789,
0.04867248982191086,
-0.0595100000500679,
-0.051062971353530884,
0.015186190605163574,
0.012334133498370647,
0.01565290056169033,
-0.002457323018461466,
0.016469188034534454,
0.06184656545519829,
-0.005455322097986937,
0.009970962069928646,
-0.0008153584785759449,
0.013695488683879375,
0.047175437211990356,
0.00847015343606472,
0.01176493801176548,
0.022104840725660324,
0.006187019869685173,
-0.008830584585666656,
-0.05156738683581352,
0.030068758875131607,
-0.009677422232925892,
-0.2985381782054901,
0.02624988928437233,
0.019194956868886948,
-0.0432884506881237,
0.023166881874203682,
-0.020040063187479973,
0.019321169704198837,
-0.047683678567409515,
-0.007416328880935907,
0.016179122030735016,
-0.01703483611345291,
-0.051552191376686096,
-0.004141648765653372,
0.03838646039366722,
0.00048418581718578935,
-0.005894343834370375,
0.02266073413193226,
-0.06001453101634979,
0.011745165102183819,
0.04052316024899483,
-0.005144006572663784,
-0.06165315583348274,
0.008045867085456848,
0.039706405252218246,
0.026234373450279236,
0.06782763451337814,
-0.09019727259874344,
0.03826920688152313,
-0.04184873029589653,
0.0021430531051009893,
0.013057240284979343,
-0.0038253790698945522,
-0.016335798427462578,
-0.012667786329984665,
-0.014902283437550068,
-0.024453172460198402,
0.031608544290065765,
-0.0030214516445994377,
-0.002725349273532629,
0.019409939646720886,
-0.011464361101388931,
-0.020329255610704422,
0.004269544035196304,
0.006066776812076569,
0.06653961539268494,
0.015469694510102272,
-0.07639658451080322,
-0.015095478855073452,
-0.020629238337278366,
0.07534358650445938,
-0.031014926731586456,
-0.030162688344717026,
0.0014091342454776168,
0.025902390480041504,
0.000006563862370967399,
-0.007583608850836754,
-0.012467440217733383,
-0.025864945724606514,
-0.03612208366394043,
-0.040096983313560486,
-0.005853639449924231,
-0.03215610608458519,
-0.011997833847999573,
-0.037089888006448746,
-0.011725605465471745,
-0.05281994119286537,
-0.05017472058534622,
-0.0082401717081666,
0.08699687570333481,
0.011336920782923698,
-0.02209785394370556,
0.03614509850740433,
-0.0013094459427520633,
-0.10347830504179001,
0.00012252252781763673,
0.006377325393259525,
-0.03672504425048828,
-0.0018479079008102417,
0.019044388085603714,
0.03567550703883171,
-0.03943776711821556,
-0.0543602779507637,
0.026257969439029694,
0.009046658873558044,
0.016820011660456657,
-0.009127261117100716,
0.023866627365350723,
0.010933459736406803,
-0.0156440157443285,
0.02339806780219078,
0.05914236977696419,
0.006009938195347786,
-0.0433574840426445,
-0.019975824281573296,
0.028092125430703163,
0.002330559538677335,
0.03551453351974487,
-0.0014325103256851435,
0.012308723293244839,
0.04707421362400055,
-0.008151298388838768,
-0.06773024052381516,
0.060595154762268066,
-0.04332943633198738,
-0.017101120203733444,
-0.001902268617413938,
-0.049494557082653046,
0.014058619737625122,
0.043461501598358154,
0.02407461404800415,
-0.01018429547548294,
-0.04636568948626518,
0.01971335895359516,
-0.04613004997372627,
-0.041254881769418716,
-0.01860993355512619,
0.02083134651184082,
0.04531135782599449,
-0.024125801399350166,
-0.028608419001102448,
-0.04452060908079147,
0.0272204652428627,
0.011104934848845005,
0.019361870363354683,
-0.05303678661584854,
-0.026997290551662445,
-0.011559488251805305,
-0.01866801269352436,
0.018926283344626427,
0.020229574292898178,
-0.0193924643099308,
0.037003498524427414,
0.011759593151509762,
-0.03085908479988575,
0.02558278851211071,
-0.04028860107064247,
-0.05381762981414795,
-0.027533793821930885,
0.00765190739184618,
-0.011229971423745155,
0.0071283080615103245,
0.015454878099262714,
0.012016762048006058,
0.011582467705011368,
0.055393487215042114,
0.010694483295083046,
0.043558064848184586,
-0.013944518752396107,
0.011803099885582924,
0.011187214404344559,
-0.0188803281635046,
-0.07976408302783966,
0.032787226140499115,
-0.037956707179546356,
-0.018233835697174072,
-0.00435817614197731,
0.029822906479239464,
-0.015529552474617958,
-0.026905467733740807,
-0.007545363623648882,
0.01709129847586155,
-0.045984841883182526,
-0.037690307945013046,
-0.025072656571865082,
-0.0004616631777025759,
0.060226183384656906,
-0.02265714854001999,
0.011067856103181839,
-0.011255954392254353,
-0.021245108917355537,
0.016541102901101112,
0.027287278324365616,
-0.04569006711244583,
0.01238835696130991,
0.01760857366025448,
0.011547859758138657,
0.0014274894492700696,
-0.012215852737426758,
0.04603905230760574,
0.022226402536034584,
-0.015791116282343864,
-0.039948996156454086,
0.007815622724592686,
0.02265612781047821,
0.0510932020843029,
0.019120540469884872,
-0.0020071861799806356,
0.0036268136464059353,
-0.02119828201830387,
-0.029215186834335327,
-0.03963475674390793,
-0.00700169475749135,
-0.004567691590636969,
0.036083903163671494,
-0.04365646094083786,
-0.07378380000591278,
0.034365467727184296,
0.01341697946190834,
0.02240910939872265,
0.01980482041835785,
-0.0052169328555464745,
0.003743282286450267,
-0.042765289545059204,
0.012397181242704391,
0.055536989122629166,
-0.06951404362916946,
0.012007246725261211,
0.007602571044117212,
0.004816920962184668,
0.030395228415727615,
-0.01064211130142212,
-0.05319185554981232,
-0.022743117064237595,
-0.028321027755737305,
0.006513076368719339,
-0.08971333503723145,
-0.031041670590639114,
-0.013142835348844528,
0.030027585104107857,
-0.015581987798213959,
-0.028173357248306274,
-0.023359768092632294,
0.0030154541600495577,
-0.002345823682844639,
-0.023484323173761368,
0.01734261028468609,
-0.02330777235329151,
0.0037005040794610977,
0.0212171021848917,
-0.021836763247847557,
-0.006131141446530819,
-0.016754353418946266,
0.02538752183318138,
0.03983055800199509,
-0.016697542741894722,
-0.015825305134058,
-0.04292844235897064,
-0.00495191989466548,
-0.003866865299642086,
0.032893210649490356,
-0.01428921241313219,
-0.034635014832019806,
-0.035444289445877075,
-0.013081653043627739,
-0.03496336564421654,
0.036849748343229294,
-0.0168521236628294,
-0.007816996425390244,
0.030859915539622307,
0.05445976182818413,
0.020288987085223198,
0.04357404634356499,
-0.03343867138028145,
-0.0013459929032251239,
0.05071088671684265,
-0.06452437490224838,
-0.015775738283991814,
-0.02199280820786953,
-0.04346659407019615,
0.009057142771780491,
-0.0004683788283728063,
0.0013393034460023046,
-0.02676122635602951,
0.027355851605534554,
0.018388044089078903,
0.026130065321922302,
0.03593902662396431,
0.004325502086430788,
0.024150099605321884,
-0.05410732328891754,
0.0009780034888535738,
-0.07996740937232971,
0.005652551539242268,
0.032235369086265564,
-0.0240328311920166,
0.01299257855862379,
-0.004453088156878948,
-0.030477074906229973,
0.03704697638750076,
-0.06377037614583969,
-0.02306690625846386,
0.028316982090473175,
-0.0034820607397705317,
-0.002551974495872855,
0.01972096413373947,
-0.05615004897117615,
0.04215430095791817,
0.03451479971408844,
-0.042104706168174744,
-0.034245073795318604,
-0.016206448897719383,
0.053986504673957825,
0.0023145806044340134,
0.030158041045069695,
-0.019282879307866096,
-0.02146906778216362,
0.05586552247405052,
0.030012693256139755,
0.015658432617783546,
0.04501426964998245,
-0.02913138084113598,
0.03352653980255127,
0.04149424657225609,
0.012635190971195698,
-0.009124431759119034,
0.012252156622707844,
-0.03101135976612568,
-0.0679129809141159,
0.024752430617809296,
-0.004431799985468388,
-0.03669680282473564,
-0.04127941653132439,
0.06147950515151024,
0.03142112120985985,
-0.02044013887643814,
-0.04127915948629379,
-0.002917693229392171,
-0.0649709478020668,
-0.006963535211980343,
-0.011270902119576931,
-0.004126131534576416,
-0.0383121594786644,
0.05142776295542717,
-0.0043902406468987465,
0.0023702019825577736,
0.08342192322015762,
0.007748515345156193,
0.012227598577737808,
-0.007043985649943352,
0.08157967031002045,
0.06894674152135849,
0.04918364807963371,
0.019676126539707184,
0.06256881356239319,
-0.029852917417883873,
-0.03769941255450249,
0.026550833135843277,
-0.018145058304071426,
-0.04046782851219177,
-0.021547961980104446,
0.03399508446455002,
0.06501305848360062,
-0.009001094847917557,
0.06653732061386108,
-0.0275685116648674,
0.007587697822600603,
-0.00027439265977591276,
0.03507572039961815,
0.004447185900062323,
0.06593446433544159,
-0.009474112652242184,
0.010779053904116154,
0.0012276306515559554,
-0.033534903079271317,
0.010991435497999191,
-0.03318316116929054,
-0.02180672250688076,
0.02498149313032627,
-0.018839014694094658,
0.028972698375582695,
0.007996343076229095,
0.016549985855817795,
0.08398257941007614,
-0.05616404116153717,
-0.00007699349225731567,
-0.0028329037595540285,
0.04548952728509903,
0.005669512320309877,
0.02206810750067234,
-0.03490133956074715,
-0.02145365998148918,
-0.018033025786280632,
-0.016705863177776337,
-0.005375325679779053,
-0.037652526050806046,
-0.028932791203260422,
0.04064095765352249,
-0.02491794340312481,
-0.02061418816447258,
0.028202909976243973,
-0.005613473244011402,
-0.022640863433480263,
-0.059095434844493866,
-0.04226071387529373,
-0.04853105545043945,
-0.05820006504654884,
-0.027430899441242218,
0.010336250066757202,
-0.005231668706983328,
-0.033527255058288574,
-0.01203297171741724,
-0.03730111941695213,
-0.04251381382346153,
0.04535854607820511,
-0.05350513383746147,
-0.023797890171408653,
0.03494011238217354,
0.019970688968896866,
0.004633511416614056,
0.014368556439876556,
0.044554390013217926,
-0.005064420867711306,
0.0017093020724132657,
-0.023105062544345856,
0.0129691231995821,
0.027810055762529373,
0.010960167273879051,
0.0037957646418362856,
-0.09453415870666504,
0.009231672622263432,
0.03226299211382866,
-0.019790316000580788,
-0.058145083487033844,
0.02519439533352852,
0.021053094416856766,
-0.015159137547016144,
0.05549197643995285,
-0.02208678424358368,
-0.002261494752019644,
-0.045302193611860275,
-0.01527559943497181,
-0.021861113607883453,
0.01590188965201378,
0.03395439311861992,
-0.020703550428152084,
0.0806019976735115,
0.031513016670942307,
-0.007282995618879795,
-0.051438141614198685,
-0.0010115774348378181,
0.004111751448363066,
-0.00521461246535182,
-0.017283549532294273,
-0.030003134161233902,
-0.02530059590935707,
-0.08312153071165085,
-0.023666026070713997,
0.026417234912514687,
-0.031182371079921722,
-0.04241737350821495,
0.03826521709561348,
0.005392330698668957,
-0.021260524168610573,
0.03471505641937256,
-0.060078904032707214,
0.027429047971963882,
-0.031770724803209305,
-0.015878114849328995,
-0.002261681715026498,
0.0032716249115765095,
0.011105142533779144,
-0.004789974074810743,
0.009640460833907127,
-0.04407583922147751,
0.004788890015333891,
-0.005948172416538,
0.037866245955228806,
0.015724841505289078,
0.0020178421400487423,
-0.002610319759696722
] | [
-0.10933920741081238,
-0.021519511938095093,
-0.02791222184896469,
-0.03653522953391075,
0.032638631761074066,
-0.05261014401912689,
0.004197386093437672,
0.042086608707904816,
-0.009125328622758389,
-0.03638492152094841,
0.02121487818658352,
-0.028591379523277283,
-0.0021705564577132463,
-0.005697437096387148,
0.06032678857445717,
0.028243640437722206,
-0.00290147727355361,
-0.07740547508001328,
0.012920049950480461,
0.015020226128399372,
0.009434017352759838,
-0.015263093635439873,
-0.03891846165060997,
-0.013419979251921177,
0.007455312181264162,
0.038240183144807816,
0.048828016966581345,
-0.04834011197090149,
0.00854705460369587,
-0.19210834801197052,
-0.009376936592161655,
0.00945808831602335,
0.03575214743614197,
-0.030718699097633362,
0.022024011239409447,
0.06253655254840851,
0.016035938635468483,
0.025586077943444252,
-0.014159400016069412,
0.022188931703567505,
0.008666321635246277,
0.027076510712504387,
-0.054462578147649765,
-0.040204595774412155,
0.0381193533539772,
0.008464653044939041,
0.006894397549331188,
-0.010141388513147831,
-0.020389078184962273,
-0.002420176053419709,
-0.06739309430122375,
-0.020585279911756516,
-0.016751162707805634,
-0.026552235707640648,
-0.013001153245568275,
0.045355040580034256,
0.03653962165117264,
0.07183956354856491,
-0.005801246967166662,
0.009311309084296227,
0.04232356324791908,
-0.015106949023902416,
-0.11831143498420715,
0.07637923210859299,
0.06552210450172424,
0.0407838374376297,
-0.004678200930356979,
-0.048482224345207214,
-0.01594989374279976,
0.09484080225229263,
0.021964648738503456,
-0.02688559703528881,
-0.017123932018876076,
0.05718265473842621,
0.023332646116614342,
0.014078023843467236,
0.022359883412718773,
0.009144894778728485,
0.023229144513607025,
-0.05245034769177437,
-0.020852165296673775,
0.0005104670999571681,
-0.005420859903097153,
-0.021767698228359222,
-0.04662087559700012,
0.020436516031622887,
-0.03124966286122799,
0.053949255496263504,
0.032016150653362274,
0.02087007649242878,
0.0482448972761631,
0.005819616839289665,
0.036459244787693024,
-0.0022201722022145987,
-0.06340023130178452,
-0.007625444792211056,
-0.0029848527628928423,
-0.00042801600648090243,
-0.04140417277812958,
0.43976306915283203,
-0.03113860823214054,
-0.01793205365538597,
0.08306826651096344,
0.037176989018917084,
-0.020113063976168633,
-0.0127920713275671,
0.005528740119189024,
-0.04698069393634796,
0.01509516965597868,
-0.037488654255867004,
0.034986503422260284,
0.0005630859523080289,
0.09593501687049866,
-0.04028216376900673,
0.008251001127064228,
0.018384739756584167,
0.02441088669002056,
0.0064965179190039635,
-0.008545299991965294,
-0.010247121565043926,
-0.012203269638121128,
0.020740650594234467,
0.03002459742128849,
-0.009680398739874363,
-0.024188468232750893,
-0.022863397374749184,
0.025888752192258835,
0.0704042911529541,
0.029553882777690887,
-0.011165979318320751,
0.05258223041892052,
-0.062129199504852295,
-0.053743667900562286,
0.015127236023545265,
-0.007534046191722155,
0.0066652074456214905,
0.019905252382159233,
-0.0083870068192482,
-0.0018488374771550298,
0.05132005363702774,
-0.0016015215078368783,
-0.005540224723517895,
-0.0009345176513306797,
0.00012809241889044642,
-0.052797768265008926,
0.11615703999996185,
0.019821323454380035,
-0.027814198285341263,
-0.00032569648465141654,
-0.05686309561133385,
0.015139538794755936,
0.04241049662232399,
-0.013447845354676247,
-0.03758247196674347,
0.02515002153813839,
0.009765741415321827,
0.08317884057760239,
-0.01008257269859314,
-0.0527845099568367,
0.021628955379128456,
-0.011808241717517376,
-0.02130446769297123,
-0.04610709473490715,
0.051148299127817154,
0.03461642935872078,
-0.09273892641067505,
-0.01192808523774147,
-0.01622151769697666,
0.026191093027591705,
-0.06362682580947876,
-0.00994535069912672,
0.018907280638813972,
-0.013460326008498669,
-0.011536681093275547,
-0.007791280280798674,
-0.04082827642560005,
-0.029526056721806526,
0.005479264073073864,
0.039420902729034424,
0.040561191737651825,
0.033115364611148834,
0.007170733530074358,
-0.035036031156778336,
0.012439034879207611,
-0.04475375637412071,
-0.08780055493116379,
-0.015017811208963394,
0.006328016985207796,
-0.0005947390454821289,
-0.0084877023473382,
-0.014630722813308239,
-0.032350338995456696,
-0.07472270727157593,
0.09089618921279907,
-0.0377909317612648,
-0.03925850987434387,
0.007018598262220621,
-0.011650539003312588,
-0.034903381019830704,
-0.011632072739303112,
-0.04977039247751236,
0.025881938636302948,
-0.040470246225595474,
0.012685799039900303,
-0.06646134704351425,
0.06555816531181335,
0.03185398876667023,
-0.06459483504295349,
0.08373372256755829,
0.047621022909879684,
-0.04625844210386276,
-0.016834696754813194,
0.012421902269124985,
0.02259990945458412,
0.007823100313544273,
-0.008914043195545673,
-0.0009799660183489323,
0.02148539200425148,
-0.002588677452877164,
0.04225634038448334,
-0.030758850276470184,
0.013938319869339466,
-0.04603400081396103,
-0.3548868000507355,
-0.057317011058330536,
-0.028068456798791885,
-0.022243259474635124,
0.004077272955328226,
-0.028873281553387642,
-0.00419969717040658,
-0.016717959195375443,
-0.022555308416485786,
-0.008656453341245651,
0.0684361606836319,
-0.026034804061055183,
-0.007428769953548908,
-0.11551476269960403,
-0.013764295727014542,
-0.027910642325878143,
-0.040456339716911316,
-0.023250767961144447,
-0.06269960850477219,
0.006546889431774616,
-0.02979857102036476,
0.011363940313458443,
0.00955211091786623,
-0.07382594794034958,
-0.01001022569835186,
-0.04134303331375122,
0.09724494069814682,
0.023644430562853813,
0.10055776685476303,
-0.02856333553791046,
0.015138499438762665,
-0.011838976293802261,
0.024793531745672226,
-0.08915190398693085,
0.016610683873295784,
-0.007854463532567024,
0.008967414498329163,
-0.010410175658762455,
0.03693526238203049,
-0.04907454922795296,
-0.0561625100672245,
0.006669888272881508,
-0.058577969670295715,
-0.03212821111083031,
-0.0761493518948555,
0.01776871457695961,
-0.021284744143486023,
-0.03229095786809921,
-0.0395035594701767,
0.07248689979314804,
0.037875961512327194,
0.0032665578182786703,
0.03176164999604225,
0.013124252669513226,
0.004368266556411982,
-0.03877823427319527,
-0.0889127254486084,
0.0026890479493886232,
0.002806011587381363,
-0.027621112763881683,
0.04094637185335159,
0.07068375498056412,
0.03674511983990669,
-0.06045801192522049,
-0.003927419427782297,
-0.004818600602447987,
0.01673942804336548,
-0.01914932020008564,
0.05933825671672821,
-0.008466850966215134,
-0.011191478930413723,
0.14782558381557465,
-0.0010248174658045173,
-0.026814555749297142,
0.01933625340461731,
0.021480530500411987,
-0.0043623968958854675,
0.009710274636745453,
-0.009768810123205185,
-0.0005697713932022452,
0.03812531754374504,
-0.028106892481446266,
0.037944648414850235,
-0.029816875234246254,
-0.017043419182300568,
0.02232636883854866,
-0.02083440124988556,
-0.06684894859790802,
0.061721526086330414,
-0.003652184968814254,
-0.019536715000867844,
-0.00029582137358374894,
-0.022155489772558212,
-0.06297705322504044,
0.07856821268796921,
-0.005278559867292643,
-0.21763306856155396,
0.023698365315794945,
0.0588030181825161,
0.061067309230566025,
-0.024904917925596237,
0.05068473890423775,
0.04371681809425354,
-0.027203550562262535,
0.02623954974114895,
-0.015574559569358826,
0.003165011527016759,
0.016003912314772606,
0.009393022395670414,
-0.0012090221280232072,
0.03419077396392822,
-0.002457084134221077,
0.0543864443898201,
-0.023386044427752495,
0.013583437539637089,
-0.003512489376589656,
0.027149058878421783,
0.008712861686944962,
0.14981091022491455,
-0.004216795787215233,
0.01230636052787304,
0.018574271351099014,
0.012782999314367771,
0.011205035261809826,
0.07306554168462753,
0.00876336544752121,
0.00388269848190248,
0.008342123590409756,
0.0012216094182804227,
0.013303576968610287,
0.04173389449715614,
-0.07466112822294235,
-0.02493862248957157,
0.0262921042740345,
0.04803387075662613,
0.0051866089925169945,
0.025205062702298164,
0.01223238930106163,
0.0009098987793549895,
0.05271720513701439,
0.07617662101984024,
-0.0033008588943630457,
0.01039028074592352,
-0.02578427642583847,
-0.04558393731713295,
0.0005267043597996235,
-0.022088130936026573,
-0.03109918348491192,
0.010845041833817959,
0.0008541368879377842,
0.01027722842991352,
0.08293292671442032,
0.009171821177005768,
-0.014184003695845604,
0.004049922805279493,
-0.008157075382769108,
-0.016604408621788025,
-0.01751614548265934,
0.11936481297016144,
0.02729080617427826,
0.06352057307958603
] | [
-0.02214052714407444,
0.013849996030330658,
0.02081095427274704,
-0.005587071180343628,
-0.00012700090883299708,
-0.008198294788599014,
-0.006386396940797567,
0.028182346373796463,
0.012601551599800587,
-0.006616050377488136,
-0.011456958018243313,
0.008787829428911209,
0.024540036916732788,
0.01406081672757864,
0.02826053276658058,
-0.008873172104358673,
-0.021814698353409767,
0.007517378777265549,
0.022827167063951492,
0.0055632032454013824,
-0.008435879833996296,
0.022577334195375443,
-0.03249002620577812,
-0.00609866576269269,
-0.004703030455857515,
0.025012945756316185,
-0.010006474331021309,
-0.0033636034931987524,
0.022261155769228935,
-0.13896608352661133,
-0.014497163705527782,
-0.025550756603479385,
-0.004166364204138517,
-0.01425117626786232,
-0.006567169912159443,
0.008894038386642933,
-0.0005428310832940042,
0.013741633854806423,
0.0067207771353423595,
-0.010430742055177689,
0.014264363795518875,
-0.021812327206134796,
-0.013636661693453789,
0.011368010193109512,
-0.021556032821536064,
-0.026280276477336884,
0.0010708692716434598,
-0.0055223791860044,
-0.016457082703709602,
-0.05568782985210419,
-0.027711205184459686,
-0.01231185719370842,
-0.006204075645655394,
0.012085210531949997,
-0.007810557726770639,
0.0024545714259147644,
0.009710262529551983,
-0.0058333370834589005,
0.005303604528307915,
-0.030790096148848534,
0.012770876288414001,
-0.002635509241372347,
-0.061901871114969254,
-0.01627470552921295,
-0.030466323718428612,
-0.0009047120111063123,
0.007260196842253208,
0.007120533846318722,
-0.003090114798396826,
0.021340513601899147,
-0.013491492718458176,
0.019187161698937416,
-0.02551201730966568,
-0.028204254806041718,
0.010478692129254341,
-0.008175751194357872,
0.02142762765288353,
-0.044350069016218185,
0.004274127539247274,
0.0006351940101012588,
-0.0241315346211195,
0.018095284700393677,
0.022775672376155853,
0.005128227639943361,
0.017285000532865524,
-0.02300134301185608,
0.0041572656482458115,
-0.00435981759801507,
0.034827616065740585,
0.0011823596432805061,
-0.009954296983778477,
0.0001292443193960935,
-0.03385361656546593,
0.014956447295844555,
-0.06734295189380646,
-0.004170452710241079,
-0.0013065465027466416,
-0.012912152335047722,
-0.018056591972708702,
0.8837469220161438,
-0.011189051903784275,
-0.0012858847621828318,
0.035719018429517746,
0.00474535534158349,
0.034536655992269516,
-0.008851832710206509,
-0.0016373489052057266,
-0.0056907101534307,
-0.005436406005173922,
-0.06289562582969666,
0.010137801058590412,
0.010901031084358692,
0.02998175472021103,
0.041874103248119354,
0.03519710153341293,
0.016588382422924042,
0.01829695515334606,
0.012589565478265285,
-0.008794554509222507,
0.02520737610757351,
0.02509293146431446,
0.010291866026818752,
0.02760983072221279,
0.03566453978419304,
0.008475180715322495,
-0.152859628200531,
0.01983243227005005,
-7.618348765636506e-33,
0.03583122044801712,
0.00975588709115982,
0.021208569407463074,
-0.005291695706546307,
-0.0007313675014302135,
-0.006243689451366663,
0.03012002632021904,
0.02654881216585636,
-0.014381014741957188,
-0.04352636635303497,
-0.005644648801535368,
-0.016379930078983307,
0.00212350906804204,
-0.015193300321698189,
0.027954071760177612,
-0.036480456590652466,
0.0037513356655836105,
0.04899933561682701,
-0.0086741391569376,
0.020415453240275383,
0.02846694365143776,
-0.000017460801245761104,
-0.004594339989125729,
-0.002023675013333559,
0.002888599643483758,
0.0021318960934877396,
0.03463037312030792,
0.02682356908917427,
0.005853010341525078,
-0.04140839725732803,
-0.0323006846010685,
0.03468609228730202,
0.014645315706729889,
-0.011407102458178997,
0.0068625351414084435,
-0.014880925416946411,
-0.026847627013921738,
-0.004079079255461693,
0.00010733647650340572,
-0.04338832572102547,
-0.01750185899436474,
0.014855952933430672,
-0.04119471088051796,
0.020382476970553398,
-0.01556240301579237,
-0.003045514225959778,
-0.001449629315175116,
-0.01888488046824932,
0.007883776910603046,
0.011313303373754025,
0.010340948589146137,
0.02744331583380699,
-0.008691881783306599,
0.00887517910450697,
-0.02010190300643444,
-0.007618983741849661,
-0.023911092430353165,
0.0013582105748355389,
0.008714530616998672,
0.022950151935219765,
0.02001611888408661,
-0.002300197957083583,
-0.01755949668586254,
0.02941620536148548,
0.014893177896738052,
-0.01428154669702053,
0.011362884193658829,
0.00044481566874310374,
-0.005538379307836294,
-0.0014941840199753642,
-0.05589097738265991,
-0.005187597591429949,
0.014480780810117722,
0.005899310111999512,
0.005158346612006426,
-0.005419059656560421,
-0.004073550924658775,
0.035662468522787094,
-0.012468650937080383,
0.0016359746223315597,
-0.007088329177349806,
0.012827594764530659,
0.003826091531664133,
-0.057057660073041916,
-0.007589875720441341,
-0.009986312128603458,
0.023446979001164436,
-0.0184694305062294,
-0.03930582106113434,
-0.017099004238843918,
0.04055604711174965,
0.03889956697821617,
0.012871988117694855,
-0.02164999023079872,
-0.011780536733567715,
7.790614524013635e-33,
-0.005224599502980709,
-0.05122940242290497,
-0.005844461265951395,
0.0060836076736450195,
-0.001966979820281267,
-0.015200973488390446,
0.021696271374821663,
0.027393927797675133,
-0.014830059371888638,
0.023505799472332,
-0.010988873429596424,
0.016251564025878906,
-0.0012454554671421647,
0.003582629142329097,
-0.005305499769747257,
-0.0179000124335289,
0.020115414634346962,
-0.011060935445129871,
0.020684747025370598,
0.0018780268728733063,
0.026805585250258446,
0.0007112926687113941,
-0.007098236586898565,
-0.01084611751139164,
0.028579112142324448,
0.056195929646492004,
0.0003341752162668854,
0.025035414844751358,
0.0033404137939214706,
-0.01682041585445404,
0.03559882566332817,
-0.005979236215353012,
0.014294120483100414,
-0.01758049800992012,
-0.011088639497756958,
0.02010386250913143,
-0.01488131657242775,
-0.0002528736658859998,
0.022771378979086876,
-0.010386727750301361,
0.04542386904358864,
0.00461707403883338,
0.016185026615858078,
0.03871159628033638,
0.011062475852668285,
0.017124420031905174,
0.010276701301336288,
-0.012603282928466797,
-0.0013360291486606002,
-0.00471502123400569,
-0.005325139034539461,
-0.01023048348724842,
0.01741679571568966,
0.0019115206087008119,
-0.01933211088180542,
-0.012624717317521572,
-0.030704982578754425,
0.018306192010641098,
-0.05031391978263855,
0.016349855810403824,
-0.012330432422459126,
0.01349403616040945,
-0.019269919022917747,
-0.009739018976688385,
-0.035449326038360596,
-0.01617034710943699,
-0.03863554820418358,
-0.01017780788242817,
0.014579690992832184,
0.014047790318727493,
-0.017020275816321373,
0.013194975443184376,
-0.022736432030797005,
0.026790078729391098,
0.02198438160121441,
-0.004544154275208712,
-0.02295619249343872,
-0.0005544780287891626,
-0.03918633237481117,
0.022026952356100082,
0.01335308887064457,
-0.00010011191625380889,
-0.000593046483118087,
0.008618689142167568,
-0.005783666856586933,
0.0030318039935082197,
0.0010044709779322147,
0.03130926936864853,
-0.00947650894522667,
-0.01573794335126877,
-0.029854008927941322,
-0.01509237289428711,
0.008485950529575348,
0.029129428789019585,
0.029970277100801468,
-1.335628763143859e-8,
0.022086068987846375,
-0.01552456896752119,
0.004221520386636257,
0.0011445156997069716,
0.014040506444871426,
0.022198718041181564,
-0.00711403414607048,
-0.016089892014861107,
-0.04356200993061066,
0.011604544706642628,
0.020191093906760216,
-0.015241515822708607,
-0.012576435692608356,
0.001204137341119349,
0.01669396087527275,
-0.021249888464808464,
-0.0040227859281003475,
0.007023618556559086,
0.025480691343545914,
-0.007052580825984478,
0.044937651604413986,
0.05969465151429176,
-0.011710381135344505,
0.021804841235280037,
0.024909306317567825,
0.006360878236591816,
0.016082720831036568,
-0.07931743562221527,
-0.042136646807193756,
0.0022957196924835443,
0.014058675616979599,
-0.04025460407137871,
-0.04039193317294121,
0.04566183686256409,
-0.016567859798669815,
-0.011541103944182396,
-0.014966814778745174,
-0.0006809523329138756,
0.00824869703501463,
-0.018680810928344727,
0.013902709819376469,
0.015467126853764057,
0.0003114800783805549,
-0.029076632112264633,
-0.021996792405843735,
0.007005065679550171,
-0.03874759376049042,
-0.0077313510701060295,
0.017051057890057564,
-0.01792912930250168,
0.0033917648252099752,
0.02016410604119301,
0.002472540130838752,
0.03599750995635986,
0.007506001275032759,
-0.004555763676762581,
-0.0021353312768042088,
-0.03488907963037491,
-0.04801470786333084,
-0.023755982518196106,
0.01880837231874466,
0.027288192883133888,
-0.0009822985157370567,
-0.02266455441713333
] | intuition-and-quit-thinking-and-look | https://markhneedham.com/blog/2010/06/28/intuition-and-quit-thinking-and-look |
false | 2010-06-17 07:00:09 | Using real life metaphors | [
"metaphors"
] | [
"Software Development"
] | My colleague http://twitter.com/dermotkilroy[Dermot Kilroy] attended the http://skillsmatter.com/event/design-architecture/ddd-exchange-2010[DDD 2010 Exchange] in London last week and one of the ideas that he's been sharing with us from that is that of thinking how the user would solve a given problem without a technological solution i.e. how was something done before computers existed.
This encourages us to take a bigger picture view and can actually lead to a much simpler solution than we'd otherwise come up with.
An example that came up recently on the project I'm working on was related to how we should handle the situation where two agents tried to access the same users record at the same time. The agents are most likely in the same building.
The original technically focused solution was that we needed to lock the record so that if one agent had already opened the record then if another tried to access it they would be unable to.
Of course it's technically possible to do this but it's a bit tricky.
If there were no computers then there would probably be a physical folder which would contain all the information about the user.
It's not actually possible for two agents to both access that at the same time - if one wants to access it and it's already in use then they need not speak to their colleague and work out when they'll be finished with it.
If we consider it from this point of view then it becomes clear that putting in the effort to lock the record is unnecessary and that it would make more sense to just pop up a message on the screen informing the agent of the situation and allowing them to decide what to do.
This is the solution that we went with. It took way less time to implement and it's worked out fine so far.
---
I've retrospectively looked at this situation with my colleagues and realised that it seems to fit this pattern quite well but the way that it was reached originally was by http://www.markhneedham.com/blog/2010/03/26/finding-the-assumptions-in-stories/[looking at the requirement and finding the (initially hidden) reason for it].
It would be interesting to see whether we can rely on this degree of user integrity on a public facing application, I suspect that we can to a much greater degree than we might think. | null | null | [
0.017116457223892212,
0.01714666187763214,
0.003146484727039933,
0.06361646205186844,
0.08721038699150085,
-0.002831917954608798,
0.01725105009973049,
0.033078402280807495,
0.02108578383922577,
-0.027508622035384178,
-0.007046220824122429,
-0.015192549675703049,
-0.05577270686626434,
0.021697143092751503,
-0.016731493175029755,
0.06384624540805817,
0.05555594339966774,
-0.004871734883636236,
0.015480000525712967,
-0.0029127495363354683,
0.029432201758027077,
0.05467023327946663,
0.03037339635193348,
0.01878233253955841,
0.023997068405151367,
0.013716616667807102,
0.009646492078900337,
-0.012884671799838543,
-0.04670434072613716,
-0.015668675303459167,
0.0532660074532032,
0.009196991100907326,
0.004340637009590864,
-0.0084152240306139,
0.028845179826021194,
-0.005119785666465759,
-0.03384556993842125,
0.019006168469786644,
-0.009524471126496792,
0.015365414321422577,
-0.0674770250916481,
0.06151397526264191,
-0.03798070177435875,
0.008286211639642715,
-0.04205535352230072,
0.015627717599272728,
-0.051362160593271255,
0.009676367975771427,
0.016509944573044777,
0.004011890385299921,
-0.07705464959144592,
0.03341691941022873,
0.0019933751318603754,
0.018774565309286118,
-0.00859619677066803,
0.03774605318903923,
0.004511762410402298,
-0.06249391660094261,
0.010578474029898643,
-0.022441381588578224,
0.005063141696155071,
-0.016240140423178673,
0.011145557276904583,
0.01565585285425186,
0.024542156606912613,
-0.039026301354169846,
0.03858887031674385,
0.03996919468045235,
-0.0384199433028698,
0.013893098570406437,
-0.0036775676999241114,
-0.010944455862045288,
0.005387636832892895,
-0.014543641358613968,
0.002484975615516305,
-0.046476297080516815,
0.028546204790472984,
0.0533255934715271,
0.04352429136633873,
0.03652529418468475,
-0.0237909983843565,
-0.010709034278988838,
-0.020404744893312454,
0.02914493903517723,
-0.014371674507856369,
-0.056476663798093796,
-0.021707093343138695,
0.00880582258105278,
-0.05855625122785568,
0.06917957961559296,
0.004892364144325256,
-0.06318829208612442,
0.02167869172990322,
0.00996932853013277,
-0.01801767572760582,
0.002956056734547019,
0.026105837896466255,
0.0010164447594434023,
0.0049772136844694614,
-0.01950581558048725,
-0.016354357823729515,
-0.02320263162255287,
-0.02696150355041027,
0.015245206654071808,
-0.05440420284867287,
-0.011746571399271488,
-0.04160051420331001,
0.0015347483567893505,
0.005708225537091494,
-0.0036242175847291946,
-0.015129689127206802,
0.019434846937656403,
0.0012667205883190036,
-0.008842360228300095,
-0.06764648854732513,
0.07304840534925461,
0.015794316306710243,
-0.04023751989006996,
-0.0016075422754511237,
0.01769300550222397,
0.059051692485809326,
0.030248349532485008,
-0.01174803078174591,
0.06389153003692627,
0.033092863857746124,
0.000664803315885365,
-0.010873036459088326,
0.040000803768634796,
-0.03472495824098587,
-0.059398259967565536,
-0.01264021173119545,
0.0631156861782074,
-0.01253974437713623,
-0.0020202910527586937,
0.0009771332843229175,
-0.044335849583148956,
0.00437299907207489,
0.005670436657965183,
0.051551274955272675,
0.030783023685216904,
0.007961617782711983,
-0.04696835204958916,
0.009157691150903702,
0.022435219958424568,
0.021213103085756302,
0.019763575866818428,
0.006730906665325165,
-0.020351210609078407,
-0.04956470802426338,
-0.007236770819872618,
0.016361970454454422,
0.025103451684117317,
0.028974216431379318,
-0.05160163715481758,
0.014439670369029045,
0.0844787061214447,
0.04062517732381821,
0.018681613728404045,
-0.014218882657587528,
0.03289186209440231,
0.03301423788070679,
0.015626413747668266,
0.019501840695738792,
0.043740738183259964,
0.018112650141119957,
-0.0017028070287778974,
-0.007658436428755522,
0.05768290162086487,
0.0278716292232275,
0.017704762518405914,
-0.06138842552900314,
-0.06144033744931221,
0.05914614722132683,
-0.048989348113536835,
-0.010835554450750351,
0.07488974928855896,
0.06688819825649261,
0.03658097982406616,
0.05061573535203934,
-0.00725132692605257,
-0.08439137786626816,
0.02021046169102192,
0.005665949545800686,
0.027525831013917923,
0.036794766783714294,
0.004597214050590992,
0.05691754072904587,
0.041300226002931595,
-0.0041632093489170074,
0.057640641927719116,
-0.07541549950838089,
-0.06942165642976761,
-0.016226934269070625,
-0.015705911442637444,
0.03360924869775772,
-0.02125650644302368,
0.02649877592921257,
0.05572958290576935,
0.01257579866796732,
0.06810887902975082,
0.03548033908009529,
0.009714805521070957,
0.02493506856262684,
-0.03151030093431473,
-0.04809620603919029,
0.06458570808172226,
0.027183830738067627,
-0.00656186044216156,
-0.03429706022143364,
0.005184045527130365,
-0.016451291739940643,
-0.021921100094914436,
0.037971414625644684,
-0.02674359455704689,
0.042914021760225296,
0.004617042373865843,
0.03589025139808655,
-0.03349355235695839,
0.023240115493535995,
-0.03942103311419487,
0.02149881236255169,
0.01718679815530777,
-0.0027274093590676785,
0.05653896555304527,
-0.0003896703419741243,
0.11651424318552017,
0.054398179054260254,
-0.04377325624227524,
-0.03000277653336525,
0.010063921101391315,
0.020397288724780083,
-0.05011104419827461,
0.008028565905988216,
-0.02358314022421837,
0.017895381897687912,
0.018595239147543907,
-0.06485926359891891,
-0.04475267603993416,
0.03373624011874199,
-0.03587745130062103,
0.00017409517022315413,
0.06089159846305847,
-0.015165835618972778,
0.06193431094288826,
-0.02449948713183403,
-0.0018070414662361145,
0.0015279478393495083,
-0.029925569891929626,
-0.019711514934897423,
0.01366547029465437,
0.006708003580570221,
-0.015116673894226551,
0.02892073057591915,
-0.02653973549604416,
-0.005960456561297178,
-0.04874362424015999,
-0.013096345588564873,
0.02620621956884861,
0.03497995808720589,
0.06683116406202316,
-0.03706018254160881,
0.061065010726451874,
-0.0038508374709635973,
0.027953390032052994,
-0.0069929757155478,
-0.05276701599359512,
-0.03296278417110443,
-0.013557548634707928,
-0.00014296277367975563,
0.024885056540369987,
0.02001994475722313,
-0.018039695918560028,
0.004654094111174345,
-0.006558842025697231,
0.01435088086873293,
-0.003760677995160222,
0.021336132660508156,
0.02094566449522972,
0.011034875176846981,
-0.02475751005113125,
-0.02533714286983013,
0.06282065808773041,
-0.04021948575973511,
-0.02821042202413082,
0.01472809910774231,
-0.08694250136613846,
0.029386984184384346,
-0.0933389961719513,
-0.04770628735423088,
-0.00035136358928866684,
0.018656190484762192,
0.023240450769662857,
0.004259918350726366,
0.002056708326563239,
0.05700352042913437,
0.005788138601928949,
-0.006273331586271524,
0.005912468768656254,
-0.005116580054163933,
0.04756881669163704,
0.008853399194777012,
0.004364399239420891,
0.04255841672420502,
-0.008561067283153534,
0.004321224056184292,
-0.06910432130098343,
0.03893199563026428,
-0.02544756792485714,
-0.30223938822746277,
0.023188505321741104,
0.014904914423823357,
-0.041685234755277634,
0.02535235323011875,
-0.008347929455339909,
0.03281727060675621,
-0.05098908022046089,
-0.01835262030363083,
-0.013012527488172054,
-0.01612016372382641,
-0.0680571049451828,
0.008876449428498745,
0.027909692376852036,
0.002708929358050227,
0.020454874262213707,
0.012647177092730999,
-0.052915409207344055,
0.010902327485382557,
0.021407058462500572,
-0.027878165245056152,
-0.07065808027982712,
-0.008072099648416042,
0.028731338679790497,
0.04849648475646973,
0.055308520793914795,
-0.07086504995822906,
0.012837895192205906,
-0.04913206771016121,
0.004901307635009289,
0.00017065527208615094,
0.008346021175384521,
-0.014083304442465305,
-0.023005787283182144,
-0.024471081793308258,
-0.03143759071826935,
0.061587367206811905,
0.0019334139069542289,
-0.0023303101770579815,
-0.012349431402981281,
-0.014630164951086044,
-0.028915399685502052,
-0.0012349362950772047,
0.020700134336948395,
0.06765197962522507,
0.01289321482181549,
-0.07634882628917694,
0.0036200382746756077,
-0.04222852736711502,
0.07129821181297302,
-0.03473788499832153,
-0.016917940229177475,
-0.011769762262701988,
0.01866808719933033,
-0.025671513751149178,
0.007614785805344582,
-0.028331371024250984,
-0.0175259318202734,
-0.040537524968385696,
-0.013394898734986782,
-0.005876817274838686,
-0.035407282412052155,
-0.005191916599869728,
-0.02954065054655075,
0.0071782213635742664,
-0.06205439195036888,
-0.07211919873952866,
-0.018199706450104713,
0.0978153645992279,
-0.0009404356824234128,
-0.030505361035466194,
0.026562057435512543,
0.005250848364084959,
-0.11554694175720215,
-0.004574820399284363,
0.011819852516055107,
-0.012255670502781868,
0.007927680388092995,
0.035248931497335434,
0.03975982964038849,
-0.007528170011937618,
-0.0449385792016983,
0.011299691163003445,
0.0211953017860651,
0.020363064482808113,
-0.029962915927171707,
0.039370570331811905,
0.015989651903510094,
-0.023517854511737823,
0.015995623543858528,
0.07644806057214737,
-0.0001394504215568304,
-0.03186110779643059,
-0.02573622576892376,
0.019983233883976936,
-0.0031932832207530737,
0.016673199832439423,
-0.0037661655806005,
0.002632042858749628,
0.033389199525117874,
0.017032518982887268,
-0.058613937348127365,
0.036037951707839966,
-0.0433935709297657,
-0.013317604549229145,
-0.010960513725876808,
-0.02655119076371193,
0.021931545808911324,
0.020042644813656807,
0.030595097690820694,
-0.017437156289815903,
-0.0555974580347538,
0.014034172520041466,
-0.05962413176894188,
-0.03312067687511444,
-0.014633872546255589,
0.024775421246886253,
0.05199234560132027,
0.0033667220268398523,
-0.02555394358932972,
-0.03548470512032509,
0.02839525043964386,
0.010355853475630283,
0.022824406623840332,
-0.05780944973230362,
0.0009992512641474605,
-0.01701485924422741,
-0.007914604619145393,
0.018104704096913338,
0.014302871190011501,
-0.015550469979643822,
0.017806440591812134,
0.018681103363633156,
-0.05146406218409538,
0.034701500087976456,
-0.015588575042784214,
-0.059368737041950226,
-0.02851896919310093,
0.006061391439288855,
-0.0006790204788558185,
0.014393612742424011,
0.013893191702663898,
0.01851741410791874,
0.013684113509953022,
0.05593833327293396,
0.00985990185290575,
0.04689394310116768,
-0.02169233001768589,
0.042961109429597855,
0.0023762346245348454,
0.007064423989504576,
-0.0611470490694046,
0.02751450426876545,
-0.0345609150826931,
-0.009382116608321667,
-0.022938154637813568,
0.04090757295489311,
-0.0276262778788805,
-0.043886035680770874,
-0.01196144986897707,
0.01738259382545948,
-0.0611334964632988,
-0.020331664010882378,
-0.013107125647366047,
0.02460050769150257,
0.06095296889543533,
-0.03820815682411194,
0.015616540797054768,
-0.011273105628788471,
0.000040795912354951724,
0.014799575321376324,
0.018984146416187286,
-0.054434627294540405,
0.014065677300095558,
0.024251071736216545,
0.011087993159890175,
-0.016630129888653755,
0.00036989152431488037,
0.048443470150232315,
0.003328305669128895,
-0.001446517650038004,
-0.026697957888245583,
-0.012897733598947525,
0.006597375031560659,
0.05215325579047203,
0.009262808598577976,
0.005487572867423296,
0.015383115969598293,
-0.022674167528748512,
-0.03567291423678398,
-0.027927717193961143,
-0.0010966910049319267,
-0.0166114941239357,
0.0070846471935510635,
-0.015005795285105705,
-0.080380879342556,
0.05568476766347885,
-0.002134811133146286,
0.0035531918983906507,
0.04125797748565674,
0.012375462800264359,
0.0057237115688622,
-0.023528235033154488,
0.04925115406513214,
0.0437328927218914,
-0.07273659855127335,
0.01580115407705307,
-0.004226000979542732,
0.002865314017981291,
0.023811858147382736,
0.013622315600514412,
-0.033671069890260696,
-0.03360571339726448,
-0.026729146018624306,
0.01862497068941593,
-0.07943450659513474,
-0.018641481176018715,
-0.019007530063390732,
0.015535769052803516,
0.0034843585453927517,
-0.0065836226567626,
-0.006079015322029591,
-0.007950621657073498,
0.009156628511846066,
-0.041200973093509674,
0.029945334419608116,
-0.021945936605334282,
-0.005006405990570784,
0.001965645933523774,
-0.02837524376809597,
-0.015357643365859985,
-0.03754394128918648,
0.019724154844880104,
0.0189907755702734,
-0.05834943428635597,
-0.008579183369874954,
-0.03866071626543999,
-0.009774362668395042,
-0.022443421185016632,
0.03823808953166008,
-0.026387499645352364,
-0.04201982542872429,
-0.04227287322282791,
-0.01848233863711357,
-0.04124569147825241,
0.02404175139963627,
-0.018907198682427406,
-0.01621275022625923,
0.036357276141643524,
0.036841101944446564,
0.01093342062085867,
0.03473862260580063,
-0.021916767582297325,
-0.03299728408455849,
0.035252995789051056,
-0.084512859582901,
-0.02494889497756958,
-0.029040414839982986,
-0.04658030718564987,
-0.00587563868612051,
-0.008300000801682472,
-0.003923635929822922,
-0.02004152163863182,
0.019811494275927544,
0.03338558226823807,
0.015028011053800583,
0.039383210241794586,
0.007533686235547066,
0.032948367297649384,
-0.049626968801021576,
-0.00903156865388155,
-0.07321224361658096,
0.02281903848052025,
0.02118930220603943,
-0.00044687025365419686,
-0.0036024923902004957,
0.03440876305103302,
-0.049347199499607086,
0.024000074714422226,
-0.07854032516479492,
-0.029162460938096046,
0.04556078836321831,
-0.0016049437690526247,
-0.00537079619243741,
0.010987448506057262,
-0.060880448669195175,
0.013013706542551517,
0.02306373603641987,
-0.03880326822400093,
-0.031239330768585205,
-0.03257448226213455,
0.04868634417653084,
-0.008449900895357132,
0.049297116696834564,
-0.04201340675354004,
-0.01674109324812889,
0.05244657024741173,
0.004273715429008007,
-0.008618433959782124,
0.05445623770356178,
-0.017134912312030792,
0.034334421157836914,
0.023464791476726532,
0.00016730462084524333,
0.017013514414429665,
0.02890891209244728,
-0.01952306181192398,
-0.0640176311135292,
0.04405813291668892,
-0.005873841233551502,
-0.018626227974891663,
-0.053866513073444366,
0.05718046799302101,
0.024723932147026062,
-0.026722528040409088,
-0.05100025609135628,
0.03750324621796608,
-0.058406006544828415,
-0.031744059175252914,
-0.03548435866832733,
-0.010649042204022408,
-0.033491186797618866,
0.03700730949640274,
0.002083821455016732,
0.028320301324129105,
0.06166613847017288,
0.026698224246501923,
-0.00855922419577837,
-0.020014718174934387,
0.10413204878568649,
0.09508726745843887,
0.07030858099460602,
0.014879430644214153,
0.06727284938097,
-0.010784962214529514,
-0.044932715594768524,
0.015286384150385857,
-0.022805243730545044,
-0.02633380889892578,
-0.006541106384247541,
0.01191108301281929,
0.05928393453359604,
-0.03718327358365059,
0.07661627233028412,
-0.019456522539258003,
-0.024994967505335808,
0.010975857265293598,
0.030766788870096207,
0.031049173325300217,
0.048462070524692535,
-0.0018483790336176753,
0.017224695533514023,
-0.01508354116231203,
-0.04622165486216545,
0.031635574996471405,
-0.022675592452287674,
-0.030265603214502335,
0.03315996378660202,
-0.016235552728176117,
0.01179929543286562,
-0.003645051270723343,
0.019319934770464897,
0.0791122242808342,
-0.047552406787872314,
0.011742069385945797,
-0.010297826491296291,
0.014200582168996334,
-0.010424235835671425,
0.017451168969273567,
-0.024660546332597733,
-0.00008144326420733705,
-0.010904787108302116,
-0.025725144892930984,
-0.008382601663470268,
-0.0038418343756347895,
-0.03249206021428108,
0.05294065549969673,
-0.029359450563788414,
-0.0032034104224294424,
0.014452824369072914,
0.005148706957697868,
-0.042978934943675995,
-0.05126680061221123,
-0.04958348721265793,
-0.03758281096816063,
-0.050878919661045074,
0.008544703014194965,
0.028356073424220085,
0.007391240913420916,
-0.04808095097541809,
-0.01801176927983761,
-0.03442922234535217,
-0.021751245483756065,
0.05492248758673668,
-0.058409757912158966,
-0.04261164367198944,
0.01858850196003914,
0.01223653182387352,
0.01837044768035412,
0.01888926327228546,
0.05447293817996979,
-0.0048812576569616795,
-0.016265802085399628,
-0.04656205698847771,
0.019648602232336998,
0.0293803121894598,
-0.0016880118055269122,
-0.020585110411047935,
-0.1001812219619751,
0.02527945302426815,
0.030664682388305664,
-0.04159046709537506,
-0.0762341246008873,
0.028724847361445427,
0.007691069506108761,
0.011408987455070019,
0.040954526513814926,
0.001662421622313559,
0.0016959181521087885,
-0.036755334585905075,
0.014946890994906425,
-0.002302709501236677,
-0.011551477946341038,
0.02829444594681263,
-0.005906810984015465,
0.08049973100423813,
0.04335243999958038,
-0.018421409651637077,
-0.0384216271340847,
0.003664072137326002,
0.005682006943970919,
-0.016568826511502266,
-0.010826228186488152,
-0.033403363078832626,
-0.01847209222614765,
-0.08041305840015411,
-0.04778323322534561,
0.03255344554781914,
-0.029389936476945877,
-0.030038783326745033,
0.030684182420372963,
0.02773427963256836,
-0.022552579641342163,
0.02281489223241806,
-0.046959009021520615,
0.006198241841048002,
-0.03356881067156792,
-0.00496650068089366,
-0.015751095488667488,
0.018586833029985428,
-0.010357353836297989,
-0.008041930384933949,
0.02567993476986885,
-0.05434022843837738,
-0.013903899118304253,
-0.021044911816716194,
0.01940947212278843,
0.03151705488562584,
0.009667553938925266,
0.0059274029918015
] | [
-0.08659066259860992,
0.0038263280875980854,
-0.024209948256611824,
-0.05165372043848038,
0.032184962183237076,
-0.03540673479437828,
0.00406968779861927,
0.01736382022500038,
0.005316551774740219,
-0.03122764453291893,
0.008031744509935379,
-0.003867318155243993,
0.02971981279551983,
-0.02591758221387863,
0.0748964250087738,
0.010223574005067348,
-0.006759725045412779,
-0.07227545976638794,
0.052415020763874054,
0.04428979381918907,
-0.009816971607506275,
-0.04493831843137741,
-0.02809601090848446,
-0.016037847846746445,
-0.023948518559336662,
0.014949982054531574,
0.022929515689611435,
-0.04937901720404625,
0.003054686589166522,
-0.18271128833293915,
0.013523327186703682,
0.013307902030646801,
0.019276488572359085,
-0.009806419722735882,
0.031062239781022072,
0.022319821640849113,
0.027551783248782158,
0.020312519744038582,
-0.0016683898866176605,
0.004376302473247051,
-0.00716475211083889,
0.013870680704712868,
-0.03375574201345444,
-0.022844478487968445,
0.02932833321392536,
0.02419334091246128,
-0.017303727567195892,
-0.03611874580383301,
-0.024255454540252686,
0.004327046684920788,
-0.02938302420079708,
0.01197314914315939,
-0.025043033063411713,
-0.024012014269828796,
-0.02281574346125126,
0.045998260378837585,
0.026952503249049187,
0.06594372540712357,
-0.00023053887707646936,
0.022188089787960052,
0.032635122537612915,
0.010226363316178322,
-0.13999731838703156,
0.10243664681911469,
0.03994718939065933,
0.06100982055068016,
-0.028668439015746117,
-0.05329408124089241,
-0.012007416225969791,
0.07218920439481735,
-0.011443444527685642,
-0.02100842073559761,
-0.03019842319190502,
0.011018258519470692,
0.02327852137386799,
-0.012832894921302795,
-0.01211476419121027,
0.03791424632072449,
0.003710830118507147,
-0.06828130036592484,
-0.03187154233455658,
0.023340275511145592,
0.001961597939953208,
0.0026777468156069517,
-0.0792667344212532,
0.02502220682799816,
-0.019758690148591995,
0.03355547785758972,
0.010534488596022129,
0.01320765633136034,
0.02791816182434559,
0.01830814592540264,
0.04227021336555481,
0.0007157875807024539,
-0.08122118562459946,
-0.030572133138775826,
-0.0023090546019375324,
0.04916685074567795,
-0.06513239443302155,
0.47820577025413513,
-0.007004871498793364,
-0.033381544053554535,
0.09341686218976974,
0.020908575505018234,
-0.005023241508752108,
0.01571919582784176,
0.0245503056794405,
-0.06985974311828613,
0.012900451198220253,
-0.025598065927624702,
0.03903641551733017,
0.006021634675562382,
0.06340458989143372,
-0.014810415916144848,
0.058134354650974274,
0.047828465700149536,
0.008590638637542725,
0.006039808504283428,
-0.016321232542395592,
-0.03585302457213402,
-0.02654159441590309,
0.015054304152727127,
0.029994865879416466,
0.011236471123993397,
-0.028541915118694305,
-0.026008328422904015,
0.023558788001537323,
0.060317523777484894,
0.019376762211322784,
0.0152791328728199,
0.026150718331336975,
-0.06810733675956726,
-0.04634943976998329,
0.014374182559549809,
0.0016745519824326038,
0.004222237505018711,
0.022618558257818222,
-0.029504403471946716,
-0.0027236780151724815,
0.020743122324347496,
0.014355385676026344,
0.0014362912625074387,
0.021473217755556107,
0.01782306283712387,
-0.03324989601969719,
0.12922240793704987,
0.033398184925317764,
-0.02876570262014866,
-0.018259448930621147,
-0.05018962174654007,
0.03518858924508095,
0.01669616624712944,
0.00500844419002533,
-0.04433869570493698,
0.0128865335136652,
-0.001511027105152607,
0.08525392413139343,
-0.001024948200210929,
-0.06162170693278313,
0.016109788790345192,
0.021675581112504005,
-0.042942482978105545,
-0.06283780932426453,
0.07467092573642731,
0.05933072417974472,
-0.12263289839029312,
-0.008608228527009487,
0.006851141806691885,
0.03730425238609314,
-0.06077168136835098,
0.0027377817314118147,
-0.010594839230179787,
-0.013362972997128963,
-0.017976613715291023,
0.015498802997171879,
-0.026382451876997948,
-0.050257086753845215,
0.015534872189164162,
0.011180795729160309,
0.007115262094885111,
-0.022631505504250526,
-0.01449201162904501,
-0.043381642550230026,
-0.01790807396173477,
-0.04715346917510033,
-0.0775727853178978,
-0.023604445159435272,
-0.0012187785468995571,
-0.006015184801071882,
0.0063834902830421925,
-0.022130997851490974,
0.006004514172673225,
-0.08066494762897491,
0.07927291095256805,
-0.03378716856241226,
-0.02547602355480194,
0.0012088799849152565,
-0.01927311159670353,
-0.048139188438653946,
-0.012292197905480862,
-0.028909936547279358,
0.008174104616045952,
-0.05398101732134819,
0.026560822501778603,
-0.05313471704721451,
0.046477846801280975,
0.03389619663357735,
-0.047485947608947754,
0.07380270212888718,
0.044143836945295334,
-0.0028042281046509743,
-0.0336763970553875,
-0.003916412126272917,
0.0319465771317482,
-0.002020894316956401,
-0.012520859017968178,
0.012830899097025394,
0.018295615911483765,
0.03407163918018341,
0.0199428703635931,
-0.005744058173149824,
0.0365232490003109,
-0.004368339665234089,
-0.34468626976013184,
-0.059035494923591614,
-0.053639721125364304,
0.006227749399840832,
-0.013229666277766228,
-0.05793774127960205,
0.031614888459444046,
-0.01441280823200941,
-0.054659172892570496,
0.013104933314025402,
0.09193512797355652,
-0.011326936073601246,
-0.007063874509185553,
-0.052706923335790634,
-0.011062223464250565,
0.01480915304273367,
-0.02844790555536747,
0.012617524713277817,
-0.0405646450817585,
-0.006136929150670767,
0.007571786176413298,
0.019565066322684288,
-0.00962633453309536,
-0.06178946793079376,
0.0074193961918354034,
-0.015909167006611824,
0.11610482633113861,
-0.0037057155277580023,
0.057938262820243835,
-0.008391312323510647,
0.021564606577157974,
0.008352314122021198,
-0.027929751202464104,
-0.12217721343040466,
-0.011934923939406872,
0.006693321745842695,
-0.004005305469036102,
-0.009313215501606464,
0.033690035343170166,
-0.04964511841535568,
-0.0563800185918808,
0.013729095458984375,
-0.034403204917907715,
-0.04714090749621391,
-0.06220286712050438,
0.014777074567973614,
-0.038414739072322845,
-0.010512919165194035,
-0.027291275560855865,
0.07568924129009247,
0.020661430433392525,
0.007426220458000898,
-0.002999057760462165,
0.022609993815422058,
-0.016372786834836006,
-0.04859677702188492,
-0.06494267284870148,
0.017765067517757416,
0.0009807376191020012,
0.0264892578125,
0.009353202767670155,
0.05550770089030266,
0.02908173017203808,
-0.07239045947790146,
0.028338657692074776,
0.000936775584705174,
-0.0003105459618382156,
0.012481000274419785,
0.05900820717215538,
-0.015749722719192505,
0.006435929331928492,
0.11411911249160767,
-0.014825227670371532,
0.011638100259006023,
0.01922484114766121,
0.042229536920785904,
0.015207883901894093,
0.012816834263503551,
0.0019299836130812764,
-0.0060860877856612206,
0.01790658012032509,
-0.019682854413986206,
0.02974812686443329,
-0.024341225624084473,
0.01148068904876709,
0.0076769147999584675,
-0.0031049272511154413,
-0.019309069961309433,
0.05837850645184517,
-0.008185959421098232,
-0.014160393737256527,
-0.012538357637822628,
-0.020743397995829582,
-0.06427691876888275,
0.03863098472356796,
-0.010412993840873241,
-0.26019445061683655,
0.007910245098173618,
0.04631691798567772,
0.06099262833595276,
-0.01362687535583973,
0.027434684336185455,
0.044448137283325195,
0.014133215881884098,
0.02408619597554207,
-0.010717452503740788,
0.0021111750975251198,
0.014342091046273708,
-0.02073197066783905,
0.016658902168273926,
0.026627853512763977,
-0.029087400063872337,
0.03460496664047241,
0.013387223705649376,
-0.005839066114276648,
-0.03869374841451645,
0.010202337056398392,
0.006129613146185875,
0.14791540801525116,
-0.0037256330251693726,
0.02489253506064415,
0.011182754300534725,
0.02947630174458027,
0.017751570791006088,
0.042307883501052856,
0.001358046312816441,
-0.012916973792016506,
-0.020442873239517212,
0.000806396477855742,
0.00019939799676649272,
0.030112681910395622,
-0.069233737885952,
-0.02658986672759056,
0.017363736405968666,
0.04310597479343414,
0.01816156879067421,
-0.010355951264500618,
-0.0027228856924921274,
-0.012140058912336826,
0.03219733387231827,
0.0749979093670845,
0.03289195895195007,
0.00842664297670126,
-0.0010232134955003858,
-0.046397458761930466,
-0.008967408910393715,
-0.020774949342012405,
-0.05847344547510147,
0.007255006115883589,
-0.00021744043624494225,
0.03779236972332001,
0.07509969919919968,
0.02439819648861885,
-0.016405144706368446,
0.005858699791133404,
0.013619843870401382,
-0.006970477756112814,
0.0005612898385152221,
0.11654709279537201,
0.017935825511813164,
0.04315278306603432
] | [
-0.01727260835468769,
0.004844965413212776,
0.018898464739322662,
-0.007687835488468409,
0.0006398761761374772,
-0.00026828248519450426,
0.022913625463843346,
-0.007321516051888466,
0.0025327960029244423,
0.008572421967983246,
0.01616813614964485,
0.013123920187354088,
0.02380525879561901,
-0.018940014764666557,
0.0365840382874012,
-0.007985725998878479,
0.012102918699383736,
0.006067517213523388,
0.026732908561825752,
-0.0006905962945893407,
-0.0010596673237159848,
0.007839500904083252,
-0.009230227209627628,
-0.014334241859614849,
-0.04095868766307831,
-0.00027991452952846885,
0.01364963036030531,
-0.02897147834300995,
0.02384335733950138,
-0.14064939320087433,
-0.01749507710337639,
-0.03817226365208626,
-0.020952140912413597,
0.0473608560860157,
-0.0012381862616166472,
-0.032757312059402466,
0.014302246272563934,
0.06372062116861343,
0.009953976608812809,
-0.008280059322714806,
-0.015451368875801563,
-0.026286613196134567,
0.016305504366755486,
0.02441929467022419,
-0.008530737832188606,
-0.00458604795858264,
-0.00047257920959964395,
-0.03639695420861244,
-0.029269462451338768,
-0.02737594209611416,
-0.021933985874056816,
0.016384270042181015,
0.012823986820876598,
-0.003503993386402726,
0.0062312595546245575,
-0.023511897772550583,
0.03209409490227699,
0.013664149679243565,
-0.011050393804907799,
-0.01859973557293415,
-0.008650700561702251,
-0.005229024216532707,
-0.04751276597380638,
-0.02838899753987789,
-0.014912059530615807,
-0.001924621406942606,
0.0005851527093909681,
-0.006119809579104185,
-0.010570606216788292,
-0.0008271921542473137,
-0.017022937536239624,
0.03356103599071503,
-0.015881435945630074,
-0.016217846423387527,
0.01989470049738884,
-0.026933155953884125,
-0.011430841870605946,
-0.012192454189062119,
0.0048712086863815784,
-0.019855746999382973,
0.005153816193342209,
0.002407785039395094,
0.012388334609568119,
0.02030239626765251,
0.0067700594663619995,
-0.01639794185757637,
0.0010985671542584896,
0.006895769387483597,
0.010314003564417362,
-0.012301121838390827,
-0.013290689326822758,
0.04025056213140488,
-0.006457426585257053,
0.020539170131087303,
-0.09701648354530334,
-0.0015203721122816205,
-0.037018682807683945,
0.006668249610811472,
-0.016517966985702515,
0.86714106798172,
-0.010619718581438065,
0.03454669937491417,
-0.0010118263307958841,
0.053093280643224716,
0.002686853054910898,
-0.017543110996484756,
0.013428683392703533,
-0.00025250366888940334,
0.0019279161933809519,
-0.025887664407491684,
0.019712675362825394,
-0.001076385728083551,
0.02686290629208088,
0.029484013095498085,
0.03381295129656792,
0.005210194271057844,
-0.007923522964119911,
0.02090388908982277,
0.00046297902008518577,
0.0009091751417145133,
0.040247004479169846,
-0.01371895894408226,
0.006070563104003668,
-0.003047978039830923,
0.0071732825599610806,
-0.18656103312969208,
0.03413862735033035,
-9.133560249162465e-33,
0.04336833581328392,
0.029454883188009262,
-0.02839849703013897,
0.0015802910784259439,
0.019240649417042732,
-0.004337785299867392,
0.018692621961236,
0.015684649348258972,
-0.005030352156609297,
-0.017196988686919212,
-0.010562450625002384,
-0.014543446712195873,
0.0035585234872996807,
-0.03132228925824165,
0.023517832159996033,
0.013877945952117443,
-0.01696954108774662,
0.05993417650461197,
-0.003510830458253622,
0.019039485603570938,
0.04014400765299797,
0.024713784456253052,
0.019948916509747505,
0.034127913415431976,
0.013171032071113586,
0.027818432077765465,
0.0016546448459848762,
-0.007080450188368559,
0.03919597715139389,
-0.04317976534366608,
-0.019418681040406227,
0.039941370487213135,
0.00025851253303699195,
0.024321651086211205,
-0.003131571225821972,
-0.029380394145846367,
-0.02709571272134781,
-0.0016562516102567315,
-0.00025455225841142237,
-0.04427977278828621,
-0.06743913888931274,
0.0016487997490912676,
-0.027969839051365852,
-0.025018973276019096,
-0.025715410709381104,
-0.007111373823136091,
-0.010858302935957909,
-0.011196240782737732,
0.009154117666184902,
-0.01205323077738285,
0.028429439291357994,
0.008068298920989037,
-0.012676363810896873,
-0.012618268840014935,
-0.012108277529478073,
-0.010755948722362518,
-0.008951990865170956,
0.018665209412574768,
0.03454073145985603,
0.021023016422986984,
0.04357787221670151,
0.003224392421543598,
-0.014778696931898594,
0.030769359320402145,
-0.01740054041147232,
-0.035337381064891815,
0.017690343782305717,
-0.012947553768754005,
0.042574480175971985,
-0.04101472720503807,
-0.04808427765965462,
-0.003080383874475956,
0.006191490218043327,
-0.017208222299814224,
-0.010190743021667004,
-0.004087553825229406,
0.015268580056726933,
0.0068681500852108,
-0.00394807755947113,
0.03524880111217499,
0.006271629594266415,
-0.002740585943683982,
-0.020856263116002083,
-0.028855467215180397,
0.007899477146565914,
-0.020363274961709976,
-0.019874468445777893,
0.005898473784327507,
-0.01533933263272047,
0.026365142315626144,
0.03376321122050285,
0.0008096240926533937,
-0.0081759262830019,
0.003502417355775833,
-0.03435475751757622,
9.387852738023943e-33,
0.0006226497935131192,
-0.04132690653204918,
-0.03263404592871666,
-0.0047271400690078735,
0.028158463537693024,
0.009147299453616142,
0.011046548373997211,
0.01875719428062439,
-0.03869108855724335,
0.014003816992044449,
0.0011287363013252616,
0.008741245605051517,
-0.029797032475471497,
0.03342351317405701,
0.03186163306236267,
-0.039891790598630905,
0.03962564468383789,
-0.0017279243329539895,
-0.009585161693394184,
0.0088936947286129,
0.03676300123333931,
0.024611255154013634,
-0.010375499725341797,
0.03138188272714615,
0.030648795887827873,
0.042605821043252945,
-0.01213910710066557,
0.021096527576446533,
0.013103187084197998,
0.0007181861437857151,
-0.0004389112873468548,
-0.01116601936519146,
0.03376444801688194,
-0.01064858864992857,
-0.02069096639752388,
0.006692718248814344,
-0.004500193055719137,
-0.004849984776228666,
-0.009081609547138214,
0.0024867949541658163,
0.009865367785096169,
0.008348957635462284,
-0.0038361470215022564,
0.015047721564769745,
0.02894105389714241,
0.017094813287258148,
-0.016061285510659218,
-0.008110793307423592,
0.009392650797963142,
0.012173890136182308,
0.0016411511460319161,
0.012748770415782928,
0.007408068049699068,
-0.03242891654372215,
0.0029338495805859566,
-0.0013940358767285943,
-0.0361768901348114,
-0.004807361401617527,
0.006280361674726009,
0.0014625522308051586,
-0.006487296894192696,
0.0182887502014637,
-0.030761778354644775,
0.006035792175680399,
-0.029876263812184334,
0.0015766556607559323,
-0.011312899179756641,
0.0031573798041790724,
-0.008836418390274048,
-0.008775251917541027,
-0.01172594539821148,
-0.0053953127935528755,
0.003977748565375805,
0.03353951498866081,
0.04181046411395073,
-0.03079730086028576,
-0.048070210963487625,
0.009010415524244308,
-0.013283860869705677,
0.025273021310567856,
-0.021072039380669594,
-0.004000384826213121,
0.018734103068709373,
-0.01374146994203329,
-0.010240120813250542,
0.04414558410644531,
-0.016389150172472,
0.029968218877911568,
0.00036916518001817167,
-0.020025717094540596,
-0.021448718383908272,
-0.027749937027692795,
0.0062638758681714535,
0.01859632506966591,
-0.01997155323624611,
-1.4319320840172622e-8,
0.005980450659990311,
-0.011340569704771042,
0.01617785543203354,
-0.00985227432101965,
-0.00045415505883283913,
0.013580266386270523,
0.015971003100275993,
-0.01117662526667118,
-0.003784526837989688,
0.006593663245439529,
0.03789195418357849,
-0.014990879222750664,
-0.002762247109785676,
0.024439044296741486,
0.018743544816970825,
-0.03469037264585495,
-0.011777086183428764,
-0.030668852850794792,
0.023628905415534973,
-0.0024482167791575193,
0.05259091407060623,
0.02969207987189293,
-0.016947127878665924,
0.011421038769185543,
0.009589649736881256,
0.009422769770026207,
-0.026338763535022736,
-0.08912986516952515,
-0.014524087309837341,
0.007862330414354801,
-0.016112396493554115,
-0.04869759455323219,
0.008880635723471642,
0.02221645414829254,
-0.016643831506371498,
-0.01601770892739296,
0.012009934522211552,
-0.008297520689666271,
0.027505937963724136,
-0.021518157795071602,
0.00853869691491127,
-0.022534005343914032,
0.004450430627912283,
-0.013348557986319065,
0.000009331315595773049,
0.02321578375995159,
-0.016737736761569977,
-0.009196297265589237,
0.015379229560494423,
-0.035415928810834885,
-0.012481726706027985,
-0.020509913563728333,
0.013949728570878506,
0.046207673847675323,
0.03235572576522827,
0.009960508905351162,
0.026378164067864418,
-0.0261456947773695,
0.001666368218138814,
-0.0014243882615119219,
0.029933243989944458,
0.030467454344034195,
-0.01843925379216671,
-0.024894509464502335
] | using-real-life-metaphors | https://markhneedham.com/blog/2010/06/17/using-real-life-metaphors |
false | 2010-06-17 00:43:41 | Incremental Refactoring: Create factory method | [
"coding",
"incremental-refactoring"
] | [
"Incremental Refactoring"
] | http://twitter.com/dermotkilroy[Dermot] and I spent a bit of time today refactoring some code where the logic had ended up in the wrong place.
The code originally looked a bit like this:
[source,csharp]
----
public class LookupService
{
public LookUp Find(UserData userData)
{
var param1 = GetParam1From(userData);
var param2 = GetParam2From(userData);
var param3 = GetParam3From(userData);
var lookupKey = new LookUpKey(param1, param2, param3);
return lookupRepository.Find(lookupKey);
}
}
----
[source,csharp]
----
public class LookUpKey
{
private readonly string param1;
private readonly string param2;
private readonly string param3;
public LookUpKey(string param1, string param2, string param3)
{
this.param1 = param1;
this.param2 = param2;
this.param3 = param3;
}
}
----
We wanted to push the logic used to create the params in 'LookUpKey' into the 'LookUpKey' since it seemed that was a more natural place for that behaviour to live.
Unfortunately there were also a few other places that were use LookUpKey's constructor so we couldn't just go and change that to take in a 'UserData' otherwise we'd break other places in the code base.
My initial thought was that we could http://www.markhneedham.com/blog/2010/04/25/small-step-refactoring-overload-constructor/[overload the constructor] and temporarily have two constructors until we got rid of the original.
Dermot pointed out a better approach which was to add a static factory method to 'LookUpKey' and initially push the logic into that method.
[source,csharp]
----
public class LookUpKey
{
...
public static LookUpKey CreateFrom(UserData userData)
{
var param1 = GetParam1From(userData);
var param2 = GetParam2From(userData);
var param3 = GetParam3From(userData);
return new LookUpKey(param1, param2, param3);
}
}
----
The service is now much simplified:
[source,csharp]
----
public class LookupService
{
public LookUp Find(UserData userData)
{
var lookupKey = LookUpKey.CreateFrom(userData);
return lookupRepository.Find(lookupKey);
}
}
----
We can also move tests that were originally indirectly testing the key creation by checking what was passed to the repository to be directly against the 'LookUpKey'.
Eventually we want to make LookUpKey's constructor private but for now we've been able to make our change without breaking the code base elsewhere. | null | null | [
0.0018075637053698301,
-0.02784726954996586,
-0.02680865488946438,
0.028501149266958237,
0.0877440944314003,
0.019959326833486557,
0.047741442918777466,
0.020975464954972267,
-0.00750124454498291,
-0.027292504906654358,
-0.007840094156563282,
-0.02670707367360592,
-0.07980373501777649,
0.01589576154947281,
-0.038991935551166534,
0.0701584741473198,
0.06629558652639389,
-0.028340617194771767,
0.041700877249240875,
-0.008095263503491879,
0.004501344636082649,
0.08231080323457718,
-0.011110206134617329,
0.025643963366746902,
0.020748859271407127,
0.04374994710087776,
-0.012669997289776802,
0.00002121648685715627,
-0.05761701241135597,
-0.017816195264458656,
0.04659901186823845,
0.021519094705581665,
0.008456925861537457,
-0.006937220226973295,
0.0004617372469510883,
-0.02110721915960312,
-0.02012944035232067,
0.012145997025072575,
0.008849662728607655,
0.014770488254725933,
-0.08082626760005951,
0.047107238322496414,
-0.002073797630146146,
0.01669786125421524,
-0.05924728140234947,
-0.009939884766936302,
-0.043638475239276886,
-0.001859189011156559,
-0.038530830293893814,
-0.010525004006922245,
-0.07839437574148178,
0.01976378634572029,
-0.04727325588464737,
0.014882522635161877,
-0.005450374446809292,
0.05081629380583763,
0.01763428933918476,
-0.08404768258333206,
0.03013593889772892,
-0.05653392896056175,
0.0011430366430431604,
0.0071504185907542706,
0.026942458003759384,
0.031540170311927795,
0.02192957140505314,
-0.010130643844604492,
-0.007033658679574728,
0.0448053702712059,
-0.05262749269604683,
-0.03732798248529434,
-0.0045244949869811535,
-0.002635343698784709,
-0.004531670827418566,
0.008063329383730888,
0.005038493778556585,
-0.030317120254039764,
-0.013782070949673653,
0.04768206551671028,
0.00503547303378582,
0.06864794343709946,
0.0007164634298533201,
-0.024143036454916,
0.022393468767404556,
0.006122488062828779,
0.029140165075659752,
-0.021816210821270943,
-0.028661997988820076,
0.0020907369907945395,
-0.024935927242040634,
0.05175342783331871,
0.0011815816396847367,
-0.023769181221723557,
0.029125673696398735,
0.03949571028351784,
0.015103072859346867,
0.015012378804385662,
-0.0009398832335136831,
-0.018186291679739952,
0.013199509121477604,
0.004122791346162558,
-0.02071399800479412,
-0.027479348704218864,
0.0029132291674613953,
-0.004957631696015596,
-0.0842246413230896,
-0.006219981703907251,
-0.038086824119091034,
-0.007224857807159424,
0.008259963244199753,
0.012522195465862751,
-0.04624524712562561,
0.031083373352885246,
-0.01820720173418522,
-0.00020831034635193646,
-0.07343875616788864,
0.06046691909432411,
0.017361070960760117,
0.004574612248688936,
-0.002695417497307062,
0.0421520434319973,
0.056473828852176666,
0.03523379936814308,
-0.006901541259139776,
0.07390175014734268,
0.017100367695093155,
0.044419799000024796,
-0.018275372684001923,
0.05990390479564667,
-0.006802393589168787,
-0.058151423931121826,
-0.00039553461829200387,
0.05331866443157196,
0.0026161030400544405,
0.013389759697020054,
-0.010058337822556496,
-0.0388278104364872,
-0.007594880647957325,
0.014691467396914959,
0.05058109760284424,
0.028216609731316566,
-0.02034161239862442,
-0.04790636897087097,
0.007823187857866287,
-0.028519999235868454,
-0.0020835085306316614,
0.02881421148777008,
0.0054827844724059105,
-0.018221436068415642,
0.005178481340408325,
0.0468415804207325,
0.013338834047317505,
0.07307121157646179,
0.04554149881005287,
-0.043629784137010574,
0.03395964577794075,
0.08656281232833862,
-0.004350878763943911,
-0.01662273518741131,
-0.0019750322680920362,
0.023974299430847168,
0.04768376052379608,
0.04691747575998306,
-0.00008424736734014004,
0.06774444133043289,
0.013742873445153236,
0.0006212862790562212,
0.003773151198402047,
0.03245110437273979,
0.001747514703311026,
-0.020020101219415665,
-0.05833331122994423,
-0.05299052968621254,
0.06072035804390907,
-0.04947656765580177,
-0.011965995654463768,
0.060470856726169586,
0.06752380728721619,
-0.008162149228155613,
0.08631229400634766,
-0.0024551365058869123,
-0.0699518620967865,
0.025037379935383797,
0.013228298164904118,
0.0032731923274695873,
0.003093728795647621,
-0.004114021081477404,
0.07189470529556274,
0.02425157092511654,
0.002480445895344019,
0.02049003541469574,
-0.06559211015701294,
-0.05811985954642296,
-0.026933135464787483,
-0.0045906780287623405,
0.08749354630708694,
-0.01539407204836607,
0.000036035271477885544,
0.08243259787559509,
0.01530248299241066,
0.07022318243980408,
0.05261809751391411,
-0.02613026462495327,
0.014836812391877174,
-0.036814671009778976,
-0.04196304455399513,
0.040348391979932785,
0.030082616955041885,
-0.008035744540393353,
-0.025675958022475243,
0.026249444112181664,
-0.002663695253431797,
-0.009436264634132385,
0.030133791267871857,
-0.006887585390359163,
0.0349481999874115,
0.0016216686926782131,
0.006377087906002998,
-0.03550919145345688,
0.06531349569559097,
-0.06244015693664551,
0.03185868635773659,
-0.0010134424082934856,
-0.008788769133388996,
-0.013042616657912731,
0.004756509326398373,
0.11135711520910263,
0.03757253661751747,
-0.040817853063344955,
-0.040655963122844696,
0.0058645582757890224,
0.031957849860191345,
-0.03639203682541847,
0.006131179630756378,
-0.028309471905231476,
-0.005938353948295116,
0.0026608279440551996,
-0.03968363627791405,
-0.00806177593767643,
0.0057325344532728195,
-0.04154394939541817,
0.03654872253537178,
0.08970046788454056,
-0.030753470957279205,
0.030788911506533623,
-0.022426556795835495,
-0.04202518239617348,
0.00038410333218052983,
-0.03267152979969978,
-0.05830610543489456,
-0.000875425583217293,
0.014814535155892372,
-0.011685715988278389,
0.06228717789053917,
-0.01574050635099411,
-0.012766784057021141,
-0.01351420022547245,
-0.04434851557016373,
0.004523538984358311,
-0.002374282106757164,
0.07479862868785858,
0.0007833553827367723,
0.05429988354444504,
-0.018291059881448746,
0.0007686583558097482,
-0.013761288486421108,
-0.04305937513709068,
0.005520818289369345,
0.018385186791419983,
0.03291754052042961,
0.048089466989040375,
0.02827361784875393,
-0.011907353065907955,
0.02031700871884823,
0.0052769542671740055,
-0.011938445270061493,
-0.005152166821062565,
0.036421239376068115,
-0.006301942281424999,
-0.03310500457882881,
-0.0292377769947052,
-0.06937117129564285,
0.04145027697086334,
-0.029598785564303398,
-0.0429995022714138,
0.015158764086663723,
-0.09410881996154785,
0.026077639311552048,
-0.07144860923290253,
-0.0594463050365448,
0.024678459390997887,
0.0231473445892334,
0.011960228905081749,
-0.01592210680246353,
0.03061199001967907,
0.07436798512935638,
-0.005449035670608282,
0.0002792301820591092,
-0.0033921007998287678,
-0.004556572064757347,
0.027234097942709923,
-0.007624477613717318,
0.02127153053879738,
0.04085535556077957,
0.0036369962617754936,
0.00950010959059,
-0.04288187995553017,
0.019180938601493835,
-0.0036784971598535776,
-0.2658648192882538,
0.030444392934441566,
-0.0055587864480912685,
-0.0376705564558506,
0.03521332889795303,
-0.0010129446163773537,
0.022531824186444283,
-0.04385813698172569,
-0.026476504281163216,
0.049994900822639465,
-0.011398703791201115,
-0.04606155306100845,
-0.017105184495449066,
0.03696706146001816,
-0.01306201796978712,
-0.004633876029402018,
-0.01734151318669319,
-0.023287329822778702,
-0.011487291194498539,
0.04770395904779434,
-0.008536157198250294,
-0.06620003283023834,
-0.01813819445669651,
0.04455513134598732,
0.03624647483229637,
0.06016191840171814,
-0.0808800682425499,
0.04767531901597977,
-0.03140842169523239,
-0.018306134268641472,
-0.007071327418088913,
-0.017646223306655884,
-0.0047062416560947895,
-0.03320994973182678,
-0.025275537744164467,
-0.02429906837642193,
-0.0021822082344442606,
0.0350877083837986,
-0.005204439628869295,
0.004837352782487869,
-0.048975951969623566,
-0.03725375235080719,
-0.03551327437162399,
0.0007076599868014455,
0.0773509219288826,
-0.010811199434101582,
-0.06395608931779861,
-0.015926839783787727,
-0.04191097617149353,
0.05700807645916939,
-0.029554754495620728,
-0.06859444081783295,
0.00046204731916077435,
0.03738345950841904,
-0.008878553286194801,
-0.03456154093146324,
0.028206977993249893,
0.0007840624311938882,
-0.0399615652859211,
-0.018253063783049583,
0.014734702184796333,
-0.03923073038458824,
-0.017488110810518265,
-0.04854681342840195,
-0.0028454160783439875,
-0.0672750249505043,
-0.06752519309520721,
-0.00582706555724144,
0.069955974817276,
0.028115231543779373,
-0.016755297780036926,
-0.011027299799025059,
0.004592963960021734,
-0.11038348078727722,
0.004771268926560879,
-0.04607589170336723,
-0.04308004677295685,
-0.05755169689655304,
-0.007351091131567955,
0.03756644204258919,
-0.019179031252861023,
-0.018889503553509712,
0.05703984946012497,
0.04427776858210564,
0.007477879989892244,
-0.009001110680401325,
0.016473686322569847,
-0.014226334169507027,
-0.040750741958618164,
0.0021272795274853706,
0.07513570785522461,
0.01071236003190279,
-0.007191525772213936,
-0.06942785531282425,
-0.009550991468131542,
0.0073148454539477825,
0.028204280883073807,
-0.021758949384093285,
0.016399241983890533,
0.024025652557611465,
0.04254710674285889,
-0.030567774549126625,
0.03703126683831215,
-0.04547726735472679,
-0.013093981891870499,
-0.04379134625196457,
-0.053711242973804474,
0.02750479429960251,
0.033061858266592026,
0.0020074089989066124,
-0.013809490948915482,
-0.022842589765787125,
-0.030318953096866608,
-0.06557217240333557,
-0.050225600600242615,
-0.013772749342024326,
0.0028453923296183348,
0.028241030871868134,
-0.002506979275494814,
-0.001313219778239727,
-0.022199412807822227,
0.029659973457455635,
0.008759708143770695,
0.010326760821044445,
-0.06853550672531128,
-0.05402804911136627,
-0.015859071165323257,
-0.0049290466122329235,
0.009734860621392727,
0.019996171817183495,
-0.00845264457166195,
0.029908711090683937,
-0.016975916922092438,
-0.05295480042695999,
0.006974058225750923,
-0.005280578974634409,
-0.0028132314328104258,
-0.04006841033697128,
-0.010928121395409107,
-0.0032990160398185253,
0.021606359630823135,
-0.008734901435673237,
0.022030534222722054,
0.02176232449710369,
0.0457560159265995,
0.005495479796081781,
0.056832216680049896,
0.019080396741628647,
0.006048395298421383,
0.0009954681154340506,
-0.005682291928678751,
-0.06653928011655807,
0.044743750244379044,
-0.052156947553157806,
-0.008381207473576069,
-0.029254918918013573,
0.029343944042921066,
-0.02652432583272457,
-0.03975385054945946,
-0.01794417016208172,
0.027007590979337692,
-0.05052489414811134,
-0.031458016484975815,
-0.028538743034005165,
-0.0007704424788244069,
0.070286825299263,
-0.016807299107313156,
0.04464366286993027,
-0.032530758529901505,
-0.011176377534866333,
0.008410410955548286,
0.02343047969043255,
-0.048472266644239426,
0.02229330874979496,
-0.003225494408980012,
-0.011775510385632515,
-0.008134152740240097,
0.0277086328715086,
0.021643146872520447,
0.033058784902095795,
0.01346589531749487,
-0.020608320832252502,
0.004820976406335831,
-0.003938979469239712,
0.05151237174868584,
0.006617349572479725,
-0.0014588098274543881,
-0.01131383702158928,
-0.026395723223686218,
-0.014879195019602776,
-0.032049115747213364,
-0.024724390357732773,
-0.024943402037024498,
0.03980123624205589,
-0.04164789617061615,
-0.08083871006965637,
0.008251978084445,
0.03730500862002373,
0.022264182567596436,
0.028282267972826958,
0.00909330788999796,
0.014894994907081127,
-0.02391805127263069,
0.03403303027153015,
0.06325414776802063,
-0.05541263520717621,
0.026832113042473793,
0.004675154574215412,
0.023380860686302185,
0.03966285288333893,
0.022173048928380013,
-0.0383048914372921,
-0.0246414914727211,
-0.028882265090942383,
0.001044170348905027,
-0.04525546357035637,
-0.028704820200800896,
-0.027310959994792938,
0.004829214885830879,
-0.02240418642759323,
-0.02542935498058796,
0.0005462261033244431,
0.017275666818022728,
-0.010119115933775902,
-0.031679701060056686,
0.013371835462749004,
-0.02488737367093563,
0.004561825189739466,
0.01888987049460411,
-0.03510279208421707,
0.0020618762355297804,
-0.017390811815857887,
0.04176023602485657,
0.0267865639179945,
-0.016061805188655853,
-0.02985396236181259,
-0.046939246356487274,
0.0009321753750555217,
-0.017380787059664726,
0.059174101799726486,
0.011420197784900665,
-0.03084970824420452,
-0.01062365248799324,
-0.022058583796024323,
-0.027089964598417282,
0.013523580506443977,
-0.009125219658017159,
-0.014277346432209015,
0.035934947431087494,
0.026456035673618317,
0.027376854792237282,
0.04703221470117569,
-0.01936718262732029,
0.006136758718639612,
0.07170767337083817,
-0.04407477006316185,
-0.02785508893430233,
-0.023065799847245216,
-0.05114360526204109,
0.018630418926477432,
0.0005857088253833354,
0.03052135370671749,
-0.02815220132470131,
0.0529569610953331,
0.03141116350889206,
0.010066094808280468,
0.037243954837322235,
0.011791440658271313,
0.04152678698301315,
-0.05118517205119133,
-0.010872065089643002,
-0.07509833574295044,
0.034822944551706314,
0.05634088069200516,
0.0062326183542609215,
-0.032974712550640106,
-0.04012366756796837,
-0.0160988662391901,
0.04941808059811592,
-0.06109970808029175,
-0.01680609956383705,
0.03607501834630966,
0.010192853398621082,
-0.0048141563311219215,
0.015137654729187489,
-0.028450416401028633,
0.038207441568374634,
0.006938741076737642,
-0.016614805907011032,
-0.0503644160926342,
-0.02819225564599037,
0.055547911673784256,
0.03426571562886238,
0.020264476537704468,
-0.034300465136766434,
0.008816840127110481,
0.0505363903939724,
0.023269983008503914,
0.04899643361568451,
0.04025409370660782,
-0.027712181210517883,
0.04413728415966034,
0.02787039242684841,
-0.016002275049686432,
-0.004401099868118763,
0.0066985636949539185,
0.01281646080315113,
-0.06736023724079132,
0.009508434683084488,
0.022288765758275986,
-0.02369639463722706,
-0.07351081073284149,
0.07566038519144058,
0.014791074208915234,
-0.005045128520578146,
-0.05195282772183418,
0.024832651019096375,
-0.03615247458219528,
-0.04141398146748543,
-0.04005027189850807,
-0.00606089411303401,
-0.026299573481082916,
0.05872156471014023,
0.025665361434221268,
-0.002178800757974386,
0.06880778819322586,
0.002885200781747699,
0.0006594816804863513,
-0.01564979925751686,
0.06654641032218933,
0.08142025768756866,
0.03403410688042641,
-0.007100220769643784,
0.06452937424182892,
-0.015808699652552605,
-0.04774737358093262,
0.02732953242957592,
-0.02245260402560234,
-0.02223854325711727,
-0.0016643673880025744,
0.0072916727513074875,
0.07139313220977783,
0.013093607500195503,
0.05955896154046059,
-0.05861518159508705,
-0.005034306086599827,
-0.011950459331274033,
0.03659353405237198,
0.019076110795140266,
0.029668906703591347,
-0.001679901615716517,
0.0042341225780546665,
-0.016492284834384918,
-0.04261041805148125,
0.016730722039937973,
-0.016439536586403847,
-0.01640903577208519,
0.008497152477502823,
-0.010620743036270142,
-0.008483579382300377,
-0.011714918538928032,
0.017352476716041565,
0.06818410009145737,
-0.029858380556106567,
-0.0036208040546625853,
-0.009073467925190926,
0.014967897906899452,
0.012784063816070557,
-0.01915246993303299,
-0.021309226751327515,
-0.007284874562174082,
0.009186796844005585,
-0.0027630515396595,
-0.028390513733029366,
-0.045553259551525116,
-0.012845094315707684,
0.03457549959421158,
-0.015697352588176727,
0.013855108991265297,
0.0029035841580480337,
0.010132658295333385,
-0.02267497219145298,
-0.041020359843969345,
-0.0643605962395668,
-0.039066560566425323,
-0.07656898349523544,
-0.01187080517411232,
0.03274624049663544,
0.004726901650428772,
-0.012435131706297398,
-0.008743899874389172,
-0.05034102499485016,
-0.016229668632149696,
0.029143473133444786,
-0.027999272570014,
-0.014846176840364933,
0.021778753027319908,
0.011688030324876308,
0.028992539271712303,
0.055551618337631226,
0.044501081109046936,
0.0036291335709393024,
0.0005446303403005004,
-0.030086589977145195,
-0.024895193055272102,
0.05457354336977005,
0.010670594871044159,
-0.006348582450300455,
-0.08723600953817368,
0.026104724034667015,
0.00358793162740767,
-0.0004396807053126395,
-0.0735083743929863,
-0.007883199490606785,
0.012746697291731834,
0.016583913937211037,
0.05242623761296272,
-0.03142827749252319,
-0.03094731643795967,
-0.024096418172121048,
-0.002466825069859624,
0.026659203693270683,
0.009726596996188164,
0.033210624009370804,
-0.034086186438798904,
0.07255914062261581,
0.0321228913962841,
-0.013489777222275734,
-0.022172288969159126,
-0.012033998034894466,
0.0014346096431836486,
0.017129212617874146,
-0.04171318933367729,
-0.0451287105679512,
-0.04225412383675575,
-0.06931180506944656,
-0.003008177038282156,
0.031101970002055168,
-0.030760472640395164,
-0.037628792226314545,
0.012400960549712181,
0.05085788667201996,
-0.05399766564369202,
0.02477182261645794,
-0.023108258843421936,
0.038738686591386795,
-0.030252696946263313,
-0.023014910519123077,
-0.00271148351021111,
0.018290309235453606,
0.023367874324321747,
0.0031056117732077837,
0.03194651007652283,
-0.030641864985227585,
0.0020141471177339554,
-0.021711934357881546,
0.0037599450442939997,
0.048617132008075714,
-0.023922305554151535,
0.01282049622386694
] | [
-0.09426865726709366,
-0.04367952421307564,
-0.028215568512678146,
-0.04957295581698418,
0.04016184061765671,
-0.05312831327319145,
0.04081279784440994,
0.020308194682002068,
-0.01133881788700819,
-0.03007413260638714,
0.013880981132388115,
-0.033638846129179,
0.011433498933911324,
-0.00958101637661457,
0.09016922861337662,
0.005918676033616066,
-0.03703657165169716,
-0.022710327059030533,
0.002547630574554205,
0.010741788893938065,
0.04010006785392761,
-0.01026184018701315,
-0.023636523634195328,
-0.02960248477756977,
-0.0031359947752207518,
0.037819281220436096,
0.023623891174793243,
-0.050721507519483566,
0.016823139041662216,
-0.20450030267238617,
0.009774589911103249,
-0.018785646185278893,
0.0480528250336647,
-0.0017552947392687201,
-0.0008364322711713612,
0.008968890644609928,
0.04522264748811722,
0.02709067240357399,
0.01876857876777649,
0.05705251544713974,
-0.0184110589325428,
0.03232979029417038,
-0.0753178671002388,
-0.01402884628623724,
0.03712859004735947,
-0.0008640202577225864,
-0.007380238734185696,
-0.024494919925928116,
0.005722695961594582,
0.011964929290115833,
-0.06927990913391113,
0.0018106043571606278,
0.005791227798908949,
-0.009035596624016762,
0.01041125226765871,
-0.002798708388581872,
0.06062784418463707,
0.05931210517883301,
0.011443222872912884,
0.020147252827882767,
0.027894241735339165,
-0.012664909474551678,
-0.10840179771184921,
0.07487031817436218,
0.007025029044598341,
0.027200734242796898,
0.012815996073186398,
-0.05055329576134682,
0.03066178224980831,
0.06284663826227188,
0.04634206369519234,
0.007335522677749395,
-0.03192976862192154,
0.02785298228263855,
0.008245332166552544,
-0.0467374362051487,
-0.019590655341744423,
0.007193848956376314,
0.0614825002849102,
-0.028091885149478912,
-0.08122233301401138,
-0.019673489034175873,
0.042239658534526825,
-0.004038230050355196,
-0.010447303764522076,
0.018460014835000038,
0.005695040337741375,
0.005827247630804777,
0.030743135139346123,
0.02183772437274456,
0.037974387407302856,
-0.03684258460998535,
0.03108276054263115,
0.009702379815280437,
-0.07654690742492676,
0.0194823257625103,
-0.016460901126265526,
0.032282501459121704,
-0.0358070507645607,
0.4449111819267273,
-0.018714530393481255,
-0.025887513533234596,
0.025928087532520294,
0.011492501944303513,
-0.0322074256837368,
0.015629706904292107,
0.0037800907157361507,
-0.04958786070346832,
0.030946286395192146,
-0.02149765007197857,
0.013214414939284325,
0.00624716654419899,
0.04046672210097313,
-0.02880231849849224,
-0.02488132193684578,
0.012949734926223755,
0.006712677888572216,
-0.01063522882759571,
-0.02859361842274666,
0.021832291036844254,
0.01657554693520069,
-0.011657842434942722,
0.03016836568713188,
0.03438092768192291,
0.011819815263152122,
-0.024015070870518684,
0.02398831397294998,
0.0650222897529602,
0.042260754853487015,
0.007805665489286184,
0.05404306948184967,
-0.03792080655694008,
-0.09079299867153168,
0.0068945069797337055,
0.012565826997160912,
0.00778665766119957,
0.03030604124069214,
-0.027742495760321617,
-0.011066514067351818,
-0.004529126454144716,
-0.014317309483885765,
-0.019535362720489502,
0.0047884853556752205,
-0.02786628156900406,
-0.046181820333004,
0.1472827047109604,
-0.03349664807319641,
-0.021932285279035568,
-0.0034447694197297096,
-0.036354970186948776,
-0.0035037687048316,
0.03719503805041313,
-0.002135250950232148,
-0.052021950483322144,
0.011789729818701744,
0.014904163777828217,
0.07456053793430328,
-0.018936989828944206,
-0.03214005380868912,
-0.03517667204141617,
-0.018941450864076614,
-0.011435840278863907,
-0.046883948147296906,
0.03922662138938904,
0.051160525530576706,
-0.08518517762422562,
-0.0380072295665741,
-0.0020069917663931847,
-0.0018025743775069714,
-0.058268141001462936,
-0.031756915152072906,
0.037465907633304596,
-0.03155963495373726,
0.0015566408401355147,
0.021490046754479408,
-0.005415023770183325,
-0.05311262980103493,
-0.017953472211956978,
0.02811795100569725,
0.04867245629429817,
0.0006003646412864327,
-0.01715708151459694,
-0.07583172619342804,
-0.006478389725089073,
-0.03890003263950348,
-0.07003705203533173,
-0.021906377747654915,
0.005935631692409515,
-0.005722875706851482,
0.007853970862925053,
-0.043576519936323166,
-0.019669117406010628,
-0.04797396808862686,
0.06393749266862869,
-0.03307440131902695,
-0.03642118349671364,
0.02457703836262226,
-0.025693075731396675,
0.01908642053604126,
-0.03207583725452423,
0.031044384464621544,
0.04809676110744476,
-0.007444903254508972,
0.025062881410121918,
-0.0789831131696701,
0.05678770691156387,
0.035106465220451355,
-0.038216784596443176,
0.06988110393285751,
0.029128575697541237,
-0.04613066464662552,
0.01071150042116642,
-0.01818581484258175,
0.018360713496804237,
0.001959998393431306,
-0.04235212877392769,
-0.009625496342778206,
0.023036187514662743,
0.026986924931406975,
0.018301766365766525,
-0.06516073644161224,
-0.00041898779454641044,
-0.00807876791805029,
-0.3250229060649872,
-0.04338553920388222,
-0.006470296066254377,
-0.016494128853082657,
-0.01687632128596306,
-0.057494137436151505,
0.024784596636891365,
-0.015037527307868004,
-0.029351957142353058,
-0.005287248641252518,
0.10060077160596848,
-0.027247672900557518,
-0.004105210304260254,
-0.0416238009929657,
-0.025894956663250923,
0.02235536091029644,
-0.023228561505675316,
-0.031150884926319122,
-0.0467287078499794,
0.004604775458574295,
0.011184836737811565,
0.043323952704668045,
0.020014354959130287,
-0.08241329342126846,
0.006889712065458298,
-0.06898709386587143,
0.0954209640622139,
-0.034395482391119,
0.0947239026427269,
-0.03600340336561203,
0.0661037415266037,
-0.012002811767160892,
-0.0015767001314088702,
-0.10499218106269836,
0.016894511878490448,
-0.03779451549053192,
-0.03322155028581619,
-0.002805399475619197,
0.03213059902191162,
-0.006144918501377106,
-0.01909664459526539,
0.010167933069169521,
-0.04917260259389877,
-0.04001884534955025,
-0.00203358824364841,
-0.03805401548743248,
-0.042661216109991074,
-0.04530848190188408,
0.021955154836177826,
0.07761106640100479,
0.014774579554796219,
-0.021550586447119713,
0.02319755218923092,
0.018374983221292496,
-0.00668799364939332,
-0.039134204387664795,
-0.06395774334669113,
-0.011860743165016174,
-0.009530627168715,
0.008133647963404655,
0.02492559514939785,
0.08032330870628357,
0.03061329759657383,
-0.06455297768115997,
0.001703533111140132,
-0.0180828720331192,
-0.019960567355155945,
-0.009136012755334377,
0.04499137029051781,
-0.07951770722866058,
-0.014952287077903748,
0.12728320062160492,
-0.00272178091108799,
0.019424522295594215,
0.012060652486979961,
0.06575879454612732,
-0.010926359333097935,
0.026290474459528923,
-0.002583300694823265,
-0.0019144673133268952,
0.008190954104065895,
0.00889165885746479,
0.012474914081394672,
-0.007597912102937698,
-0.014461838640272617,
0.0032525677233934402,
-0.01079774834215641,
-0.004110612906515598,
0.032561469823122025,
-0.03808339685201645,
-0.029649391770362854,
-0.00794976670295,
-0.018711769953370094,
-0.07529394328594208,
0.06213835999369621,
-0.021146176382899284,
-0.2775057852268219,
0.016154475510120392,
0.05598648637533188,
0.07318980246782303,
0.003950955346226692,
0.03332854434847832,
0.05287813022732735,
-0.0670204907655716,
0.03931630775332451,
-0.008179978467524052,
0.01162081677466631,
0.012668073177337646,
0.007778567727655172,
0.013604306615889072,
0.05226444453001022,
-0.026412084698677063,
0.03858610615134239,
0.004033439327031374,
0.025617333129048347,
0.011306915432214737,
0.026128487661480904,
0.012438884004950523,
0.17794927954673767,
-0.002254114020615816,
0.05752284452319145,
0.04431791231036186,
0.03707551583647728,
0.005967197939753532,
0.08584610372781754,
0.04360290244221687,
0.010257611982524395,
-0.0037403181195259094,
0.07435628771781921,
0.015930695459246635,
0.04088851436972618,
-0.06581395119428635,
0.0005863099358975887,
0.02600106969475746,
0.008351091295480728,
0.002488197758793831,
-0.007228228263556957,
0.017767509445548058,
-0.04873787611722946,
0.03081987239420414,
0.07935170084238052,
-0.010715791955590248,
-0.0021545826457440853,
-0.03240038454532623,
-0.03497033938765526,
-0.004956736229360104,
-0.0355730764567852,
-0.013980004005134106,
0.009827719070017338,
-0.006245074328035116,
0.01837581768631935,
0.07561341673135757,
0.01000161562114954,
-0.0168552678078413,
-0.025467341765761375,
0.0073474254459142685,
0.007502962369471788,
0.017691219225525856,
0.07824070751667023,
0.015819314867258072,
0.05249323695898056
] | [
-0.03363759070634842,
0.0230595413595438,
-0.07080425322055817,
-0.0158670824021101,
-0.039811983704566956,
-0.0023692960385233164,
0.015886321663856506,
0.00385106448084116,
-0.03477293252944946,
0.011446583084762096,
0.014319464564323425,
-0.003988687414675951,
0.019656240940093994,
-0.057529427111148834,
0.03835597261786461,
0.01049073413014412,
0.0038597690872848034,
-0.008617464452981949,
-0.007690813858062029,
-0.006070620380342007,
-0.016727322712540627,
0.016064954921603203,
0.009429067373275757,
-0.002144930651411414,
0.00573167996481061,
-0.035857077687978745,
0.026789281517267227,
-0.01958436146378517,
0.01649903692305088,
-0.06583718210458755,
-0.020875079557299614,
-0.028406290337443352,
-0.04316084086894989,
0.003902491880580783,
-0.020116791129112244,
0.01403812039643526,
0.008432827889919281,
0.05036728456616402,
-0.0034228742588311434,
-0.013249990530312061,
-0.05046852305531502,
-0.004508676938712597,
-0.040701866149902344,
-0.015338710509240627,
0.020452966913580894,
-0.004713968373835087,
-0.02825085259974003,
-0.016674725338816643,
0.022001653909683228,
-0.030966419726610184,
-0.04510551318526268,
-0.02232114039361477,
0.01028852816671133,
0.04165032133460045,
0.007455115672200918,
-0.02049735002219677,
-0.06464003026485443,
-0.00793907418847084,
0.011756823398172855,
-0.01867726631462574,
-0.04127281904220581,
-0.01821603626012802,
0.029056178405880928,
-0.004168123472481966,
0.07443816214799881,
-0.012054011225700378,
-0.015671342611312866,
-0.020674536004662514,
0.03607270121574402,
-0.019087383523583412,
-0.03638586774468422,
0.03459037095308304,
-0.003667157143354416,
0.005737763829529285,
-0.018841946497559547,
-0.057027000933885574,
0.028385093435645103,
-0.016437888145446777,
0.03180326148867607,
-0.045375652611255646,
-0.01172464806586504,
-0.012219749391078949,
-0.0014860999071970582,
0.03665630519390106,
-0.006736817769706249,
0.007795420475304127,
-0.002253528917208314,
-0.025396328419446945,
-0.011457706801593304,
0.015742028132081032,
0.009649892337620258,
0.02950238808989525,
0.04975981265306473,
0.008646335452795029,
-0.0721384808421135,
0.025999778881669044,
-0.04025992006063461,
-0.03733592852950096,
-0.015332121402025223,
0.8344729542732239,
-0.03649904578924179,
0.01278624590486288,
0.04392371326684952,
0.0076024895533919334,
0.004945075139403343,
0.0007647667080163956,
0.009480674751102924,
-0.0023474583867937326,
0.012631554156541824,
-0.00041454864549450576,
0.0058076088316738605,
0.03342876955866814,
-0.03359959274530411,
0.010629734955728054,
-0.02195666916668415,
0.006495252251625061,
0.027460632845759392,
-0.00684608006849885,
0.01924518309533596,
0.002274561207741499,
0.01895109936594963,
-0.02875353954732418,
-0.055081646889448166,
-0.027341149747371674,
0.012210282497107983,
-0.16128773987293243,
0.041184909641742706,
-7.47351757603963e-33,
0.054061222821474075,
0.025607207790017128,
0.028408734127879143,
0.022032730281352997,
0.041798848658800125,
0.02104799635708332,
0.010893840342760086,
0.025506963953375816,
-0.020406179130077362,
-0.04440334811806679,
0.011182920075953007,
0.010732290334999561,
-0.020833022892475128,
-0.005532248876988888,
0.04163883626461029,
-0.005417171865701675,
-0.012680578045547009,
0.0749010369181633,
-0.00515785301104188,
-0.023002244532108307,
0.020534580573439598,
0.004544243682175875,
0.037011679261922836,
-0.02556711621582508,
-0.017842115834355354,
0.022553756833076477,
-0.004868980497121811,
0.005536722484976053,
-0.03319101780653,
-0.04552881792187691,
0.04312627390027046,
0.026978883892297745,
-0.006830013357102871,
0.014908849261701107,
0.059638895094394684,
-0.04090940207242966,
0.011992540210485458,
0.016961274668574333,
-0.07128269970417023,
-0.02699214220046997,
-0.0407102070748806,
0.031416136771440506,
-0.021232828497886658,
0.017591407522559166,
-0.0499672032892704,
-0.05738966539502144,
-0.017582813277840614,
-0.044339731335639954,
0.018942855298519135,
0.0319976806640625,
0.013284995220601559,
0.020192496478557587,
0.01186498161405325,
-0.0270682405680418,
-0.0017278118757531047,
-0.0072741131298244,
-0.047583505511283875,
-0.004774489440023899,
0.042228251695632935,
0.028126148506999016,
0.003142385510727763,
-0.020797958597540855,
-0.017173223197460175,
0.021794117987155914,
0.014782753773033619,
-0.03238965570926666,
-0.01046273298561573,
-0.0221076812595129,
0.03224780783057213,
-0.03887532278895378,
-0.04040517285466194,
0.02788686379790306,
-0.03440772369503975,
0.0018158850725740194,
0.02406984567642212,
-0.05954957753419876,
-0.016504546627402306,
-0.017366107553243637,
0.011281009763479233,
-0.007547182496637106,
0.02919761836528778,
-0.011942064389586449,
0.0013028928078711033,
0.0005126468022353947,
-0.03793436661362648,
0.015076871030032635,
-0.02093842439353466,
-0.03827327489852905,
-0.0020645377226173878,
0.02253737673163414,
0.04365934804081917,
0.048830702900886536,
-0.007898276671767235,
-0.004236850421875715,
-0.013771284371614456,
6.529153332579836e-33,
0.01191488653421402,
-0.042250242084264755,
-0.020067237317562103,
0.00002690306973818224,
0.027453022077679634,
0.015757370740175247,
0.01879473589360714,
0.01706148125231266,
-0.025280730798840523,
0.0047393846325576305,
-0.0004833018174394965,
0.03799159452319145,
-0.004454677924513817,
0.00591748533770442,
0.06781894713640213,
0.005709283519536257,
0.029066279530525208,
-0.0020920298993587494,
0.0012430059723556042,
-0.025640996173024178,
0.013327726162970066,
-0.004963634070008993,
-0.01413578912615776,
-0.02193044126033783,
-0.022314423695206642,
0.029690030962228775,
-0.02834361046552658,
0.007817213423550129,
-0.003728184150531888,
0.006220971699804068,
-0.005914428737014532,
-0.0006696713389828801,
0.0038162730634212494,
-0.015165417455136776,
-0.00590978330001235,
0.009524095803499222,
-0.03679937869310379,
-0.004104030784219503,
0.03539545089006424,
0.04513115808367729,
0.04583411291241646,
-0.011999321170151234,
0.030904503539204597,
0.021708544343709946,
-0.001772459945641458,
-0.013637637719511986,
-0.01735755056142807,
-0.004134823102504015,
-0.01307844091206789,
0.05511679872870445,
0.04428938403725624,
-0.02280719392001629,
-0.033747367560863495,
-0.008670773357152939,
0.04609469696879387,
-0.018345840275287628,
-0.02068372815847397,
-0.022041745483875275,
-0.012188587337732315,
-0.00009686739213066176,
-0.0036407390143722296,
0.027009092271327972,
-0.022307859733700752,
0.05969388037919998,
-0.03352656215429306,
0.003916974179446697,
0.013671807944774628,
0.0016563456738367677,
-0.00911212619394064,
0.0016987697454169393,
0.008495941758155823,
-0.033937521278858185,
-0.013333702459931374,
-0.01630602590739727,
0.042407404631376266,
-0.0462915375828743,
-0.03708179295063019,
0.0009035090333782136,
0.013078959658741951,
0.01507957000285387,
0.03268493711948395,
-0.019116759300231934,
0.06576243788003922,
-0.009210096672177315,
-0.008863916620612144,
-0.028519272804260254,
0.00759945809841156,
0.04492480307817459,
0.011128729209303856,
-0.003873017616569996,
0.008584207855165005,
-0.04421180859208107,
-0.015117405913770199,
0.004388557281345129,
0.021358942613005638,
-1.2775218216631856e-8,
-0.03958882391452789,
0.041802436113357544,
-0.00951087661087513,
0.024676181375980377,
0.03900843858718872,
0.013978254050016403,
-0.011989769525825977,
-0.000381768390070647,
0.012359771877527237,
-0.01040406059473753,
0.013401398435235023,
0.03430004045367241,
0.03756655380129814,
-0.020334327593445778,
0.02641243301331997,
-0.04467359557747841,
-0.034721169620752335,
-0.017459725961089134,
-0.003455354366451502,
0.012320226989686489,
-0.00608648918569088,
0.028876760974526405,
-0.026907291263341904,
-0.015864184126257896,
0.043959129601716995,
0.03400575742125511,
-0.004139447584748268,
-0.054433297365903854,
-0.0019902808126062155,
-0.002507056575268507,
0.004897517152130604,
-0.01409657672047615,
-0.009950532577931881,
-0.022331546992063522,
-0.012760923244059086,
0.009055554866790771,
-0.01332866307348013,
0.03374560922384262,
0.005549200344830751,
-0.00656686257570982,
0.025027446448802948,
-0.001339989947155118,
0.0012482122983783484,
-0.019596166908740997,
-0.0016549574211239815,
0.012112145312130451,
-0.013548372313380241,
0.00854196585714817,
-0.044160667806863785,
-0.014465325511991978,
0.010882849805057049,
-0.03798120468854904,
0.02812354266643524,
0.019222881644964218,
0.008527204394340515,
-0.007815982215106487,
0.02087363973259926,
-0.006724561098963022,
-0.027427012100815773,
-0.004745513200759888,
0.0508512519299984,
0.013022483326494694,
-0.03905545547604561,
0.006711035966873169
] | incremental-refactoring-create-factory-method | https://markhneedham.com/blog/2010/06/17/incremental-refactoring-create-factory-method |
false | 2010-06-10 07:22:38 | Retrospectives: Some thoughts | [
"retrospectives"
] | [
"Agile"
] | I've worked on two different teams this year which had quite different approaches to retrospectives.
In the first team we had a *retrospective at the beginning of every iteration* i.e. once every two weeks and in the second team we tried out the idea of having a *rolling retrospective* i.e. we put up potential retrospective items on the wall and when there were enough of those we discussed them in the standup.
The problem we had with the first approach was that we often had the *same types of discussions in each retrospective* and the same types of issues were raised each week so that it seemed almost pointless to even have it in the first place.
Several people ended up disliking the idea of even doing a retrospective in the first place because of this.
We came up with the idea of having a vote at the beginning of the iteration to decide whether or not we should have one with the idea being that if it didn't seem necessary then we could skip it for one week but would definitely then have the next one.
I think this worked reasonably well although it's slightly different to the approach taken by Rolf Knutsen which he discussed at link:[XP2010] in his session on 'Feedback and Retrospectives in Agile Projects'.
Rolf suggested that we should have a retrospective at a given time interval and just cut it short if we don't have anything else to discuss.
I think I prefer Rolf's suggestion as it's too easy to come to the conclusion that we don't need a retrospective especially if we think that they're a waste of time.
I thought the rolling retrospective approach that we took on the second project would work much better as we could just address any problems as soon as they came up but it hasn't worked quite that way from my experience.
Several issues which would normally be addressed in a retrospective seemed to go by unchecked and without being resolved.
Having a retrospective is a very useful way to *put people in a reflective mindset* where they look for things that aren't being done well or that could be done differently whereas during the day we might not do that.
I hadn't appreciated this benefit of a retrospective session and had felt that problems were often being saved up for a retrospective even if they could have been addressed earlier.
Fabio previously wrote about the idea of the http://fabiopereira.me/blog/2009/11/15/future-retro-box/[future retrospective box] to ensure that we don't forget anything that happened early on in an iteration when we come to a retrospective but that still doesn't address the problem of only addressing problems in the retrospective!
It seems like a combination of having a pre scheduled retrospective with problem solving on a day to day basis is what we need so I'd be interested to know how others have addressed this. | null | null | [
0.008109547197818756,
-0.018202638253569603,
-0.01491270400583744,
0.0271165668964386,
0.07275894284248352,
-0.005429625511169434,
-0.00117663131095469,
0.03287241980433464,
0.019827503710985184,
-0.028214748948812485,
-0.017132548615336418,
0.010225802659988403,
-0.037729132920503616,
0.019514262676239014,
-0.028122669085860252,
0.07655539363622665,
0.04005390405654907,
-0.01682557724416256,
0.017491456121206284,
0.025727462023496628,
0.052241548895835876,
0.06555032730102539,
0.007293617352843285,
0.019539467990398407,
0.0549958236515522,
-0.009218928404152393,
0.021711455658078194,
-0.020662425085902214,
-0.051405422389507294,
-0.004498807713389397,
0.020821236073970795,
-0.015684224665164948,
0.0005794008611701429,
0.009268887341022491,
0.02339966781437397,
-0.028269095346331596,
-0.00009299215889768675,
0.03848754242062569,
0.006593263242393732,
-0.010612322948873043,
-0.04649108648300171,
0.04380298778414726,
-0.028949901461601257,
-0.012122203595936298,
-0.03833453357219696,
0.029813067987561226,
-0.005801895167678595,
-0.00539726996794343,
0.012943906709551811,
-0.0052503556944429874,
-0.06677220016717911,
0.029302019625902176,
0.012939191423356533,
-0.015143387950956821,
-0.03274296969175339,
0.026598375290632248,
0.006255220156162977,
-0.06294942647218704,
-0.006594221107661724,
-0.015253719873726368,
-0.0268951915204525,
-0.0033672258723527193,
-0.00732595007866621,
0.056748855859041214,
0.029872484505176544,
-0.029333999380469322,
0.0002167237107641995,
0.028959862887859344,
-0.020218539983034134,
0.014418141916394234,
-0.03466684743762016,
-0.014856157824397087,
-0.0014066090807318687,
-0.009289104491472244,
0.004222227726131678,
-0.048827145248651505,
0.025432966649532318,
0.0714135691523552,
0.006283349357545376,
0.03157053887844086,
-0.016187403351068497,
0.014995102770626545,
0.009195877239108086,
0.025922589004039764,
-0.015091508626937866,
-0.041650429368019104,
0.0073678940534591675,
-0.02209698036313057,
-0.08337675034999847,
0.04299703985452652,
0.00380008015781641,
-0.07287868112325668,
0.03931243717670441,
0.042360108345746994,
0.007199996616691351,
0.005297458730638027,
0.030186789110302925,
0.027681365609169006,
0.003727004863321781,
-0.03645932301878929,
-0.02378828637301922,
-0.010019738227128983,
-0.008184130303561687,
-0.00013794729602523148,
-0.08838769048452377,
-0.0077241091057658195,
-0.011951588094234467,
-0.0006520657916553319,
-0.029464224353432655,
0.0039217215962708,
-0.039704110473394394,
0.04595794901251793,
-0.015974732115864754,
0.026302557438611984,
-0.05973363295197487,
0.04117080196738243,
0.006462371442466974,
-0.06819887459278107,
-0.008624602109193802,
-0.0072076525539159775,
0.022253548726439476,
0.021588603034615517,
-0.0028308825567364693,
0.07816252112388611,
-0.01565646193921566,
0.015842318534851074,
-0.027040716260671616,
0.06726779788732529,
-0.031206026673316956,
-0.06802092492580414,
-0.031773630529642105,
0.055368032306432724,
-0.0617799237370491,
-0.01216006651520729,
-0.018887313082814217,
-0.026826925575733185,
0.008158684708178043,
-0.006571466568857431,
0.030868016183376312,
0.06550110131502151,
-0.0033173554111272097,
-0.027644220739603043,
-0.004981338512152433,
0.03692716732621193,
0.02319423295557499,
-0.013697347603738308,
-0.018760034814476967,
-0.031039360910654068,
-0.04455939680337906,
-0.019146308302879333,
0.004764732904732227,
0.00327121140435338,
0.018642570823431015,
-0.05557283014059067,
0.014663422480225563,
0.09265076369047165,
0.03343953564763069,
0.0018794521456584334,
-0.022560596466064453,
0.017297016456723213,
0.0468122735619545,
0.017434261739253998,
0.0009344005957245827,
0.024705182760953903,
0.02242971956729889,
-0.02378121390938759,
-0.01026703417301178,
0.0236385278403759,
0.010575828142464161,
0.0002761247451417148,
-0.059634022414684296,
-0.050967536866664886,
0.038888704031705856,
-0.05190380662679672,
-0.03625347465276718,
0.08060713857412338,
0.07643958926200867,
0.06118864193558693,
0.022720927372574806,
0.012600892223417759,
-0.07907186448574066,
0.02846682071685791,
0.012073247693479061,
0.028707142919301987,
0.03606848046183586,
-0.015451752580702305,
0.04682519659399986,
0.03365473076701164,
-0.0032090265303850174,
0.05473286285996437,
-0.09199753403663635,
-0.08917877078056335,
-0.027187801897525787,
-0.022135058417916298,
0.040664877742528915,
-0.045056067407131195,
0.024473359808325768,
0.09920118749141693,
0.017034729942679405,
0.059468332678079605,
0.02986842766404152,
0.02640005759894848,
0.011968226172029972,
-0.03935335576534271,
-0.021055258810520172,
0.07744621485471725,
0.03652311488986015,
-0.014535749331116676,
-0.02503667026758194,
0.023927753791213036,
-0.013397798873484135,
0.008145215921103954,
0.036116812378168106,
-0.0034370627254247665,
0.04468480870127678,
0.010586886666715145,
0.08034678548574448,
-0.0352250337600708,
0.034598737955093384,
-0.05187316983938217,
0.02893058955669403,
0.013976397924125195,
-0.010276042856276035,
0.01077731791883707,
-0.012696515768766403,
0.10544091463088989,
0.05584842339158058,
-0.05818156525492668,
-0.04199611768126488,
0.017033955082297325,
0.041192591190338135,
-0.021221410483121872,
-0.012534935027360916,
0.0005384166724979877,
0.033900514245033264,
0.01121792197227478,
-0.06197401508688927,
-0.029011406004428864,
0.019211187958717346,
-0.04998999461531639,
0.003783767344430089,
0.04774929955601692,
-0.005771659780293703,
0.08216032385826111,
0.008587763644754887,
0.0018585267243906856,
-0.033045679330825806,
0.017209231853485107,
-0.07516317814588547,
0.017441054806113243,
0.018349848687648773,
-0.0324166864156723,
0.056577183306217194,
-0.009731732308864594,
-0.03987815976142883,
-0.022793011739850044,
-0.030944019556045532,
0.004379452671855688,
0.041735049337148666,
0.07080479711294174,
-0.01921946555376053,
0.04753248766064644,
-0.002460940508171916,
0.014487779699265957,
0.012539677321910858,
-0.03191544488072395,
-0.04444348067045212,
-0.041215308010578156,
-0.0007758364081382751,
0.01818803697824478,
0.003163183107972145,
0.003402351401746273,
0.019269097596406937,
0.03271305188536644,
-0.033760420978069305,
-0.003958031535148621,
0.024982569739222527,
0.0008827014826238155,
-0.0016379539156332612,
-0.023514246568083763,
-0.02207019180059433,
0.0309571772813797,
-0.025255361571907997,
-0.02208271436393261,
0.0358230285346508,
-0.08640579134225845,
0.03158875182271004,
-0.0617370642721653,
-0.030833479017019272,
0.01063120923936367,
0.013750849291682243,
0.04695720225572586,
0.019713861867785454,
0.026328343898057938,
0.06777095794677734,
0.011425510980188847,
0.03263305127620697,
0.005113760940730572,
-0.01131479162722826,
0.04112949222326279,
-0.003383940551429987,
-0.03780168667435646,
0.05058921128511429,
0.0012683304958045483,
0.014325150288641453,
-0.0540873259305954,
0.0525750033557415,
-0.055846523493528366,
-0.2852562963962555,
0.02610599435865879,
0.02339012175798416,
-0.026257958263158798,
0.02561056986451149,
-0.014962793327867985,
0.02900354005396366,
-0.05506845936179161,
-0.037083711475133896,
-0.0038530866149812937,
-0.042610857635736465,
-0.013556396588683128,
-0.015535284765064716,
0.06834721565246582,
0.011330821551382542,
0.05464503541588783,
0.030544957146048546,
-0.014381545595824718,
0.0031190761364996433,
0.05690949037671089,
-0.020236926153302193,
-0.08665525168180466,
-0.0256294384598732,
0.03386853635311127,
0.022376256063580513,
0.05329097807407379,
-0.08255226910114288,
0.047763433307409286,
-0.047379203140735626,
-0.011098935268819332,
0.020631195977330208,
0.0002627848880365491,
0.004262394271790981,
-0.009994333609938622,
-0.0058919754810631275,
-0.0333116315305233,
0.043313220143318176,
-0.00016682622663211077,
0.005422258283942938,
-0.019285058602690697,
-0.009750304743647575,
-0.018278855830430984,
0.007089045364409685,
0.04767204448580742,
0.06604982912540436,
0.017052892595529556,
-0.06830556690692902,
-0.014898695051670074,
-0.03072032704949379,
0.08081309497356415,
-0.027917979285120964,
-0.01788916438817978,
-0.019371414557099342,
0.035037003457546234,
0.0033861794508993626,
-0.029119934886693954,
0.006842399016022682,
-0.027517044916749,
-0.03470899909734726,
-0.03857317939400673,
-0.02825096808373928,
-0.021222693845629692,
-0.012306717224419117,
-0.04805799201130867,
-0.02075762115418911,
-0.07114996016025543,
-0.0433240570127964,
0.003832612419500947,
0.04571466147899628,
-0.020226573571562767,
-0.03194952383637428,
0.004992414731532335,
0.00289915781468153,
-0.08777117729187012,
-0.003178696148097515,
-0.013531276024878025,
-0.02843325398862362,
0.0069754645228385925,
0.02225026674568653,
0.03796827793121338,
-0.03363041207194328,
-0.055912457406520844,
0.005843222141265869,
0.007708208169788122,
0.01610851101577282,
0.01166451070457697,
0.07084587961435318,
0.03961442410945892,
-0.028862258419394493,
0.00046100866165943444,
0.05148516595363617,
0.019776396453380585,
-0.05074872821569443,
0.002653011353686452,
0.009603824466466904,
0.025862131267786026,
0.00035803005448542535,
-0.008317439816892147,
0.019996872171759605,
0.028716877102851868,
0.008990892209112644,
-0.05261608213186264,
0.00599865335971117,
-0.019242724403738976,
-0.015206381678581238,
0.008359483443200588,
-0.063283771276474,
0.009329328313469887,
0.04445479437708855,
0.04340580478310585,
0.019644344225525856,
-0.0018657164182513952,
0.01651863567531109,
-0.03390086814761162,
-0.017286160960793495,
-0.007559913210570812,
0.0057086278684437275,
0.058397237211465836,
-0.01658506691455841,
0.006634251680225134,
-0.05939812213182449,
-0.0023615716490894556,
-0.037898145616054535,
0.013918020762503147,
-0.059594400227069855,
-0.029049312695860863,
-0.026793522760272026,
-0.02572169341146946,
0.012035492807626724,
0.011292356066405773,
-0.030088014900684357,
0.005517598241567612,
0.03504042699933052,
-0.03533522039651871,
0.030957600101828575,
-0.012139609083533287,
-0.06101130321621895,
-0.02241949923336506,
0.004170214757323265,
0.0002911199408117682,
-0.011069954372942448,
0.020887846127152443,
0.005797998979687691,
0.008306432515382767,
0.020575178787112236,
0.016420476138591766,
0.00988862756639719,
-0.01497706025838852,
0.024457067251205444,
0.015321215614676476,
0.03492899239063263,
-0.06174090504646301,
-0.003919760696589947,
-0.035200972110033035,
-0.014217905700206757,
0.009764565154910088,
0.015623697079718113,
-0.026913421228528023,
-0.018342260271310806,
-0.021136684343218803,
-0.0005125440075062215,
-0.03385740518569946,
-0.047212012112140656,
-0.04367760568857193,
0.04356454312801361,
0.04873808100819588,
-0.018603986129164696,
0.0027335307095199823,
-0.008682465180754662,
-0.01043207012116909,
-0.017728736624121666,
-0.006427277345210314,
-0.05724680423736572,
-0.011729502119123936,
0.011466794647276402,
0.0024108781944960356,
0.008262475952506065,
0.019880138337612152,
0.05126838758587837,
-0.0009807334281504154,
-0.005673097912222147,
-0.017140457406640053,
0.003992380574345589,
0.018221762031316757,
0.04206709563732147,
0.01626400649547577,
-0.00670604407787323,
0.0061905658803880215,
-0.022028276696801186,
-0.035547442734241486,
-0.04795842245221138,
0.003553414484485984,
0.019979853183031082,
0.010247249156236649,
-0.019619790837168694,
-0.0859769880771637,
0.04947346821427345,
0.01846902072429657,
0.02161700464785099,
-0.010003911331295967,
-0.011561721563339233,
-0.004513002000749111,
-0.013541961088776588,
0.026106450706720352,
0.06495800614356995,
-0.06521320343017578,
-0.003533216891810298,
-0.026640471071004868,
0.01471148431301117,
-0.0031879558227956295,
-0.017175694927573204,
-0.04546811431646347,
-0.02905147895216942,
-0.018330277875065804,
0.006290740333497524,
-0.07698480039834976,
0.003847201354801655,
-0.029118133708834648,
0.03370260074734688,
0.01437421515583992,
-0.004942035302519798,
-0.040669869631528854,
-0.016352269798517227,
-0.004119009245187044,
-0.02877541445195675,
0.011817828752100468,
-0.04826977849006653,
0.011262225918471813,
0.0013088281266391277,
-0.028330231085419655,
0.013486001640558243,
-0.04625819995999336,
0.02689896896481514,
0.016156496480107307,
-0.05306101217865944,
0.01328310277312994,
-0.04166927933692932,
0.013783291913568974,
0.013469899073243141,
0.038876038044691086,
-0.028654854744672775,
-0.01973424293100834,
-0.0245653185993433,
-0.011253603734076023,
-0.03704557940363884,
-0.013317318633198738,
-0.010902998968958855,
0.01493714191019535,
0.01702740043401718,
0.06267909705638885,
0.013003123924136162,
0.04774704948067665,
-0.015367195010185242,
-0.027995776385068893,
0.05841059982776642,
-0.04802717640995979,
-0.019485056400299072,
-0.05825549736618996,
-0.06830563396215439,
0.005298209376633167,
0.011630292050540447,
0.024604761973023415,
-0.047403644770383835,
0.04188971593976021,
0.003406429896131158,
0.026564953848719597,
0.049626439809799194,
0.007918301969766617,
0.009156391955912113,
-0.05198908969759941,
-0.0034713968634605408,
-0.06823410093784332,
-0.005506959278136492,
0.044132333248853683,
0.00723164202645421,
0.007854021154344082,
0.004880542866885662,
-0.040600840002298355,
0.048677220940589905,
-0.07699991762638092,
-0.023554667830467224,
0.016127701848745346,
-0.024795150384306908,
0.002709094202145934,
0.034931208938360214,
-0.08374740928411484,
0.02145995944738388,
0.018365349620580673,
-0.04857216030359268,
-0.016123993322253227,
-0.02093527279794216,
0.06451091170310974,
-0.005007392726838589,
0.022769413888454437,
-0.04081324115395546,
-0.008728411979973316,
0.06791592389345169,
0.02307821810245514,
-0.00433515477925539,
0.062137361615896225,
-0.0007209478644654155,
0.02797427773475647,
0.02249975875020027,
0.0067340475507080555,
-0.024643810465931892,
0.02825460396707058,
-0.020365159958600998,
-0.03712080419063568,
0.03873052820563316,
0.013759622350335121,
-0.03501566872000694,
-0.022399770095944405,
0.05688747391104698,
0.01794985495507717,
-0.030978458002209663,
-0.06391996145248413,
0.009092891588807106,
-0.07780367881059647,
-0.003054889617487788,
-0.017434509471058846,
0.004930243361741304,
-0.06335052847862244,
0.04339200258255005,
-0.00346234324388206,
0.009308595210313797,
0.06895874440670013,
-0.012979608029127121,
-0.0049967519007623196,
-0.020654654130339622,
0.08284374326467514,
0.07157060503959656,
0.09239508211612701,
0.007159678731113672,
0.0652758926153183,
-0.011491474695503712,
-0.02979440428316593,
0.01812787726521492,
-0.0011725551448762417,
-0.003258037380874157,
-0.03339073061943054,
0.03180666267871857,
0.05401169881224632,
-0.011304490268230438,
0.05860122665762901,
-0.008133482187986374,
-0.015571918338537216,
-0.006343984976410866,
0.035591986030340195,
0.024113183841109276,
0.07059796899557114,
0.002766513964161277,
-0.005886917468160391,
-0.005832231137901545,
-0.06308145076036453,
0.034437377005815506,
-0.037541478872299194,
-0.007950003258883953,
0.05177687108516693,
-0.008782030083239079,
0.04580387473106384,
0.02413157932460308,
0.007271002046763897,
0.042710982263088226,
-0.036561623215675354,
0.0020298724994063377,
-0.014792099595069885,
0.028227997943758965,
-0.00465062540024519,
0.01710602641105652,
-0.01002324465662241,
-0.016423286870121956,
0.015000734478235245,
-0.04314737766981125,
-0.020416410639882088,
-0.007115514483302832,
-0.027867522090673447,
0.047769445925951004,
-0.03276635706424713,
0.017511550337076187,
0.04624315723776817,
0.001856572343967855,
-0.04952489957213402,
-0.05683250352740288,
-0.017382265999913216,
-0.03801153972744942,
-0.03471584990620613,
0.004796980880200863,
0.04348666965961456,
-0.001031607622280717,
-0.031268686056137085,
0.0003646122931968421,
-0.011801660060882568,
-0.017103280872106552,
0.0421074815094471,
-0.0465315505862236,
-0.025368331000208855,
0.0019278362160548568,
0.018093984574079514,
0.030159298330545425,
0.0006852287333458662,
0.03712658956646919,
-0.013123590499162674,
-0.02538624219596386,
-0.01062736101448536,
0.041027866303920746,
0.03295246139168739,
-0.009050637483596802,
-0.005792706739157438,
-0.08759099245071411,
0.02005702257156372,
0.03965287655591965,
-0.027175815775990486,
-0.06460732966661453,
0.02571600116789341,
0.000551345176063478,
-0.031350839883089066,
0.04722854122519493,
-0.0034374764654785395,
-0.007378490176051855,
-0.037656065076589584,
0.008479892276227474,
-0.005904824007302523,
0.031447071582078934,
0.033878304064273834,
-0.021876417100429535,
0.08898744732141495,
0.04905518889427185,
-0.008926601149141788,
-0.03010375425219536,
-0.013205144554376602,
0.011932078748941422,
-0.013206086121499538,
-0.017483370378613472,
-0.05794859677553177,
-0.04475119709968567,
-0.0629749670624733,
-0.026259638369083405,
0.00896194577217102,
-0.023827530443668365,
-0.019642870873212814,
0.01797659508883953,
0.019706344231963158,
-0.022987449541687965,
0.019887151196599007,
-0.06308789551258087,
0.044418103992938995,
-0.005306499544531107,
-0.009835097007453442,
-0.008293680846691132,
-0.0005209501250647008,
0.012678168714046478,
-0.0005596144474111497,
0.02424244023859501,
-0.03215472400188446,
0.009269868955016136,
-0.002965077292174101,
0.007288664113730192,
0.046688567847013474,
0.022578807547688484,
-0.018940389156341553
] | [
-0.08017335087060928,
0.041249144822359085,
0.0027354496996849775,
-0.022894492372870445,
0.050720371305942535,
-0.02354474738240242,
-0.027142342180013657,
0.013427382335066795,
0.005855442490428686,
-0.021774834021925926,
0.013907430693507195,
0.007244352251291275,
-0.004334454424679279,
-0.014104435220360756,
0.05011594295501709,
0.01076203677803278,
-0.008332407101988792,
-0.05661292374134064,
0.03156274929642677,
0.029607681557536125,
-0.015583818778395653,
-0.02518334425985813,
-0.028587646782398224,
0.008486003614962101,
0.009690769948065281,
0.04692789912223816,
0.001941621652804315,
-0.04568296670913696,
-0.002704883459955454,
-0.19321268796920776,
-0.001592497923411429,
0.025383267551660538,
0.0341961532831192,
-0.029499931260943413,
-0.0005026639555580914,
0.070824034512043,
0.019277196377515793,
0.03668966516852379,
-0.013921084813773632,
0.06073112413287163,
0.03902515023946762,
0.030830472707748413,
-0.05766897648572922,
-0.05508946627378464,
0.0036028341855853796,
0.013351178728044033,
0.017536118626594543,
-0.07369891554117203,
-0.03220733255147934,
0.021047256886959076,
-0.02689965069293976,
-0.03912369906902313,
-0.014795179478824139,
-0.025067193433642387,
-0.04683612287044525,
0.07264827936887741,
0.0268073920160532,
0.051561132073402405,
-0.01462607178837061,
0.007820106111466885,
0.03048034943640232,
-0.02679966576397419,
-0.1411854475736618,
0.06520327180624008,
0.019095733761787415,
0.05399344488978386,
-0.06754960119724274,
-0.002643733285367489,
-0.023792201653122902,
0.1122221127152443,
-0.02328108251094818,
-0.04015161097049713,
-0.0008824904216453433,
0.036017950624227524,
0.04084809496998787,
0.012900958769023418,
0.01169288158416748,
0.02736400067806244,
0.01557220984250307,
-0.059765275567770004,
-0.020560722798109055,
0.004786063451319933,
-0.012144309468567371,
-0.028883177787065506,
-0.020803401246666908,
-0.008144821971654892,
-0.005574100650846958,
0.04662849009037018,
0.033694542944431305,
0.03359619155526161,
0.06803884357213974,
0.009630846790969372,
0.040668733417987823,
-0.0034582852385938168,
-0.08735799044370651,
-0.017640922218561172,
-0.005031353794038296,
0.032801903784275055,
-0.036289289593696594,
0.45289456844329834,
-0.024274174124002457,
0.015458621084690094,
0.0947137326002121,
0.05756367743015289,
-0.028848297894001007,
-0.016414694488048553,
0.012952256947755814,
-0.047713860869407654,
0.0035000969655811787,
-0.022232545539736748,
0.027263367548584938,
0.019552132114768028,
0.055699627846479416,
-0.05669763311743736,
0.02243840880692005,
0.03604378178715706,
0.00029357330640777946,
0.035677097737789154,
-0.009330485947430134,
-0.03889893367886543,
0.010416259989142418,
-0.004436534363776445,
0.04154467582702637,
-0.003399968845769763,
-0.06192832812666893,
-0.003233415074646473,
0.03034719079732895,
0.05011921375989914,
0.029490970075130463,
-0.0333796963095665,
0.05108240991830826,
-0.05007985979318619,
-0.07512518018484116,
-0.004881514236330986,
-0.020449280738830566,
-0.006880542729049921,
0.04507779702544212,
-0.03685099259018898,
0.01544947549700737,
0.026444153860211372,
0.02520580403506756,
-0.005343286786228418,
0.02578118070960045,
-0.005652295425534248,
-0.07946865260601044,
0.14207497239112854,
0.015255812555551529,
-0.01648922823369503,
-0.014036182314157486,
-0.037423025816679,
-0.0064163533970713615,
0.011641616001725197,
0.012201081030070782,
-0.04142298921942711,
0.04788121581077576,
-0.012118692509829998,
0.06526990234851837,
-0.0054422286339104176,
-0.06172110512852669,
0.01787637360394001,
-0.017421411350369453,
-0.04082969203591347,
-0.0611189641058445,
0.04735102131962776,
0.06019648537039757,
-0.1124236062169075,
-0.011818486265838146,
-0.035924192517995834,
0.033658623695373535,
-0.058941151946783066,
-0.018580622971057892,
0.012674118392169476,
0.017307067289948463,
0.005759232211858034,
0.05811578035354614,
-0.014537230134010315,
-0.021328626200556755,
-0.014424185268580914,
0.05516497418284416,
0.0024766752030700445,
0.050554972141981125,
0.03547046706080437,
-0.03683333471417427,
0.02518298849463463,
-0.013712765648961067,
-0.09357614815235138,
-0.04487118124961853,
-0.0012190798297524452,
-0.02008976601064205,
0.008902652189135551,
-0.02916226163506508,
-0.039634596556425095,
-0.03336065635085106,
0.11097396165132523,
-0.03612449765205383,
-0.025877688080072403,
0.02575007453560829,
-0.008834749460220337,
-0.03539903461933136,
-0.03527277335524559,
-0.08173852413892746,
0.01737281121313572,
-0.017737649381160736,
0.028276029974222183,
-0.040503814816474915,
0.04317725822329521,
0.022002656012773514,
-0.047001101076602936,
0.09200461208820343,
0.046922799199819565,
-0.04958648607134819,
-0.04816025123000145,
0.042734116315841675,
0.029949519783258438,
-0.0011410596780478954,
0.005690469406545162,
-0.009348026476800442,
0.02283419668674469,
0.0015351237962022424,
0.013476237654685974,
-0.0062686544843018055,
0.03616990149021149,
-0.00910516083240509,
-0.3388097882270813,
-0.020220713689923286,
-0.017287349328398705,
0.0120235038921237,
0.021837014704942703,
-0.02709699235856533,
0.02485649101436138,
-0.034199852496385574,
-0.040360838174819946,
-0.003661118447780609,
0.0347314327955246,
-0.006564669776707888,
-0.01349987369030714,
-0.08709418773651123,
-0.004331620410084724,
0.014260428957641125,
-0.05193319544196129,
-0.012221530079841614,
-0.03002389520406723,
-0.0037874772679060698,
0.014412152580916882,
-0.01843920350074768,
0.0004059657803736627,
-0.06012912094593048,
0.0015702414093539119,
-0.0513676181435585,
0.08971380442380905,
0.004622799344360828,
0.04399779066443443,
-0.02842864580452442,
0.012748757377266884,
0.0018290973966941237,
0.033860065042972565,
-0.093070387840271,
0.023880263790488243,
-0.00580406142398715,
0.01847633346915245,
-0.03854316845536232,
0.02942223846912384,
-0.06541138887405396,
-0.03562489151954651,
0.028778983280062675,
-0.06263918429613113,
-0.04437089338898659,
-0.06926120817661285,
0.012945280410349369,
-0.03222373500466347,
-0.03475596010684967,
-0.02121732570230961,
0.06590919196605682,
0.0031077140010893345,
-0.011730341240763664,
0.029420658946037292,
-0.008902759291231632,
0.0032803211361169815,
-0.01909753866493702,
-0.10071410983800888,
-0.0005726570961996913,
0.01592458039522171,
0.0015353115741163492,
0.017329422757029533,
0.06596650928258896,
0.04755358397960663,
-0.06117783114314079,
0.008032386191189289,
-0.0008237194269895554,
0.005407069809734821,
-0.010877271182835102,
0.02554694376885891,
-0.036734823137521744,
0.011158119887113571,
0.0806160494685173,
-0.007230869960039854,
-0.03909557685256004,
0.0282907672226429,
0.05488095059990883,
-0.03465170040726662,
0.012241064570844173,
0.005911549087613821,
-0.026434695348143578,
-0.008148852735757828,
-0.03382125124335289,
0.013936515897512436,
-0.017014257609844208,
-0.013080383650958538,
0.03352728486061096,
-0.020471785217523575,
-0.04639049991965294,
0.05307096615433693,
0.006003051530569792,
-0.01675030216574669,
-0.002571124117821455,
-0.03137637674808502,
-0.010118333622813225,
0.07616960257291794,
0.0160879697650671,
-0.22312182188034058,
0.03662106394767761,
0.08573493361473083,
0.02714785374701023,
0.0006759435054846108,
0.07517967373132706,
-0.017878325656056404,
-0.05528809502720833,
0.019266560673713684,
0.009444400668144226,
0.03233373910188675,
0.004780275747179985,
0.01370074413716793,
-0.007334971334785223,
0.02820674702525139,
0.00729479780420661,
0.06671740114688873,
-0.014652426354587078,
0.04016854241490364,
-0.034486714750528336,
0.0075799860060215,
-0.009645018726587296,
0.13448745012283325,
0.003318432718515396,
0.02625705674290657,
0.007876920513808727,
0.004733691457659006,
-0.000317785277729854,
0.05025190860033035,
-0.010156715288758278,
0.014416898600757122,
-0.040321726351976395,
0.01640169881284237,
0.01641884446144104,
0.004434836097061634,
-0.07651939988136292,
-0.022215586155653,
0.028056005015969276,
-0.002080337842926383,
0.02955353818833828,
0.02126532420516014,
0.01158998440951109,
-0.020115850493311882,
0.031807124614715576,
0.07485947757959366,
0.012058855965733528,
0.01527368277311325,
-0.026440240442752838,
-0.08131543546915054,
-0.034192197024822235,
-0.01902012526988983,
-0.03411193937063217,
0.0007036452298052609,
-0.0036349669098854065,
0.046099454164505005,
0.06323833018541336,
0.05321316793560982,
-0.024948759004473686,
0.007460994645953178,
0.008292872458696365,
0.0002229908568551764,
0.008034490048885345,
0.11299648880958557,
0.019979218021035194,
0.03829040005803108
] | [
-0.005207294598221779,
0.03232415020465851,
0.006009092554450035,
-0.014068815857172012,
-0.029844464734196663,
0.029920773580670357,
-0.057272668927907944,
-0.011212585493922234,
0.02202201820909977,
-0.010309679433703423,
-0.019555846229195595,
0.01919526793062687,
0.014236165210604668,
-0.00974327977746725,
0.015083645470440388,
-0.028676697984337807,
-0.0031370774377137423,
-0.014459782280027866,
0.0753573551774025,
0.015980223193764687,
-0.024979999288916588,
-0.020939655601978302,
-0.020188385620713234,
-0.009124473668634892,
-0.02844216488301754,
0.022371426224708557,
-0.035936858505010605,
0.008518485352396965,
0.02168535254895687,
-0.11749159544706345,
-0.020254390314221382,
-0.0018724837573245168,
-0.004200625233352184,
0.0035047687124460936,
0.013756325468420982,
0.001328237820416689,
-0.028057290241122246,
0.03703279793262482,
0.017006896436214447,
-0.02323000878095627,
-0.010074960067868233,
-0.011714409105479717,
0.016749102622270584,
-0.027461955323815346,
0.016536056995391846,
-0.00007555620686616749,
0.00409237015992403,
-0.058814190328121185,
-0.022207600995898247,
-0.020157134160399437,
-0.009253819473087788,
-0.016752075403928757,
0.017378034070134163,
0.0019932955037802458,
0.01992802508175373,
-0.013297957368195057,
0.021811790764331818,
-0.020809736102819443,
-0.0009665314573794603,
-0.040163617581129074,
-0.0178106389939785,
-0.019406510517001152,
-0.06101515144109726,
-0.03388967737555504,
-0.018530726432800293,
0.0008138241246342659,
-0.009719892404973507,
0.018275368958711624,
0.008636695332825184,
0.008174121379852295,
-0.002114898059517145,
0.007649920415133238,
-0.0025957287289202213,
-0.02271941490471363,
0.014348424971103668,
0.02414686232805252,
-0.0004794466367457062,
-0.012836724519729614,
0.00361438887193799,
-0.020051870495080948,
-0.010878537781536579,
-0.0005497962702065706,
-0.0003738675732165575,
0.005082525312900543,
-0.003005113685503602,
-0.01814219541847706,
-0.006519387476146221,
-0.004714166279882193,
-0.009042599238455296,
0.018920117989182472,
-0.0072778924368321896,
0.006052379496395588,
0.02710694447159767,
0.020580578595399857,
-0.08253280073404312,
0.005743150599300861,
-0.03504209965467453,
0.0015755178174003959,
-0.0008846747223287821,
0.8504284620285034,
0.014410804025828838,
0.022091645747423172,
0.026731230318546295,
0.0068648275919258595,
0.013881424441933632,
-0.01043730042874813,
0.0032938080839812756,
-0.03778282180428505,
-0.019109826534986496,
-0.0006618215702474117,
-0.0068497625179588795,
0.01817709393799305,
0.00914654042571783,
0.013090366497635841,
0.023189647123217583,
0.03241880610585213,
0.014862500131130219,
-0.00991513766348362,
-0.01956265978515148,
-0.011953070759773254,
0.07607705891132355,
-0.015768107026815414,
0.03075237013399601,
0.01807907409965992,
0.01275880541652441,
-0.1589594930410385,
0.031666357070207596,
-9.26282128139873e-33,
0.06129305437207222,
-0.026962382718920708,
-0.012201466597616673,
-0.017586765810847282,
0.0008914131904020905,
-0.008159279823303223,
0.01783815771341324,
0.025079840794205666,
0.011230764910578728,
-0.04541260004043579,
-0.006475646514445543,
-0.003634973196312785,
0.024749698117375374,
-0.03137955814599991,
0.02416549064218998,
-0.0412447415292263,
-0.030467147007584572,
0.04875485599040985,
0.012427709996700287,
0.019189534708857536,
0.00943998247385025,
0.009829244576394558,
0.012288478203117847,
0.003568303072825074,
0.01718752644956112,
0.01901981420814991,
0.017758408561348915,
-0.013626729138195515,
-0.00044730398803949356,
-0.053527846932411194,
-0.007892146706581116,
0.019133636727929115,
-0.0011176381958648562,
0.005037396214902401,
0.012276062741875648,
-0.014386558905243874,
0.01480753906071186,
-0.0040207854472100735,
-0.0004737860872410238,
-0.01668190211057663,
-0.00936331320554018,
-0.0019092775182798505,
-0.03304767981171608,
-0.017602872103452682,
0.004425438586622477,
0.00031636838684789836,
0.0007700182613916695,
0.0018966454081237316,
0.01594746857881546,
-0.012588984332978725,
0.015294005163013935,
0.021036505699157715,
-0.023975279182195663,
-0.0114985266700387,
-0.004476385191082954,
-0.016170231625437737,
-0.022554831579327583,
0.016074417158961296,
0.021548738703131676,
0.0034687824081629515,
0.05215965583920479,
-0.002331492258235812,
-0.03654595464468002,
0.03488557040691376,
-0.013186082243919373,
0.007277184631675482,
-0.023843836039304733,
0.011087235063314438,
0.017680268734693527,
-0.009715941734611988,
-0.044992152601480484,
-0.03428085893392563,
0.028513869270682335,
-0.010381795465946198,
0.021109485998749733,
0.03629877045750618,
0.003984217531979084,
0.036857858300209045,
-0.007332017179578543,
0.018824007362127304,
-0.021483058109879494,
0.009440399706363678,
-0.05577985569834709,
-0.0524592362344265,
0.009603500366210938,
0.016629435122013092,
0.03483160585165024,
0.004942886531352997,
-0.03285016864538193,
-0.012251830659806728,
0.03484019264578819,
-0.0044751460663974285,
0.00726519338786602,
0.019761385396122932,
-0.013433802872896194,
8.797081603395308e-33,
0.0118972547352314,
-0.02436060830950737,
-0.01301458477973938,
-0.01096426323056221,
0.07338336855173111,
-0.02626117132604122,
-0.016054758802056313,
-0.0074138459749519825,
-0.042982567101716995,
0.032442085444927216,
-0.01655455119907856,
-0.010954382829368114,
-0.04643663018941879,
0.02049863524734974,
0.038325872272253036,
-0.04317782074213028,
0.026897644624114037,
-0.03330055624246597,
0.004322255030274391,
0.005674328189343214,
0.0195374246686697,
0.004791745450347662,
-0.018393727019429207,
-0.0004877231549471617,
-0.007223331369459629,
0.05744072049856186,
0.017980599775910378,
0.008501592092216015,
0.00954696349799633,
-0.03216699883341789,
-0.005087844096124172,
-0.023173192515969276,
0.01262850034981966,
-0.01868809200823307,
0.019337618723511696,
0.047018300741910934,
-0.016686372458934784,
-0.05173065885901451,
-0.036751531064510345,
-0.0008751326822675765,
0.003617166541516781,
-0.0017766231903806329,
-0.020120946690440178,
0.016204293817281723,
0.04039676859974861,
-0.005752476863563061,
-0.038679324090480804,
-0.00519512128084898,
-0.010071740485727787,
0.014765108935534954,
0.0025739760603755713,
0.0273312758654356,
0.026519788429141045,
-0.0020958350505679846,
0.019173434004187584,
-0.03982950374484062,
-0.018206749111413956,
-0.024937493726611137,
0.03485330194234848,
0.014441984705626965,
0.01757916249334812,
0.019118711352348328,
-0.02894585020840168,
-0.0245737936347723,
-0.02636776491999626,
-0.010236715897917747,
-0.001886173733510077,
-0.01540050283074379,
-0.0423741415143013,
0.04988645762205124,
-0.022437291219830513,
0.028827669098973274,
-0.018455712124705315,
0.03020726516842842,
0.03197213634848595,
-0.02045673131942749,
-0.031178224831819534,
0.01576896570622921,
0.002552796620875597,
0.008772116154432297,
-0.0393342524766922,
-0.0011804277310147882,
0.0213251281529665,
0.00007528858259320259,
-0.026820087805390358,
0.005073829088360071,
-0.009313568472862244,
0.025363657623529434,
-0.004487732425332069,
-0.0030609637033194304,
0.004620543215423822,
-0.05663685128092766,
0.007198904175311327,
0.018091177567839622,
0.01428291667252779,
-1.4193722641664408e-8,
-0.0005285198567435145,
0.024529414251446724,
-0.02290024422109127,
0.02098284475505352,
0.0017178601119667292,
-0.03588654100894928,
-0.0173062514513731,
0.008510523475706577,
-0.0015373285859823227,
0.005497845355421305,
0.06403631716966629,
-0.012902562506496906,
0.009397665970027447,
-0.006744222715497017,
0.022643351927399635,
-0.001483679166994989,
-0.055550213903188705,
0.0007632987690158188,
0.035248544067144394,
0.04987125098705292,
0.020519375801086426,
0.04189696162939072,
-0.025123024359345436,
0.008174542337656021,
-0.000099696044344455,
0.0226441640406847,
0.005087045021355152,
-0.07218774408102036,
-0.0027776213828474283,
0.006005777046084404,
0.026866545900702477,
-0.01016085036098957,
0.028443409129977226,
0.016423527151346207,
-0.012727414257824421,
-0.06005965545773506,
0.07172535359859467,
-0.012490416876971722,
0.0033269107807427645,
0.014180266298353672,
0.017825879156589508,
-0.048436518758535385,
-0.0308590866625309,
-0.03539593890309334,
-0.004089744761586189,
0.01982443779706955,
-0.04769318178296089,
-0.012799105606973171,
-0.03666742891073227,
-0.036093711853027344,
0.01127783302217722,
-0.008312310092151165,
0.0492008812725544,
0.053713854402303696,
0.02125300094485283,
0.028394263237714767,
-0.002958097029477358,
0.007585499901324511,
-0.009440398775041103,
0.008322823792696,
0.03976791352033615,
0.05147922784090042,
-0.0038997125811874866,
-0.008693626150488853
] | retrospectives-some-thoughts | https://markhneedham.com/blog/2010/06/10/retrospectives-some-thoughts |
false | 2010-06-19 22:14:06 | Git/Mercurial: Pushing regularly | [
"mercurial",
"git"
] | [
"Version Control"
] | I was reading a recent blog post by Gabriel Schenker where he discusses http://feedproxy.google.com/~r/LosTechies/~3/h-tL8ABnNkY/git-and-our-friction-points-and-beginners-mistakes.aspx[how his team is making use of Git] and about half way through he says the following:
____
When using Git as your SCM it is normal to work for quite a while -- maybe for a couple of days -- in a local branch and without ever pushing the changes to the origin. Usually we only push when a feature is done or a defect is completely resolved.
____
We've been using Mercurial on the project I'm currently working on over the past few months and although it's a similar tool we've been following a different approach.
We've got it setup the same way we would setup Subversion:
image::{{<siteurl>}}/uploads/2010/06/dscm.gif[dscm.gif,675]
We've been trying to push to the central repository as frequently as possible, just as we would if we were using Subversion.
I don't know the Git workflow that well because I haven't used it on a project yet but we've always found that it's beneficial to integrate with code being written by others on the team as frequently as possible.
Not doing this can lead to the problems which Martin Fowler outlines in his post about http://martinfowler.com/bliki/FeatureBranch.html[feature branches].
We've tried to ensure that after every commit the build still passes although we do sometimes have broken versions in the code committed locally because we don't run our full test suite before every local check in.
Even if a feature isn't completed I still think it's valuable to have what we've done so far checked in and it also helps remove the problem with needing to backup local repositories:
____
Since we are going to work locally potentially for days without pushing to the origin (our central repository) we might well loose our work if we have a hard disk crash or our office is flooded. Thus we need some backup strategy.
____
We just need to make sure the central repository is being backed up and then the danger of losing our work is significantly reduced. | null | null | [
0.023154189810156822,
-0.01963936723768711,
0.019686643034219742,
0.04695907607674599,
0.09767451882362366,
0.017954453825950623,
0.025536643341183662,
0.04813164845108986,
0.008078278042376041,
-0.02925672009587288,
-0.02255023829638958,
-0.02302323840558529,
-0.06329624354839325,
0.030878538265824318,
-0.05451047793030739,
0.068509541451931,
0.06659457832574844,
0.006191761698573828,
0.018902555108070374,
0.007903430610895157,
0.03115157224237919,
0.0757833868265152,
0.002580926986411214,
0.03209786117076874,
0.010098998434841633,
0.01280777808278799,
0.010886382311582565,
-0.005197595804929733,
-0.0467451810836792,
-0.02632303722202778,
0.05335312336683273,
0.005857347510755062,
0.025473957881331444,
-0.021326763555407524,
0.012091037817299366,
-0.012131127528846264,
-0.043384309858083725,
0.028122277930378914,
-0.003641864750534296,
0.006101096048951149,
-0.06445358693599701,
0.04341486096382141,
-0.027835723012685776,
0.00913823489099741,
-0.04376594349741936,
0.007813185453414917,
-0.056862518191337585,
0.021493500098586082,
-0.00048733994481153786,
-0.005775386467576027,
-0.05484156310558319,
0.03159424662590027,
-0.026660112664103508,
-0.025039397180080414,
-0.022060787305235863,
0.043658237904310226,
0.00807213969528675,
-0.06928601115942001,
0.005143269430845976,
-0.02268780954182148,
-0.029253365471959114,
-0.023080067709088326,
0.005956828594207764,
0.02435891143977642,
0.01767127588391304,
-0.0430011972784996,
0.005293969996273518,
0.04977396875619888,
-0.024037867784500122,
-0.001022418262436986,
0.006570763885974884,
0.011177859269082546,
-0.01201651617884636,
-0.017120737582445145,
0.014162828214466572,
-0.04486009478569031,
-0.00042631704127416015,
0.0684955045580864,
0.0312761552631855,
0.059941861778497696,
-0.038984138518571854,
0.015471560880541801,
0.010455675423145294,
0.009051769971847534,
-0.013760335743427277,
-0.031140511855483055,
-0.003606244456022978,
-0.011616223491728306,
-0.07114022225141525,
0.07760757207870483,
0.01001589186489582,
-0.06585194915533066,
0.026419343426823616,
0.021002240478992462,
0.011910432018339634,
0.002342045772820711,
0.024366887286305428,
0.013242156244814396,
0.02085801772773266,
-0.012686154805123806,
-0.04204404354095459,
0.010575401596724987,
-0.0164107047021389,
0.019179411232471466,
-0.06768124550580978,
-0.022738294675946236,
-0.027903296053409576,
-0.005476512014865875,
-0.016723420470952988,
-0.029506821185350418,
-0.017998740077018738,
0.03597148135304451,
-0.02485593780875206,
0.0001195363947772421,
-0.061384256929159164,
0.07897960394620895,
0.006112624425441027,
-0.07790052890777588,
-0.008819203823804855,
0.003588123479858041,
0.06077764183282852,
0.030427902936935425,
-0.03276024013757706,
0.08203522115945816,
0.02253713086247444,
0.016768645495176315,
-0.010548166930675507,
0.03205375000834465,
-0.04157763719558716,
-0.07218628376722336,
-0.001336769200861454,
0.0693204328417778,
-0.02940962091088295,
-0.015420733951032162,
0.009114527143537998,
-0.03396737575531006,
-0.0019789221696555614,
0.007847310043871403,
0.04305795207619667,
0.01635616458952427,
-0.012189445085823536,
-0.02253958210349083,
-0.012514526024460793,
0.013148668222129345,
0.02655944414436817,
0.007518692873418331,
0.0026474224869161844,
-0.027171166613698006,
-0.059131208807229996,
0.006203540600836277,
0.01072115171700716,
0.03400268033146858,
0.02639753744006157,
-0.054537516087293625,
0.027150867506861687,
0.09575515985488892,
0.036308396607637405,
-0.00886162556707859,
-0.016856998205184937,
0.0246294979006052,
0.04242958873510361,
0.03159746527671814,
0.025334713980555534,
0.030186383053660393,
0.026189764961600304,
-0.027394821867346764,
-0.009916696697473526,
0.02625466138124466,
0.011566859669983387,
0.027708206325769424,
-0.05761656537652016,
-0.04969603940844536,
0.050471123307943344,
-0.050763700157403946,
-0.0033405576832592487,
0.046617839485406876,
0.08029113709926605,
0.054468877613544464,
0.019064338877797127,
0.007486387155950069,
-0.08908933401107788,
0.03873145207762718,
0.006276119500398636,
0.025013713166117668,
0.019909238442778587,
-0.00891452468931675,
0.07306741178035736,
0.025824403390288353,
0.02283857762813568,
0.02873619645833969,
-0.09082487970590591,
-0.08630307763814926,
-0.028116485103964806,
-0.0044281501322984695,
0.04565577581524849,
-0.022352293133735657,
-0.004491768777370453,
0.06955800205469131,
0.0042232945561409,
0.03460433706641197,
0.005767197348177433,
0.009067539125680923,
0.0021750449668616056,
-0.05056074261665344,
-0.051034554839134216,
0.05105935037136078,
0.030608611181378365,
-0.011274338699877262,
-0.013670485466718674,
0.001176140853203833,
0.005834953393787146,
0.003611989552155137,
0.04729890450835228,
-0.04064469039440155,
0.03453262895345688,
0.0016316944966092706,
0.03511964529752731,
-0.039749205112457275,
0.057214830070734024,
-0.03978095203638077,
0.008268509060144424,
0.00788160040974617,
-0.02355492301285267,
0.015355517156422138,
0.018583159893751144,
0.09917290508747101,
0.059519730508327484,
-0.04450653865933418,
-0.0397278256714344,
0.02385852485895157,
-0.009301847778260708,
-0.03866847977042198,
-0.019140753895044327,
-0.01059908326715231,
0.005216176155954599,
0.013811628334224224,
-0.05972035229206085,
-0.03073621727526188,
-0.007794852834194899,
-0.04140671342611313,
0.02694186381995678,
0.05025243014097214,
-0.016214817762374878,
0.06043434888124466,
-0.0070991525426507,
-0.005154425743967295,
-0.007231296505779028,
-0.0210215225815773,
-0.06749080121517181,
0.02603888511657715,
0.016855882480740547,
-0.014133237302303314,
0.051851630210876465,
-0.021900687366724014,
-0.017050502821803093,
-0.03340570256114006,
-0.029010973870754242,
0.03587833046913147,
0.028340328484773636,
0.08037260919809341,
-0.01827152632176876,
0.05627722665667534,
-0.015510247088968754,
0.027903517708182335,
-0.005158528219908476,
-0.030087079852819443,
-0.05329272523522377,
-0.0335330106317997,
-0.0016958678606897593,
0.02028551511466503,
0.012789847329258919,
0.027111204341053963,
0.022008882835507393,
-0.012173241935670376,
0.011128313839435577,
-0.029864424839615822,
0.028368819504976273,
0.008700355887413025,
0.004265286959707737,
-0.03128665313124657,
-0.017066311091184616,
0.047731414437294006,
-0.05928734317421913,
-0.0032117648515850306,
-0.017596030607819557,
-0.06903928518295288,
0.05859331786632538,
-0.05954064428806305,
-0.037758439779281616,
0.012415566481649876,
0.0157717764377594,
0.023234061896800995,
0.005047047510743141,
0.04262799024581909,
0.044234439730644226,
0.018249543383717537,
0.016054412350058556,
0.0094172777608037,
0.02008054219186306,
0.04435891658067703,
0.014360385946929455,
-0.02436845563352108,
0.05296710506081581,
-0.014838428236544132,
-0.008881735615432262,
-0.046185508370399475,
0.044812142848968506,
-0.02505812980234623,
-0.2926093339920044,
0.04218174144625664,
0.011739595793187618,
-0.050205297768116,
0.03069385699927807,
-0.006173623260110617,
0.017587685957551003,
-0.042853668332099915,
-0.020965324714779854,
0.023847481235861778,
-0.03500283136963844,
-0.05827293545007706,
0.0023650997318327427,
0.030046507716178894,
-0.003003231482580304,
0.016567504033446312,
0.019146721810102463,
-0.02714177779853344,
0.00784450862556696,
0.032456908375024796,
-0.02962128445506096,
-0.06003659591078758,
0.017024686560034752,
0.03559566289186478,
0.04045981541275978,
0.06429491192102432,
-0.08145636320114136,
0.04819171503186226,
-0.05345910042524338,
-0.006840335670858622,
0.012292568571865559,
0.007540009915828705,
-0.006382035091519356,
0.007304520346224308,
-0.03256063163280487,
-0.007329030428081751,
0.018645118921995163,
0.018449949100613594,
0.0036600898019969463,
0.007654107641428709,
-0.021940454840660095,
-0.017838064581155777,
-0.0003417858388274908,
0.0010354559635743499,
0.07812699675559998,
-0.01576044224202633,
-0.06688906997442245,
-0.006408825982362032,
-0.03957872465252876,
0.09053454548120499,
-0.019860070198774338,
-0.03555893152952194,
-0.0018541943281888962,
0.03331983461976051,
-0.021298840641975403,
-0.016681304201483727,
-0.017593838274478912,
0.0018944158218801022,
-0.042990729212760925,
-0.03498799353837967,
-0.0019745987374335527,
-0.01857815496623516,
-0.02253035083413124,
-0.05374610051512718,
-0.003143284935504198,
-0.06259321421384811,
-0.07237213104963303,
-0.02209101989865303,
0.09092202037572861,
-0.0011546232271939516,
-0.03429828956723213,
0.007369919680058956,
-0.004371833987534046,
-0.10260765999555588,
-0.0035874629393219948,
-0.019986340776085854,
-0.05654125660657883,
0.005101372487843037,
0.016043860465288162,
0.03583166375756264,
-0.039377711713314056,
-0.033776525408029556,
0.03407350182533264,
0.029730327427387238,
-0.006009314674884081,
-0.003983695991337299,
0.04354189336299896,
0.014252479188144207,
-0.04377994313836098,
0.01990504190325737,
0.06267280876636505,
-0.029074179008603096,
-0.03371955081820488,
-0.024647535756230354,
0.006601990200579166,
-0.0011260397732257843,
0.020129336044192314,
0.011706597171723843,
0.017183296382427216,
0.06040420010685921,
0.02616887167096138,
-0.05236401781439781,
0.02758430503308773,
-0.037498366087675095,
-0.0052207582630217075,
-0.008270461112260818,
-0.050476882606744766,
0.008909049443900585,
0.04816663637757301,
0.04178975522518158,
-0.0012104968773201108,
-0.025274796411395073,
0.03015478141605854,
-0.05976453423500061,
-0.04493946582078934,
0.0034345032181590796,
0.007784650661051273,
0.019170431420207024,
0.013111677952110767,
-0.016636118292808533,
-0.04471782594919205,
0.031503692269325256,
0.013252045027911663,
0.006092409137636423,
-0.04961232468485832,
-0.0239969901740551,
-0.03643929958343506,
0.020729998126626015,
0.0349319651722908,
0.019990960136055946,
-0.014665553346276283,
0.0368490032851696,
0.02707100659608841,
-0.04507423937320709,
0.027483854442834854,
-0.014638412743806839,
-0.056029852479696274,
-0.028926443308591843,
-0.007788007613271475,
-0.004985608626157045,
-0.02289917878806591,
0.028819620609283447,
-0.0051019019447267056,
0.03107486292719841,
0.04460422694683075,
-0.006561729125678539,
0.04845168814063072,
0.006190242245793343,
0.020367814227938652,
-0.0011384362587705255,
0.01668498106300831,
-0.07398311793804169,
0.03245745971798897,
-0.04703761264681816,
-0.03561582788825035,
-0.03498590737581253,
0.02370588108897209,
-0.024299779906868935,
-0.02287464402616024,
-0.01860234886407852,
0.008573759347200394,
-0.06318101286888123,
-0.003728112205862999,
-0.01103359367698431,
0.006113051436841488,
0.0626206025481224,
-0.005325245205312967,
0.0008463640115223825,
-0.03284309059381485,
-0.013870158232748508,
0.021811679005622864,
0.041839636862277985,
-0.05191602557897568,
-0.003692168742418289,
0.02209414355456829,
0.01225326955318451,
-0.01494607888162136,
0.01365998201072216,
0.06522433459758759,
0.011074524372816086,
-0.007712700869888067,
-0.0075028566643595695,
0.01461712270975113,
0.02769962139427662,
0.029648851603269577,
0.003921892959624529,
-0.01735774613916874,
-0.015435397624969482,
-0.02448168955743313,
-0.00865366030484438,
-0.019553665071725845,
-0.003013725858181715,
0.0026060189120471478,
0.02151619829237461,
-0.028084086254239082,
-0.07376016676425934,
0.0335938036441803,
0.009231097996234894,
0.03341268375515938,
0.025917476043105125,
-0.030618002638220787,
0.021134043112397194,
-0.029710611328482628,
0.03321250155568123,
0.06057063862681389,
-0.06876560300588608,
0.009786827489733696,
0.015048407949507236,
0.004104867111891508,
-0.018877901136875153,
0.012100747786462307,
-0.03474786505103111,
-0.04914882406592369,
-0.01916053146123886,
0.008726026862859726,
-0.0553397461771965,
-0.00676914444193244,
-0.03360743075609207,
0.01875285990536213,
-0.00028114678571000695,
-0.013457105495035648,
-0.015441717579960823,
-0.006064791698008776,
0.006319721229374409,
-0.028989151120185852,
0.020785456523299217,
-0.014906295575201511,
0.0030803631525486708,
0.02368546463549137,
-0.03507288172841072,
0.00954720750451088,
-0.022230790928006172,
0.03656841069459915,
0.008992907591164112,
-0.019081691280007362,
0.003634754102677107,
-0.017562584951519966,
-0.007508181966841221,
-0.021448379382491112,
0.02772931382060051,
-0.014710667543113232,
0.0010343389585614204,
-0.03765996918082237,
-0.005911825690418482,
-0.045232150703668594,
0.004249789286404848,
-0.02263331599533558,
-0.01478090975433588,
-0.0011141650611534715,
0.06190910190343857,
0.015598676167428493,
0.016404425725340843,
-0.017377760261297226,
-0.018900826573371887,
0.04089212045073509,
-0.08565334230661392,
-0.043923936784267426,
-0.03265465050935745,
-0.04332534223794937,
0.005991007667034864,
0.026008395478129387,
0.015563953667879105,
-0.04821036383509636,
0.03624234348535538,
0.03858651965856552,
0.014517934992909431,
0.03823019936680794,
0.00780673511326313,
0.0166837889701128,
-0.055969271808862686,
-0.01794283092021942,
-0.07504073530435562,
0.015226353891193867,
0.02280654013156891,
-0.006695105228573084,
0.01038745604455471,
0.009026670828461647,
-0.030173499137163162,
0.014719629660248756,
-0.0752323716878891,
-0.023647980764508247,
0.05066322907805443,
-0.0015839823754504323,
0.0056819128803908825,
0.012756002135574818,
-0.08075966686010361,
0.019847208634018898,
0.04052415117621422,
-0.048936616629362106,
-0.01775445230305195,
-0.048344481736421585,
0.05762689560651779,
0.006831595674157143,
0.026901334524154663,
-0.0318373367190361,
-0.01589025929570198,
0.052856381982564926,
0.026665255427360535,
0.00776640884578228,
0.048431918025016785,
0.0012929063523188233,
0.03183538839221001,
0.05758478119969368,
0.021298743784427643,
-0.011280684731900692,
0.015028121881186962,
-0.021536678075790405,
-0.05473899468779564,
0.04585903882980347,
0.0008546148892492056,
-0.02987963892519474,
-0.03492259606719017,
0.043615758419036865,
0.03138028085231781,
-0.02685607597231865,
-0.050653692334890366,
0.027620669454336166,
-0.06421199440956116,
0.00042018902604468167,
-0.016905348747968674,
-0.010852145031094551,
-0.034919802099466324,
0.048256754875183105,
-0.018421826884150505,
0.016771316528320312,
0.07012408971786499,
-0.006705105770379305,
-0.009455395862460136,
-0.0011453680926933885,
0.08145131915807724,
0.07361523807048798,
0.04597148671746254,
-0.00016334187239408493,
0.07649824768304825,
-0.005709912162274122,
-0.04730674624443054,
0.018093829974532127,
-0.011102365329861641,
-0.02326946146786213,
-0.0248976182192564,
-0.0005420398083515465,
0.06595459580421448,
-0.025261543691158295,
0.07004521042108536,
-0.009610067121684551,
-0.005369974300265312,
0.005646638106554747,
0.025806883350014687,
0.02006075531244278,
0.05887497588992119,
0.009715580381453037,
-0.00780742010101676,
-0.026402756571769714,
-0.0230387132614851,
0.012156732380390167,
-0.042322564870119095,
-0.025139398872852325,
0.028922660276293755,
-0.008066428825259209,
0.025497157126665115,
0.019830960780382156,
0.0014711294788867235,
0.07131410390138626,
-0.053005557507276535,
0.024132942780852318,
-0.012448836117982864,
0.031357426196336746,
0.007373210042715073,
0.01547088660299778,
-0.016186416149139404,
-0.016458312049508095,
0.006634497549384832,
-0.017774954438209534,
-0.00922352448105812,
0.005578122567385435,
-0.027978550642728806,
0.04374194145202637,
-0.016209395602345467,
0.007455615326762199,
0.02035427652299404,
-0.004647717345505953,
-0.013592337258160114,
-0.03078104369342327,
-0.04934007674455643,
-0.06573159992694855,
-0.04856608808040619,
-0.009260948747396469,
0.015688426792621613,
-0.0021648402325809,
-0.03468514233827591,
-0.02377150021493435,
-0.018826710060238838,
-0.037655059248209,
0.030371803790330887,
-0.05268159136176109,
-0.03005935437977314,
0.01439988799393177,
0.025760283693671227,
0.012922637164592743,
0.016849113628268242,
0.0635811984539032,
-0.020377352833747864,
-0.021645179018378258,
-0.017177371308207512,
0.0266096368432045,
0.03299109265208244,
0.013804834336042404,
0.009976102039217949,
-0.07101517170667648,
0.04057041555643082,
0.022895919159054756,
-0.013523073866963387,
-0.06844541430473328,
0.019976750016212463,
0.01627407595515251,
-0.0329928956925869,
0.06197144463658333,
-0.03064030036330223,
0.003689702833071351,
-0.04932737722992897,
0.002571700606495142,
-0.016863228753209114,
-0.0035165317822247744,
0.046152517199516296,
-0.011314287781715393,
0.08518119156360626,
0.035275060683488846,
-0.005916875321418047,
-0.05940396711230278,
-0.0024259190540760756,
-0.0029370428528636694,
-0.01149776391685009,
-0.02238076739013195,
-0.031113289296627045,
-0.02790183573961258,
-0.08969646692276001,
-0.04732009023427963,
0.007159749045968056,
-0.015821773558855057,
-0.03361469879746437,
0.007661750540137291,
0.004992124158889055,
-0.04579370468854904,
0.001957664964720607,
-0.029960250481963158,
0.027922602370381355,
-0.013220150955021381,
-0.01630200259387493,
-0.018425924703478813,
0.0153197031468153,
0.024128645658493042,
0.008676509372889996,
0.04068510979413986,
-0.05070964992046356,
0.01773221418261528,
0.024876583367586136,
0.026279043406248093,
0.03821577876806259,
0.032031863927841187,
0.0033964819740504026
] | [
-0.0722026377916336,
-0.02897130325436592,
-0.00801860075443983,
-0.007109269965440035,
0.07929911464452744,
-0.055401887744665146,
-0.03814232721924782,
0.006460424978286028,
-0.024964261800050735,
-0.05274810642004013,
0.0015905339969322085,
-0.012967277318239212,
0.004467459861189127,
-0.020352553576231003,
0.08880450576543808,
-0.005034195724874735,
-0.03293662145733833,
-0.04566644877195358,
0.02863851934671402,
-0.000414541776990518,
-0.007334325462579727,
-0.04372849315404892,
-0.01762697659432888,
-0.010703770443797112,
0.018586229532957077,
0.014190969988703728,
0.01651037111878395,
-0.04879479855298996,
-0.02931496873497963,
-0.1996215432882309,
-0.014713628217577934,
0.014500854536890984,
0.009642370976507664,
-0.010471788235008717,
0.016656557098031044,
0.06696973741054535,
0.04554544389247894,
0.00923006422817707,
-0.03002367913722992,
0.0492204912006855,
0.034333162009716034,
0.05780063569545746,
-0.03967690467834473,
-0.0344705805182457,
0.005342251155525446,
0.005155051127076149,
0.022544292733073235,
-0.037992607802152634,
-0.016753412783145905,
0.03762427344918251,
-0.0072785657830536366,
-0.005182680673897266,
-0.03277067840099335,
-0.01340696681290865,
-0.028274450451135635,
0.046137358993291855,
0.04811243340373039,
0.06780317425727844,
0.003005257109180093,
-0.0001395604485878721,
0.024737827479839325,
-0.010666529648005962,
-0.1524052917957306,
0.03278335928916931,
0.04980024695396423,
0.03921639174222946,
-0.01540557574480772,
-0.03267909213900566,
0.010183182545006275,
0.08254620432853699,
-0.0008229446248151362,
-0.008671334944665432,
-0.04939381405711174,
0.07809244096279144,
0.0034372599329799414,
-0.01928875781595707,
0.016854621469974518,
0.05159274488687515,
0.02441897802054882,
-0.04892860725522041,
-0.030259497463703156,
0.021986713632941246,
-0.019048823043704033,
0.00037015421548858285,
-0.0445992536842823,
-0.009256966412067413,
-0.0018887568730860949,
0.0810532346367836,
0.030109059065580368,
0.03199189156293869,
0.06813186407089233,
-0.020578626543283463,
0.07095633447170258,
0.010357593186199665,
-0.06294268369674683,
-0.01874009519815445,
0.004406361375004053,
0.017974989488720894,
-0.03540270775556564,
0.4234588146209717,
-0.033711276948451996,
-0.019370537251234055,
0.058675672858953476,
0.06235890835523605,
0.015731770545244217,
0.038512781262397766,
0.037975333631038666,
-0.013547026552259922,
0.014559421688318253,
-0.007242047227919102,
0.008746427483856678,
0.006365993991494179,
0.04391362890601158,
-0.04844425991177559,
0.03590315580368042,
0.013897578231990337,
0.00000875187379278941,
0.0017277435399591923,
-0.03614109382033348,
0.028386631980538368,
-0.00291717448271811,
0.03247278928756714,
0.04459511488676071,
0.0041974131017923355,
0.013517629355192184,
-0.0030122296884655952,
0.0164431631565094,
0.03077344223856926,
0.05805565416812897,
0.007476747967302799,
0.04140426218509674,
-0.0117767583578825,
-0.06570488959550858,
0.0068162730894982815,
-0.02132372185587883,
0.004970476031303406,
0.03446067124605179,
-0.04341093823313713,
-0.027664203196763992,
-0.0021316439379006624,
-0.01818339340388775,
0.021689744666218758,
0.03446376696228981,
-0.03980754315853119,
-0.04354361072182655,
0.10027752816677094,
-0.0025315755046904087,
-0.016515402123332024,
-0.020425857976078987,
-0.09468471258878708,
-0.0021300797816365957,
0.018059439957141876,
0.03452026844024658,
-0.049726348370313644,
0.035912398248910904,
0.011008648201823235,
0.0682854875922203,
0.0026770825497806072,
-0.060904353857040405,
-0.002342707710340619,
-0.016082221642136574,
-0.03228243440389633,
-0.05473034083843231,
0.035107310861349106,
0.07615185528993607,
-0.09077922254800797,
-0.022278031334280968,
-0.014144573360681534,
0.060196783393621445,
-0.04038792848587036,
-0.02006293274462223,
0.031134741380810738,
0.029062140733003616,
-0.04217597469687462,
0.05920368432998657,
-0.02725519984960556,
-0.017877595499157906,
-0.006582952570170164,
0.04924185946583748,
0.05337919294834137,
0.016512759029865265,
0.02132435142993927,
-0.0062606194987893105,
0.023041827604174614,
-0.06729009747505188,
-0.08930566161870956,
-0.06374677270650864,
0.007402853108942509,
-0.049170948565006256,
-0.029906639829277992,
-0.03790401294827461,
-0.027432380244135857,
-0.07351020723581314,
0.061856891959905624,
-0.009520705789327621,
-0.020168060436844826,
-0.0017729639075696468,
-0.010257950983941555,
-0.018436353653669357,
-0.027292195707559586,
-0.022509893402457237,
0.05721711367368698,
-0.02225022204220295,
0.006439833901822567,
-0.10071153193712234,
0.03456329554319382,
0.039904192090034485,
-0.06186814606189728,
0.035705216228961945,
0.03223184868693352,
-0.024885600432753563,
0.011348498985171318,
0.003318804083392024,
0.021385233849287033,
-0.007266409229487181,
-0.011012572795152664,
-0.016002168878912926,
0.006218088325113058,
0.01313661690801382,
0.05905003473162651,
-0.007635817863047123,
0.015902981162071228,
-0.02659781649708748,
-0.3571440875530243,
-0.04542991891503334,
-0.014184684492647648,
0.008475899696350098,
0.06737011671066284,
-0.06084844842553139,
0.013250453397631645,
-0.019925860688090324,
-0.01659030094742775,
-0.01997060887515545,
0.08455811440944672,
-0.02404811978340149,
-0.008303376846015453,
-0.09019432216882706,
0.0028556121978908777,
0.029712393879890442,
-0.039169792085886,
-0.0129897091537714,
-0.04115021601319313,
-0.02519671432673931,
-0.025003353133797646,
-0.03953469172120094,
-0.006035415921360254,
-0.03623934090137482,
-0.0028933100402355194,
-0.023406485095620155,
0.07848740369081497,
0.006350971292704344,
0.07877957820892334,
-0.04998229071497917,
0.022764040157198906,
0.004631116520613432,
0.033318255096673965,
-0.14322638511657715,
0.005170126911252737,
0.009111994877457619,
-0.008627389557659626,
-0.0019300497369840741,
0.03737999126315117,
-0.015275212936103344,
-0.022858072072267532,
0.0162428580224514,
-0.06563747674226761,
-0.05366403982043266,
-0.048877328634262085,
-0.003973310813307762,
-0.034991998225450516,
-0.016111906617879868,
-0.02421397529542446,
0.017456229776144028,
-0.004942652769386768,
0.010450586676597595,
0.007787175942212343,
0.03140110522508621,
0.008742863312363625,
-0.04139408841729164,
-0.06329675018787384,
0.007511417847126722,
0.04195787012577057,
-0.015090495347976685,
0.02966892160475254,
0.08367086946964264,
0.03132050111889839,
-0.05607125535607338,
0.02884754166007042,
0.00808662362396717,
-0.01755424402654171,
-0.0025541477371007204,
0.04391196370124817,
-0.015104304999113083,
0.008356482721865177,
0.09479239583015442,
-0.0294820424169302,
-0.025448283180594444,
0.010643765330314636,
0.024664852768182755,
-0.010927634313702583,
-0.0024504109751433134,
-0.0089309923350811,
-0.030737556517124176,
0.025902200490236282,
-0.03999090567231178,
0.04680808261036873,
-0.024802427738904953,
-0.012081180699169636,
0.05348927900195122,
-0.029388008639216423,
-0.042403340339660645,
0.04572288319468498,
0.05339375510811806,
-0.00801344309002161,
-0.006438566371798515,
-0.010815227404236794,
-0.06324230134487152,
0.06940057873725891,
-0.014309871941804886,
-0.22268635034561157,
0.04308584704995155,
0.07112586498260498,
0.01256702933460474,
-0.009793742559850216,
0.024472888559103012,
0.05168190225958824,
-0.051464393734931946,
-0.007671870291233063,
0.023249870166182518,
0.05372085049748421,
0.05761506408452988,
-0.003873636247590184,
0.007950201630592346,
0.047674547880887985,
-0.008070703595876694,
0.05285338684916496,
0.011814186349511147,
0.02405596524477005,
-0.029789043590426445,
-0.006563507951796055,
-0.020363379269838333,
0.141276016831398,
0.00922925490885973,
0.0019172999309375882,
0.016322234645485878,
0.006369965150952339,
0.031193692237138748,
0.08712765574455261,
0.02823331393301487,
-0.013640723191201687,
0.010909011587500572,
0.03670639172196388,
0.01571303978562355,
0.035981882363557816,
-0.05270428955554962,
0.006732968147844076,
0.04078800231218338,
-0.00903746485710144,
-0.01709252968430519,
-0.044064030051231384,
0.015672806650400162,
-0.013681224547326565,
0.021242642775177956,
0.09007247537374496,
-0.08282387256622314,
-0.0015991718973964453,
-0.046814121305942535,
-0.05279050022363663,
-0.04636678844690323,
-0.025952108204364777,
-0.044557519257068634,
0.011113530024886131,
-0.018359549343585968,
0.026427363976836205,
0.08530610054731369,
0.00972752459347248,
-0.017390210181474686,
-0.020663684234023094,
0.04152066260576248,
0.01799047365784645,
-0.030497532337903976,
0.1177496612071991,
-0.004862189292907715,
0.020052339881658554
] | [
-0.01326034590601921,
-0.004207724705338478,
0.012642504647374153,
0.02443125657737255,
0.01995568536221981,
-0.007416621316224337,
-0.026035042479634285,
0.04365125298500061,
-0.006247410550713539,
0.012648307718336582,
-0.017432933673262596,
0.011374286375939846,
0.03265056386590004,
-0.007894252426922321,
0.005743411835283041,
-0.007607769221067429,
0.006976776290684938,
0.014105807058513165,
0.034269411116838455,
0.008129791356623173,
-0.048165787011384964,
0.028524348512291908,
0.010549540631473064,
0.019082488492131233,
0.032159049063920975,
-0.013928424566984177,
-0.04187643900513649,
0.024157145991921425,
0.02193208783864975,
-0.11657268553972244,
-0.015255439095199108,
-0.01842004805803299,
-0.0231084693223238,
0.028984639793634415,
0.018543601036071777,
0.0355030782520771,
-0.0027976317796856165,
-0.012213317677378654,
-0.01870172657072544,
0.0033041283022612333,
0.05530356243252754,
-0.008378406055271626,
-0.006036647595465183,
-0.01987139880657196,
0.0028098600450903177,
-0.005484739784151316,
-0.008539863862097263,
-0.019330523908138275,
-0.023808371275663376,
-0.021246956661343575,
-0.010585333220660686,
-0.03921675682067871,
-0.018058188259601593,
0.01371697522699833,
0.011882638558745384,
-0.004968560766428709,
0.021806811913847923,
-0.015771377831697464,
0.027069753035902977,
-0.013013126328587532,
0.01337555143982172,
-0.009227204136550426,
-0.04451853409409523,
-0.044091373682022095,
0.007923363707959652,
-0.018434535712003708,
-0.004130122251808643,
0.01771487668156624,
-0.0007896602037362754,
-0.0004973598988726735,
-0.004082175903022289,
0.021903133019804955,
-0.05567624792456627,
-0.006457774434238672,
-0.01700630784034729,
-0.002557840198278427,
0.02103276550769806,
-0.013774766586720943,
0.00012742984108626842,
-0.004362282808870077,
-0.03795873746275902,
0.013575141318142414,
-0.008413771167397499,
-0.0065562911331653595,
-0.013949638232588768,
0.01574842259287834,
0.012875696644186974,
0.025076312944293022,
0.04922449216246605,
0.01473036129027605,
0.009240594692528248,
0.02903393656015396,
0.010025128722190857,
0.011455981992185116,
-0.07138007879257202,
-0.037367161363363266,
0.030279872938990593,
-0.016514809802174568,
0.004377088509500027,
0.8738447427749634,
0.015556370839476585,
0.004074936266988516,
0.04710589349269867,
-0.02144060656428337,
0.017410926520824432,
0.002981846686452627,
0.017562152817845345,
0.003594266949221492,
-0.0038171762134879827,
-0.022907942533493042,
0.019790882244706154,
-0.0043736593797802925,
-0.0009257204364985228,
-0.0021030448842793703,
0.02111050672829151,
0.03017839416861534,
0.014420922845602036,
0.006659151520580053,
-0.02392515540122986,
-0.00030027658795006573,
0.021891191601753235,
-0.007968103513121605,
0.002319769002497196,
-0.005388700403273106,
0.019228726625442505,
-0.16814889013767242,
-0.006695873104035854,
-7.429723064631807e-33,
0.048766959458589554,
-0.013803775422275066,
-0.0040151821449398994,
0.0017287763766944408,
0.0044411784037947655,
-0.001594235422089696,
0.00021998349984642118,
0.0005219113663770258,
-0.02006196230649948,
-0.02906421758234501,
-0.02305983006954193,
-0.018129978328943253,
-0.011370835825800896,
-0.014456288889050484,
-0.00015538533625658602,
-0.031150009483098984,
0.00013664111611433327,
0.03462166711688042,
-0.018542718142271042,
0.04006759077310562,
0.013353629969060421,
0.015156039036810398,
-0.02186012454330921,
-0.007272022310644388,
0.0226005706936121,
-0.015025618486106396,
0.01663733460009098,
0.0005718596512451768,
0.011536989361047745,
-0.04422171786427498,
-0.00747755728662014,
0.02104196697473526,
0.0015123237390071154,
-0.00970543920993805,
-0.020397283136844635,
-0.04705115407705307,
-0.058784205466508865,
-0.0056387800723314285,
-0.03619910404086113,
-0.03570284694433212,
0.00326918950304389,
-0.00005231034811004065,
-0.056050583720207214,
-0.004678625147789717,
0.00960048008710146,
0.002677011536434293,
0.020537514239549637,
-0.01544845849275589,
0.017195027321577072,
-0.012500506825745106,
0.04932233691215515,
0.007496831938624382,
-0.013837575912475586,
-0.0074236514046788216,
0.00008090308983810246,
0.051943339407444,
-0.012979474849998951,
-0.011884990148246288,
0.017146889120340347,
-0.002436781069263816,
0.011573453433811665,
-0.011996731162071228,
-0.019903378561139107,
0.02211766690015793,
0.0019228386227041483,
0.0030498283449560404,
0.009237452410161495,
0.03806564584374428,
0.005705546587705612,
0.002554485807195306,
-0.06318604946136475,
-0.007891904562711716,
-0.01327381283044815,
-0.01896030083298683,
0.011940131895244122,
-0.001427637878805399,
0.0033549247309565544,
0.018698593601584435,
0.008814721368253231,
0.022395022213459015,
-0.009969440288841724,
-0.021872609853744507,
-0.03766292333602905,
-0.017520032823085785,
-0.010733267292380333,
0.051553577184677124,
0.04858589172363281,
-0.012320902198553085,
-0.029914330691099167,
0.0185095127671957,
0.03991030156612396,
0.01470502745360136,
0.009746727533638477,
-0.023036103695631027,
-0.03581980615854263,
7.525415651628434e-33,
-0.02957424335181713,
-0.033486511558294296,
-0.02203678898513317,
0.021117208525538445,
-0.013203145936131477,
-0.006230512633919716,
0.0002251343394163996,
-0.003448324743658304,
-0.04666795954108238,
0.023563487455248833,
-0.0102974409237504,
0.011232811957597733,
-0.05078810825943947,
0.0281389057636261,
0.03950583562254906,
-0.015540555119514465,
0.020466089248657227,
-0.015586397610604763,
0.018923509865999222,
0.02027866803109646,
0.03298887610435486,
0.0000373926704924088,
0.005421818234026432,
0.013785331510007381,
0.027824774384498596,
0.05049871653318405,
-0.02170800045132637,
0.0006297492072917521,
0.02690129354596138,
-0.03921324014663696,
0.01865396462380886,
-0.024053912609815598,
0.014295056462287903,
-0.01671583764255047,
-0.020293526351451874,
0.0286314245313406,
-0.0260647963732481,
0.017401618883013725,
-0.002584368921816349,
-0.006121199112385511,
0.007273112423717976,
0.006861128844320774,
0.0006330269970931113,
0.040320027619600296,
-0.021960042417049408,
0.007557909935712814,
0.006833488121628761,
-0.008818465285003185,
-0.02814723551273346,
0.020603526383638382,
0.005975703243166208,
-0.003958584740757942,
0.0353497751057148,
0.0013196860672906041,
0.0067795440554618835,
0.011675761081278324,
0.0011454821797087789,
0.016904396936297417,
-0.018936552107334137,
-0.01306591834872961,
-0.017490027472376823,
-0.01828797161579132,
-0.0019291193457320333,
0.0038058243226259947,
-0.035288698971271515,
-0.012950536794960499,
-0.030894726514816284,
0.004220070317387581,
-0.02161599136888981,
-0.005331769585609436,
-0.004340468905866146,
0.03993324190378189,
-0.02669840306043625,
0.00026950615574605763,
0.0205625481903553,
-0.026453237980604172,
-0.021882053464651108,
-0.01160439196974039,
-0.017294643446803093,
0.01869358867406845,
-0.002564977155998349,
0.03156067058444023,
-0.011073252186179161,
-0.001336722052656114,
-0.01990463398396969,
0.015026322565972805,
-0.03458630293607712,
0.038722071796655655,
0.04106784611940384,
-0.010652444325387478,
-0.01997319422662258,
-0.020882856100797653,
-0.018949730321764946,
0.010017909109592438,
-0.013659676536917686,
-1.3198605763875548e-8,
-0.019861608743667603,
0.02991498075425625,
-0.017689324915409088,
0.03096923977136612,
0.006055193487554789,
-0.024137595668435097,
0.00027505672187544405,
0.020121196284890175,
-0.022016122937202454,
0.019034620374441147,
0.028184160590171814,
-0.006565937306731939,
-0.008686229586601257,
0.015349934808909893,
0.013125878758728504,
-0.03348927199840546,
0.012716925702989101,
0.003232360817492008,
0.024322515353560448,
0.004719465505331755,
0.021573081612586975,
0.027255332097411156,
-0.010237650014460087,
0.03222889453172684,
0.0003364211006555706,
-0.0013170026941224933,
0.023264946416020393,
-0.043687622994184494,
-0.006656907498836517,
-0.010617055930197239,
0.03703930601477623,
-0.027031127363443375,
-0.05091157183051109,
0.03898512199521065,
-0.027449140325188637,
-0.02023700438439846,
0.01188904233276844,
-0.007740751840174198,
0.03791229799389839,
0.00932618509978056,
0.02027064748108387,
-0.023215308785438538,
0.018898872658610344,
-0.02185467630624771,
-0.054573506116867065,
-0.007684966549277306,
0.0055405558086931705,
0.0058443583548069,
0.006558559834957123,
-0.022360341623425484,
0.01055846270173788,
-0.016664501279592514,
-0.024698758497834206,
0.06043627858161926,
0.03612643852829933,
-0.0003478362923488021,
0.019784584641456604,
-0.013879692181944847,
-0.014394078403711319,
0.011023234575986862,
0.007049034349620342,
0.015652578324079514,
-0.022091517224907875,
-0.020491091534495354
] | gitmercurial-pushing-regularly | https://markhneedham.com/blog/2010/06/19/gitmercurial-pushing-regularly |
false | 2010-06-26 10:03:25 | Is 'be the worst' ever limiting? | [
"learning"
] | [
"Learning"
] | One of my favourite patterns from Ade Oshineye and Dave Hoover's 'http://apprenticeship-patterns.labs.oreilly.com/[Apprenticeship Patterns]' is 'http://apprenticeship-patterns.labs.oreilly.com/ch04.html#be_the_worst[Be the worst]' which is described as follows:
____
Surround yourself with developers who are better than you. Find a stronger team where you are the weakest member and have room to grow. Be the Worst was the seminal pattern of this pattern language. It was lifted from some advice that Pat Metheny offered to young musicians: "`Be the worst guy in every band you're in.`" Pat's advice struck a chord with Dave, and was one of the reasons he started writing this book.
____
Since I started working at ThoughtWorks it hasn't been that difficult to follow this pattern and I've been the least experienced developer on the majority of teams that I've worked on.
I always thought this was a pretty good thing as since I'm always surrounded by people who know much more than I do about various aspects of software development the opportunity to learn is very high.
Recently conversations with several different colleagues leave me questioning whether at some stage we need to move away from this pattern, perhaps temporarily to improve skills in other areas.
The authors do cover this a bit in the book:
____
Being in a strong team can make you feel as if you are performing better. *The other members of that team will often prevent you from making mistakes, and help you recover from mistakes so smoothly that you won't realize that you may not be learning as much as you think.* It's only when you work on your own that you will see how much your team increases your productivity and realize how much you have learned.
____
== Making technical decisions
One area in which I've noticed that this is true is when it comes to making technical decisions on a project. Quite often I find that even though I have an idea of what the solution to a problem should be I end up deferring the decision to someone more senior in the team.
I don't think there's a problem with discussing solutions with others in the team but it certainly seems that it would be a better learning experience to be in a situation where I was forced to make the call and then see how things went as a result of that decision.
It's certainly possible to engineer a situation where you have to make that type of decision by working on open source projects but it's still useful to get experience on real projects as well.
I guess the easiest way is to be on a team where you aren't the worst so that by default you'll end up in a position where you have to make those calls.
An alternative is for more senior people to encourage others to make decisions with the knowledge that at least they will be there to help recover the situation if it goes wrong. I've seen some of my colleagues use this approach and it seems to work reasonably well.
It's still not a perfect approach though because often someone more experienced may know intuitively that an approach isn't going to work but will struggle to explain why they know that.
== Solving problems
The other situation where 'be the worst' is perhaps limiting is when it comes to solving problems on a team.
At the first sign of being 'stuck' there is a real temptation to ask someone for help even though you might be able to solve the problem alone given enough time.
A colleague in my first job suggested that whenever I got stuck it was worth struggling with it for an hour before asking for help. I don't know if that's too prescriptive but there certainly seems to be some merit in the idea.
I'd be interested in hearing others' thoughts on this and whether there is in fact a point at which you can grow more by focusing less on learning all the time from others and more on stretching yourself to find situations in which to take the responsibility for making decisions based on that knowledge. | null | null | [
0.019087757915258408,
0.026246564462780952,
-0.013706911355257034,
0.014915692619979382,
0.09671300649642944,
0.02013765461742878,
0.02599572017788887,
0.022714942693710327,
0.03646627441048622,
-0.04996132850646973,
-0.02669837698340416,
0.022131377831101418,
-0.05730493739247322,
0.024090344086289406,
-0.051862772554159164,
0.07622679322957993,
0.07740078121423721,
-0.007820761762559414,
0.004304798319935799,
-0.010472020134329796,
0.04274144768714905,
0.07910100370645523,
0.021103346720337868,
0.049455683678388596,
0.044275302439928055,
0.002469343598932028,
0.016128864139318466,
-0.01230383850634098,
-0.038039881736040115,
0.00813998281955719,
0.038956526666879654,
-0.0071761831641197205,
0.014726941473782063,
-0.027506312355399132,
0.023919571191072464,
-0.01272872556000948,
-0.010942456312477589,
0.013817835599184036,
0.003961888141930103,
-0.00027433078503236175,
-0.08727157860994339,
0.04260300472378731,
-0.0271365474909544,
0.025452127680182457,
-0.032861124724149704,
0.011342386715114117,
-0.03131524845957756,
0.009492287412285805,
0.01565161719918251,
0.0003369603946339339,
-0.07141417264938354,
0.04665911942720413,
0.009285633452236652,
-0.013632025569677353,
-0.022486481815576553,
0.0251283198595047,
0.025437314063310623,
-0.036266688257455826,
0.011980259791016579,
-0.04815792292356491,
-0.01047041267156601,
0.006730958819389343,
-0.0018738089129328728,
0.03407076746225357,
0.009185713715851307,
-0.02948603592813015,
-0.0028816889971494675,
0.03470183163881302,
-0.03999711945652962,
-0.002937059849500656,
-0.0228926669806242,
0.009228210896253586,
-0.006359056103974581,
-0.017483120784163475,
0.0023323523346334696,
-0.05679526552557945,
0.0037206585984677076,
0.06530752032995224,
0.01280820369720459,
0.06520361453294754,
-0.012517141178250313,
0.02367500402033329,
0.02693825215101242,
0.011429434642195702,
-0.0070599643513560295,
-0.04583579674363136,
0.00153227464761585,
-0.009424697607755661,
-0.06218808516860008,
0.06108289957046509,
0.026070889085531235,
-0.06151824817061424,
0.01991311088204384,
0.051916830241680145,
0.010129904374480247,
-0.015376497060060501,
0.045783963054418564,
-0.0017526288283988833,
-0.016883734613656998,
-0.02142593450844288,
-0.015117635950446129,
-0.022117769345641136,
-0.0029037664644420147,
0.016195205971598625,
-0.07067101448774338,
-0.010341444052755833,
-0.0036537121050059795,
-0.012884030118584633,
-0.0015276230406016111,
-0.006100507453083992,
-0.047199755907058716,
0.007204983849078417,
-0.019019365310668945,
0.0049033453688025475,
-0.06323958188295364,
0.08520230650901794,
-0.007256920449435711,
-0.027374621480703354,
-0.015332934446632862,
-0.005406096577644348,
0.04065341874957085,
0.023065516725182533,
-0.007394662592560053,
0.07270698994398117,
-0.005091956350952387,
0.023717451840639114,
-0.020509906113147736,
0.06656379252672195,
0.004576472099870443,
-0.05194498226046562,
-0.026606816798448563,
0.059177983552217484,
-0.04778600484132767,
-0.0019807619974017143,
-0.014346743933856487,
-0.027891980484128,
-0.008677765727043152,
0.011188236065208912,
0.011544146575033665,
0.06578224152326584,
-0.002712910296395421,
-0.03875064477324486,
0.016069915145635605,
0.009637218900024891,
0.008386755362153053,
-0.02918553166091442,
-0.0006804462755098939,
-0.010629674419760704,
-0.01795334182679653,
-0.014068454504013062,
0.00950299296528101,
0.017880799248814583,
0.0027784870471805334,
-0.04055747389793396,
0.004272011574357748,
0.06778707355260849,
0.04984718933701515,
0.02156660705804825,
-0.016659816727042198,
0.019018331542611122,
0.04319322854280472,
0.030092116445302963,
0.025740116834640503,
0.0374571867287159,
0.006385050714015961,
0.0021981140598654747,
-0.0046245078556239605,
0.044503677636384964,
-0.02534424513578415,
0.011784281581640244,
-0.06601598113775253,
-0.01678546890616417,
0.04300559312105179,
-0.03406525403261185,
-0.0271518025547266,
0.0371989980340004,
0.05988902598619461,
0.021088717505335808,
0.04295480623841286,
0.009110712446272373,
-0.07303755730390549,
0.03344891965389252,
0.02891281060874462,
0.017513982951641083,
0.03245529532432556,
-0.01869332045316696,
0.05438196286559105,
0.027764735743403435,
0.014446739107370377,
0.05046289041638374,
-0.07733433693647385,
-0.0799497440457344,
-0.0013623615959659219,
-0.026557212695479393,
0.04965132102370262,
-0.03242283686995506,
0.013772886246442795,
0.06457368284463882,
0.015720445662736893,
0.05730142816901207,
0.02523859217762947,
-0.008958504535257816,
-0.004733037203550339,
-0.03148860111832619,
-0.04224906116724014,
0.05298934504389763,
0.010699997656047344,
0.009759003296494484,
-0.025722097605466843,
0.012055641040205956,
0.004727884661406279,
-0.023370681330561638,
0.03694293648004532,
-0.01698148250579834,
0.038502372801303864,
0.0021173034328967333,
0.04606964811682701,
-0.01979159750044346,
0.04514039307832718,
-0.03891342505812645,
-0.004103921819478273,
0.013101204298436642,
-0.021079106256365776,
0.010074065998196602,
-0.0008526793099008501,
0.11214524507522583,
0.05873091518878937,
-0.06300830096006393,
-0.025995222851634026,
0.026171045377850533,
0.011828571557998657,
-0.047674793750047684,
-0.009793300181627274,
0.014834340661764145,
0.023458322510123253,
-0.007262127939611673,
-0.07533960044384003,
-0.05078372359275818,
0.025817468762397766,
-0.059735629707574844,
-0.00026654836256057024,
0.06189537048339844,
-0.04258789122104645,
0.06780308485031128,
0.0014717160956934094,
-0.012997901067137718,
-0.007341016549617052,
-0.0032699257135391235,
-0.045016124844551086,
0.018276669085025787,
0.010809029452502728,
-0.007282183971256018,
0.04610535129904747,
-0.001798058394342661,
-0.05885806307196617,
-0.034940484911203384,
-0.06070151925086975,
0.024381401017308235,
0.05631265416741371,
0.060796238481998444,
-0.015021746046841145,
0.05713123083114624,
-0.010343576781451702,
0.04204384610056877,
0.0020744262728840113,
-0.054901473224163055,
-0.04172346740961075,
-0.0343841128051281,
0.024925757199525833,
0.01009858027100563,
-0.009352331049740314,
0.040231045335531235,
0.02075081132352352,
0.0265496876090765,
-0.02287696860730648,
-0.007514354307204485,
0.03911328688263893,
-0.015768591314554214,
-0.0032368802931159735,
-0.041535280644893646,
-0.024784792214632034,
0.07270818203687668,
-0.04631495103240013,
-0.015130974352359772,
0.011442591436207294,
-0.0801340639591217,
0.03445107489824295,
-0.04545539245009422,
-0.04000173881649971,
-0.004972708411514759,
0.004133692476898432,
0.058660779148340225,
0.009378320537507534,
0.02012777328491211,
0.04449612647294998,
-0.00032758753513917327,
0.012110844254493713,
-0.013398637063801289,
0.0018942001042887568,
0.03059249371290207,
0.0189807265996933,
0.0071756173856556416,
0.022998983040452003,
0.007814301177859306,
0.00862947478890419,
-0.03848815709352493,
0.04837314039468765,
-0.02426719479262829,
-0.2933547794818878,
0.04467451572418213,
0.023160871118307114,
-0.04572603479027748,
0.023635512217879295,
-0.040792468935251236,
0.015413510613143444,
-0.05145230516791344,
-0.01619059219956398,
0.022528067231178284,
-0.05251152440905571,
-0.04009352996945381,
-0.029495835304260254,
0.050513941794633865,
-0.009411164559423923,
0.006743757985532284,
0.018910614773631096,
-0.05772724747657776,
-0.00032379929325543344,
0.058799710124731064,
-0.016344433650374413,
-0.06175801157951355,
-0.016731979325413704,
0.036584630608558655,
0.024585824459791183,
0.06978641450405121,
-0.08024058490991592,
0.03100191056728363,
-0.07384850829839706,
-0.013180035166442394,
-0.0001305205951211974,
0.004025767557322979,
0.012490295805037022,
-0.022448638454079628,
-0.0018399826949462295,
-0.02360609918832779,
0.042540572583675385,
-0.00504662049934268,
-0.004878380801528692,
0.020605236291885376,
-0.02293901890516281,
-0.0352611280977726,
-0.010795729234814644,
0.0072403266094625,
0.07703354954719543,
0.02833547070622444,
-0.07639933377504349,
-0.02619657665491104,
-0.00559655437245965,
0.08062545210123062,
-0.05255316197872162,
-0.041208069771528244,
0.004729573614895344,
0.048629216849803925,
-0.011931168846786022,
-0.017392655834555626,
-0.012303373776376247,
-0.03522162511944771,
-0.047433752566576004,
-0.024302124977111816,
-0.012607135809957981,
-0.03962219879031181,
0.0010534956818446517,
-0.05925082042813301,
-0.010642495937645435,
-0.0642256960272789,
-0.059599656611680984,
-0.036237940192222595,
0.07509078085422516,
0.01030656322836876,
-0.021502643823623657,
0.0026404960080981255,
-0.0006260160589590669,
-0.10694660246372223,
-0.014828482642769814,
0.0003726612776517868,
-0.009815753437578678,
0.0018875000532716513,
0.02618701197206974,
0.036828186362981796,
-0.023201357573270798,
-0.06154846400022507,
0.04420967772603035,
0.013606250286102295,
0.02198662981390953,
-0.00011784569505834952,
0.021322034299373627,
0.01309437956660986,
-0.031501077115535736,
0.0032341366168111563,
0.07180711627006531,
0.03286644071340561,
-0.03992567956447601,
-0.0289083831012249,
0.03309221193194389,
0.00899068545550108,
0.02366776578128338,
-0.02599375508725643,
0.010526571422815323,
0.016371499747037888,
0.009711896069347858,
-0.06690627336502075,
0.03412633761763573,
-0.003630063496530056,
-0.016375990584492683,
-0.018948957324028015,
-0.041557472199201584,
0.03142033889889717,
0.0544968880712986,
0.0034500695765018463,
0.01269427128136158,
-0.015455074608325958,
0.022564977407455444,
-0.02837228588759899,
-0.027002155780792236,
-0.04054355248808861,
0.02071685530245304,
0.04717295989394188,
-0.017525622621178627,
0.009444094263017178,
-0.05102977901697159,
0.009066486731171608,
-0.022898294031620026,
-0.022114422172307968,
-0.06898690015077591,
-0.011484095826745033,
-0.0008951263735070825,
-0.03399243205785751,
0.021561071276664734,
0.017856774851679802,
-0.02745361253619194,
0.02527318336069584,
0.025596534833312035,
-0.043332964181900024,
0.015064244158565998,
-0.039715465158224106,
-0.07113127410411835,
-0.03964531421661377,
-0.014149542897939682,
-0.005617972929030657,
0.000878092716448009,
0.030636519193649292,
-0.013162235729396343,
0.011871570721268654,
0.0482308454811573,
0.019056130200624466,
0.008862289600074291,
-0.0387539379298687,
0.025381630286574364,
0.01206889282912016,
0.005426149349659681,
-0.053611595183610916,
0.0354667603969574,
-0.03892727941274643,
-0.02525380440056324,
-0.009214612655341625,
0.013581214472651482,
0.00009309179586125538,
-0.03344731405377388,
0.007397071458399296,
0.010619763284921646,
-0.04476296156644821,
-0.045341528952121735,
-0.030468672513961792,
0.03805766627192497,
0.05232418701052666,
-0.009524382650852203,
0.02521534450352192,
-0.01446111686527729,
0.00784315261989832,
0.018848665058612823,
0.02951078861951828,
-0.04224560782313347,
-0.007296467665582895,
-0.0016340704169124365,
0.006063799373805523,
0.009579915553331375,
-0.010534755885601044,
0.03159664198756218,
0.011485844850540161,
-0.022730831056833267,
-0.02442185953259468,
-0.00036307700793258846,
0.013535730540752411,
0.034974001348018646,
0.020030859857797623,
-0.008237062022089958,
-0.02152680791914463,
-0.025947345420718193,
-0.025703730061650276,
-0.035541120916604996,
-0.03856215998530388,
-0.014610509388148785,
0.030734721571207047,
-0.043827418237924576,
-0.0596945583820343,
0.055495813488960266,
0.032036252319812775,
0.006720425561070442,
0.01293100230395794,
0.0010566187556833029,
0.002397282514721155,
-0.018926745280623436,
0.02728610299527645,
0.04035739600658417,
-0.06861760467290878,
-0.010138141922652721,
-0.017170187085866928,
-0.008598641492426395,
0.012507434003055096,
-0.006886039860546589,
-0.029685193672776222,
0.004437863361090422,
-0.017346613109111786,
0.0017060391837731004,
-0.08635950088500977,
-0.0013628089800477028,
-0.02719704806804657,
0.015402323566377163,
-0.006824387703090906,
-0.008125776425004005,
-0.020927011966705322,
-0.020461885258555412,
-0.010695494711399078,
-0.02781522274017334,
0.02760189026594162,
-0.04483664780855179,
0.007923698984086514,
0.022404517978429794,
-0.03651414066553116,
0.0034553392324596643,
-0.0007555339252576232,
0.008463446982204914,
0.004705390427261591,
-0.013113394379615784,
-0.014446028508245945,
-0.02831735834479332,
0.002387033309787512,
0.03253576532006264,
0.044786907732486725,
-0.0026257929857820272,
-0.043043170124292374,
-0.03993561491370201,
-0.02036323957145214,
-0.017894722521305084,
0.0007372702239081264,
-0.021345943212509155,
-0.017678383737802505,
0.04018628969788551,
0.061658382415771484,
0.03505228832364082,
0.028481723740696907,
-0.02137676253914833,
-0.016549700871109962,
0.048677925020456314,
-0.061517246067523956,
-0.010342888534069061,
-0.029227333143353462,
-0.037107110023498535,
0.025164896622300148,
0.0061533511616289616,
0.02791982889175415,
-0.036396805197000504,
0.030054381117224693,
0.03142758086323738,
0.04960930719971657,
0.03444211557507515,
0.009337276220321655,
0.021213805302977562,
-0.06075797230005264,
-0.012392404489219189,
-0.09153924137353897,
0.010501692071557045,
0.02821609564125538,
0.003951925318688154,
-0.012041633017361164,
-0.009477940388023853,
-0.01999972201883793,
0.04633655026555061,
-0.07855833321809769,
-0.017970357090234756,
0.03242703527212143,
-0.006760852877050638,
-0.029560454189777374,
0.01327192597091198,
-0.056460533291101456,
0.012515053153038025,
0.02023768052458763,
-0.040658753365278244,
-0.028829608112573624,
-0.020378459244966507,
0.04878764972090721,
0.01427506934851408,
0.03130391612648964,
-0.039527684450149536,
0.018382901325821877,
0.08986440300941467,
0.024965224787592888,
0.025806717574596405,
0.05112757161259651,
-0.01369410939514637,
0.05080840736627579,
0.038156330585479736,
0.027205096557736397,
-0.0003787133318837732,
0.018792882561683655,
0.0007010067929513752,
-0.06031622365117073,
0.027708906680345535,
0.0021468468476086855,
-0.047472745180130005,
-0.04931185767054558,
0.040188368409872055,
0.0020018157083541155,
-0.02558005042374134,
-0.04872873052954674,
0.0007542070234194398,
-0.04499794542789459,
0.00602756068110466,
-0.020854266360402107,
-0.011445782147347927,
-0.04422886297106743,
0.035024601966142654,
0.017865536734461784,
0.020349577069282532,
0.07108419388532639,
0.0018715540645644069,
-0.02648400329053402,
-0.0074910190887749195,
0.09657593071460724,
0.07613581418991089,
0.07226632535457611,
0.008232629857957363,
0.07605917751789093,
-0.014428224414587021,
-0.03589744120836258,
0.01981980726122856,
0.0021184671204537153,
-0.003567912383005023,
-0.026134386658668518,
0.027857933193445206,
0.04671557992696762,
0.004024764988571405,
0.07169309258460999,
-0.023265616968274117,
-0.031591854989528656,
-0.0146105345338583,
0.027601413428783417,
0.016342833638191223,
0.06917489320039749,
-0.003836190328001976,
0.023473169654607773,
-0.009688944555819035,
-0.058025360107421875,
0.027387026697397232,
-0.02316235937178135,
-0.013968260027468204,
0.03204571083188057,
-0.013360542245209217,
0.026675239205360413,
0.03144541382789612,
0.013642408885061741,
0.06703364104032516,
-0.05800943449139595,
-0.006469751708209515,
-0.006826926488429308,
0.02185068093240261,
-0.026812393218278885,
0.000330038572428748,
-0.022125905379652977,
-0.012139779515564442,
-0.017732715234160423,
-0.030230402946472168,
-0.02927010878920555,
-0.03046504221856594,
-0.019791115075349808,
0.034804292023181915,
-0.017579475417733192,
0.0022490364499390125,
0.03979117050766945,
0.002623962704092264,
-0.03016648069024086,
-0.06038694828748703,
-0.024026798084378242,
-0.03910264000296593,
-0.06027311831712723,
-0.025311795994639397,
0.007099790032953024,
-0.0050885677337646484,
-0.029254181310534477,
0.0016974426107481122,
0.00904946681112051,
-0.04162236303091049,
0.06239015981554985,
-0.056567009538412094,
-0.020754091441631317,
0.01652708649635315,
0.04409022629261017,
0.018227705731987953,
0.01878974959254265,
0.03579902648925781,
-0.016662651672959328,
0.004863567650318146,
0.007802865002304316,
0.00503756757825613,
0.02467101626098156,
-0.007384244352579117,
0.017098844051361084,
-0.09503950923681259,
0.024742908775806427,
0.025519246235489845,
-0.02375825308263302,
-0.07161790877580643,
0.038155343383550644,
0.030983533710241318,
0.002664926927536726,
0.05063539370894432,
-0.030599134042859077,
0.0021157925948500633,
-0.04008025303483009,
0.017473017796874046,
-0.012963695451617241,
0.005243663210421801,
0.061774127185344696,
-0.03421693667769432,
0.06980602443218231,
0.011066021397709846,
-0.0075599513947963715,
-0.04397117719054222,
-0.006655662786215544,
0.013802515342831612,
-0.007628485094755888,
-0.023332815617322922,
-0.0014820778742432594,
-0.014849245548248291,
-0.07925460487604141,
-0.024600442498922348,
0.02826998569071293,
-0.029728321358561516,
-0.03973615914583206,
0.035858165472745895,
-0.000022483118300442584,
-0.0060152155347168446,
0.039161551743745804,
-0.06033824756741524,
0.05491411313414574,
-0.03602459281682968,
-0.004591162782162428,
0.00828198529779911,
0.030462967231869698,
-0.004230748862028122,
-0.01754547283053398,
0.015580265782773495,
-0.04901323467493057,
0.0005843489780090749,
-0.01750831864774227,
0.007543378043919802,
0.03106904961168766,
-0.012370883487164974,
0.002593723824247718
] | [
-0.09177665412425995,
-0.007079469971358776,
-0.017762890085577965,
-0.028421254828572273,
0.027095839381217957,
-0.02826077677309513,
-0.006354783196002245,
0.015159293077886105,
-0.005692466162145138,
-0.031915705651044846,
0.01656457595527172,
-0.01469589676707983,
0.014540228061378002,
-0.0304018072783947,
0.05613018572330475,
0.023288216441869736,
-0.010747620835900307,
-0.046713508665561676,
-0.006781185977160931,
0.007372717373073101,
0.005700896494090557,
-0.028858335688710213,
-0.046640727669000626,
-0.03495381027460098,
0.040301546454429626,
0.0069786482490599155,
0.029205072671175003,
-0.04548782855272293,
0.0032144151628017426,
-0.16360922157764435,
-0.011448604986071587,
0.01409298274666071,
0.03321890905499458,
-0.02747204899787903,
-0.00851918663829565,
0.07855961471796036,
0.008146931417286396,
0.02829207293689251,
-0.0023275408893823624,
0.031777724623680115,
-0.0003409423225093633,
0.02676740288734436,
-0.05022995173931122,
-0.04605589061975479,
0.04477313533425331,
0.014236056245863438,
-0.011683535762131214,
-0.049440089613199234,
-0.021690459921956062,
0.0004570554883684963,
-0.07869407534599304,
-0.04409182071685791,
-0.026753270998597145,
-0.01256674062460661,
0.011304022744297981,
0.015736745670437813,
0.04422704130411148,
0.06407121568918228,
-0.004238053224980831,
0.04419837146997452,
0.013668343424797058,
-0.027893459424376488,
-0.12452724575996399,
0.0809016227722168,
0.03830656781792641,
0.06227175146341324,
-0.05571979656815529,
-0.005003537982702255,
-0.04773326218128204,
0.08679769188165665,
-0.0019257020903751254,
-0.051552075892686844,
-0.0051130629144608974,
0.034957196563482285,
0.029214197769761086,
0.03218415379524231,
0.01847151480615139,
0.0057989428751170635,
0.032427478581666946,
-0.020905978977680206,
-0.02899855189025402,
-0.008198736235499382,
-0.02073708362877369,
-0.029857374727725983,
-0.026642845943570137,
0.02304518036544323,
-0.007384072057902813,
0.05421685427427292,
0.026528142392635345,
0.0341845341026783,
0.055765777826309204,
-0.007453260011970997,
0.012319371104240417,
-0.018669355660676956,
-0.07019545882940292,
-0.03894095495343208,
-0.0106763681396842,
0.015716552734375,
-0.06856886297464371,
0.4585776925086975,
-0.011522757820785046,
-0.026398781687021255,
0.08067872375249863,
0.051797572523355484,
-0.003631064435467124,
0.013322892598807812,
0.036611463874578476,
-0.06970983743667603,
0.022121131420135498,
-0.022735800594091415,
0.01029644813388586,
0.02734610065817833,
0.05494752526283264,
-0.06001583859324455,
0.0052298493683338165,
0.03930436819791794,
0.01576201245188713,
0.035899605602025986,
-0.006322138477116823,
0.005709326360374689,
0.0024104753974825144,
0.02155154012143612,
0.02471800148487091,
0.017529215663671494,
-0.023040015250444412,
-0.0543392077088356,
0.0049952613189816475,
0.050019122660160065,
0.031736552715301514,
0.00522914482280612,
0.04971570894122124,
-0.047921549528837204,
-0.046267516911029816,
0.008632265962660313,
-0.00804599653929472,
-0.000351496011717245,
0.010907182469964027,
-0.00323985842987895,
-0.012918372638523579,
0.0382998026907444,
0.022133352234959602,
-0.021120194345712662,
0.02055199444293976,
-0.004245646297931671,
-0.03667287155985832,
0.10132358223199844,
0.024068526923656464,
-0.03473074734210968,
-0.027010299265384674,
-0.01741693541407585,
0.00014167661720421165,
0.000772052735555917,
0.00016791255620773882,
-0.05773540958762169,
0.01824314519762993,
-0.004723175894469023,
0.08445032685995102,
-0.02094186656177044,
-0.05799693614244461,
0.00741195771843195,
-0.010007687844336033,
-0.01963384822010994,
-0.04272810369729996,
0.03054453432559967,
0.07496299594640732,
-0.07294753938913345,
-0.02484377846121788,
0.006546835880726576,
0.016917480155825615,
-0.054822612553834915,
-0.014079470187425613,
0.0006557184387929738,
-0.030748311430215836,
0.021686159074306488,
0.04323887079954147,
-0.020836152136325836,
-0.018022414296865463,
-0.013161377049982548,
0.05367784574627876,
0.01925933174788952,
0.032289329916238785,
0.012242642231285572,
-0.012455044314265251,
-0.0013156604254618287,
-0.018726445734500885,
-0.033817358314991,
-0.036646708846092224,
-0.02786369062960148,
-0.014752445742487907,
-0.014663265086710453,
-0.025685155764222145,
-0.008073961362242699,
-0.08348778635263443,
0.08015678822994232,
-0.03435545042157173,
-0.01406034640967846,
0.03870917484164238,
-0.04290182143449783,
-0.051515139639377594,
-0.005296514835208654,
-0.09517110884189606,
0.02567749284207821,
-0.03449876233935356,
0.022006893530488014,
-0.0603376179933548,
0.056892748922109604,
0.07103069871664047,
-0.05316806212067604,
0.09286180138587952,
0.051410265266895294,
-0.05568322911858559,
-0.06679024547338486,
0.017126984894275665,
0.012672542594373226,
0.013244396075606346,
-0.003912316635251045,
0.012429114431142807,
0.0398900993168354,
-0.005779976956546307,
0.02208758145570755,
-0.01406355481594801,
0.0202304869890213,
-0.04024083912372589,
-0.3524898588657379,
-0.028735987842082977,
-0.017043450847268105,
0.008388331159949303,
0.014662984758615494,
-0.018598351627588272,
0.016638772562146187,
-0.029738420620560646,
-0.014929322525858879,
0.021406475454568863,
0.08229251950979233,
-0.01999075524508953,
-0.0004422093625180423,
-0.0752323642373085,
-0.003862715559080243,
0.007372165564447641,
-0.03816990554332733,
-0.018616992980241776,
-0.026398448273539543,
0.011806505732238293,
0.020343227311968803,
0.007655926048755646,
-0.014903762377798557,
-0.0643443688750267,
-0.01969977095723152,
-0.033356279134750366,
0.07946625351905823,
0.0013327337801456451,
0.09425331652164459,
-0.033837322145700455,
0.033414892852306366,
0.003944888710975647,
0.028661608695983887,
-0.05995107442140579,
0.0201554074883461,
-0.03237311169505119,
0.02381264604628086,
-0.06218266114592552,
0.028608685359358788,
-0.047184061259031296,
-0.06992798298597336,
0.02061738446354866,
-0.06269928067922592,
-0.03804919868707657,
-0.09523501247167587,
0.017655223608016968,
-0.033619917929172516,
-0.039997972548007965,
-0.04116792231798172,
0.07868433743715286,
0.027783233672380447,
0.020584149286150932,
0.019688457250595093,
-0.004138824064284563,
-0.019126957282423973,
-0.04377036169171333,
-0.10808425396680832,
0.031593240797519684,
0.0033864087890833616,
-0.00835209246724844,
0.038433533161878586,
0.04098227620124817,
0.02802775241434574,
-0.06221720576286316,
0.012597018852829933,
-0.0008986436296254396,
0.012987594120204449,
0.02189277671277523,
0.049169011414051056,
-0.012012835592031479,
-0.015909545123577118,
0.0654866024851799,
0.0180906280875206,
-0.03008442558348179,
0.015392872504889965,
0.027789320796728134,
-0.030010458081960678,
0.014287239871919155,
-0.008350309915840626,
-0.016485853120684624,
0.025032080709934235,
-0.0565398745238781,
0.027977708727121353,
-0.04863473027944565,
0.004345309920608997,
0.020130081102252007,
-0.012037824839353561,
-0.041867442429065704,
0.08744236081838608,
0.02683764137327671,
-0.02780918963253498,
0.03537127748131752,
-0.022698307409882545,
-0.010995626449584961,
0.06820512562990189,
0.013799430802464485,
-0.2534013092517853,
0.01750878244638443,
0.06287473440170288,
0.03680356591939926,
-0.017118195071816444,
0.036373019218444824,
0.029354440048336983,
-0.04702438786625862,
0.012245872989296913,
0.010206234641373158,
0.051964521408081055,
0.027367303147912025,
-0.001712541445158422,
-0.002098409691825509,
0.03979475423693657,
-0.017639199271798134,
0.04599091038107872,
-0.023009875789284706,
0.026709767058491707,
0.011187700554728508,
0.012992512434720993,
0.001762476982548833,
0.16751427948474884,
-0.001525821746326983,
0.039176009595394135,
0.01521226391196251,
-0.0015086308121681213,
-0.0019193582702428102,
0.05034903436899185,
-0.01276144664734602,
0.0185430608689785,
0.01177894789725542,
0.052468184381723404,
0.03511824458837509,
0.019000012427568436,
-0.07807628065347672,
-0.03949679061770439,
0.019984764978289604,
0.016613289713859558,
0.009789194911718369,
0.012177657335996628,
0.0026353741995990276,
-0.0127480523660779,
0.0619804672896862,
0.069508396089077,
0.005058182403445244,
-0.01110757514834404,
-0.05277407914400101,
-0.05056004226207733,
-0.012837568297982216,
-0.032888900488615036,
-0.020682763308286667,
0.013771303929388523,
-0.014530758373439312,
0.005578685086220503,
0.07677461206912994,
0.05033470690250397,
-0.026500556617975235,
0.01149131078273058,
0.0005417935899458826,
-0.018348336219787598,
-0.012085032649338245,
0.10466610640287399,
0.05980214849114418,
0.039532799273729324
] | [
-0.00453214580193162,
0.012595835141837597,
0.04646051302552223,
-0.012953465804457664,
-0.01614692620933056,
-0.0039487574249506,
-0.010633059777319431,
0.02358276955783367,
-0.041581399738788605,
-0.008670122362673283,
-0.026705117896199226,
0.021452346816658974,
0.021853288635611534,
-0.02700888365507126,
0.01259134616702795,
0.0023419265635311604,
0.010096434503793716,
-0.016762686893343925,
0.014295805245637894,
-0.013312616385519505,
-0.0039277649484574795,
0.006758461706340313,
-0.03906698152422905,
-0.011887708678841591,
-0.022146398201584816,
0.0044012353755533695,
-0.017358921468257904,
0.01938771829009056,
0.02842477522790432,
-0.1442354917526245,
-0.038374800235033035,
-0.007794274482876062,
0.009767058305442333,
0.025615869089961052,
-0.03429596871137619,
0.00032047732383944094,
-0.009216370061039925,
0.01930556260049343,
0.013458543457090855,
-0.0038769107777625322,
-0.004419801756739616,
-0.017031094059348106,
-0.014550971798598766,
-0.0030991865787655115,
-0.018284043297171593,
-0.01732725091278553,
0.011935768648982048,
-0.060652345418930054,
-0.013387377373874187,
-0.026425033807754517,
-0.03968658298254013,
-0.051876552402973175,
0.038355614989995956,
0.010922159068286419,
0.002286604605615139,
0.017166603356599808,
0.029883956536650658,
0.03002993017435074,
0.012995519675314426,
0.019783493131399155,
0.02015027403831482,
-0.04123163968324661,
-0.06112424284219742,
-0.014936186373233795,
-0.02021605707705021,
0.0026474290061742067,
-0.0038814775180071592,
0.015619087964296341,
-0.04999321699142456,
0.012122097425162792,
-0.0033527289051562548,
-0.010958842001855373,
-0.022743428125977516,
-0.02894212119281292,
0.038966838270425797,
0.016674451529979706,
0.0017290434334427118,
-0.019934004172682762,
0.03028673492372036,
-0.0168994702398777,
-0.02646835707128048,
0.012971648946404457,
-0.012690613977611065,
-0.021464714780449867,
0.014818977564573288,
-0.011819261126220226,
0.018254850059747696,
-0.04054160788655281,
0.02517532929778099,
0.010583027265965939,
-0.023034926503896713,
0.004440583288669586,
-0.008870251476764679,
0.019435971975326538,
-0.07442595809698105,
0.02469407208263874,
-0.009679587557911873,
-0.015253000892698765,
-0.020720751956105232,
0.8496081829071045,
-0.028044138103723526,
0.011760596185922623,
0.03405166417360306,
0.0029363753274083138,
0.00488766934722662,
-0.0035226137842983007,
-0.011325947940349579,
-0.006007783580571413,
0.005580749828368425,
-0.027387036010622978,
-0.006187994498759508,
0.012708826921880245,
0.018895277753472328,
0.021725840866565704,
0.03234795480966568,
0.02604750357568264,
0.018586229532957077,
0.030825097113847733,
-0.00801845733076334,
0.008186355233192444,
0.020264212042093277,
0.023677323013544083,
-0.004015744663774967,
0.03125706687569618,
0.01893518678843975,
-0.19366616010665894,
0.022771179676055908,
-8.763496995108346e-33,
0.0708983764052391,
-0.007404789794236422,
-0.017130736261606216,
-0.017463285475969315,
0.031241178512573242,
-0.04701168090105057,
0.038018178194761276,
0.0671347826719284,
0.001163755776360631,
-0.025428975000977516,
0.023772191256284714,
-0.005142969079315662,
0.006428128108382225,
-0.028253914788365364,
0.024127807468175888,
0.003951353020966053,
-0.004786384757608175,
0.026852427050471306,
-0.006847599521279335,
0.00951417163014412,
0.03459122031927109,
0.027691500261425972,
-0.024117853492498398,
-0.014678851701319218,
0.008502017706632614,
0.018085902556777,
-0.008479173295199871,
-0.014734017662703991,
-0.008279003202915192,
-0.03841568902134895,
-0.035170264542102814,
0.023137154057621956,
-0.016360586509108543,
-0.015758559107780457,
-0.004397927317768335,
-0.02210669033229351,
-0.041757795959711075,
0.016630295664072037,
0.009975097142159939,
-0.03235284239053726,
-0.0213706623762846,
-0.004165444057434797,
-0.0041907187551259995,
-0.010289964266121387,
0.00765952980145812,
-0.005647342652082443,
0.009763837791979313,
-0.015598193742334843,
0.02933921106159687,
0.005826858337968588,
-0.006471606902778149,
-0.006378797814249992,
0.02259068563580513,
0.016176316887140274,
0.027926340699195862,
0.012963100336492062,
0.008826167322695255,
0.018999196588993073,
-0.005284597631543875,
0.0446246936917305,
0.036130815744400024,
0.010959713719785213,
-0.020366095006465912,
0.05551445856690407,
-0.030605114996433258,
-0.036423880606889725,
0.007797551807016134,
0.0137947304174304,
0.04630640894174576,
-0.03437744081020355,
-0.06570088118314743,
0.006651832722127438,
-0.012321499176323414,
-0.033155668526887894,
0.00608114805072546,
0.003349188482388854,
0.0022952703293412924,
0.017428351566195488,
-0.014973307959735394,
0.0026243459433317184,
-0.008565584197640419,
0.012697595171630383,
-0.04697069153189659,
-0.029809288680553436,
-0.0019905853550881147,
0.03158451244235039,
0.034747689962387085,
-0.018488524481654167,
0.016048142686486244,
0.011350034736096859,
-0.0036314220633357763,
-0.007179235108196735,
-0.026759739965200424,
0.011200103908777237,
-0.008493208326399326,
8.230797485462241e-33,
0.03325396776199341,
0.0035373629070818424,
-0.0008190914522856474,
-0.017280083149671555,
0.046275824308395386,
0.0003241723752580583,
0.04324297234416008,
0.013853645883500576,
-0.05461098998785019,
0.0488445945084095,
-0.01739523932337761,
0.015552463941276073,
-0.01394934393465519,
-0.0004069663118571043,
-0.009616736322641373,
-0.04283559322357178,
-0.01997004635632038,
-0.028391990810632706,
0.03991618752479553,
-0.024939753115177155,
-0.01020657829940319,
0.022802604362368584,
-0.005957023240625858,
0.015974868088960648,
-0.0011263506021350622,
0.03360876813530922,
-0.02276758663356304,
0.0443916916847229,
0.0014689674135297537,
0.011077693663537502,
0.0018799514509737492,
0.002836137544363737,
0.027102231979370117,
-0.018041787669062614,
-0.004831813741475344,
0.014273936860263348,
-0.016789095476269722,
-0.012103336863219738,
0.002195776207372546,
-0.0035454868339002132,
0.012524797581136227,
0.0049626706168055534,
0.007085312623530626,
0.013106441125273705,
0.022694705054163933,
-0.020756980404257774,
-0.004161647520959377,
-0.04648296907544136,
-0.035244282335042953,
-0.004379405174404383,
0.009171451441943645,
0.001064330106601119,
0.007171656936407089,
0.005879092495888472,
-0.015350339002907276,
0.0037210583686828613,
-0.010014346800744534,
0.0017454144544899464,
-0.011495938524603844,
0.029387811198830605,
-0.005396211054176092,
0.018366405740380287,
-0.025542788207530975,
0.009066975675523281,
-0.038624465465545654,
0.009247046895325184,
-0.014393406920135021,
0.006849102210253477,
-0.004432269372045994,
0.03188738599419594,
-0.034797303378582,
0.017466560006141663,
0.018418192863464355,
0.0302736759185791,
-0.01603078283369541,
-0.034234486520290375,
-0.013108734972774982,
0.019464632496237755,
-0.04428118094801903,
0.022116754204034805,
0.004012451972812414,
0.010820936411619186,
0.018301406875252724,
0.05023806169629097,
-0.003399334382265806,
0.03692065179347992,
0.002750642830505967,
0.04158802703022957,
0.01678375154733658,
-0.016899824142456055,
0.0022259035613387823,
-0.036770064383745193,
-0.0040303682908415794,
0.0032269246876239777,
-0.008138734847307205,
-1.3890023353724246e-8,
-0.011011576279997826,
0.0006323533598333597,
0.002502083545550704,
0.023793313652276993,
0.021000737324357033,
-0.020479775965213776,
-0.018865026533603668,
-0.0008452186593785882,
-0.023481382057070732,
0.03467583656311035,
0.03505398705601692,
-0.029257548972964287,
-0.002670929068699479,
0.008942360058426857,
0.03661812096834183,
-0.0021321324165910482,
-0.011549183167517185,
0.013941450975835323,
0.022937064990401268,
-0.017013389617204666,
0.03297607600688934,
0.04588289558887482,
-0.005122140981256962,
0.04892620071768761,
0.0255961325019598,
-0.016160301864147186,
-0.01309908740222454,
-0.07720468938350677,
-0.03109801933169365,
0.04665512219071388,
-0.0035120246466249228,
-0.01621384546160698,
-0.004689780529588461,
-0.014302581548690796,
-0.008339953608810902,
-0.013896559365093708,
0.028976673260331154,
-0.03849174827337265,
-0.00160450697876513,
-0.001204245607368648,
-0.03152124956250191,
0.013609632849693298,
-0.00024615731672383845,
-0.03141345828771591,
-0.001401890767738223,
0.008190786466002464,
-0.005097214598208666,
-0.016109058633446693,
0.037160877138376236,
-0.043611325323581696,
-0.002702987752854824,
0.001954802079126239,
-0.0007431268459185958,
0.010717115364968777,
0.015945684164762497,
-0.006448071915656328,
-0.05045968294143677,
0.0013702649157494307,
-0.06254909187555313,
0.0015284304972738028,
0.029845260083675385,
0.0361165888607502,
0.019033342599868774,
-0.030903032049536705
] | is-be-the-worst-ever-limiting | https://markhneedham.com/blog/2010/06/26/is-be-the-worst-ever-limiting |
false | 2010-06-21 21:30:20 | iPad: First thoughts | [
"ipad"
] | [
"Software Development"
] | I've had the iPad for about a month now and since my colleagues http://martinfowler.com/bliki/iPad.html[Martin Fowler], http://memeagora.blogspot.com/2010/06/ipad-good-bad-and-ugly.html[Neal Ford] and http://skizz.biz/blog/2010/05/01/thoughts-on-the-ipad/[Chris Stevenson] have already previously written about their experiences with it I thought I'd share the way I'm using it as well.
== Twitter
I follow a lot of people involved in software development on twitter and come across a lot of interesting articles/blogs that people link to or write. A lot of the time I don't really want to read those posts when I come across them - it would be much better if I could just save them to read later on.
Before I had the iPad the way I did this was just by having loads of tabs open on Chrome which tended to result in my computer grinding to a halt because of the memory being consumed by having all those articles open.
On the iPad I've been making use of the http://www.osfoora.com/[Osfoora HD] twitter client which is integrated with http://www.instapaper.com/[Instapaper] - an application which allows you to save web pages and then read them offline.
I'm online most of the time so I was initially unsure how much value I'd get out of it. I now *read almost every technical article I come across via Instapaper*.
I've been posting to twitter way more because it's now so easy to post links there which is the main way that I use it.
== Reading technical material
Before I bought the iPad I wanted to make sure that I'd be able to read pdfs on it. I have a lot of technical books as pdfs and I've wanted to buy a device that would allow me to read those more easily since I don't like reading pdfs on my laptop unless they're purely coding books.
Luckily the http://www.goodiware.com/goodreader.html[Good Reader] application allows me to do exactly that and the ability to crop the pages to be exactly how you want is fantastic and something that I'd never even thought of until I saw it.
I use Google Reader for my RSS feeds so none of the RSS reader applications really appealed to me until I came across http://reederapp.com/[reeder] which basically sits on top of Google Reader and downloads all the unread items for offline viewing.
It's integrated with twitter as well so I can easily post any interesting things that I read.
== Blogging
I'm using the http://blogpress.coollittlethings.com/[Blog Press] application which I've found to be better than the Word Press one because it allows me to cut and paste text around the post - I found that I couldn't do this with the Word Press application.
Ben Parr has a more extensive post on http://mashable.com/2010/04/03/can-you-blog-from-an-ipad/[his experiences blogging from the iPad] but overall for me it's still not as good as blogging from http://www.red-sweater.com/marsedit/[Mars Edit] on the Mac.
It's a bit of a hassle copying links into posts because you need to manually write the Html to do so which is pretty painful in itself but also because you have to keep switching to other applications to get the links in the first place.
I have been using BlogPress to quickly copy/paste any interesting quotes from the blogs that I read but more often than not I end up posting it as a draft and then tidying it up with Mars Edit later on.
== Videos
Watching videos on the iPad is amazing - the picture is obviously much bigger than it would be on an iPhone and it's much more convenient than it would be on a laptop.
I watch technical videos now and then for which the http://www.inmethod.com/air-video/index.html[Air Video] application comes in really handy. It can convert any video files you have on your computer to a format that can be watched on the iPad although there are several formats which work without conversion as well.
http://www.infoq.com/[InfoQ] and http://skillsmatter.com/[Skills Matter] both frequently post technical presentations and this week http://search.twitter.com/search?q=ndc2010[NDC 2010] has made a lot of the presentations from that conference available to download. | null | null | [
0.007896523922681808,
0.02348526380956173,
0.022929558530449867,
0.05196845903992653,
0.10620767623186111,
0.015875903889536858,
-0.013822708278894424,
0.05820915475487709,
0.016239142045378685,
-0.020732184872031212,
-0.009409363381564617,
-0.006376856938004494,
-0.04396028071641922,
0.008972269482910633,
-0.023637235164642334,
0.07051979005336761,
0.04769871383905411,
0.009938656352460384,
0.02675713412463665,
-0.007182930130511522,
0.02143651433289051,
0.063087098300457,
0.014014950022101402,
0.022330015897750854,
0.032465748488903046,
-0.016954706981778145,
0.025783564895391464,
0.017106693238019943,
-0.04936442896723747,
-0.013077239505946636,
0.03648010641336441,
0.00574931176379323,
0.006687631830573082,
-0.003528134897351265,
0.03175707161426544,
-0.02328319661319256,
-0.007803805638104677,
0.013808843679726124,
-0.017761852592229843,
0.008601258508861065,
-0.07376910001039505,
0.03222528472542763,
-0.03512942045927048,
-0.002484420081600547,
-0.042396578937768936,
0.00006765266880393028,
-0.022113734856247902,
0.012052619829773903,
-0.000960152770858258,
0.01347353309392929,
-0.06415428221225739,
0.047895174473524094,
-0.011356835253536701,
-0.009950154460966587,
-0.015912188217043877,
0.06295613944530487,
0.011522412300109863,
-0.05637979879975319,
0.01573345810174942,
-0.011872190982103348,
0.008903962559998035,
-0.006066055968403816,
0.013856643810868263,
0.0471196211874485,
0.016743304207921028,
-0.03948560729622841,
0.005467080045491457,
0.03859686478972435,
-0.042954981327056885,
0.03323374316096306,
-0.021780099719762802,
0.025058967992663383,
-0.012536565773189068,
-0.01817537099123001,
0.030379299074411392,
-0.03952275216579437,
0.01915459707379341,
0.06991259008646011,
0.03129930794239044,
0.04897746071219444,
-0.020803367719054222,
0.018931670114398003,
-0.018734067678451538,
0.04827149957418442,
-0.05067071318626404,
-0.03539254516363144,
-0.03562416881322861,
-0.011642132885754108,
-0.061915431171655655,
0.03696856275200844,
0.008712341077625751,
-0.043222591280937195,
0.010333633050322533,
0.04022897779941559,
-0.005943646188825369,
-0.01852673664689064,
0.015176120214164257,
-0.0035007561091333628,
-0.01698358729481697,
-0.011922058649361134,
-0.012900504283607006,
-0.02596137672662735,
-0.001640465809032321,
0.008171919733285904,
-0.06543508917093277,
0.011766133829951286,
-0.02339811809360981,
-0.004095364827662706,
0.03073577582836151,
-0.014187351800501347,
0.013412244617938995,
0.022768815979361534,
-0.036397870630025864,
0.0011276404839009047,
-0.04787415266036987,
0.06589553505182266,
0.023685261607170105,
-0.03689465671777725,
-0.024143649265170097,
0.0043867467902600765,
0.025069810450077057,
0.030750388279557228,
-0.010605213232338428,
0.06659925729036331,
0.000036885347071802244,
-0.018601978197693825,
-0.02971022203564644,
0.031719859689474106,
-0.029186107218265533,
-0.02990816719830036,
-0.0022071227431297302,
0.042876843363046646,
-0.015510265715420246,
-0.012443209066987038,
0.014905891381204128,
-0.02053510956466198,
0.007883637212216854,
0.014507083222270012,
0.06402992457151413,
0.0426095649600029,
-0.0033932493533939123,
-0.047650355845689774,
-0.016964172944426537,
0.005075861234217882,
0.030623262748122215,
-0.013331801630556583,
0.005165282636880875,
0.0007699348498135805,
-0.03870566189289093,
-0.024394787847995758,
0.010640239343047142,
-0.0398537740111351,
0.008498155511915684,
-0.03800397738814354,
0.008582389913499355,
0.08151597529649734,
0.04702724888920784,
0.055936891585588455,
-0.0037702301051467657,
0.04244043678045273,
0.025053925812244415,
0.03446659445762634,
0.009782399982213974,
0.013342820107936859,
0.013714618049561977,
-0.010514499619603157,
-0.0054208096116781235,
0.0803641751408577,
0.011087428778409958,
-0.0086311474442482,
-0.06801094859838486,
-0.04800606518983841,
0.051900237798690796,
-0.04267397150397301,
-0.03775164112448692,
0.08019613474607468,
0.08614812791347504,
0.03406200557947159,
0.0253433920443058,
-0.007189640309661627,
-0.07368511706590652,
0.031110437586903572,
0.04930802434682846,
0.030444860458374023,
0.0012674765894189477,
-0.010751296766102314,
0.07033049315214157,
0.032199062407016754,
0.003200473031029105,
0.013200606219470501,
-0.06701896339654922,
-0.08074347674846649,
-0.013696257956326008,
-0.011174081824719906,
0.06235797330737114,
-0.041054174304008484,
0.03307311609387398,
0.06705357879400253,
0.0035814817529171705,
0.06294646859169006,
-0.0015008675400167704,
-0.000479114823974669,
0.02496628649532795,
-0.06382875889539719,
-0.05397988483309746,
0.021439963951706886,
0.0306886974722147,
-0.008212372660636902,
-0.019551590085029602,
0.004977894481271505,
-0.010831194929778576,
-0.014133765362203121,
0.05573365464806557,
-0.01607366092503071,
0.016956137493252754,
0.0017808220582082868,
0.06328986585140228,
-0.03541937842965126,
0.0375528447329998,
-0.03984498605132103,
0.00012626480020117015,
0.006551756523549557,
0.004776771645992994,
0.02013947255909443,
0.0077053578570485115,
0.11974736303091049,
0.051456477493047714,
-0.04978293180465698,
-0.040235135704278946,
0.000026782108761835843,
-0.011561166495084763,
-0.033599983900785446,
0.005293554626405239,
-0.02357599325478077,
-0.001996884820982814,
-0.005280738230794668,
-0.05676195025444031,
-0.03268270194530487,
0.03160862997174263,
-0.028031673282384872,
-0.005769387353211641,
0.046066805720329285,
-0.008303667418658733,
0.06263256818056107,
0.011426538228988647,
0.005550933536142111,
-0.03485891595482826,
-0.002437121933326125,
-0.027862610295414925,
-0.02552676945924759,
0.039434850215911865,
-0.006942178122699261,
0.030706236138939857,
-0.018481124192476273,
-0.002825662260875106,
-0.029411250725388527,
-0.035254448652267456,
0.05207226052880287,
0.05617870017886162,
0.06171458214521408,
-0.03674641251564026,
0.0565214604139328,
-0.008777733892202377,
0.04856804013252258,
-0.009245619177818298,
-0.04754743352532387,
-0.04998327046632767,
-0.049975283443927765,
-0.018955765292048454,
0.05709853023290634,
0.021007612347602844,
0.01905812695622444,
0.016411136835813522,
0.03174100071191788,
-0.009564776904881,
-0.003858349984511733,
0.04720113053917885,
-0.0005956548266112804,
0.009958552196621895,
-0.05859952047467232,
-0.023465698584914207,
0.062164805829524994,
-0.02513887546956539,
-0.04650811105966568,
0.0033831114415079355,
-0.10041370987892151,
0.054261382669210434,
-0.039050549268722534,
-0.04056670516729355,
-0.008165201172232628,
0.013598036952316761,
0.02485152706503868,
0.03447035700082779,
0.030756821855902672,
0.056638192385435104,
0.02486291714012623,
-0.007256704848259687,
-0.015110357664525509,
-0.02641335502266884,
0.011795270256698132,
-0.009008143097162247,
-0.012189177796244621,
0.05934474244713783,
0.01165457721799612,
0.019125092774629593,
-0.05196386203169823,
0.03967989236116409,
-0.05249611288309097,
-0.2834879457950592,
0.03853974491357803,
0.025794262066483498,
-0.050225790590047836,
0.0036802846007049084,
-0.015069401822984219,
0.004698517266660929,
-0.07076404243707657,
-0.021931838244199753,
0.035767603665590286,
-0.04246055334806442,
-0.014025043696165085,
-0.03189816698431969,
0.0036118037533015013,
0.008781133219599724,
0.021456418558955193,
0.01856434904038906,
-0.03452659025788307,
-0.00014035850472282618,
0.04251441732048988,
-0.008102045394480228,
-0.06979691982269287,
0.009560671634972095,
0.030861377716064453,
0.04645702615380287,
0.04782743379473686,
-0.0608522854745388,
0.014690843410789967,
-0.049234725534915924,
0.010591006837785244,
0.012183655984699726,
-0.010761577636003494,
0.007972903549671173,
-0.013596449978649616,
-0.028578706085681915,
-0.019904766231775284,
0.06368395686149597,
0.007211014162749052,
0.0062997834756970406,
0.0194861963391304,
0.009085848927497864,
-0.027830958366394043,
-0.008779727853834629,
0.00660330755636096,
0.05686112493276596,
-0.005762770771980286,
-0.07539558410644531,
-0.019752899184823036,
-0.03101060539484024,
0.07583831250667572,
-0.028902702033519745,
-0.04718460142612457,
-0.029563482850790024,
0.034418877214193344,
-0.0061899409629404545,
0.002531086327508092,
-0.013278752565383911,
-0.030185921117663383,
-0.05282824486494064,
-0.047524988651275635,
-0.016583837568759918,
0.001768004149198532,
-0.03462075814604759,
-0.03597945347428322,
0.01772521436214447,
-0.08011065423488617,
-0.05950406566262245,
-0.014389151707291603,
0.09218990057706833,
0.06515255570411682,
-0.047526340931653976,
0.010768922045826912,
0.01677628420293331,
-0.09792536497116089,
0.0022740354761481285,
0.005155563820153475,
-0.022908035665750504,
0.04692429304122925,
0.01600942574441433,
0.03989537060260773,
-0.04337671026587486,
-0.05822465196251869,
0.02075348049402237,
-0.004094192758202553,
0.036160945892333984,
-0.05871771275997162,
0.0025971336290240288,
0.022367410361766815,
0.02830387093126774,
0.018695879727602005,
0.07527197152376175,
-0.02154257334768772,
-0.007632747292518616,
-0.01566566340625286,
-0.008140395395457745,
0.013095286674797535,
0.034655556082725525,
0.00016674899961799383,
0.017340324819087982,
0.0504453182220459,
0.00778490724042058,
-0.03826696425676346,
0.010665333829820156,
-0.022717082872986794,
0.005145845003426075,
0.0007230921764858067,
-0.04876001551747322,
-0.0008327014511451125,
0.01981900818645954,
-0.007327256724238396,
-0.030371254310011864,
-0.03828895464539528,
0.01244294922798872,
-0.06994180381298065,
-0.04432573541998863,
-0.02170366421341896,
0.04155430942773819,
0.04824039340019226,
-0.014943522401154041,
-0.03210456669330597,
-0.03783782199025154,
-0.009943490847945213,
-0.01187144499272108,
-0.024591295048594475,
-0.06843426823616028,
-0.016967618837952614,
-0.014192439615726471,
-0.004121353849768639,
0.0077953338623046875,
-0.0010638786479830742,
-0.009357105009257793,
-0.01957566663622856,
0.006772095803171396,
-0.03672178462147713,
-0.006488835904747248,
-0.04157865792512894,
-0.0451689288020134,
-0.059396855533123016,
0.007098763715475798,
-0.003315569134429097,
0.00440547801554203,
0.010671434924006462,
-0.008893812075257301,
0.005161104258149862,
0.0686442032456398,
-0.008170556277036667,
0.031032104045152664,
0.02101472206413746,
0.000660172663629055,
0.019749699160456657,
-0.024258771911263466,
-0.05805838108062744,
0.009549167938530445,
-0.01049119420349598,
-0.04460377246141434,
-0.005177828948944807,
0.04349540174007416,
-0.03007947839796543,
-0.03400035575032234,
0.005102407652884722,
0.028372125700116158,
-0.04283452406525612,
-0.03289259597659111,
-0.014941606670618057,
0.01166399847716093,
0.053163815289735794,
-0.020919589325785637,
0.03457394987344742,
0.02232646569609642,
-0.000025027986339409836,
0.0228387713432312,
0.007035506889224052,
-0.02298072539269924,
0.008809644728899002,
0.005146568641066551,
0.0014690989628434181,
-0.00012742851686198264,
0.002012919867411256,
0.06578516215085983,
0.022375905886292458,
-0.020231181755661964,
-0.059457797557115555,
0.019860684871673584,
0.02329343929886818,
0.0576682910323143,
0.030445851385593414,
-0.028700681403279305,
-0.007185541559010744,
-0.030757952481508255,
-0.024442162364721298,
-0.024836014956235886,
-0.011079374700784683,
-0.014787981286644936,
-0.008586857467889786,
-0.019239313900470734,
-0.0874248743057251,
0.04022796452045441,
-0.01335201971232891,
0.02066230960190296,
0.018050162121653557,
-0.03078985959291458,
0.008335220627486706,
-0.04569655656814575,
0.0445697084069252,
0.031949520111083984,
-0.06168848276138306,
-0.0011483614798635244,
0.000032822918001329526,
-0.005455938633531332,
0.021232083439826965,
0.0077683646231889725,
-0.05979359149932861,
0.017789345234632492,
-0.0052353194914758205,
0.01711881533265114,
-0.038615696132183075,
-0.0009619685588404536,
-0.03090832568705082,
0.002658825134858489,
-0.0009817274985834956,
-0.012179359793663025,
-0.030276717618107796,
-0.03287161886692047,
-0.019472643733024597,
-0.03184179589152336,
0.041566401720047,
-0.010179492644965649,
-0.020029250532388687,
0.018610334023833275,
-0.07262667268514633,
0.024722008034586906,
-0.028397196903824806,
0.029208054766058922,
0.02780415490269661,
-0.03603638708591461,
0.014497820287942886,
-0.06052318215370178,
0.007757821120321751,
-0.0012320047244429588,
0.05885092541575432,
-0.007806556764990091,
-0.03835195675492287,
-0.05281868577003479,
-0.006671550218015909,
-0.04031658172607422,
0.01962372660636902,
-0.02709732949733734,
-0.004035125020891428,
0.014815754257142544,
0.055363744497299194,
0.007244369480758905,
0.029405692592263222,
-0.01735129952430725,
0.00316142151132226,
0.03630749508738518,
-0.06166791915893555,
-0.014598490670323372,
-0.029193110764026642,
-0.06486953794956207,
0.022001149132847786,
0.01931893825531006,
0.03655992075800896,
-0.03308313339948654,
0.05460687354207039,
0.03339430317282677,
0.012738844379782677,
0.0360427163541317,
-0.008887173607945442,
0.03293443098664284,
-0.03500569239258766,
-0.01748143881559372,
-0.07891608029603958,
0.003112377366051078,
0.024628568440675735,
-0.003203020431101322,
-0.007521477062255144,
0.04045439511537552,
-0.01753334142267704,
0.04949243739247322,
-0.08142606914043427,
-0.01453324779868126,
0.02268526889383793,
0.00908510759472847,
-0.034563422203063965,
0.005513687618076801,
-0.055789053440093994,
0.03550773113965988,
0.0358475036919117,
-0.04400378838181496,
-0.009187388233840466,
0.008498608134686947,
0.056623104959726334,
0.0045104543678462505,
0.02916708216071129,
0.0017266415525227785,
-0.022414743900299072,
0.0634021982550621,
0.003336965339258313,
-0.015358776785433292,
0.05348963290452957,
0.0034629590809345245,
0.031170031055808067,
0.03855806589126587,
0.006102591287344694,
0.0037893401458859444,
0.0038231369107961655,
-0.005436433479189873,
-0.0635991171002388,
0.010097179561853409,
-0.019314929842948914,
-0.054442159831523895,
-0.026427580043673515,
0.05870592221617699,
0.025544321164488792,
-0.004662532825022936,
-0.06261064857244492,
0.031083106994628906,
-0.03257890045642853,
-0.029267458245158195,
-0.02938220091164112,
0.004065956920385361,
-0.03159821033477783,
0.0322299525141716,
-0.025457527488470078,
0.002488927450031042,
0.05599357932806015,
0.019223157316446304,
-0.008196359500288963,
-0.03258041664958,
0.08436013013124466,
0.08681844919919968,
0.06150007247924805,
-0.011141839437186718,
0.07819570600986481,
-0.006789233069866896,
-0.04053116589784622,
0.008950777351856232,
0.006482762284576893,
-0.022319776937365532,
-0.02824539691209793,
0.014307184144854546,
0.054776255041360855,
-0.026166114956140518,
0.07806260883808136,
-0.023426368832588196,
-0.020638009533286095,
-0.02200191654264927,
0.05016572028398514,
0.028020774945616722,
0.027394335716962814,
-0.005992914084345102,
0.03969603776931763,
-0.030144259333610535,
-0.054769519716501236,
0.047964487224817276,
-0.047326795756816864,
-0.013093824498355389,
0.022652434185147285,
-0.008736792951822281,
0.03572375699877739,
-0.021062392741441727,
0.055610377341508865,
0.06182312220335007,
-0.03354130685329437,
0.03061939962208271,
-0.0003852485679090023,
0.040759358555078506,
0.005422599613666534,
0.024924544617533684,
-0.02966270036995411,
0.0010937793413177133,
-0.012401877902448177,
-0.019871585071086884,
0.003063316224142909,
-0.02790486253798008,
-0.008567660115659237,
0.007267482578754425,
-0.04730541631579399,
-0.0026149931363761425,
0.032306086272001266,
-0.0017983217258006334,
-0.04968040809035301,
-0.056881073862314224,
-0.031034156680107117,
-0.015155062079429626,
-0.05494110286235809,
-0.01249097753316164,
-0.0009618512121960521,
0.006897548213601112,
-0.048474401235580444,
-0.0293661430478096,
-0.04550725221633911,
-0.016431115567684174,
0.034383080899715424,
-0.05404210463166237,
-0.03091616742312908,
-0.012808825820684433,
0.02781887911260128,
-0.00366153079085052,
0.029887398704886436,
0.05782867223024368,
-0.013786626979708672,
-0.03262122720479965,
-0.025893010199069977,
0.010604452341794968,
0.05982813984155655,
0.025995928794145584,
0.010070139542222023,
-0.10658443719148636,
0.005992003250867128,
0.023373505100607872,
0.008813533931970596,
-0.056971851736307144,
-0.002326006768271327,
0.02566852793097496,
-0.014839268289506435,
0.048458974808454514,
-0.025759607553482056,
0.020030969753861427,
-0.040570635348558426,
0.018526500090956688,
-0.005994744598865509,
0.010919101536273956,
0.05225365236401558,
-0.004413356073200703,
0.09018641710281372,
-0.00486084446310997,
0.026058383285999298,
-0.04341031238436699,
-0.004149882588535547,
0.00288895471021533,
0.020422618836164474,
-0.036682505160570145,
-0.004674656316637993,
-0.02604171633720398,
-0.04547795280814171,
-0.043175168335437775,
0.011604943312704563,
-0.03161872923374176,
-0.032213080674409866,
0.031914468854665756,
0.01210093218833208,
0.00042702953214757144,
0.016451722010970116,
-0.04028845578432083,
0.016599141061306,
-0.006907195318490267,
-0.001891467603854835,
-0.0009370051557198167,
0.009891420602798462,
0.002548178192228079,
-0.0035471851006150246,
0.0046067265793681145,
-0.04683338478207588,
-0.011477138847112656,
-0.018910465762019157,
0.007677286863327026,
0.018012085929512978,
0.003061122726649046,
0.00012016645632684231
] | [
-0.06535104662179947,
-0.029348699375987053,
-0.0037982387002557516,
-0.029081210494041443,
-0.0005575551185756922,
-0.06105276197195053,
0.022903455421328545,
0.03493855148553848,
0.0006643265369348228,
-0.006063263863325119,
-0.04133253172039986,
0.005411060061305761,
0.006115940399467945,
0.01833438314497471,
0.07097174227237701,
-0.004455328453332186,
0.06370839476585388,
-0.14414241909980774,
-0.018929338082671165,
0.03182453289628029,
0.017909077927470207,
-0.028065240010619164,
0.011675287038087845,
-0.014397707767784595,
-0.003215256379917264,
0.00212965440005064,
0.04336913302540779,
-0.020850662142038345,
0.0048788185231387615,
-0.14978456497192383,
0.0026596193201839924,
0.0116493608802557,
0.038924690335989,
0.008795030415058136,
-0.0291455015540123,
0.027731377631425858,
-0.0018554398557171226,
0.01643543690443039,
0.019853414967656136,
0.013337768614292145,
-0.006440178956836462,
0.009398848749697208,
-0.057701025158166885,
0.0015613664872944355,
0.0825076475739479,
0.02964734099805355,
0.0024303083773702383,
-0.03584833815693855,
0.03558211773633957,
-0.005792524199932814,
-0.03675806522369385,
-0.003846988081932068,
0.006567627657204866,
-0.057532522827386856,
-0.011073723435401917,
0.041074614971876144,
0.017603743821382523,
0.06586012244224548,
0.020910046994686127,
0.03623974323272705,
0.0542588047683239,
0.012500258162617683,
-0.1061619371175766,
0.17668470740318298,
0.012482899241149426,
0.0314539410173893,
-0.03754056617617607,
-0.008051596581935883,
-0.004472765140235424,
0.0565941259264946,
0.01835169829428196,
-0.0072579034604132175,
0.016423171386122704,
0.03557498753070831,
-0.003091511782258749,
0.01821051724255085,
0.025586390867829323,
0.03503765910863876,
-0.03592749685049057,
-0.05535861849784851,
0.01907619833946228,
0.026130584999918938,
-0.02497759461402893,
0.005536970682442188,
-0.02067551575601101,
0.010478287935256958,
-0.017488017678260803,
0.015463805757462978,
0.021194279193878174,
0.0026749884709715843,
0.019256889820098877,
-0.02053719386458397,
0.04227858781814575,
-0.007188865914940834,
-0.10785505175590515,
-0.0647069662809372,
0.0198277048766613,
0.006843470502644777,
-0.06358864158391953,
0.4212462306022644,
-0.00997152179479599,
-0.01400973554700613,
0.10264653712511063,
0.005824775900691748,
-0.021840302273631096,
-0.01783694513142109,
0.019388431683182716,
-0.07586590200662613,
-0.009634408168494701,
-0.012666208669543266,
0.030307834967970848,
0.013819407671689987,
0.03436102718114853,
0.0018125214846804738,
0.05850791558623314,
0.019077230244874954,
0.0366964153945446,
0.036289285868406296,
0.052485644817352295,
-0.02000424452126026,
-0.06482136994600296,
0.021082011982798576,
0.0007423629285767674,
-0.014028568752110004,
-0.025355925783514977,
-0.0859278216958046,
0.044925518333911896,
0.05227706953883171,
0.007157443556934595,
-0.006978554651141167,
0.02411084622144699,
-0.04758404940366745,
-0.09038548171520233,
-0.003834203351289034,
0.013032034039497375,
0.013163149356842041,
0.006169833242893219,
-0.0465191975235939,
0.02351483702659607,
0.018566062673926353,
-0.013708209618926048,
-0.026014920324087143,
0.04080228507518768,
0.01580544374883175,
-0.010389760136604309,
0.11024769395589828,
0.06238846853375435,
-0.03699476644396782,
-0.033845335245132446,
-0.03133375197649002,
0.03730781376361847,
0.059250909835100174,
0.025733472779393196,
-0.06689613312482834,
0.016595058143138885,
0.026363326236605644,
0.08550430089235306,
-0.01719627156853676,
-0.055032555013895035,
0.003577020252123475,
-0.0017514368519186974,
-0.009981412440538406,
-0.0691930428147316,
-0.011271011084318161,
0.059298671782016754,
-0.13786442577838898,
0.0017220970476046205,
0.022318575531244278,
0.006485950667411089,
-0.05238819122314453,
-0.011902258731424809,
0.00968858040869236,
-0.046965405344963074,
0.015319213271141052,
0.0558893121778965,
-0.02443806082010269,
-0.046779364347457886,
0.022557351738214493,
0.026574600487947464,
-0.018670953810214996,
-0.0031234954949468374,
-0.042233023792505264,
-0.0430602952837944,
0.014868788421154022,
-0.020377421751618385,
-0.05481509491801262,
-0.005054445471614599,
-0.01358671486377716,
0.030782831832766533,
0.007133840583264828,
-0.0071019665338099,
-0.02739061415195465,
-0.12362119555473328,
0.089227095246315,
-0.05253802612423897,
-0.029973022639751434,
0.008996199816465378,
-0.0065178945660591125,
-0.0060885907150805,
-0.005398594308644533,
-0.019448544830083847,
-0.04521876946091652,
-0.06836218386888504,
0.035439182072877884,
-0.007583640515804291,
0.06090101599693298,
0.011062618345022202,
-0.042402610182762146,
0.08660704642534256,
0.027477500960230827,
-0.006331789772957563,
-0.02515343949198723,
0.027436954900622368,
-0.02059399150311947,
-0.014617962762713432,
-0.05050017684698105,
0.012299495749175549,
0.019614238291978836,
0.027396349236369133,
0.0088476138189435,
0.0021790950559079647,
-0.01822916604578495,
-0.010158088989555836,
-0.32788604497909546,
-0.03595834597945213,
-0.04584307223558426,
0.010026758536696434,
0.0012211330467835069,
-0.07879837602376938,
0.012165730819106102,
-0.025066565722227097,
0.02432091347873211,
0.02021985687315464,
0.05188564211130142,
-0.04698827117681503,
0.06066470965743065,
-0.049778103828430176,
0.013534349389374256,
0.020915480330586433,
-0.009876525029540062,
-0.006730280350893736,
-0.006018012762069702,
0.026096496731042862,
-0.009431654587388039,
0.026301680132746696,
-0.026313265785574913,
-0.05292715132236481,
-0.0011156934779137373,
-0.004396078176796436,
0.10926801711320877,
0.03472089022397995,
0.04309830814599991,
-0.04147396981716156,
0.0412805899977684,
0.04307786002755165,
-0.002793144667521119,
-0.1290590912103653,
-0.01609968952834606,
0.010819435119628906,
0.016939423978328705,
-0.03013664484024048,
-0.013227499090135098,
-0.06130775064229965,
-0.04246467724442482,
0.06148829311132431,
-0.02608153223991394,
-0.04595986381173134,
-0.0923338457942009,
-0.004758751485496759,
-0.02456274814903736,
-0.024007469415664673,
-0.027183836326003075,
0.09778148680925369,
0.004385358188301325,
-0.006838022265583277,
0.005010027438402176,
0.043721165508031845,
0.014595992863178253,
-0.04710257798433304,
-0.08072032779455185,
0.03973164036870003,
-0.02514825575053692,
0.0069505032151937485,
0.008008348755538464,
0.05102772265672684,
0.027781669050455093,
-0.07698599994182587,
-0.02000805363059044,
0.02941114827990532,
-0.025683755055069923,
0.03199251741170883,
0.01973092369735241,
-0.00899579469114542,
-0.01691310480237007,
0.07167889177799225,
-0.021368522197008133,
0.045503418892621994,
0.02114780806005001,
0.01799808070063591,
0.02389199659228325,
0.05645805224776268,
0.008322768844664097,
0.002410163404420018,
0.0025726521853357553,
0.004896378610283136,
0.05141419544816017,
-0.021941078826785088,
-0.047267161309719086,
0.02908426709473133,
0.012695384211838245,
-0.06653215736150742,
0.04265348240733147,
-0.016034066677093506,
-0.014934134669601917,
0.012029335834085941,
0.0019516133470460773,
-0.07890816777944565,
0.09855586290359497,
-0.008447390981018543,
-0.2287364900112152,
-0.002529806224629283,
0.05907585471868515,
0.07984118908643723,
0.0007022913196124136,
0.005085660610347986,
0.005803912412375212,
-0.030304813757538795,
0.030816487967967987,
0.048574600368738174,
-0.012610268779098988,
0.03866337612271309,
-0.03756211698055267,
-0.026940198615193367,
0.03160984441637993,
-0.007513954304158688,
0.047515977174043655,
0.004280752036720514,
-0.012806208804249763,
-0.016363879665732384,
0.017124371603131294,
-0.044748734682798386,
0.12588851153850555,
-0.002654092153534293,
-0.014877607114613056,
0.0005596452974714339,
-0.014592306688427925,
0.03185480460524559,
0.03419804573059082,
0.014395718462765217,
-0.004721364937722683,
-0.037869542837142944,
-0.00015681443619541824,
0.021016614511609077,
0.027301033958792686,
-0.0894850566983223,
-0.056966472417116165,
0.017841607332229614,
0.035707030445337296,
0.006207067519426346,
0.02850547805428505,
0.02613692730665207,
-0.0701640397310257,
0.030192144215106964,
0.050988830626010895,
0.025321761146187782,
-0.02560405433177948,
-0.0002833045437000692,
-0.02872757986187935,
-0.03207361698150635,
0.002705890452489257,
-0.07218277454376221,
0.026061613112688065,
0.019641535356640816,
0.008017100393772125,
0.03766758367419243,
0.023572364822030067,
-0.03613066300749779,
0.0069489190354943275,
0.005557837430387735,
-0.013807046227157116,
0.0007370360544882715,
0.07014420628547668,
0.057862117886543274,
0.07650303840637207
] | [
-0.017577774822711945,
-0.00838196836411953,
-0.04168020561337471,
-0.015072035603225231,
0.033165499567985535,
-0.020037466660141945,
0.00620041461661458,
-0.004938064608722925,
0.021597333252429962,
-0.009224407374858856,
0.031535178422927856,
0.03239535912871361,
-0.01816272735595703,
-0.034368932247161865,
0.024426953867077827,
-0.016954103484749794,
-0.015354632399976254,
-0.022492848336696625,
0.013438183814287186,
0.0019571997690945864,
-0.032915208488702774,
0.04105345532298088,
0.03618200495839119,
-0.013315561227500439,
0.005399919580668211,
-0.006921130698174238,
-0.022756380960345268,
-0.021753842011094093,
0.028890760615468025,
-0.10541491210460663,
0.0028859719168394804,
-0.019211526960134506,
-0.04432399943470955,
0.025369975715875626,
-0.05587977543473244,
-0.01882028579711914,
-0.016775034368038177,
-0.0027831962797790766,
0.006789958570152521,
-0.00950875785201788,
-0.007774800062179565,
-0.050800371915102005,
-0.04687283933162689,
0.05626378580927849,
0.0025322753936052322,
-0.026357701048254967,
-0.015615057200193405,
-0.000137192037072964,
-0.014576313085854053,
0.019185440614819527,
-0.050547290593385696,
-0.005160870496183634,
-0.05196960270404816,
-0.004612282384186983,
0.003968983888626099,
-0.005524895153939724,
0.017186656594276428,
0.03221678361296654,
0.05252436548471451,
0.03583529591560364,
0.012481017038226128,
-0.04316220432519913,
0.011325306259095669,
-0.010396619327366352,
0.021794050931930542,
-0.008587229996919632,
-0.004808919969946146,
0.008822845295071602,
-0.007280284073203802,
0.019687987864017487,
0.0110285310074687,
0.029676441103219986,
0.019142810255289078,
-0.005092446692287922,
-0.01091201975941658,
-0.014092760160565376,
-0.002667277120053768,
0.008621872402727604,
-0.025899143889546394,
-0.010073377750813961,
0.005494489334523678,
0.037120524793863297,
0.03814822435379028,
0.04796731844544411,
0.010123800486326218,
-0.012970349751412868,
0.003742310218513012,
-0.010233084671199322,
0.003673197003081441,
0.026249898597598076,
-0.007835880853235722,
0.036384668201208115,
-0.00018973734404426068,
0.023562116548419,
-0.11667905002832413,
-0.03158706799149513,
0.030021604150533676,
-0.03819453343749046,
-0.03371583670377731,
0.8183559775352478,
0.0016133772442117333,
0.01170556154102087,
0.05614856258034706,
0.02260415442287922,
-0.007770623080432415,
-0.014528535306453705,
0.03230377659201622,
-0.024348393082618713,
0.018537325784564018,
-0.006188972387462854,
0.04913654550909996,
-0.0033573952969163656,
-0.01742091216146946,
0.001892940839752555,
0.02168036438524723,
0.004295980092138052,
0.028164653107523918,
0.040582325309515,
0.054942019283771515,
0.018682263791561127,
-0.031899403780698776,
0.06876181066036224,
-0.026779234409332275,
-0.032526079565286636,
-0.017509911209344864,
-0.13640883564949036,
0.025714725255966187,
-6.694903913517533e-33,
0.027868809178471565,
0.03071597032248974,
-0.028947828337550163,
-0.007779571693390608,
0.002489215461537242,
-0.05223192274570465,
-0.001017299946397543,
0.056267186999320984,
0.003455098019912839,
-0.02982572466135025,
0.017296474426984787,
-0.012373322620987892,
-0.03738679364323616,
-0.03796873241662979,
0.033200014382600784,
-0.023093463853001595,
-0.013627673499286175,
0.024931304156780243,
0.026075266301631927,
0.021028736606240273,
0.021123036742210388,
0.00963196437805891,
0.018596667796373367,
-0.013619815930724144,
-0.0013427910162135959,
0.011787707917392254,
0.014234683476388454,
-0.027275366708636284,
-0.03225409984588623,
-0.040555618703365326,
-0.026671508327126503,
0.016194019466638565,
-0.040318336337804794,
-0.08712369203567505,
-0.01806969754397869,
-0.06666109710931778,
-0.03314736485481262,
-0.004478754475712776,
0.007484305649995804,
-0.01686205342411995,
-0.08386847376823425,
-0.022682376205921173,
-0.003922092728316784,
-0.03491448611021042,
-0.014820311218500137,
0.0012672948651015759,
0.004331842064857483,
0.01096599455922842,
-0.0029976805672049522,
-0.018386777490377426,
-0.01718621701002121,
-0.04584759846329689,
0.0022949192207306623,
-0.01894252933561802,
-0.031047986820340157,
0.018290895968675613,
-0.01625632680952549,
-0.014203239232301712,
0.033581897616386414,
0.03380962461233139,
0.033081576228141785,
-0.027847781777381897,
-0.003241919679567218,
-0.010047169402241707,
-0.04338536784052849,
0.005316866096109152,
0.031852349638938904,
0.009552329778671265,
0.00919568445533514,
-0.03807083144783974,
-0.04876549914479256,
-0.01511539425700903,
-0.007307479623705149,
-0.009089297614991665,
-0.0072738127782940865,
0.010019287467002869,
-0.02262788638472557,
0.020547963678836823,
-0.000955007562879473,
0.013687011785805225,
0.007110795471817255,
0.011004630476236343,
0.028457410633563995,
-0.03445575758814812,
-0.0354745015501976,
0.012516134418547153,
0.020049147307872772,
-0.010966320522129536,
-0.008702914230525494,
0.032214004546403885,
0.03575574979186058,
0.06501760333776474,
-0.003586067585274577,
-0.02261575683951378,
-0.03419695794582367,
6.28287404177112e-33,
-0.0010462632635608315,
-0.002779437694698572,
-0.05051160976290703,
0.0033648095559328794,
-0.022047940641641617,
0.006410060450434685,
0.015627961605787277,
0.028918622061610222,
-0.04623540863394737,
0.02427956461906433,
-0.003258304437622428,
0.0018626181408762932,
-0.03295248746871948,
-0.031439632177352905,
0.03230273723602295,
-0.0013978861970826983,
-0.017424985766410828,
-0.043296344578266144,
0.0033861047122627497,
-0.03148375824093819,
0.015309741720557213,
0.003621892537921667,
0.02460128255188465,
0.01422354206442833,
0.08149444311857224,
0.02026214450597763,
0.003698536194860935,
0.006555289030075073,
0.015875104814767838,
0.02179287187755108,
0.03921084851026535,
-0.038452815264463425,
0.013187003321945667,
0.016401542350649834,
0.0038157363887876272,
0.029262185096740723,
-0.0041805836372077465,
0.0003034114488400519,
0.01929091475903988,
0.0015278775244951248,
0.07855402678251266,
0.008996580727398396,
0.01667107455432415,
0.006731213070452213,
-0.014539380557835102,
0.05120222270488739,
0.02511712536215782,
0.003050448838621378,
0.004332767333835363,
-0.0022209864109754562,
0.016676153987646103,
0.04764286428689957,
-0.023763619363307953,
-0.014198950491845608,
-0.029698532074689865,
-0.01578119397163391,
0.002103977371007204,
-0.011739063076674938,
-0.055846963077783585,
-0.01862470991909504,
-0.03853137046098709,
-0.015386132523417473,
-0.023999638855457306,
-0.005092233419418335,
-0.028632400557398796,
-0.04206203296780586,
-0.03198609873652458,
0.033311378210783005,
0.03175530210137367,
-0.006874246522784233,
0.017020341008901596,
-0.023206690326333046,
0.014575889334082603,
0.012171045877039433,
0.03585686534643173,
-0.008898986503481865,
0.07649663835763931,
-0.002913548145443201,
-0.035355109721422195,
0.007686137221753597,
0.02194555662572384,
0.06928091496229172,
-0.0030177489388734102,
-0.014042546972632408,
-0.012556079775094986,
0.02315889112651348,
-0.019265053793787956,
-0.0261984895914793,
-0.024642083793878555,
0.010793033055961132,
0.009910346940159798,
0.01638013683259487,
0.000056531931477366015,
0.022765766829252243,
0.009103694930672646,
-1.2462235687848988e-8,
-0.05188393220305443,
0.008977080695331097,
0.01286463811993599,
-0.0017577154794707894,
0.028811927884817123,
-0.005385497584939003,
0.002972937887534499,
0.024544399231672287,
0.012788594700396061,
-0.005184381268918514,
-0.0007679895497858524,
-0.06043285131454468,
-0.01713033765554428,
0.0434509739279747,
-0.00746526662260294,
-0.026114841923117638,
-0.014075917191803455,
-0.01377756055444479,
0.028311533853411674,
-0.0207754485309124,
0.04595156013965607,
0.010153347626328468,
-0.016472266986966133,
-0.011087413877248764,
0.02715296857059002,
0.025871451944112778,
-0.03359717130661011,
-0.07554414123296738,
-0.02627786435186863,
0.03133723884820938,
-0.011394650675356388,
-0.044325973838567734,
-0.034711066633462906,
0.004339259583503008,
0.01722458377480507,
-0.017588047310709953,
0.032425735145807266,
-0.014716701582074165,
-0.007634208537638187,
-0.00311897206120193,
0.008717305958271027,
-0.008354255929589272,
0.011261407285928726,
-0.0314025804400444,
-0.02440139278769493,
0.0034650505986064672,
-0.026785099878907204,
0.01166064664721489,
0.05643519386649132,
-0.004899395629763603,
0.009265117347240448,
-0.028176721185445786,
0.06479429453611374,
0.061094801872968674,
-0.0006105104694142938,
-0.04649058356881142,
0.04220286384224892,
-0.01965050771832466,
-0.0133521081879735,
0.008141947910189629,
0.047838300466537476,
0.028564577922225,
-0.010548718273639679,
0.0017225060146301985
] | ipad-first-thoughts | https://markhneedham.com/blog/2010/06/21/ipad-first-thoughts |
false | 2010-06-09 15:29:44 | XP2010: General thoughts | [
"xp2010"
] | [
"Software Development"
] | I had the chance to attend the http://xp2010.org/[XP2010 conference] in Trondheim, Norway for a couple of days last week as I was presenting a lightening talk based on a blog post I wrote last year titled 'http://www.markhneedham.com/blog/2009/08/13/challenging-projects-and-the-five-stages-of-grief/[Tough projects and the Kubler Ross Grief Cycle]'.
It was interesting to see the way another conference was organised as the only other conference I've attended was QCon which is a much more technical conference.
It seemed that a lot of people I spoke to were coming to the same types of conclusions around different software development issues.
Notably that it only makes sense to refactor code mercilessly if we're actually working around a specific piece of code and that having a target velocity is fairly pointless but seems to be necessary when working with stakeholders who aren't used to an agile approach.
David Anderson did the day's keynote which was titled 'http://multimedie.adm.ntnu.no/mediasite/SilverlightPlayer/Default.aspx?peid=8c850097b1864449ab2f9b035a786211[Catalyzing Lean: Building a Limited WIP Society in Your Organization]'.
There were a couple of standout points from this talk for me:
* He talked about using a Work in Progress limit with respect to the number of stories that we can have in each swim lane of the story wall and how it can be used to provoke conversation in the team. For example if we notice that there are no items currently being tested then we need to look back to *the place just before that i.e. in development to see where the bottleneck in our process is*. We can then have a conversation about what we can do to fix that. David pointed out that it still takes leadership to make the conversation happen - just using a WIP limit won't fix all our problems.
* He also showed the idea of using opportunity cost of delay diagrams showing what happens if deliver something late so that we can see which features really are a priority. This is linked with the idea of each story having a *class of service*. If the client loses a lot of money if a story isn't completed by a certain date then this would become a very high priority story for us to complete and it would have a high class of service. This seems like a much more useful way of working out the priority of stories as we now understand exactly why something is high priority rather than it just being because someone said it is.
Another interesting session that I attended was one run as a series of Pecha Kucha's where several high profile agilists described their 'http://multimedie.adm.ntnu.no/mediasite/SilverlightPlayer/Default.aspx?peid=2cb930a5b6444cf8afd7fcd96b7b0c61[Agile Suitcase]' - a list of items that they would take around with them whenever they have to coach the agile approach to software development.
There were lots of cool ideas but the most interesting to me was Joshua Kerievsky's where he mentioned that running an *agile readiness assessment* as something that he likes to do with new clients.
I've not come across the idea before but it strikes me at least as an approach that would help to get some data on what level agile coaches should start at when working in this type of role.
I don't know much more about what it entails but found http://twitter.com/JoshuaKerievsky/status/8081104517[the following on twitter from Kerievsky]:
____
An Agile Readiness Assessment is a time to demonstrate your agility, assess their resistance, explore their future and gain mutual trust.
____
Another interesting idea from a 'Learning and Improvement' lightning talk about 'Agile teams and rescue dogs' was that of *selecting the team member with the least experience as the team leader*.
In the rescue dogs organisation the goal of the leader would be to ensure that the right leader was leading the team depending on the situation.
The leader would vary depending on the situation and the expertise required which seems like it should fit quite well in agile teams.
I've not worked in a team where this approach was taken but it seems like something interesting to try out. | null | null | [
0.006831496953964233,
-0.015827471390366554,
-0.013538558967411518,
0.046837978065013885,
0.07726453989744186,
0.0009528743103146553,
0.0009784218855202198,
0.05483156442642212,
0.014389464631676674,
-0.009268321096897125,
-0.034329868853092194,
-0.004630882292985916,
-0.048321519047021866,
0.0201125405728817,
-0.027074670419096947,
0.06853802502155304,
0.04953717440366745,
-0.01407166849821806,
0.02888386882841587,
0.019112136214971542,
0.0298648402094841,
0.06343468278646469,
0.03705291077494621,
0.04093269258737564,
0.026318706572055817,
0.004479633178561926,
0.003948728553950787,
-0.012945116497576237,
-0.062116846442222595,
-0.010763494297862053,
0.035384442657232285,
0.003533470444381237,
-0.0010172289330512285,
0.0060663954354822636,
0.02784627303481102,
-0.016786107793450356,
-0.018227407708764076,
0.04328957200050354,
-0.0023730024695396423,
0.008137035183608532,
-0.07364796847105026,
0.04693083465099335,
-0.02617294155061245,
0.002585800364613533,
-0.024467606097459793,
0.008457996882498264,
-0.03931661695241928,
-0.004121764097362757,
-0.006174951326102018,
0.0017854527104645967,
-0.0747639611363411,
0.017835408449172974,
0.0022168238647282124,
0.02546074613928795,
-0.011982866562902927,
0.03364824131131172,
0.014243313111364841,
-0.05091925710439682,
-0.0025236017536371946,
-0.03546692430973053,
-0.020839806646108627,
-0.017226289957761765,
-0.001995507162064314,
0.044600799679756165,
0.02698006108403206,
-0.03714140132069588,
0.0077544767409563065,
0.027403011918067932,
-0.01941308006644249,
-0.012332876212894917,
-0.015967776998877525,
0.02638276293873787,
-0.006489928346127272,
-0.007482996676117182,
0.011519638821482658,
-0.05350713059306145,
0.010118463076651096,
0.051330871880054474,
0.027717141434550285,
0.03920155018568039,
-0.021645572036504745,
0.015515962615609169,
0.011292601935565472,
0.047641243785619736,
-0.029110195115208626,
-0.03618917614221573,
0.013965057209134102,
-0.02546939253807068,
-0.06884317845106125,
0.057674456387758255,
0.018654173240065575,
-0.06837081909179688,
0.023474104702472687,
0.036075204610824585,
0.013502835296094418,
0.01918068341910839,
0.0306426789611578,
0.012701914645731449,
-0.004656294360756874,
-0.014186703599989414,
-0.016392521560192108,
-0.006159196142107248,
-0.019809288904070854,
0.0129582853987813,
-0.07780765742063522,
-0.007121316157281399,
-0.029372550547122955,
-0.01751408912241459,
-0.00949197169393301,
0.003087986959144473,
-0.030741747468709946,
0.018118681386113167,
-0.0066109588369727135,
0.011190029792487621,
-0.08042889088392258,
0.05350026115775108,
0.005142195150256157,
-0.06198810786008835,
-0.00016568329010624439,
-0.029391715303063393,
0.041394397616386414,
0.036015063524246216,
-0.014931969344615936,
0.08285142481327057,
-0.0012283052783459425,
0.02518344484269619,
-0.028414998203516006,
0.06791234761476517,
-0.01598828099668026,
-0.06111983582377434,
-0.0018052579835057259,
0.04477974772453308,
-0.027941349893808365,
-0.02761479653418064,
0.0034422497265040874,
-0.024643462151288986,
0.008622943423688412,
-0.0014605693286284804,
0.02394559234380722,
0.029084356501698494,
-0.003420761087909341,
-0.02971556782722473,
0.010657555423676968,
0.027161402627825737,
0.030653178691864014,
-0.012293498031795025,
-0.017999570816755295,
-0.036154452711343765,
-0.03718554228544235,
-0.01669974997639656,
0.0030567115172743797,
-0.0024032960645854473,
0.01570119522511959,
-0.06538944691419601,
0.030803363770246506,
0.08369823545217514,
0.03770209103822708,
-0.001142940716817975,
-0.021422158926725388,
0.024342643097043037,
0.02119653858244419,
0.02184728905558586,
0.0037766569294035435,
0.027457337826490402,
-0.0037975835148245096,
0.007701662834733725,
-0.001689124503172934,
0.026282161474227905,
0.004627705086022615,
-0.006187425460666418,
-0.05430282652378082,
-0.021662434563040733,
0.04462592303752899,
-0.04659877344965935,
-0.03412424772977829,
0.04040039703249931,
0.08650266379117966,
0.06102994829416275,
-0.002192187123000622,
0.006302746012806892,
-0.08350629359483719,
0.008253047242760658,
-0.000769860518630594,
0.019988147541880608,
0.03606230765581131,
-0.048582810908555984,
0.056350477039813995,
0.02900359407067299,
-0.01998443529009819,
0.05173908546566963,
-0.09279302507638931,
-0.0827399492263794,
-0.03264790028333664,
-0.012554686516523361,
0.05117231234908104,
-0.03668132424354553,
0.028737938031554222,
0.052779994904994965,
0.014662942849099636,
0.07067643851041794,
0.03032509610056877,
0.0012448867782950401,
0.005637516267597675,
-0.04142765328288078,
-0.051468685269355774,
0.06949783861637115,
0.04177844524383545,
-0.008101879619061947,
-0.05980110913515091,
0.01135367900133133,
-0.007451415527611971,
0.0009973125997930765,
0.04681126028299332,
-0.005522779654711485,
0.03885834664106369,
-0.008495028130710125,
0.04954947903752327,
-0.040251024067401886,
0.0317424014210701,
-0.04043668881058693,
0.021020881831645966,
0.0038088939618319273,
-0.01745365746319294,
0.017212586477398872,
0.01086338423192501,
0.10684789717197418,
0.041662927716970444,
-0.041679151356220245,
-0.036652255803346634,
0.029301000759005547,
0.008144167251884937,
-0.014614495448768139,
-0.01119633112102747,
-0.02193089947104454,
0.032685186713933945,
-0.020245660096406937,
-0.06571090221405029,
-0.044239342212677,
0.003914543427526951,
-0.04178870469331741,
0.03665878623723984,
0.055227842181921005,
-0.005018477328121662,
0.07070239633321762,
-0.017298193648457527,
0.015049595385789871,
-0.006215203553438187,
-0.03181638941168785,
-0.049195095896720886,
0.013684635981917381,
-0.005084585398435593,
-0.01906963624060154,
0.051618874073028564,
-0.007819006219506264,
-0.02897898480296135,
-0.025762327015399933,
-0.02070174366235733,
0.005411187186837196,
0.0563228614628315,
0.06888269633054733,
0.008448755368590355,
0.06313037127256393,
-0.02849835529923439,
0.03585708886384964,
0.004253941588103771,
-0.0576949268579483,
-0.04743579030036926,
-0.05027414485812187,
0.012799178250133991,
0.030811605975031853,
0.02291886694729328,
0.016002045944333076,
0.023122504353523254,
-0.0074581364169716835,
-0.00821494497358799,
-0.029989659786224365,
0.019272996112704277,
-0.0026405497919768095,
-0.016647139564156532,
-0.018557514995336533,
-0.020709259435534477,
0.03674750402569771,
-0.03986054286360741,
-0.010381471365690231,
0.0013683561701327562,
-0.06745801866054535,
0.024419274181127548,
-0.0738973617553711,
-0.036613866686820984,
-0.009240804240107536,
0.01171928457915783,
0.04387112706899643,
0.024342600256204605,
0.022332357242703438,
0.07703808695077896,
0.019459187984466553,
0.016747890040278435,
-0.011902861297130585,
-0.03407684713602066,
0.03307540714740753,
-0.009340663440525532,
-0.018031856045126915,
0.034748539328575134,
-0.01277362834662199,
-0.003811232978478074,
-0.06305823475122452,
0.06699135899543762,
-0.05247810482978821,
-0.29052141308784485,
0.02820678800344467,
0.005019273143261671,
-0.04013144224882126,
0.01739616133272648,
-0.0015175698790699244,
0.011172895319759846,
-0.05300965905189514,
-0.026966961100697517,
-0.009385991841554642,
-0.03661176562309265,
-0.03526594117283821,
-0.018402088433504105,
0.02963421121239662,
0.01572287455201149,
0.04759820178151131,
0.04152112826704979,
-0.02341936156153679,
0.03359205275774002,
0.04287018999457359,
-0.013449207879602909,
-0.06736158579587936,
0.0017817255575209856,
0.03625473752617836,
0.029653524979948997,
0.0585293248295784,
-0.07860324531793594,
0.04743575677275658,
-0.04261108115315437,
-0.014308072626590729,
0.03292598947882652,
0.0003399804700165987,
-0.002891196869313717,
-0.016402967274188995,
-0.004494109191000462,
-0.0012825627345591784,
0.05347283557057381,
0.009086915291845798,
-0.01316214818507433,
-0.013179788365960121,
0.003261022735387087,
-0.03259309381246567,
0.008069805800914764,
0.01736188679933548,
0.07371274381875992,
0.019346322864294052,
-0.07929769903421402,
-0.0014279327588155866,
-0.017004886642098427,
0.07479556649923325,
-0.014619650319218636,
-0.029469048604369164,
-0.009110809303820133,
0.042293697595596313,
-0.01420848723500967,
-0.03088080696761608,
-0.031569723039865494,
-0.020138265565037727,
-0.04197201132774353,
-0.027335161343216896,
-0.016687702387571335,
-0.025832045823335648,
-0.006848679855465889,
-0.05897734686732292,
0.009170331992208958,
-0.04999189078807831,
-0.06734738498926163,
-0.0048647006042301655,
0.0731598362326622,
-0.012838817201554775,
-0.020266570150852203,
0.010896625928580761,
-0.0025456410367041826,
-0.1081828698515892,
-0.018341466784477234,
0.0016630570171400905,
-0.027498729526996613,
0.011538296937942505,
0.020920520648360252,
0.04213755205273628,
-0.03507034853100777,
-0.04762013629078865,
0.017571650445461273,
0.011341497302055359,
0.023967647925019264,
-0.0069614602252841,
0.04932638630270958,
0.019006159156560898,
-0.022904323413968086,
0.011474673636257648,
0.04790463298559189,
-0.004153745714575052,
-0.04562770202755928,
-0.022958828136324883,
0.026019036769866943,
-0.014256029389798641,
0.02360559068620205,
0.002967533655464649,
0.011911162175238132,
0.02902068942785263,
-0.019037645310163498,
-0.06554922461509705,
0.012230334803462029,
-0.03238065168261528,
-0.007500481326133013,
0.006317987106740475,
-0.03898080810904503,
0.003907536156475544,
0.041550155729055405,
0.02864108979701996,
0.019713619723916054,
-0.013270396739244461,
0.01882140524685383,
-0.04848233982920647,
-0.021593043580651283,
-0.007433867081999779,
0.015202413313090801,
0.057449206709861755,
-0.013815407641232014,
-0.020374612882733345,
-0.0655403807759285,
0.016006864607334137,
-0.0006423094309866428,
0.0035092602483928204,
-0.0458032488822937,
-0.005590501707047224,
-0.037826959043741226,
-0.017986711114645004,
0.008056249469518661,
0.02149982936680317,
-0.017921607941389084,
0.024855367839336395,
0.016343949362635612,
-0.03738976642489433,
0.011519122868776321,
-0.03407018631696701,
-0.07615084946155548,
-0.0221279114484787,
0.01129001472145319,
0.010237147100269794,
-0.006024057511240244,
0.041620757430791855,
-0.0153939388692379,
0.016289876773953438,
0.03856378048658371,
0.02922511287033558,
-0.011972269974648952,
0.0013435529544949532,
0.03450644016265869,
0.0012146075023338199,
0.006684214808046818,
-0.06880059093236923,
0.00559664610773325,
-0.01995145156979561,
-0.03551791235804558,
-0.01815766468644142,
0.040717821568250656,
-0.022470256313681602,
-0.014253832399845123,
-0.006463576108217239,
0.009278994984924793,
-0.03754411265254021,
-0.028150679543614388,
-0.019319193437695503,
0.04125402867794037,
0.043442223221063614,
-0.008330587297677994,
0.01978689804673195,
-0.016631409525871277,
-0.03294400870800018,
0.0036391376052051783,
0.008400446735322475,
-0.054547522217035294,
-0.00400030380114913,
0.015812497586011887,
0.005319641903042793,
-0.006419862620532513,
-0.003172105411067605,
0.056351352483034134,
0.007282644975930452,
0.008525442332029343,
-0.03594326972961426,
0.006868242751806974,
0.018706219270825386,
0.05173174664378166,
0.02211943082511425,
-0.004618234466761351,
0.0196446031332016,
-0.005517116282135248,
-0.0015109541127458215,
-0.03588994964957237,
0.00504724308848381,
-0.00227976287715137,
0.002239060355350375,
-0.028406424447894096,
-0.07951772958040237,
0.08123674988746643,
0.0030720361974090338,
0.01813328079879284,
0.007074556779116392,
0.001332844141870737,
-0.011347527615725994,
-0.01621679775416851,
0.03009834885597229,
0.045217156410217285,
-0.06257859617471695,
-0.0035086164716631174,
-0.005558713339269161,
-0.00782648753374815,
0.002249164506793022,
-0.023608271032571793,
-0.021436182782053947,
-0.026098299771547318,
0.011732150800526142,
0.005618158262223005,
-0.06280078738927841,
-0.02036718651652336,
-0.019593706354498863,
0.021466903388500214,
-0.002216315595433116,
0.012887918390333652,
-0.031019195914268494,
-0.017663391306996346,
-0.01941036432981491,
-0.036121342331171036,
0.028701703995466232,
-0.03899763152003288,
0.004942574072629213,
-0.005603970494121313,
-0.040800414979457855,
-0.015431996434926987,
-0.03317246213555336,
0.006499231792986393,
0.02110562101006508,
-0.013426247052848339,
0.009964238852262497,
-0.04126616567373276,
-0.005277648568153381,
0.008690163493156433,
0.05676298961043358,
-0.01594608649611473,
-0.02001570165157318,
-0.03553438186645508,
-0.007318772375583649,
-0.050010308623313904,
0.02460385113954544,
-0.030342135578393936,
0.014457846991717815,
0.02113484777510166,
0.06138858199119568,
0.010822909884154797,
0.043461237102746964,
-0.011237823404371738,
-0.019905738532543182,
0.038921236991882324,
-0.07547692209482193,
-0.01812339946627617,
-0.05595186725258827,
-0.07091819494962692,
-0.024278702214360237,
0.00217635789886117,
0.007937072776257992,
-0.05263838917016983,
0.04131663963198662,
0.008779335767030716,
0.03770722076296806,
0.03351669758558273,
0.009878039360046387,
0.0011017046635970473,
-0.03437858447432518,
0.009009426459670067,
-0.07918141782283783,
-0.0065935286693274975,
0.03288550302386284,
-0.009631096385419369,
-0.004492626059800386,
0.014312950894236565,
-0.03486838564276695,
0.05085904523730278,
-0.07443103939294815,
-0.021194837987422943,
0.048857077956199646,
-0.003789030248299241,
-0.01217928808182478,
0.02098880708217621,
-0.07163553684949875,
0.019334958866238594,
0.027838420122861862,
-0.0442638173699379,
-0.010551096871495247,
-0.0004746999766211957,
0.046959858387708664,
0.012842572294175625,
0.0359843410551548,
-0.04524728283286095,
-0.0175760630518198,
0.08250168710947037,
0.006746068596839905,
-0.02643844485282898,
0.0482417531311512,
0.00645347498357296,
0.04259975254535675,
0.029429392889142036,
-0.00016447168309241533,
-0.009461159817874432,
0.00689649535343051,
-0.01524405088275671,
-0.06666889041662216,
0.04826601222157478,
0.012619887478649616,
-0.013949880376458168,
-0.02313695102930069,
0.05738430470228195,
0.02345767803490162,
-0.04183681309223175,
-0.05118554085493088,
0.01494514662772417,
-0.07199610024690628,
0.006918291561305523,
-0.02146308310329914,
0.0006764988065697253,
-0.05151578411459923,
0.045062072575092316,
-0.0031494530849158764,
0.013090645894408226,
0.07905266433954239,
0.01835549809038639,
-0.005231481045484543,
-0.01646415702998638,
0.09066130965948105,
0.08404894173145294,
0.07583578675985336,
0.013265330344438553,
0.06951941549777985,
-0.028751103207468987,
-0.040341638028621674,
0.0023200910072773695,
-0.0012094307458028197,
-0.03092225082218647,
-0.03924157842993736,
0.03581101447343826,
0.07583557069301605,
-0.0016154574695974588,
0.06932410597801208,
-0.010705209337174892,
-0.02124413289129734,
-0.0008193182875402272,
0.03935316577553749,
0.0253447275608778,
0.0711287409067154,
0.023404523730278015,
0.007556930650025606,
-0.005766997113823891,
-0.03786719590425491,
0.031457316130399704,
-0.030133560299873352,
-0.03305568918585777,
0.04725971072912216,
0.008199237287044525,
0.03686938434839249,
0.014321906492114067,
0.02278166078031063,
0.07286744564771652,
-0.030424604192376137,
0.024986349046230316,
-0.01753051206469536,
0.024388525635004044,
0.005469750612974167,
0.04995163530111313,
-0.028071491047739983,
-0.006112758070230484,
0.00028080257470719516,
-0.04061843827366829,
-0.034526336938142776,
-0.021316230297088623,
-0.023770824074745178,
0.04805250093340874,
-0.043770868331193924,
0.011756867170333862,
0.028538888320326805,
-0.008042222820222378,
-0.03873327746987343,
-0.06484536826610565,
-0.034573305398225784,
-0.04299470782279968,
-0.05510074645280838,
-0.026978686451911926,
0.03362646326422691,
0.002267661038786173,
-0.029575712978839874,
0.0028912636917084455,
-0.02556093968451023,
-0.02924954704940319,
0.03855554759502411,
-0.04986804723739624,
-0.022172031924128532,
0.01722760871052742,
-0.010713418014347553,
0.00508183753117919,
0.02470986917614937,
0.04482436925172806,
-0.01368365716189146,
0.0033854725770652294,
0.0006587642710655928,
0.053600721061229706,
0.018995778635144234,
0.002082366729155183,
0.009456661529839039,
-0.09967599809169769,
0.04503245651721954,
0.039562027901411057,
-0.02239096909761429,
-0.06024036183953285,
0.049009740352630615,
0.02074568346142769,
0.003576924093067646,
0.05962597578763962,
0.005298983305692673,
0.020840896293520927,
-0.04029146581888199,
-0.010093102231621742,
-0.039614662528038025,
0.009273549541831017,
0.049866683781147,
-0.011410658247768879,
0.07545895874500275,
0.04290911927819252,
0.0010532843880355358,
-0.04153928533196449,
-0.004701475612819195,
-0.015422048978507519,
0.0034776160027831793,
-0.0015486679039895535,
-0.028153985738754272,
-0.05297861993312836,
-0.07511790096759796,
-0.0344131737947464,
0.01851831190288067,
-0.016574950888752937,
-0.018587082624435425,
0.031617581844329834,
0.025284240022301674,
-0.02023598738014698,
0.018339775502681732,
-0.04443691298365593,
0.02803352102637291,
-0.025822801515460014,
-0.0363011509180069,
-0.025242213159799576,
-0.003124962328001857,
0.0055400291457772255,
-0.012221934273838997,
0.030054064467549324,
-0.050377752631902695,
0.016578275710344315,
0.008946819230914116,
0.023482637479901314,
0.03733551502227783,
0.026989417150616646,
-0.023897018283605576
] | [
-0.08964851498603821,
-0.008816182613372803,
-0.02118370682001114,
-0.04120538383722305,
0.042128823697566986,
-0.02527785673737526,
-0.03554757311940193,
0.040507763624191284,
-0.01268768310546875,
-0.035085856914520264,
0.003208492649719119,
-0.007602442055940628,
0.015592971816658974,
-0.019303521141409874,
0.08717625588178635,
0.018798302859067917,
-0.002581935143098235,
-0.09108179062604904,
0.015039436519145966,
0.044019799679517746,
-0.0034739964175969362,
-0.04975257068872452,
-0.02617546170949936,
-0.024961931630969048,
0.011902251280844212,
0.030842004343867302,
0.02985013835132122,
-0.047607846558094025,
0.014678939245641232,
-0.177652046084404,
0.0015245235990732908,
0.02205866202712059,
0.049693234264850616,
-0.015715062618255615,
0.009528495371341705,
0.06296253204345703,
0.031728245317935944,
-0.0006702744867652655,
-0.029220260679721832,
0.05949615687131882,
0.01797034591436386,
0.017004378139972687,
-0.03220130503177643,
-0.0322183221578598,
0.024991625919938087,
-0.024121854454278946,
0.0094913924112916,
-0.03482034429907799,
-0.04135577008128166,
0.0014647039351984859,
-0.05136711522936821,
-0.04078797996044159,
-0.010807522572577,
-0.03480706736445427,
-0.031298957765102386,
0.03030579350888729,
0.014767028391361237,
0.07282385975122452,
-0.0012285509146749973,
0.005094654392451048,
0.019515445455908775,
-0.02918679639697075,
-0.15777984261512756,
0.08594999462366104,
0.06197575852274895,
0.05974433943629265,
-0.06424486637115479,
0.002135504735633731,
0.01858961209654808,
0.09282765537500381,
0.036813538521528244,
-0.024191897362470627,
-0.0007291178335435688,
0.0423668771982193,
0.027946408838033676,
0.009657692164182663,
0.005341898184269667,
0.04173491522669792,
0.023713482543826103,
-0.04529106244444847,
-0.01569221355021,
0.0021364891435950994,
-0.03150065988302231,
-0.012513992376625538,
-0.04820527881383896,
0.016364939510822296,
-0.006327178329229355,
0.06541930139064789,
0.016064707189798355,
0.021136824041604996,
0.0356864333152771,
-0.0015968710649758577,
0.025983260944485664,
-0.017144184559583664,
-0.0661744624376297,
-0.015858154743909836,
0.02585558034479618,
0.008652728982269764,
-0.056717321276664734,
0.4500006139278412,
-0.010787750594317913,
-0.021168002858757973,
0.05353280156850815,
0.04606546461582184,
-0.01947123184800148,
-0.011838274076581001,
0.0122859301045537,
-0.05983329564332962,
0.02585778571665287,
0.001749716466292739,
0.022772543132305145,
0.019597554579377174,
0.07718615978956223,
-0.05678672343492508,
0.01106744259595871,
0.057808611541986465,
0.022839969024062157,
0.030169328674674034,
-0.024248016998171806,
-0.00006751358887413517,
0.003733669873327017,
0.01522130612283945,
0.03216373175382614,
-0.0070516313426196575,
-0.030886806547641754,
-0.010498231276869774,
0.025445377454161644,
0.06460580229759216,
0.017005039379000664,
-0.028145460411906242,
0.05764714628458023,
-0.028317837044596672,
-0.051949962973594666,
0.007537525612860918,
0.013412161730229855,
-0.013833994045853615,
0.017791854217648506,
-0.0549890398979187,
-0.012847023084759712,
0.06184862554073334,
0.02808772400021553,
0.030225440859794617,
0.005015131551772356,
-0.03414982929825783,
-0.04361506551504135,
0.1228189617395401,
0.024433284997940063,
-0.041877008974552155,
-0.015490212477743626,
-0.055220331996679306,
0.01778561994433403,
0.014475001022219658,
0.020394377410411835,
-0.05577718839049339,
0.03479962423443794,
-0.014733943156898022,
0.09430644661188126,
0.01435806229710579,
-0.054378438740968704,
0.009837723337113857,
-0.0011289480607956648,
-0.023825883865356445,
-0.04588763415813446,
0.07837121933698654,
0.05996137857437134,
-0.12209028005599976,
-0.007466715294867754,
-0.0031376960687339306,
0.038532502949237823,
-0.06600405275821686,
-0.031784191727638245,
0.0160409864038229,
0.010637764818966389,
-0.01044356357306242,
0.06241202726960182,
-0.029309026896953583,
-0.05261966586112976,
0.016370736062526703,
0.050043195486068726,
0.01158233918249607,
0.031905971467494965,
0.015166937373578548,
-0.01832607015967369,
-0.0011945475125685334,
-0.03175293654203415,
-0.07044185698032379,
-0.03604605048894882,
-0.011308015324175358,
-0.045643776655197144,
-0.0027565001510083675,
-0.046044401824474335,
-0.00727057596668601,
-0.07552126049995422,
0.10578469187021255,
-0.04526439309120178,
-0.03028176911175251,
0.038389790803194046,
-0.010369449853897095,
-0.03527066111564636,
-0.015692466869950294,
-0.06163850799202919,
0.03197193145751953,
-0.04024128615856171,
0.035236459225416183,
-0.053005799651145935,
0.020928464829921722,
0.011791982688009739,
-0.02640269510447979,
0.09304757416248322,
0.05484258010983467,
-0.04087616875767708,
-0.04461003839969635,
0.04118483513593674,
0.023436233401298523,
0.007716788910329342,
-0.007435228675603867,
0.00941956602036953,
0.032260287553071976,
-0.031132251024246216,
0.030043695122003555,
-0.0188149306923151,
0.04104943200945854,
-0.03012496419250965,
-0.35324305295944214,
-0.02913116104900837,
-0.02784525789320469,
-0.010932797566056252,
-0.006586876697838306,
-0.030278174206614494,
0.020888976752758026,
-0.01529231108725071,
-0.029568500816822052,
0.018787741661071777,
0.07973302900791168,
0.006744276266545057,
0.01120719127357006,
-0.07378138601779938,
-0.024731969460844994,
-0.007594147231429815,
-0.04494290053844452,
-0.013504392467439175,
-0.020760640501976013,
-0.0014782302314415574,
0.010117225348949432,
-0.0027635586448013783,
-0.03174460679292679,
-0.05767931416630745,
-0.03549988940358162,
-0.041463129222393036,
0.08360099047422409,
0.00888046808540821,
0.07681933045387268,
-0.028530443087220192,
0.022244911640882492,
-0.0018137124134227633,
0.02133074775338173,
-0.11404602229595184,
0.030816923826932907,
0.021123673766851425,
0.04574442654848099,
-0.03859882429242134,
0.03426181897521019,
-0.0304705910384655,
-0.051945991814136505,
0.0322866290807724,
-0.05613081902265549,
-0.05153618007898331,
-0.06690844893455505,
0.0032495653722435236,
-0.03707347437739372,
-0.046407684683799744,
-0.028576182201504707,
0.07729344069957733,
0.005396376829594374,
-0.014528735540807247,
0.030340582132339478,
0.012756557203829288,
0.0076227388344705105,
-0.02255435660481453,
-0.06819379329681396,
0.01715780235826969,
0.014931876212358475,
0.0011064010905101895,
0.015778815373778343,
0.07927245646715164,
0.022380845621228218,
-0.041921284049749374,
0.012104027904570103,
0.0036419969983398914,
0.021834615617990494,
-0.002190578728914261,
0.040724609047174454,
-0.02982570044696331,
-0.009209833107888699,
0.05916087329387665,
0.011772120371460915,
-0.03920953720808029,
0.017536766827106476,
0.00591925298795104,
-0.0182811189442873,
0.016946759074926376,
0.005193042568862438,
-0.010888054966926575,
0.02065666764974594,
-0.02514796331524849,
0.042215075343847275,
-0.011297764256596565,
-0.016196515411138535,
0.018759984523057938,
-0.004537239670753479,
-0.04707419499754906,
0.03869912773370743,
0.035760547965765,
-0.03529042750597,
-0.0023507194127887487,
-0.03037262335419655,
-0.03934649005532265,
0.060324959456920624,
0.008387881331145763,
-0.24302475154399872,
0.0034135766327381134,
0.0649355798959732,
0.018121544271707535,
-0.018169358372688293,
0.05608747527003288,
0.039717722684144974,
-0.05005588382482529,
0.01433661300688982,
0.012399325147271156,
0.03275126591324806,
-0.0009398350375704467,
0.017012115567922592,
-0.013770794495940208,
0.05973968282341957,
0.011023084633052349,
0.0422193817794323,
-0.012899884954094887,
0.011472446843981743,
0.003108728677034378,
0.007377311587333679,
0.008666465990245342,
0.13028490543365479,
-0.022213302552700043,
0.04974809288978577,
0.037794195115566254,
-0.017912210896611214,
0.023079821839928627,
0.07417800277471542,
0.005137108266353607,
0.00481419637799263,
-0.028935521841049194,
0.013987751677632332,
-0.0104460334405303,
0.0020347735844552517,
-0.07964663952589035,
-0.015324612148106098,
0.015313874930143356,
0.022600805386900902,
0.017715604975819588,
0.02563568763434887,
-0.0011056918883696198,
-0.001445046509616077,
0.027119489386677742,
0.0537194088101387,
0.0007812022231519222,
0.0014168620109558105,
-0.05457807704806328,
-0.030681606382131577,
-0.010745727457106113,
-0.04501035436987877,
-0.04617765173316002,
0.019535349681973457,
-0.014949018135666847,
0.01849435828626156,
0.07067205756902695,
0.045911867171525955,
-0.014438934624195099,
-0.01493153441697359,
-0.012241511605679989,
-0.01888822577893734,
-0.023516520857810974,
0.0711253210902214,
0.01008296012878418,
0.043053146451711655
] | [
0.00626393361017108,
0.017801718786358833,
0.02183443494141102,
0.03562295436859131,
0.022562291473150253,
0.013146870769560337,
0.00432354211807251,
0.007057623006403446,
0.012453930452466011,
-0.00032159601687453687,
0.017564682289958,
-0.006340027786791325,
0.0015959504526108503,
-0.0006415197276510298,
0.03271149471402168,
-0.00186371139716357,
0.013989878818392754,
-0.018114183098077774,
0.022855333983898163,
0.011162325739860535,
-0.0009176411549560726,
0.011193787679076195,
-0.022444581612944603,
-0.0034824819304049015,
-0.0039522117003798485,
-0.0011982119176536798,
-0.020791277289390564,
0.0010922712972387671,
0.025421561673283577,
-0.12916408479213715,
-0.006058016326278448,
-0.013652133755385876,
-0.018767228350043297,
0.027188193053007126,
0.05182719975709915,
-0.020765652880072594,
0.01155304629355669,
-0.0015378089156001806,
-0.010628546588122845,
0.018801504746079445,
-0.006014460232108831,
-0.011704731732606888,
-0.008297164924442768,
0.0046324054710567,
0.015319352969527245,
0.018226977437734604,
-0.015623394399881363,
-0.021736159920692444,
-0.027902215719223022,
-0.020263133570551872,
-0.030856460332870483,
-0.027499783784151077,
-0.0009550338727422059,
0.0031273253262043,
0.02219466306269169,
0.005389008671045303,
0.016876164823770523,
0.004457384813576937,
0.01675991527736187,
-0.0330667719244957,
-0.0021225465461611748,
-0.030434835702180862,
-0.049320872873067856,
-0.010125624015927315,
-0.0008604758186265826,
0.005760945379734039,
-0.01783755235373974,
0.026996519416570663,
-0.050370462238788605,
0.00856083631515503,
0.011170702055096626,
0.009735320694744587,
-0.041317012161016464,
-0.014910201542079449,
0.0007061291253194213,
0.02324797958135605,
0.023000165820121765,
-0.0010503182420507073,
0.008252417668700218,
-0.03004102222621441,
-0.00891918409615755,
0.011839710175991058,
-0.01878001168370247,
-0.02200525812804699,
-0.007832654751837254,
0.0011039188830181956,
0.029226765036582947,
-0.007191365584731102,
0.015148748643696308,
-0.0010397967416793108,
-0.033049214631319046,
0.0174493957310915,
-0.007045668084174395,
0.016578705981373787,
-0.0707220509648323,
-0.006055705714970827,
-0.010995449498295784,
-0.02203112281858921,
0.0055085523054003716,
0.8537416458129883,
0.00552197964861989,
0.040949393063783646,
0.03900561481714249,
-0.010428258217871189,
-0.00032414350425824523,
0.0023511992767453194,
0.015613216906785965,
0.04231945425271988,
0.012684658169746399,
-0.020748067647218704,
-0.012916423380374908,
0.020070083439350128,
0.013836165890097618,
-0.025018563494086266,
0.018756810575723648,
0.02913377620279789,
-0.005489494651556015,
-0.004699538461863995,
-0.026250401511788368,
0.005783796776086092,
0.027835793793201447,
-0.005211676470935345,
-0.014722192659974098,
-0.002005993388593197,
0.026027996093034744,
-0.14897868037223816,
0.016093017533421516,
-8.150110083853861e-33,
0.03134675323963165,
-0.021070895716547966,
-0.0693378746509552,
-0.003908978775143623,
0.02717207372188568,
-0.015118231996893883,
0.03336092084646225,
-0.02178282104432583,
-0.027321288362145424,
-0.024220885708928108,
-0.032655954360961914,
-0.038439515978097916,
0.007320296950638294,
-0.040099892765283585,
0.021746031939983368,
-0.05099358409643173,
-0.030700355768203735,
0.04561416059732437,
-0.008122573606669903,
0.033176589757204056,
0.07137809693813324,
-0.01169153768569231,
-0.030543344095349312,
0.0036581819877028465,
0.030793853104114532,
0.031232181936502457,
0.005116007290780544,
0.009356318041682243,
0.018580205738544464,
-0.04428839311003685,
-0.00940471701323986,
0.042047567665576935,
-0.02451212890446186,
-0.024175064638257027,
0.006061555352061987,
-0.0296146459877491,
-0.0321907140314579,
-0.008241056464612484,
0.018402855843305588,
-0.038533054292201996,
-0.04174959287047386,
-0.015731358900666237,
-0.06684776395559311,
0.006174855399876833,
-0.004421615973114967,
-0.004710983484983444,
0.008927679620683193,
0.005422187969088554,
-0.009130666963756084,
-0.04564334824681282,
0.009347091428935528,
0.01826382800936699,
-0.002305754693225026,
0.015504091046750546,
0.007094698492437601,
-0.02755061723291874,
0.02711488865315914,
-0.015121876262128353,
-0.006753561552613974,
-0.0017384863458573818,
0.024167340248823166,
-0.010754941962659359,
-0.03674113377928734,
0.04348267987370491,
-0.01274261437356472,
-0.0135514410212636,
-0.011646057479083538,
0.0017352940049022436,
0.020917203277349472,
-0.026962269097566605,
-0.04370515048503876,
-0.021320944651961327,
-0.004727507475763559,
-0.004227911122143269,
0.01532861776649952,
-0.00758979981765151,
-0.015311094000935555,
0.0279777180403471,
-0.021537799388170242,
0.06172604113817215,
-0.011268269270658493,
0.0072150323539972305,
-0.016915297135710716,
-0.014603578485548496,
0.013244407251477242,
-0.01365652121603489,
0.024075565859675407,
-0.028197379782795906,
-0.013494914397597313,
-0.0024594080168753862,
0.02761552482843399,
-0.018763110041618347,
0.01840868592262268,
0.003912982996553183,
-0.015094293281435966,
8.630232669923562e-33,
-0.015916328877210617,
0.00431800726801157,
-0.014031349681317806,
0.017593568190932274,
0.01741807535290718,
0.009426161646842957,
-0.006734129507094622,
-0.01746206544339657,
-0.06069464236497879,
0.023738695308566093,
-0.010535981506109238,
-0.00888802483677864,
-0.054688259959220886,
0.028549328446388245,
0.03678909316658974,
-0.008206608705222607,
0.05148830637335777,
-0.02558133751153946,
0.015550266951322556,
0.026368040591478348,
0.05306039750576019,
-0.0019591788295656443,
-0.0010216360678896308,
-0.010566676035523415,
0.05276740714907646,
0.06616685539484024,
-0.008037020452320576,
-0.01858198456466198,
0.008983803912997246,
-0.027181288227438927,
-0.022928433492779732,
-0.008390064351260662,
0.0011907931184396148,
-0.00581871485337615,
0.02091349847614765,
0.02816120721399784,
-0.006500936113297939,
-0.017551500350236893,
-0.013264060951769352,
-0.01195878628641367,
0.02620687708258629,
0.001043151132762432,
-0.0019737135153263807,
0.038527585566043854,
0.0019418002339079976,
0.011820235289633274,
0.01685665361583233,
-0.04527200758457184,
-0.013109548017382622,
0.017550615593791008,
0.016831057146191597,
0.013044392690062523,
0.03605261817574501,
0.02011617086827755,
0.015486522577702999,
-0.003930067177861929,
-0.0036459367256611586,
-0.01952788606286049,
-0.0009123939671553671,
0.01334693469107151,
-0.0012390060583129525,
0.009160755202174187,
0.0004356700519565493,
0.02925596944987774,
-0.027276741340756416,
-0.0023305118083953857,
0.005974242929369211,
0.012408223003149033,
-0.03509361669421196,
-0.021036263555288315,
-0.008610931225121021,
0.018246125429868698,
0.007145421113818884,
0.06443087011575699,
0.014657890424132347,
-0.027455102652311325,
-0.017983723431825638,
0.04198693111538887,
-0.02210746705532074,
0.008371541276574135,
-0.006661051884293556,
0.009892687201499939,
0.00625420780852437,
0.013848353177309036,
-0.017527252435684204,
0.009090296924114227,
-0.026846719905734062,
-0.007908936589956284,
0.006502400618046522,
-0.002142274985089898,
-0.029977574944496155,
-0.05286121740937233,
0.03241337463259697,
0.022531937807798386,
-0.002550039906054735,
-1.3794268838296375e-8,
-0.028676176443696022,
0.01109326258301735,
-0.02052709460258484,
-0.0037709467578679323,
0.027156513184309006,
-0.0022427791263908148,
-0.009846990928053856,
0.00034575239988043904,
-0.033007118850946426,
0.04019453376531601,
0.0550047792494297,
-0.003277404932305217,
-0.025815052911639214,
0.017710944637656212,
0.04371523857116699,
-0.05133315175771713,
-0.019035765901207924,
-0.022117404267191887,
0.042131755501031876,
0.0464048869907856,
0.05240399017930031,
0.06853362917900085,
-0.009190831333398819,
0.0025202410761266947,
0.010303071700036526,
0.015622413717210293,
0.0015333007322624326,
-0.0789027139544487,
0.023287421092391014,
-0.012887516058981419,
-0.005557115655392408,
-0.009947703219950199,
-0.058897715061903,
0.04242486134171486,
-0.01404869556427002,
-0.015202011913061142,
-0.0024516135454177856,
0.03482680767774582,
0.0037979104090481997,
0.03208772838115692,
-0.022332260385155678,
0.0038253029342740774,
0.011176880449056625,
-0.01532403752207756,
-0.019200008362531662,
0.006915748119354248,
-0.04819660633802414,
-0.025705726817250252,
-0.0006534900749102235,
-0.06082417443394661,
-0.02575041353702545,
-0.008657729253172874,
0.031634025275707245,
0.033989567309617996,
-0.0006287645664997399,
0.01578797958791256,
0.03136080875992775,
-0.03719610348343849,
-0.03307443857192993,
0.005783479195088148,
-0.007035073824226856,
0.027777845039963722,
0.006244232412427664,
-0.0071400003507733345
] | xp2010-general-thoughts | https://markhneedham.com/blog/2010/06/09/xp2010-general-thoughts |
false | 2010-06-30 10:46:20 | jQuery: Dynamically updating a drop down list | [
"jquery"
] | [
"jQuery"
] | We recently had a requirement to dynamically update a drop down list based on how the user had filled in other parts of the page.
Our initial approach was to populate the drop down with all potential options on page load and then add CSS selectors to the options that we wanted to hide. That worked fine in Chrome and Firefox but Internet Explorer seems to ignore CSS selectors inside a drop down list so none of the options were being hidden.
We therefore had to try and dynamically add and remove options from the drop down list instead.
The list that we initially loaded onto the page was like this:
[source,html]
----
<select id="foo" name="foo">
<option value="A" selected="selected">A</option>
<option value="B">B</option>
<option value="C">C</option>
<option value="Not applicable">Not applicable</option>
</select>
----
http://twitter.com/christianralph[Christian] eventually came up with the following solution to hide/show those options and select the appropriate one after several hours of trial and error:
[source,javascript]
----
// captured on page load
var originalFooOptions = $("#foo > option");
----
[source,javascript]
----
var foo = $("#foo");
var dependentField = $("#fieldFooIsDependentOn");
if(notApplicable()) {
foo.children("option[value!='Not applicable']").remove();
foo.val("Not applicable");
} else {
foo.empty();
$(originalFooOptions).each(function() {
var newOption = $(this).clone();
if ($(this).val() === dependentField.val()) {
newOption.attr("selected", "selected");
}
newOption.appendTo(foo);
});
}
----
Another approach we tried was to try and dynamically update 'foo' rather than removing all the items and then adding them back.
Unfortunately we kept getting an 'unspecified error' on Internet Explorer 6 when we tried to set the selected value with that approach. | null | null | [
-0.010327860713005066,
-0.012120522558689117,
0.004783010575920343,
0.011599504388868809,
0.08606176823377609,
-0.00129410857334733,
-0.012564847245812416,
0.03372602164745331,
0.01313390675932169,
-0.026242975145578384,
-0.03580845892429352,
0.057299092411994934,
-0.07557106763124466,
0.009677864611148834,
0.03310282528400421,
0.07214078307151794,
0.08417938649654388,
0.02256143093109131,
0.004078377038240433,
-0.023336483165621758,
0.013460285030305386,
0.08174414187669754,
-0.026867318898439407,
0.026073673740029335,
0.06279895454645157,
0.0015003541484475136,
0.022238459438085556,
-0.012378313578665257,
-0.06552697718143463,
0.0078066932037472725,
0.025839483365416527,
0.024692753329873085,
-0.004053891636431217,
0.0021430186461657286,
0.0000793156650615856,
-0.042439185082912445,
0.025134291499853134,
-0.018068667501211166,
-0.014826934784650803,
0.05921920761466026,
-0.08359229564666748,
0.04109616205096245,
-0.023388219997286797,
0.027016859501600266,
-0.016684114933013916,
0.009508279152214527,
-0.03946855664253235,
0.004909746814519167,
-0.007583061698824167,
-0.03437752276659012,
-0.05761883780360222,
0.029887355864048004,
-0.028839439153671265,
0.013816497288644314,
0.001935208565555513,
0.06592679768800735,
0.01855781301856041,
-0.05806538835167885,
0.055289655923843384,
-0.07019603997468948,
-0.00001501787392044207,
0.035850830376148224,
0.0172889344394207,
0.0492854043841362,
0.0036952251102775335,
-0.01786639541387558,
-0.0053390865214169025,
0.04518626257777214,
-0.04780973121523857,
-0.03643617406487465,
-0.009422087110579014,
0.014230883680284023,
-0.017163559794425964,
-0.038454558700323105,
0.016121212393045425,
-0.023648420348763466,
-0.058896299451589584,
0.08294162154197693,
-0.011045855470001698,
0.0437018945813179,
0.005390815436840057,
0.006171229295432568,
0.012318827211856842,
0.024310052394866943,
0.016400696709752083,
-0.05275110900402069,
-0.060293082147836685,
0.029368169605731964,
-0.03343387693166733,
0.05375683680176735,
0.044932395219802856,
-0.050418853759765625,
0.0277513787150383,
0.034742873162031174,
0.041090965270996094,
-0.017127688974142075,
-0.012561018578708172,
-0.010777716524899006,
-0.018488869071006775,
-0.016496820375323296,
-0.03968579322099686,
0.01937469281256199,
0.010017300955951214,
-0.029815811663866043,
-0.08954937011003494,
0.003464128589257598,
-0.025868769735097885,
0.025877811014652252,
0.001240859623067081,
0.004875657148659229,
-0.018007399514317513,
0.025588102638721466,
-0.016085874289274216,
-0.013557527214288712,
-0.06124074012041092,
0.040868788957595825,
-0.002028222195804119,
0.019430510699748993,
0.020716918632388115,
0.05526953935623169,
0.04853091016411781,
-0.003031879896298051,
-0.02708563767373562,
0.06604599952697754,
0.023580187931656837,
0.036197345703840256,
-0.011389078572392464,
0.04673006013035774,
-0.003925084602087736,
-0.07872933894395828,
0.007870214991271496,
0.03586822748184204,
-0.027128281071782112,
-0.0033340242225676775,
0.0009004969615489244,
0.002397479023784399,
0.010620894841849804,
0.0019987309351563454,
0.06481502205133438,
0.007071130443364382,
-0.036477167159318924,
-0.049062736332416534,
-0.014607747085392475,
-0.004597318358719349,
0.03617845103144646,
0.006350318435579538,
0.0019693844951689243,
-0.023213403299450874,
-0.031122762709856033,
0.012762762606143951,
0.033242665231227875,
-0.013903776183724403,
0.05009349808096886,
-0.04829118773341179,
-0.02721545100212097,
0.10083378106355667,
0.02614499442279339,
-0.022870248183608055,
-0.027294036000967026,
0.01274096593260765,
0.040969524532556534,
0.023852426558732986,
-0.002831453690305352,
0.07903094589710236,
0.007694598287343979,
-0.006522157695144415,
-0.04162413626909256,
0.05772047117352486,
-0.014922217465937138,
-0.02816028706729412,
-0.07625522464513779,
-0.03999161347746849,
0.04714314639568329,
-0.07930634915828705,
0.008646156638860703,
0.08021724969148636,
0.08213720470666885,
0.014241139404475689,
0.024316590279340744,
0.003463909262791276,
-0.06639289110898972,
-0.010882013477385044,
0.01309086475521326,
0.009716121479868889,
0.015491302125155926,
0.01768854260444641,
0.05646766722202301,
0.03649007901549339,
0.03704328089952469,
0.011617273092269897,
-0.04589785635471344,
-0.06586410850286484,
-0.06469162553548813,
-0.0033688973635435104,
0.049347274005413055,
-0.04356561601161957,
-0.04055578634142876,
0.07915367931127548,
0.04536968097090721,
0.06452938169240952,
0.035689566284418106,
-0.046206310391426086,
0.012848012149333954,
-0.02606726996600628,
-0.0584423765540123,
-0.005180113483220339,
0.03702884539961815,
-0.0071289087645709515,
-0.026707343757152557,
0.017617754638195038,
-0.0210725050419569,
0.024677224457263947,
0.01797707937657833,
0.0060203224420547485,
0.07233905792236328,
0.005638676695525646,
0.024248957633972168,
-0.024345308542251587,
0.025746120139956474,
-0.04962468892335892,
0.02620067074894905,
0.029543759301304817,
-0.0004520175571087748,
-0.01121471542865038,
0.004186487756669521,
0.1289299875497818,
0.028305884450674057,
-0.003292790846899152,
-0.04385184124112129,
0.008299789391458035,
0.012819046154618263,
-0.060770757496356964,
0.009893697686493397,
-0.012499375268816948,
0.014312390238046646,
0.010687241330742836,
-0.03741215914487839,
-0.018726162612438202,
-0.006077159196138382,
-0.030815325677394867,
0.04722316935658455,
0.028909748420119286,
0.0026498534716665745,
0.05709868669509888,
-0.0024200642947107553,
-0.013142568990588188,
0.00713111087679863,
0.012527343817055225,
-0.03819553181529045,
-0.004471876192837954,
0.055211592465639114,
-0.00949401780962944,
0.040648993104696274,
-0.028310254216194153,
-0.015089438296854496,
-0.019376682117581367,
-0.02595990151166916,
0.022353574633598328,
0.033052049577236176,
0.05377378314733505,
0.023044835776090622,
0.04319131746888161,
0.009603690356016159,
0.04351331293582916,
-0.005611490923911333,
-0.06892751157283783,
-0.007790613919496536,
0.003159858286380768,
0.008203202858567238,
0.03464170917868614,
0.005925496108829975,
-0.0034197873901575804,
-0.00416968809440732,
-0.015721704810857773,
-0.013565494678914547,
-0.003846940118819475,
0.007790056057274342,
0.004836687818169594,
-0.01535167545080185,
-0.02579609677195549,
-0.02984687127172947,
0.031009377911686897,
-0.035181473940610886,
-0.06138334050774574,
-0.011989057995378971,
-0.06055716425180435,
0.02844858169555664,
-0.08290641009807587,
-0.08472282439470291,
-0.008271793834865093,
0.00350887980312109,
0.016266442835330963,
-0.004768633283674717,
0.04081898182630539,
0.05110896751284599,
-0.0015809426549822092,
0.008447876200079918,
0.029969969764351845,
0.01287386566400528,
0.035518478602170944,
0.018973419442772865,
0.013650050386786461,
0.0476357638835907,
-0.011102885939180851,
0.011143269017338753,
-0.029453430324792862,
0.03004085086286068,
-0.017060736194252968,
-0.25667670369148254,
0.033291932195425034,
0.024385038763284683,
-0.03263281658291817,
0.03135019540786743,
-0.05055874586105347,
0.03928399085998535,
-0.057692091912031174,
0.0017370730638504028,
0.010575820691883564,
-0.010285235941410065,
-0.03505314141511917,
-0.029288040474057198,
0.048608019948005676,
-0.022158853709697723,
0.01429098192602396,
0.05812107399106026,
-0.03458545356988907,
0.018230780959129333,
0.01229410246014595,
-0.027595914900302887,
-0.09736641496419907,
0.05071935057640076,
0.05808428302407265,
0.020716849714517593,
0.068929024040699,
-0.04237440600991249,
0.035442665219306946,
-0.029681416228413582,
-0.026387609541416168,
0.012825718149542809,
-0.022212747484445572,
0.017300153151154518,
0.0018538846634328365,
-0.01193903386592865,
-0.0085301473736763,
0.08814637362957001,
-0.006524678785353899,
-0.000544087088201195,
0.00248888460919261,
-0.026539798825979233,
-0.006973865441977978,
-0.018388384953141212,
-0.012247588485479355,
0.05925149470567703,
-0.0245786402374506,
-0.053420402109622955,
0.013545301742851734,
-0.049699749797582626,
0.06146044284105301,
-0.0024601903278380632,
-0.02734028734266758,
-0.0017332856077700853,
0.046886492520570755,
0.009649373590946198,
0.02800367958843708,
-0.010279959067702293,
0.0039897277019917965,
-0.023038342595100403,
-0.04322816804051399,
0.0041613467037677765,
-0.031868528574705124,
-0.022323375567793846,
-0.005169788841158152,
0.04378975182771683,
-0.046170782297849655,
-0.05143865942955017,
0.012295551598072052,
0.07907185703516006,
0.04135118052363396,
-0.007565418723970652,
-0.008458736352622509,
-0.00823882780969143,
-0.10962166637182236,
0.012079381383955479,
-0.03893736004829407,
0.013684017583727837,
-0.05047553405165672,
-0.015744106844067574,
0.03468266502022743,
-0.0207399632781744,
-0.016456641256809235,
0.0280314888805151,
-0.01789652556180954,
-0.023261258378624916,
-0.018755696713924408,
0.0434904620051384,
0.015624240040779114,
-0.016246648505330086,
-0.0036038944963365793,
0.0769047811627388,
-0.0046919542364776134,
-0.007896673865616322,
-0.034866075962781906,
-0.0006793718785047531,
0.0374024361371994,
0.01740018092095852,
0.015915295109152794,
0.05244472995400429,
0.010495232418179512,
0.05397404730319977,
-0.022320618852972984,
0.042424190789461136,
-0.01771870255470276,
0.014038519002497196,
0.0030947369523346424,
-0.048546187579631805,
0.023036302998661995,
-0.004955986514687538,
-0.011407565325498581,
-0.034762926399707794,
-0.02670375443994999,
-0.02394472062587738,
-0.05591423809528351,
0.010171365924179554,
-0.02457011304795742,
0.0011659468291327357,
-0.002349040238186717,
-0.006495004054158926,
-0.02505662851035595,
-0.0668833777308464,
0.015250125899910927,
0.007663345895707607,
-0.006209833547472954,
-0.0695001482963562,
-0.03844296559691429,
-0.011838228441774845,
0.012382665649056435,
-0.0016580867813900113,
-0.013555556535720825,
0.03744184225797653,
0.027892790734767914,
-0.008150676265358925,
-0.008117550052702427,
0.009814352728426456,
-0.044937558472156525,
0.0063095977529883385,
-0.018483810126781464,
-0.015465977601706982,
-0.01269503589719534,
-0.029571985825896263,
-0.004412508569657803,
-0.004198960494250059,
-0.009055706672370434,
0.07853352278470993,
0.027332158759236336,
0.02320869080722332,
0.01924677938222885,
-0.020932557061314583,
0.039812490344047546,
-0.021043717861175537,
-0.06320814043283463,
-0.027726978063583374,
-0.021615907549858093,
-0.039142925292253494,
-0.01306806318461895,
0.025432491675019264,
-0.00945234950631857,
-0.015092380344867706,
-0.03649970144033432,
-0.0022247405722737312,
-0.06155752018094063,
-0.0385848693549633,
0.017311999574303627,
-0.02041538804769516,
0.023338129743933678,
0.012944390065968037,
0.04058263078331947,
0.007295144721865654,
-0.0074870097450912,
-0.0012476745760068297,
0.009222636930644512,
-0.063560850918293,
-0.00156670983415097,
0.012767480686306953,
-0.019561495631933212,
-0.0006355652585625648,
-0.010048016905784607,
0.01312256045639515,
0.03484964370727539,
0.03326338529586792,
-0.044898621737957,
0.021228086203336716,
0.009570806287229061,
0.03793790191411972,
-0.03619781881570816,
-0.052862558513879776,
0.011397094465792179,
0.017928609624505043,
-0.02666451781988144,
-0.04267905652523041,
-0.0202031247317791,
-0.022510215640068054,
-0.019455190747976303,
-0.02804611250758171,
-0.060884248465299606,
0.01048216875642538,
-0.02789429761469364,
0.02747945487499237,
0.020264701917767525,
-0.01239815354347229,
-0.0013980080839246511,
-0.020838052034378052,
0.03861874341964722,
0.03041210025548935,
-0.03472040221095085,
-0.004647286143153906,
0.004172983579337597,
-0.009563994593918324,
0.039022523909807205,
-0.01085188239812851,
-0.08509503304958344,
-0.014655589126050472,
-0.018181229010224342,
0.021748773753643036,
-0.009038278833031654,
-0.040460024029016495,
-0.04598354548215866,
0.008767759427428246,
-0.02615494094789028,
-0.0006658800411969423,
-0.009920303709805012,
0.019112173467874527,
-0.011177564971148968,
-0.018217239528894424,
0.02993675135076046,
-0.011278795078396797,
-0.010211406275629997,
0.0338352769613266,
-0.008596621453762054,
0.04113240912556648,
-0.016994817182421684,
0.026932822540402412,
0.034064922481775284,
-0.004089346155524254,
-0.002015898935496807,
-0.048469409346580505,
-0.025858120992779732,
0.023552924394607544,
0.05112269148230553,
-0.011679342947900295,
0.0006389367044903338,
-0.06147993355989456,
-0.008855951949954033,
-0.010565870441496372,
0.015346238389611244,
-0.02748837135732174,
-0.052284710109233856,
0.031062066555023193,
0.06788001209497452,
-0.010141977109014988,
0.00039958429988473654,
0.026998179033398628,
-0.013629293069243431,
0.03993924334645271,
-0.06553208827972412,
-0.006528955418616533,
-0.03345777094364166,
-0.056790661066770554,
0.020080382004380226,
0.008743762038648129,
0.04851222783327103,
-0.04229914769530296,
0.045213960111141205,
0.03510172292590141,
-0.021493783220648766,
0.005306928418576717,
-0.01691155880689621,
0.025639131665229797,
-0.015050019137561321,
0.017073461785912514,
-0.0753004401922226,
-0.003029260551556945,
0.012282349169254303,
0.013429112732410431,
-0.018823167309165,
-0.0032532785553485155,
-0.027154071256518364,
0.030620897188782692,
-0.05584610626101494,
-0.04745527729392052,
0.03036336973309517,
0.007736267056316137,
0.014390184544026852,
-0.008402956649661064,
-0.06643086671829224,
0.03845544159412384,
0.059660062193870544,
-0.042049869894981384,
-0.03134673088788986,
-0.0434933602809906,
0.06073320657014847,
-0.004197744652628899,
-0.003229999914765358,
-0.05197552591562271,
0.01474333368241787,
0.043548546731472015,
0.00397067703306675,
-0.007156968116760254,
0.04443663731217384,
-0.01373227871954441,
0.027118220925331116,
0.027430251240730286,
0.030337568372488022,
-0.02196311205625534,
0.03364953771233559,
0.018599534407258034,
-0.05165993422269821,
0.0025629629381000996,
0.018031299114227295,
0.015230079181492329,
-0.05740780755877495,
0.054430581629276276,
0.03190448507666588,
0.0007892883731983602,
-0.025691015645861626,
-0.0018219358753412962,
-0.03241601213812828,
0.003518640296533704,
-0.032681655138731,
0.0067087034694850445,
0.0002967777836602181,
0.06784886121749878,
-0.005721149034798145,
-0.02198336459696293,
0.07795683294534683,
0.01908848248422146,
0.04783187434077263,
-0.012343082576990128,
0.05597749352455139,
0.0625724121928215,
0.06854681670665741,
0.01136875618249178,
0.08522842824459076,
-0.008068357594311237,
-0.08517017960548401,
-0.001105820294469595,
-0.05118231102824211,
-0.006313832011073828,
-0.014450464397668839,
-0.009443660266697407,
0.06469301134347916,
-0.0013400147436186671,
0.06175553426146507,
-0.017639517784118652,
-0.01925189420580864,
-0.020958377048373222,
0.020728645846247673,
0.011873815208673477,
0.027017945423722267,
0.029031259939074516,
-0.001460961066186428,
0.005426970310509205,
-0.011767460033297539,
0.04038287699222565,
-0.001320659532211721,
-0.045779380947351456,
0.0022476857993751764,
-0.003980124834924936,
0.015950586646795273,
-0.0017737791640684009,
0.04091699421405792,
0.07431399822235107,
-0.031173815950751305,
-0.003085508244112134,
-0.017524292692542076,
0.036149729043245316,
0.013103989884257317,
0.003947639837861061,
-0.00907031912356615,
0.0027835688088089228,
-0.02662806212902069,
-0.014294509775936604,
-0.03551102429628372,
-0.0071949646808207035,
0.0012120675528421998,
0.043234486132860184,
-0.02702672779560089,
0.024866826832294464,
0.07544858753681183,
0.00462951697409153,
-0.05536503717303276,
-0.02862512320280075,
-0.04731476306915283,
-0.035595692694187164,
-0.037080906331539154,
-0.02030770666897297,
0.05199500173330307,
-0.012457248754799366,
-0.026138247922062874,
-0.030088113620877266,
-0.001696466002613306,
-0.04050721600651741,
0.036543481051921844,
-0.015516795217990875,
-0.03952503576874733,
0.02384190261363983,
-0.0054603456519544125,
0.0317438542842865,
0.024325937032699585,
0.004622961860150099,
-0.010911758057773113,
-0.05023214966058731,
-0.03337235376238823,
-0.034991104155778885,
0.05311950296163559,
-0.005312472581863403,
-0.0029698722064495087,
-0.08974695205688477,
-0.004260998219251633,
0.0015102664474397898,
-0.007726762909442186,
-0.050586797297000885,
0.023743456229567528,
0.004301446955651045,
-0.052472881972789764,
0.0583169087767601,
-0.019668910652399063,
-0.02855938859283924,
-0.04034581780433655,
-0.029224621132016182,
0.008991660550236702,
0.001499059610068798,
0.0325072780251503,
-0.025833148509263992,
0.09280361980199814,
0.019851479679346085,
-0.0035916357301175594,
-0.015944911167025566,
0.029447240754961967,
-0.047533947974443436,
-0.03316737338900566,
-0.027236023917794228,
-0.02339630015194416,
-0.069064661860466,
-0.053789202123880386,
-0.03418051078915596,
0.029764516279101372,
0.0032297566067427397,
-0.020126327872276306,
-0.008078387007117271,
0.023460807278752327,
-0.07425729930400848,
0.02690919116139412,
-0.03813635930418968,
0.00495149614289403,
-0.02542327158153057,
-0.026889758184552193,
0.025154277682304382,
-0.0017259296728298068,
0.0015891777584329247,
-0.03198547661304474,
0.020548861473798752,
-0.012575206346809864,
-0.003533401992172003,
-0.06252527981996536,
0.017746735364198685,
0.03655010834336281,
-0.01469539012759924,
0.02108384482562542
] | [
-0.08806706219911575,
-0.03861686587333679,
-0.023565618321299553,
-0.017304260283708572,
0.023814719170331955,
0.0001234602532349527,
-0.0032485437113791704,
0.03132238611578941,
0.052858736366033554,
-0.007330988999456167,
-0.005203441251069307,
0.02178211510181427,
-0.02882900834083557,
-0.005096059292554855,
0.07859142124652863,
0.02054603584110737,
-0.011224815621972084,
-0.06966137886047363,
-0.049652740359306335,
0.01936226524412632,
0.021266911178827286,
0.0009590183035470545,
-0.029828550294041634,
-0.029015706852078438,
-0.00498843053355813,
-0.004583670757710934,
0.02365945465862751,
-0.026394668966531754,
-0.009862272068858147,
-0.18465876579284668,
0.014462178573012352,
-0.050210848450660706,
0.004782908596098423,
-0.017448652535676956,
0.01323553454130888,
0.003640946699306369,
0.0036709292326122522,
0.02326812967658043,
0.028057781979441643,
0.037154462188482285,
0.01703299954533577,
0.022207818925380707,
-0.08338720351457596,
-0.04160788282752037,
0.06948460638523102,
0.0281172264367342,
0.019696656614542007,
-0.023899778723716736,
-0.016711007803678513,
0.028448697179555893,
-0.01514614187180996,
-0.010952223092317581,
-0.007070234045386314,
-0.020280063152313232,
-0.0062119010835886,
0.04863319918513298,
0.04399944096803665,
0.06239113211631775,
0.01592300459742546,
0.06659002602100372,
0.020044827833771706,
-0.0027736839838325977,
-0.1125074103474617,
0.1330806314945221,
0.009509788826107979,
0.05195166543126106,
-0.04428640753030777,
-0.012869017198681831,
-0.00914846919476986,
0.061943020671606064,
0.030268216505646706,
-0.014779817312955856,
-0.00392305850982666,
0.05999200418591499,
0.029247932136058807,
-0.014080080203711987,
0.007021091878414154,
0.006147526204586029,
0.03506278619170189,
-0.029729686677455902,
-0.015483194962143898,
-0.03055984154343605,
-0.029398739337921143,
-0.02848174422979355,
-0.027848409488797188,
-0.007190123666077852,
0.00007021331111900508,
0.04187216982245445,
0.024807222187519073,
0.004806281067430973,
0.049653444439172745,
-0.0630553662776947,
0.02303110808134079,
-0.021449744701385498,
-0.09127958863973618,
0.0025440803728997707,
-0.00007379457383649424,
-0.01672474481165409,
-0.04356545954942703,
0.45988720655441284,
-0.03576294705271721,
0.02765878103673458,
0.04892541840672493,
0.0010678680846467614,
-0.012948337011039257,
-0.027180705219507217,
0.005350260995328426,
-0.052297379821538925,
0.0050246575847268105,
-0.025841116905212402,
0.011181691661477089,
-0.010792804881930351,
0.07991071045398712,
-0.03709844499826431,
-0.03273918107151985,
0.014892874285578728,
0.0139490757137537,
-0.007540886290371418,
0.030686067417263985,
0.006482057739049196,
-0.010745066218078136,
-0.0031042173504829407,
0.037545766681432724,
0.029505368322134018,
0.03671535477042198,
-0.008761130273342133,
0.057306911796331406,
0.07432157546281815,
0.014038384892046452,
0.05169452354311943,
0.04768364503979683,
-0.053771600127220154,
-0.038676753640174866,
-0.029915696009993553,
0.019190529361367226,
-0.0030121570453047752,
0.019842270761728287,
0.015472774393856525,
0.013004680164158344,
0.032343149185180664,
-0.018734581768512726,
-0.027447780594229698,
0.015507611446082592,
-0.0369272418320179,
0.00984832551330328,
0.144627183675766,
-0.010434551164507866,
-0.034749384969472885,
-0.03498179838061333,
-0.0520523376762867,
-0.013423160649836063,
0.035419441759586334,
0.012224623002111912,
-0.03700222074985504,
-0.027784643694758415,
0.035234250128269196,
0.04023924469947815,
-0.03119119442999363,
-0.04729734733700752,
-0.018881501629948616,
0.006328352261334658,
-0.03346143290400505,
-0.030261723324656487,
0.03577207028865814,
0.014475862495601177,
-0.11514203995466232,
-0.04235469549894333,
-0.0076770843006670475,
0.01571224257349968,
-0.06788923591375351,
-0.03693166747689247,
0.02031557261943817,
-0.054891712963581085,
-0.019763415679335594,
0.06007058918476105,
-0.00926973670721054,
-0.02244599349796772,
-0.00457216240465641,
0.022519472986459732,
-0.0050687422044575214,
-0.017447084188461304,
-0.020104464143514633,
-0.055941153317689896,
-0.0032145932782441378,
-0.05218822509050369,
-0.06394147127866745,
-0.036148156970739365,
-0.01265372522175312,
0.022440427914261818,
0.019161872565746307,
-0.04585374891757965,
-0.05875450000166893,
-0.03430662676692009,
0.03938179090619087,
-0.029897460713982582,
0.0016437171725556254,
-0.015780694782733917,
-0.052431441843509674,
0.031455378979444504,
-0.0034551932476460934,
0.0458345040678978,
-0.00898321159183979,
-0.016628006473183632,
0.030542943626642227,
-0.047426119446754456,
0.06789465248584747,
0.0466192401945591,
-0.054894596338272095,
0.08605960756540298,
-0.007140114437788725,
-0.03722131624817848,
0.005838289856910706,
0.02765112929046154,
0.016698047518730164,
0.03952324390411377,
-0.03466268256306648,
-0.015044504776597023,
0.02869965322315693,
0.03224039077758789,
0.008756106719374657,
0.0024792703334242105,
0.01132359728217125,
0.009124788455665112,
-0.30988094210624695,
-0.05437928065657616,
-0.03815482184290886,
0.00009724163101054728,
-0.026485802605748177,
-0.05863378196954727,
0.00701870396733284,
-0.04631878808140755,
-0.019843602553009987,
0.052265848964452744,
0.08599276840686798,
-0.02520657330751419,
0.01245014276355505,
-0.07189220190048218,
0.011305023916065693,
-0.013039260171353817,
-0.034115809947252274,
-0.08371158689260483,
-0.00920350942760706,
0.02170444093644619,
-0.014462804421782494,
0.011004011146724224,
-0.018171625211834908,
-0.07774495333433151,
0.015152685344219208,
-0.023699510842561722,
0.10644759982824326,
0.035850029438734055,
0.059132616966962814,
-0.02583862841129303,
0.052551399916410446,
0.032100602984428406,
0.026030320674180984,
-0.03752423822879791,
0.008501468226313591,
0.004016329534351826,
-0.02202756144106388,
-0.051183365285396576,
-0.005955670494586229,
-0.02996489778161049,
-0.05365201458334923,
0.004414043854922056,
-0.051699377596378326,
-0.08398301154375076,
0.011786035262048244,
-0.012232689186930656,
-0.010974230244755745,
0.007324437610805035,
-0.03286328911781311,
0.08803921937942505,
0.0505698025226593,
-0.011094274930655956,
0.022029101848602295,
0.043672122061252594,
0.020909402519464493,
-0.028613651171326637,
-0.02249668724834919,
-0.014107509516179562,
0.0013719159178435802,
-0.007654537912458181,
0.02642907202243805,
0.026233531534671783,
0.04813731834292412,
-0.05213749781250954,
-0.004274941049516201,
0.02799481712281704,
-0.015155516564846039,
-0.019016940146684647,
0.03046376258134842,
-0.06783769279718399,
-0.05750736594200134,
0.09408387541770935,
0.05453597381711006,
0.03729790821671486,
0.013324487954378128,
0.04273919761180878,
-0.03822153061628342,
0.037916358560323715,
0.023660242557525635,
0.01328854076564312,
0.044184062629938126,
0.030178891494870186,
0.04947427287697792,
-0.004680541809648275,
-0.046246450394392014,
0.032513488084077835,
-0.024244235828518867,
-0.026704739779233932,
0.04601307213306427,
-0.03256349638104439,
-0.0303791593760252,
-0.002210204489529133,
-0.029599908739328384,
-0.06151745095849037,
0.05928044021129608,
-0.05530881881713867,
-0.25573551654815674,
0.009197508916258812,
0.08412241190671921,
0.06543070077896118,
0.004308931529521942,
0.04501057043671608,
0.03481481224298477,
-0.04642196372151375,
0.01067896094173193,
0.01940676011145115,
-0.050463706254959106,
0.03409942612051964,
-0.032429199665784836,
-0.028150541707873344,
0.011372138746082783,
-0.024546215310692787,
0.006896279286593199,
-0.015186704695224762,
0.0026955152861773968,
0.022344574332237244,
0.03409181162714958,
-0.005161957815289497,
0.1812514364719391,
0.038277771323919296,
0.009745598770678043,
0.028379958122968674,
0.003170149866491556,
0.003325764089822769,
0.06850306689739227,
0.02227802760899067,
0.006737415678799152,
0.011555180884897709,
0.054232459515333176,
-0.017241153866052628,
0.02754855714738369,
-0.1030379980802536,
-0.050592582672834396,
0.026575805619359016,
0.021933821961283684,
-0.02642059698700905,
-0.014906944707036018,
0.032108958810567856,
-0.031375955790281296,
0.016548702493309975,
0.06459087133407593,
-0.035519324243068695,
0.008446704596281052,
0.016226569190621376,
-0.031286705285310745,
0.010794154368340969,
-0.044422537088394165,
-0.014980165287852287,
0.017330048605799675,
-0.021469848230481148,
0.006536694243550301,
0.07579325884580612,
0.03129095211625099,
-0.013200504705309868,
0.0005170581280253828,
0.01941794529557228,
-0.01096133328974247,
-0.007019018288701773,
0.0888853371143341,
0.00830367486923933,
0.058881063014268875
] | [
-0.009908335283398628,
0.004873353056609631,
0.024651847779750824,
0.05915313586592674,
0.036312635987997055,
0.0020574189256876707,
0.035727132111787796,
-0.008203139528632164,
0.020234528928995132,
-0.05802119895815849,
-0.0057003311812877655,
0.008251176215708256,
0.019336992874741554,
-0.0498323030769825,
0.0005932337371632457,
-0.0051337420009076595,
-0.03862358257174492,
-0.01673992909491062,
0.011766109615564346,
0.00477248290553689,
-0.05078629404306412,
0.014198965393006802,
-0.008336820639669895,
-0.012156928889453411,
-0.008609021082520485,
0.014036222361028194,
0.009010596200823784,
-0.026657750830054283,
-0.002937556942924857,
-0.15330193936824799,
-0.009669202379882336,
-0.05928761884570122,
-0.018344486132264137,
-0.01162015926092863,
-0.06798329949378967,
-0.03303156793117523,
-0.002262055641040206,
0.07351028174161911,
-0.011309808120131493,
0.0292329303920269,
-0.054012879729270935,
-0.029542289674282074,
-0.011231772601604462,
0.023653503507375717,
-0.01584259606897831,
-0.023885954171419144,
-0.02645988203585148,
-0.015934685245156288,
-0.038337592035532,
0.004571209661662579,
0.004283455666154623,
0.016637664288282394,
0.011462980881333351,
0.011625409126281738,
-0.023440508171916008,
-0.010329799726605415,
-0.02634493261575699,
-0.01801021583378315,
0.023707903921604156,
0.06363055855035782,
0.013991538435220718,
-0.007860043086111546,
-0.014156349003314972,
-0.0019949201960116625,
0.02211720682680607,
0.020281171426177025,
-0.0019562370143830776,
-0.03422024846076965,
-0.027742203325033188,
-0.0023263441398739815,
0.026419324800372124,
0.009484860114753246,
0.000617120647802949,
-0.00622845534235239,
-0.005785027518868446,
-0.025478320196270943,
0.013191034086048603,
-0.012354202568531036,
0.003264466766268015,
0.004003719426691532,
-0.025831013917922974,
-0.012633503414690495,
-0.0007466285023838282,
0.04013678431510925,
-0.0033335962798446417,
-0.0006320396205410361,
-0.022361816838383675,
-0.0074319192208349705,
-0.0019649453461170197,
-0.0016864589415490627,
-0.03574961796402931,
-0.005005920771509409,
0.02682628110051155,
0.07074202597141266,
-0.057250767946243286,
0.027270672842860222,
0.022846993058919907,
-0.05287200212478638,
-0.030566686764359474,
0.8044524788856506,
-0.008316455408930779,
0.0388948991894722,
0.02320239134132862,
0.020671933889389038,
-0.009055293165147305,
-0.06062639132142067,
-0.017017995938658714,
-0.00723150884732604,
0.017610827460885048,
-0.012528507970273495,
0.02997986041009426,
0.018078772351145744,
0.003311640815809369,
0.028677094727754593,
-0.0013623806880787015,
0.003488158341497183,
0.0632154643535614,
-0.02561117522418499,
0.01406356692314148,
0.04587487503886223,
0.039213236421346664,
0.04580925777554512,
0.005514177493751049,
-0.0004487676778808236,
0.03044373355805874,
-0.1817195564508438,
-0.005084834061563015,
-8.457149208288642e-33,
0.035389915108680725,
-0.028770647943019867,
0.003676715074107051,
0.004439786076545715,
0.02192634902894497,
-0.025917883962392807,
-0.002998227020725608,
0.01494837086647749,
-0.04063735902309418,
-0.039645660668611526,
0.031744301319122314,
0.0004056083271279931,
0.005535242613404989,
-0.028814680874347687,
0.06893615424633026,
0.03222111985087395,
-0.014469057321548462,
0.056055065244436264,
0.03637855499982834,
-0.037345804274082184,
0.00407381122931838,
0.030731892213225365,
0.029695594683289528,
0.021989403292536736,
-0.005690688733011484,
0.033537592738866806,
-0.0056700981222093105,
0.050943367183208466,
-0.03660617768764496,
-0.05345740541815758,
-0.01772184669971466,
0.008618339896202087,
-0.01377079263329506,
-0.012964911758899689,
0.013660446740686893,
-0.01233137957751751,
-0.03960224986076355,
0.020220652222633362,
0.00905793160200119,
-0.014361499808728695,
-0.010184280574321747,
-0.021207045763731003,
0.005697045940905809,
-0.01343290600925684,
-0.020401228219270706,
-0.024315588176250458,
0.01734035834670067,
-0.023669026792049408,
-0.01081932708621025,
0.02827635407447815,
0.018806777894496918,
0.03306181728839874,
0.00024638092145323753,
-0.018947923555970192,
-0.034061186015605927,
0.024309983476996422,
-0.03700979799032211,
0.012801587581634521,
0.0328250378370285,
0.0054591866210103035,
0.05951744318008423,
-0.013352391310036182,
-0.0001882770302472636,
0.0028265651781111956,
-0.02166132628917694,
-0.027906812727451324,
0.033007532358169556,
-0.027933213859796524,
0.011645357124507427,
-0.02987472526729107,
-0.026045620441436768,
0.04664076864719391,
0.022105462849140167,
-0.028986748307943344,
-0.005149317439645529,
-0.025371814146637917,
-0.026905428618192673,
-0.029979100450873375,
-0.0010238824179396033,
0.03164969012141228,
0.02982945181429386,
-0.02619236893951893,
-0.024330437183380127,
-0.018886202946305275,
0.014009229838848114,
-0.007452214136719704,
0.018867429345846176,
0.04831762611865997,
0.007281096186488867,
0.018594995141029358,
0.03530776873230934,
0.04589099809527397,
-0.028171930462121964,
-0.034711357206106186,
0.0005385586991906166,
7.559754045667861e-33,
0.01896689087152481,
-0.025844644755125046,
-0.024620937183499336,
0.0269840806722641,
0.019016431644558907,
-0.005444596521556377,
0.00737460283562541,
0.0424887016415596,
-0.019698387011885643,
0.021832233294844627,
0.012159585021436214,
0.052090615034103394,
-0.03463532775640488,
-0.0004219526599626988,
0.014666744507849216,
0.020904647186398506,
-0.023284148424863815,
-0.028695058077573776,
0.04586102440953255,
-0.027213970199227333,
0.015872512012720108,
0.005585566163063049,
-0.01621388830244541,
0.01303985808044672,
-0.029465794563293457,
0.03478430584073067,
-0.02582712471485138,
-0.02543492242693901,
0.007560316473245621,
-0.0011524833971634507,
-0.006529641337692738,
0.011837269179522991,
-0.0016297627007588744,
-0.03058389015495777,
-0.007826858200132847,
0.005795345641672611,
-0.00628207391127944,
-0.001032149652019143,
0.049758702516555786,
-0.0023417866323143244,
-0.004000722896307707,
0.0030337348580360413,
0.03559289500117302,
-0.012033446691930294,
0.042696256190538406,
-0.02103230357170105,
0.004273276310414076,
0.01517442986369133,
0.03755665943026543,
0.04366907477378845,
0.027301384136080742,
0.017779460176825523,
-0.053699735552072525,
0.052871573716402054,
0.015116691589355469,
-0.036471787840127945,
-0.05638232082128525,
-0.020555416122078896,
-0.02254069410264492,
0.022247659042477608,
-0.02762281335890293,
-0.0031200991943478584,
-0.01513618789613247,
0.008242307230830193,
-0.03631402924656868,
0.030828798189759254,
-0.06910713762044907,
0.02397046983242035,
-0.008631100878119469,
-0.014271708205342293,
-0.03324513137340546,
-0.019441921263933182,
0.01359847653657198,
-0.023997575044631958,
0.020765002816915512,
-0.05216840282082558,
0.0264515932649374,
0.01225800346583128,
0.009699753485620022,
0.027011822909116745,
0.03854073956608772,
0.012813683599233627,
0.014367129653692245,
-0.06442321091890335,
0.006307296920567751,
-0.01344764418900013,
-0.02007347159087658,
0.013787273317575455,
0.0019638624507933855,
-0.026387793943285942,
0.01221261452883482,
-0.026983827352523804,
0.01902925781905651,
-0.012142428196966648,
-0.003844447201117873,
-1.3014300748181995e-8,
-0.04902053624391556,
0.02756945788860321,
0.013603328727185726,
-0.017984727397561073,
0.02717021107673645,
-0.0025759891141206026,
-0.02075992152094841,
-0.036387912929058075,
0.01714942790567875,
-0.009725573472678661,
0.01836836151778698,
-0.002664972562342882,
0.018355708569288254,
0.03537297621369362,
0.008252258412539959,
-0.04226456582546234,
-0.04100267216563225,
-0.004522421397268772,
0.05310843139886856,
0.04473792761564255,
0.008154728449881077,
0.023196104913949966,
0.009282443672418594,
0.015537201426923275,
0.0638790875673294,
0.004896243568509817,
-0.028467873111367226,
-0.09475275874137878,
0.008820539340376854,
0.049132492393255234,
-0.019467828795313835,
-0.022367827594280243,
-0.016092928126454353,
-0.03187338262796402,
-0.02629777602851391,
-0.03233850747346878,
-0.029570136219263077,
-0.017072610557079315,
-0.011157948523759842,
0.008593866601586342,
0.05210871994495392,
-0.03558594360947609,
-0.021564709022641182,
-0.022746486589312553,
-0.01799861155450344,
-0.013842982240021229,
-0.05160403251647949,
0.03097892925143242,
0.021657653152942657,
-0.0435471311211586,
-0.017542297020554543,
-0.01874239556491375,
0.06634651124477386,
0.014009598642587662,
0.053629204630851746,
-0.005325473845005035,
0.049854826182127,
0.0043328749015927315,
0.01148926094174385,
0.00308201159350574,
0.02846425771713257,
0.017073187977075577,
-0.029929695650935173,
-0.008431839756667614
] | jquery-dynamically-updating-a-drop-down-list | https://markhneedham.com/blog/2010/06/30/jquery-dynamically-updating-a-drop-down-list |
false | 2010-06-15 23:15:30 | Fluent NHibernate: Seeing the mapping files generated | [
"nhibernate"
] | [
"Hibernate"
] | We've been fiddling around with http://fluentnhibernate.org/[Fluent NHibernate] a bit over the last couple of days and one of the things that we wanted to do was output the NHibernate mapping files being generated so we could see if they were as expected.
I couldn't figure out how to do it but thanks to the help of http://twitter.com/jagregory/status/16210304123[James Gregory], http://twitter.com/trullock/status/16214631489[Andrew Bullock] and http://twitter.com/MatthewErbs/status/16213970597[Matthew Erbs] on twitter this is the code that you need in order to do that:
[source,csharp]
----
Fluently
.Configure()
.Database(MsSqlConfiguration.MsSql2000.ConnectionString("connection string"))
.Mappings(m => m.FluentMappings.ExportTo("c:\\directory-to-output-files-to"))
.BuildSessionFactory();
----
The 4th line is the important one here and we can choose which directory the mappings files get outputted to and then check that everything is getting setup as we'd expect. | null | null | [
0.0031351237557828426,
-0.0047715334221720695,
-0.0015181946801021695,
0.05593152716755867,
0.08175119012594223,
0.0024321398232132196,
0.0613870732486248,
0.02118835784494877,
0.008151296526193619,
-0.02951783314347267,
-0.020012741908431053,
0.003551518078893423,
-0.07400796562433243,
0.022753966972231865,
-0.014971818774938583,
0.06052996218204498,
0.060090143233537674,
-0.009609260596334934,
0.047285422682762146,
0.005312784109264612,
-0.005645453929901123,
0.031340982764959335,
-0.004027014598250389,
0.026510857045650482,
0.014883971773087978,
0.05441627651453018,
-0.02592291124165058,
-0.0008913683705031872,
-0.071993388235569,
-0.01136973686516285,
0.030465420335531235,
-0.015953678637742996,
0.008440298959612846,
-0.002460917690768838,
0.029798883944749832,
-0.017716648057103157,
-0.021168163046240807,
0.00798990298062563,
0.0047224704176187515,
0.02097509801387787,
-0.08561429381370544,
0.019356099888682365,
0.011897340416908264,
0.022676648572087288,
-0.02972990833222866,
0.006423592567443848,
-0.0417831614613533,
0.013246867805719376,
-0.0025638388469815254,
-0.013629536144435406,
-0.07835575193166733,
0.048768892884254456,
-0.02652263268828392,
0.01865900680422783,
-0.01190921664237976,
0.04615923389792442,
0.030775245279073715,
-0.06283491104841232,
0.040190186351537704,
-0.05070318654179573,
0.024841492995619774,
-0.011614340357482433,
-0.022533567622303963,
0.025367962196469307,
0.018702387809753418,
-0.016039786860346794,
-0.021118544042110443,
0.05487643927335739,
-0.03774276375770569,
-0.00958927720785141,
-0.0027974599506706,
0.03318358585238457,
0.011619169265031815,
-0.01661657728254795,
0.0217608492821455,
-0.04062727466225624,
-0.009392594918608665,
0.06207903102040291,
0.020877771079540253,
0.06288854032754898,
-0.024781852960586548,
-0.006081173196434975,
0.03253457695245743,
0.012803091667592525,
-0.003953416831791401,
-0.032532788813114166,
-0.002036445774137974,
0.0002800176152959466,
-0.04437897354364395,
0.0621979795396328,
-0.0061506833881139755,
-0.04589328169822693,
0.0033156098797917366,
0.0025055904407054186,
-0.003960459027439356,
0.0027502940502017736,
0.03533796966075897,
0.01409130822867155,
0.015595721080899239,
-0.004562912043184042,
-0.030443871393799782,
-0.025076402351260185,
0.026571860536932945,
0.017850888893008232,
-0.07635676860809326,
-0.030621252954006195,
-0.07172959297895432,
-0.027691787108778954,
0.023539453744888306,
0.004688821732997894,
-0.01362694427371025,
0.014086127281188965,
-0.031192597001791,
-0.02619708701968193,
-0.06720436364412308,
0.07440254837274551,
0.021216733381152153,
-0.03975363075733185,
0.014533499255776405,
0.04057956486940384,
0.049483053386211395,
0.03261823207139969,
-0.02767644263803959,
0.0750034749507904,
-0.024286510422825813,
0.055962882936000824,
0.0009397133835591376,
0.0387299619615078,
-0.027211952954530716,
-0.09173353761434555,
0.004992770496755838,
0.04646342247724533,
-0.024806354194879532,
0.02530626952648163,
0.015559659339487553,
-0.0090652359649539,
-0.0015121998731046915,
-0.007418832741677761,
0.039293985813856125,
0.028771813958883286,
-0.0056052734144032,
-0.019982047379016876,
-0.005892268847674131,
-0.009544377215206623,
0.03684523329138756,
0.04582000896334648,
-0.038336336612701416,
-0.05329890176653862,
-0.03771563619375229,
0.07341056317090988,
0.029790397733449936,
0.06534197926521301,
0.06277713924646378,
-0.04474082216620445,
0.02216571941971779,
0.08375885337591171,
0.024076689034700394,
-0.006461731623858213,
-0.016265546903014183,
0.009452695958316326,
0.017239009961485863,
0.0480208545923233,
0.03321857377886772,
0.0528041310608387,
-0.013708513230085373,
-0.01674778386950493,
0.0017067530425265431,
0.03359723091125488,
-0.007984815165400505,
-0.004037558566778898,
-0.05843723937869072,
-0.06673698872327805,
0.039359044283628464,
-0.03791243955492973,
-0.005265913438051939,
0.015333221293985844,
0.09550762176513672,
0.008801029995083809,
0.06221611797809601,
-0.01177655067294836,
-0.07079451531171799,
0.017685595899820328,
0.007224314846098423,
-0.006503215525299311,
-0.00565217575058341,
0.0038173168431967497,
0.06253674626350403,
0.03563866391777992,
0.01761619560420513,
0.0566706508398056,
-0.06055322289466858,
-0.09319330006837845,
-0.015922753140330315,
-0.01111223641782999,
0.04863016679883003,
-0.0035287735518068075,
0.027343522757291794,
0.07853502780199051,
0.02487945929169655,
0.03491463139653206,
0.02966434694826603,
0.002254702150821686,
0.022923316806554794,
-0.06176387891173363,
-0.05715122073888779,
0.04753275588154793,
0.022542383521795273,
0.014955444261431694,
-0.06634269654750824,
-0.019839530810713768,
-0.04157091677188873,
0.00025208713486790657,
0.031449127942323685,
0.006141612306237221,
0.041718851774930954,
0.008128943853080273,
0.02200315147638321,
-0.0201664250344038,
0.05059494078159332,
-0.04464421421289444,
0.03857047110795975,
0.01646317169070244,
-0.014508294872939587,
-0.007242703344672918,
-0.004076649434864521,
0.10571207106113434,
0.062414783984422684,
-0.028595130890607834,
-0.05717334523797035,
0.04112271964550018,
0.007865779101848602,
-0.023002732545137405,
0.012225423008203506,
-0.016934026032686234,
-0.006806668825447559,
0.022500036284327507,
-0.03026938997209072,
-0.02240440435707569,
0.0023144737351685762,
-0.03688061237335205,
0.024451058357954025,
0.07125295698642731,
-0.0220482274889946,
0.05134124308824539,
0.035388387739658356,
-0.022206339985132217,
-0.006744817830622196,
-0.022096596658229828,
-0.06300734728574753,
-0.0006702362443320453,
0.014067498035728931,
-0.0017806532559916377,
0.059972602874040604,
-0.004297229461371899,
-0.033865392208099365,
-0.01729743368923664,
-0.05064971745014191,
0.03770330548286438,
0.004490395076572895,
0.08307554572820663,
-0.0027532263193279505,
0.06252442300319672,
-0.030604057013988495,
0.011010423302650452,
0.013287738896906376,
-0.02626838907599449,
-0.013122483156621456,
-0.02991948463022709,
0.009539848193526268,
0.004967660177499056,
0.028546780347824097,
-0.004139415454119444,
0.0376843623816967,
0.019223466515541077,
0.006063967943191528,
-0.024101650342345238,
0.032273780554533005,
0.017459388822317123,
-0.028096232563257217,
-0.04374860227108002,
-0.03619410842657089,
0.03520934283733368,
-0.05950816720724106,
-0.01094793900847435,
-0.018333936110138893,
-0.06995921581983566,
0.02349608764052391,
-0.08914674073457718,
-0.04748862236738205,
0.014124667271971703,
0.021585337817668915,
0.0028163071256130934,
0.021012453362345695,
0.013916394673287868,
0.06024136394262314,
0.00331208948045969,
-0.0031865830533206463,
0.006761287339031696,
0.004052233882248402,
0.046091921627521515,
-0.008431431837379932,
0.03188197687268257,
0.01405843161046505,
-0.025853920727968216,
0.0008458503871224821,
-0.06389106810092926,
0.011562133207917213,
-0.01863248459994793,
-0.27521243691444397,
0.03094385378062725,
0.01047227531671524,
-0.056588221341371536,
0.06466711312532425,
-0.024851839989423752,
0.030971495434641838,
-0.04413078352808952,
-0.040888383984565735,
0.045493412762880325,
0.0015986742218956351,
-0.022007232531905174,
-0.014195372350513935,
0.03237662836909294,
0.010078526102006435,
0.02160080522298813,
0.03714306652545929,
-0.06592969596385956,
0.03601594641804695,
0.013574455864727497,
-0.015381005592644215,
-0.043127670884132385,
-0.010784035548567772,
0.028244461864233017,
0.03016061522066593,
0.04805581271648407,
-0.07975714653730392,
0.04339442029595375,
-0.028816603124141693,
-0.016402872279286385,
-0.004273382015526295,
-0.0016980523942038417,
-0.007725188974291086,
0.008640236221253872,
-0.034889623522758484,
-0.016223855316638947,
0.0076680369675159454,
0.0234791561961174,
0.00043456058483570814,
0.003610428888350725,
-0.03579005226492882,
-0.03135547786951065,
-0.034746650606393814,
-0.013346650637686253,
0.07827207446098328,
-0.022232966497540474,
-0.06187300756573677,
-0.0027348168659955263,
-0.020839164033532143,
0.05816101282835007,
-0.037821315228939056,
-0.0451597198843956,
0.011090526357293129,
0.042010243982076645,
0.0034326075110584497,
-0.020994527265429497,
0.00639303307980299,
-0.008874812163412571,
-0.057457610964775085,
-0.04825861379504204,
-0.005669771693646908,
-0.056386470794677734,
-0.027908964082598686,
-0.025471175089478493,
-0.0069853696040809155,
-0.05338652431964874,
-0.06478545814752579,
-0.01752523146569729,
0.06547243148088455,
0.035097185522317886,
-0.027513209730386734,
0.01135012786835432,
-0.016061725094914436,
-0.11203991621732712,
-0.020085245370864868,
-0.03172241151332855,
-0.02508310042321682,
-0.014077766798436642,
-0.01662767492234707,
0.03353995829820633,
-0.031016776338219643,
-0.016522610560059547,
-0.009649221785366535,
0.04288528114557266,
0.016328521072864532,
-0.011694391258060932,
0.036684222519397736,
-0.02088741399347782,
-0.035370420664548874,
-0.0026371728163212538,
0.061021387577056885,
-0.026381103321909904,
-0.00044296655687503517,
-0.024387367069721222,
-0.018029389902949333,
0.021373305469751358,
0.019717607647180557,
0.008305582217872143,
0.009625428356230259,
0.009126484394073486,
0.056380268186330795,
-0.07233186066150665,
0.040329914540052414,
-0.022354692220687866,
-0.00817058514803648,
-0.00819487776607275,
-0.04538640007376671,
0.022063037380576134,
0.0290176123380661,
0.044604796916246414,
-0.027931494638323784,
-0.027543114498257637,
0.01573473960161209,
-0.052085649222135544,
-0.04756808653473854,
-0.009066266939043999,
0.013617439195513725,
0.010425478219985962,
0.013399925082921982,
-0.02343735285103321,
-0.02475563995540142,
0.035343777388334274,
0.023075927048921585,
-0.014745300635695457,
-0.05510913208127022,
-0.0011159213026985526,
0.001832076464779675,
-0.007423371076583862,
0.03094998188316822,
0.01567932218313217,
-0.0009952455293387175,
0.01994049921631813,
0.03003787063062191,
-0.034456849098205566,
0.04526998847723007,
-0.012074143625795841,
-0.005709938704967499,
-0.060982052236795425,
0.0018100684974342585,
-0.003349744016304612,
-0.03895092010498047,
-0.008194604888558388,
0.006858999840915203,
0.022995205596089363,
0.043392114341259,
0.025827590376138687,
0.017733272165060043,
0.00849870778620243,
0.011687002144753933,
0.017320431768894196,
0.015153818763792515,
-0.05721180513501167,
0.0075600845739245415,
-0.06599603593349457,
-0.021034587174654007,
0.00610958831384778,
0.07005900889635086,
-0.01827462948858738,
-0.01327191386371851,
-0.02068467251956463,
0.01729101687669754,
-0.06813408434391022,
-0.027483562007546425,
0.010870310477912426,
-0.02186681143939495,
0.0677884966135025,
-0.018146196380257607,
0.047562189400196075,
-0.03495416045188904,
-0.0004587212752085179,
0.029078500345349312,
0.0026302197948098183,
-0.03206520900130272,
0.007759412284940481,
0.014479178003966808,
0.020566744729876518,
-0.011171293444931507,
0.04161909967660904,
0.031250376254320145,
0.026276320219039917,
0.001442597364075482,
0.008280378766357899,
0.016508694738149643,
-0.02590695582330227,
0.053433362394571304,
0.03185722231864929,
0.010899540036916733,
-0.00524144759401679,
0.00042678570025600493,
-0.0002332869917154312,
-0.018941638991236687,
-0.003420152934268117,
-0.029963010922074318,
0.02660130150616169,
-0.035829026252031326,
-0.07502087205648422,
0.0817221999168396,
-0.007548099849373102,
-0.009848854504525661,
0.03499279171228409,
0.022839264944195747,
-0.01697872206568718,
-0.022237401455640793,
0.05912407860159874,
0.034161683171987534,
-0.05855222046375275,
-0.018145715817809105,
-0.018410691991448402,
-0.009172910824418068,
-0.0028668600134551525,
0.025715934112668037,
-0.04225387051701546,
-0.025019686669111252,
-0.018363796174526215,
0.002855831291526556,
-0.06597435474395752,
-0.025968920439481735,
0.00008571459329687059,
0.01721361093223095,
-0.007538815960288048,
-0.006199910771101713,
0.00464221928268671,
0.022371772676706314,
-0.027132496237754822,
-0.03929290547966957,
0.00493090832605958,
-0.027743149548768997,
-0.008645318448543549,
0.008860968053340912,
-0.044730670750141144,
0.007680901791900396,
-0.03622153773903847,
0.011975087225437164,
0.01831180974841118,
-0.020132502540946007,
-0.01920856349170208,
-0.026839852333068848,
0.010127861052751541,
0.007631916552782059,
0.033870767802000046,
-0.007404041942209005,
0.00033546239137649536,
-0.029266122728586197,
-0.040932171046733856,
-0.031528111547231674,
0.01692228391766548,
-0.021186264231801033,
-0.011195141822099686,
0.048883188515901566,
0.038938626646995544,
0.0026515754871070385,
0.03944188356399536,
-0.009749029763042927,
-0.015853824093937874,
0.06853219866752625,
-0.05800052732229233,
-0.015885500237345695,
0.00850936770439148,
-0.0718761458992958,
-0.01168012898415327,
0.008806473575532436,
0.010089012794196606,
-0.028807809576392174,
0.035485707223415375,
0.02078229933977127,
-0.020035766065120697,
0.03408852964639664,
0.009249789640307426,
0.043356455862522125,
-0.044022176414728165,
-0.018468104302883148,
-0.057449765503406525,
-0.018385615199804306,
0.020377887412905693,
0.007069800514727831,
-0.041645754128694534,
-0.017578499391674995,
-0.018240706995129585,
0.027742264792323112,
-0.05264977365732193,
-0.047517079859972,
0.028533117845654488,
-0.02355937846004963,
-0.000020934028725605458,
-0.000193683328689076,
-0.037018973380327225,
0.033228080719709396,
0.018241101875901222,
-0.027114327996969223,
-0.06049936264753342,
-0.0158876683562994,
0.04015941545367241,
-0.02311094105243683,
0.02537488006055355,
-0.06384900957345963,
-0.013002526946365833,
0.06421554088592529,
0.021360529586672783,
0.015708673745393753,
0.03964419662952423,
-0.03138428181409836,
0.048412077128887177,
0.0038294384721666574,
0.012880573980510235,
0.0005085919983685017,
-0.017473608255386353,
-0.007653046399354935,
-0.07275606691837311,
-0.0099790059030056,
0.005739227402955294,
-0.011871038936078548,
-0.04418766871094704,
0.07756480574607849,
0.03186015784740448,
-0.004223119001835585,
-0.056710369884967804,
0.02834217995405197,
-0.017942186444997787,
-0.014309861697256565,
-0.024093197658658028,
0.024660080671310425,
-0.043450094759464264,
0.07194215804338455,
0.028123019263148308,
0.0019666969310492277,
0.07232757657766342,
-0.015382583253085613,
-0.0024627428501844406,
0.024483568966388702,
0.07199366390705109,
0.06804569065570831,
0.00890724454075098,
-0.002669530687853694,
0.055361486971378326,
-0.0404597632586956,
-0.02486809715628624,
0.002506743185222149,
-0.00010873041901504621,
-0.025866009294986725,
-0.014368744567036629,
0.01602977141737938,
0.07851434499025345,
-0.00975109450519085,
0.05270713195204735,
-0.028444183990359306,
-0.005851307418197393,
-0.006705153733491898,
-0.013739701360464096,
0.01236827950924635,
0.032735418528318405,
0.006794641260057688,
0.03560572490096092,
-0.013459140434861183,
-0.028289737179875374,
0.007390438579022884,
-0.006597909610718489,
0.00838695839047432,
0.005554881412535906,
-0.023454440757632256,
0.018538670614361763,
-0.002439246978610754,
0.012026984244585037,
0.0914188101887703,
-0.006492860149592161,
0.0009966430952772498,
0.00261876592412591,
0.01149838324636221,
-0.006430663634091616,
0.024234237149357796,
-0.0369730219244957,
-0.0372944138944149,
0.01246383786201477,
-0.031092211604118347,
-0.01761353574693203,
-0.02580977976322174,
-0.026193875819444656,
0.010642383247613907,
-0.0071268146857619286,
-0.0062422254122793674,
0.002481561852619052,
0.013784509152173996,
-0.026927120983600616,
-0.05989549681544304,
-0.05066234990954399,
-0.039252229034900665,
-0.05714339017868042,
-0.006439005024731159,
0.017734508961439133,
-0.026089029386639595,
-0.029464608058333397,
-0.003039860399439931,
-0.014688107185065746,
-0.043606363236904144,
0.050967924296855927,
-0.05571720376610756,
-0.012387522496283054,
0.02652609348297119,
0.028860069811344147,
0.034140005707740784,
0.055180612951517105,
0.06329700350761414,
0.012693114578723907,
0.0017084733117371798,
-0.03815654292702675,
0.008177949115633965,
0.04291272163391113,
-0.015467694029211998,
0.009273282252252102,
-0.09165368974208832,
0.023850874975323677,
0.009369581006467342,
0.03315402939915657,
-0.07084252685308456,
0.01040577981621027,
0.04674656316637993,
-0.024447515606880188,
0.043272875249385834,
-0.00016358289576601237,
0.010706271976232529,
0.004165061749517918,
-0.027517810463905334,
-0.005242748651653528,
0.025286754593253136,
0.035933367908000946,
-0.022090718150138855,
0.06280026584863663,
0.056290000677108765,
-0.043132416903972626,
-0.050277311354875565,
-0.02889251708984375,
-0.005323431454598904,
0.03833968937397003,
-0.029407750815153122,
-0.04928712546825409,
-0.03833739086985588,
-0.08903050422668457,
-0.02469528652727604,
0.039175860583782196,
0.003349144710227847,
-0.030143020674586296,
0.005775889381766319,
0.017157597467303276,
-0.06757254153490067,
0.05793564394116402,
-0.04642189294099808,
-0.0039451150223612785,
-0.016101699322462082,
-0.058096837252378464,
-0.013811220414936543,
0.003806757740676403,
0.01418370008468628,
-0.004340869840234518,
0.009536398574709892,
-0.057535044848918915,
-0.013781492598354816,
-0.008831207640469074,
0.01825229451060295,
0.033188555389642715,
0.024116219952702522,
0.01886558346450329
] | [
-0.07490451633930206,
-0.04768957570195198,
-0.03228349611163139,
-0.026103446260094643,
0.01725291647017002,
-0.02889246493577957,
-0.0371297262609005,
0.004631957970559597,
0.005794420838356018,
-0.02592582255601883,
0.003656176384538412,
-0.05560377985239029,
0.025571167469024658,
-0.0016725374152883887,
0.09772462397813797,
0.029884304851293564,
0.0029681087471544743,
-0.06265155971050262,
-0.001546496874652803,
0.026553113013505936,
-0.0018822867423295975,
-0.03493398800492287,
-0.03573781996965408,
-0.016448751091957092,
-0.01943277381360531,
0.02014896459877491,
0.05626179277896881,
-0.06458806991577148,
0.0021856024395674467,
-0.21084964275360107,
0.0006828221376053989,
0.005863313563168049,
0.022051963955163956,
-0.013480400666594505,
0.014183617196977139,
0.027398401871323586,
0.019867993891239166,
0.023849699646234512,
-0.008492846041917801,
0.01576753333210945,
0.038682591170072556,
0.013236397877335548,
-0.06447845697402954,
-0.031682390719652176,
0.05121574550867081,
-0.0447140708565712,
-0.005420751869678497,
-0.003126859897747636,
-0.007016137707978487,
-0.008402246050536633,
-0.05631369724869728,
-0.031107541173696518,
-0.010816419497132301,
-0.03290822356939316,
0.0035082639660686255,
0.01910821534693241,
0.05781155824661255,
0.05155651643872261,
0.016765642911195755,
0.009007032960653305,
0.013278558850288391,
-0.008506291545927525,
-0.14752289652824402,
0.09637908637523651,
0.00411217100918293,
0.03471988067030907,
0.008730973117053509,
-0.04087835177779198,
0.01435745321214199,
0.06298930943012238,
-0.007953302934765816,
-0.027125362306833267,
-0.05349579453468323,
0.03163144364953041,
0.030625542625784874,
-0.01832263171672821,
0.01661091297864914,
0.03199826180934906,
0.02331349067389965,
-0.024686327204108238,
-0.03913102671504021,
0.01099914126098156,
-0.010704413056373596,
0.03734777122735977,
-0.010548469610512257,
0.04227925464510918,
-0.021234460175037384,
0.0445721261203289,
-0.011381757445633411,
0.01917063258588314,
0.028511542826890945,
-0.0337894968688488,
0.05670313164591789,
0.021053938195109367,
-0.10406427085399628,
-0.016186734661459923,
-0.013670854270458221,
0.016555972397327423,
0.001727254712022841,
0.44284582138061523,
-0.022411763668060303,
-0.045321159064769745,
0.04312390461564064,
0.014933329075574875,
-0.016533825546503067,
0.023373235017061234,
-0.012263289652764797,
-0.043608520179986954,
0.030753526836633682,
-0.004852468613535166,
-0.0006114313146099448,
-0.012989957816898823,
0.033001482486724854,
-0.05799191817641258,
0.008402712643146515,
0.023982372134923935,
0.03571994602680206,
0.02225080318748951,
-0.07126199454069138,
0.00507608987390995,
-0.025194082409143448,
0.0042939381673932076,
0.037761982530355453,
0.02150803804397583,
0.051350340247154236,
-0.018547745421528816,
0.0026423803064972162,
0.03560463711619377,
0.07092072069644928,
0.0027127210050821304,
0.006256168242543936,
-0.010213494300842285,
-0.0620913952589035,
-0.007446481846272945,
0.013611814938485622,
-0.010974309407174587,
0.033142879605293274,
-0.051682814955711365,
-0.007614246103912592,
0.021951189264655113,
-0.011799921281635761,
-0.0213409885764122,
0.007787834387272596,
-0.012101617641746998,
-0.055248670279979706,
0.13615162670612335,
-0.009046499617397785,
-0.02755601517856121,
-0.01075577549636364,
-0.02045506052672863,
-0.0069733839482069016,
0.05462917312979698,
-0.014590383507311344,
-0.03104395419359207,
0.03389252349734306,
0.03249739110469818,
0.07615378499031067,
-0.010297056287527084,
-0.07325839251279831,
-0.02281935140490532,
-0.006324444897472858,
-0.05076364427804947,
-0.04815999045968056,
0.07261277735233307,
0.03874475881457329,
-0.09303639084100723,
-0.027351833879947662,
0.03901421278715134,
0.03771117329597473,
-0.04730432480573654,
-0.0030055700335651636,
0.002327949972823262,
-0.0047004204243421555,
-0.0041640400886535645,
0.0365477055311203,
-0.03134749457240105,
-0.046618569642305374,
0.007047597318887711,
0.021390587091445923,
0.032687410712242126,
-0.01041505578905344,
0.01653836853802204,
-0.03301120549440384,
-0.0026797691825777292,
-0.04151877760887146,
-0.11067011952400208,
-0.0394921600818634,
0.01904386281967163,
-0.031216591596603394,
-0.06640058010816574,
-0.034614838659763336,
-0.019180338829755783,
-0.06907005608081818,
0.07458464801311493,
0.00024301854136865586,
-0.04049783945083618,
0.03643140196800232,
0.027664707973599434,
0.019450129941105843,
-0.037518516182899475,
0.017821311950683594,
0.0713447779417038,
-0.02632031962275505,
0.042686913162469864,
-0.05749403312802315,
0.011961081065237522,
0.01275596022605896,
-0.027030549943447113,
0.04758724570274353,
0.036278992891311646,
-0.012314378283917904,
-0.00034894488635472953,
0.003805767511948943,
0.028761088848114014,
-0.04337513446807861,
0.015319193713366985,
0.0014343876391649246,
0.03829529508948326,
0.022575223818421364,
0.036200713366270065,
-0.02018125355243683,
-0.03988221287727356,
-0.03161483630537987,
-0.3427906036376953,
-0.036562077701091766,
-0.015035551972687244,
-0.029249077662825584,
-0.003495302749797702,
-0.0704660564661026,
0.013020036742091179,
-0.007136219181120396,
0.007270459551364183,
-0.0024018501862883568,
0.053338680416345596,
-0.025018122047185898,
0.028569040820002556,
-0.05847088247537613,
0.003936079330742359,
0.022227773442864418,
-0.01790073700249195,
-0.017035795375704765,
-0.012258998118340969,
0.0018240227364003658,
0.03903888911008835,
-0.006042884662747383,
-0.025080332532525063,
-0.06902733445167542,
0.002941168611869216,
-0.005176543723791838,
0.11281013488769531,
-0.004736117087304592,
0.10884889960289001,
-0.041988834738731384,
0.07384582608938217,
-0.012379699386656284,
-0.010865237563848495,
-0.12676991522312164,
0.02439849264919758,
-0.04131142795085907,
-0.014150934293866158,
-0.021558066830039024,
0.028537623584270477,
-0.034960221499204636,
-0.032034821808338165,
0.024495204910635948,
-0.07217224687337875,
-0.06999930739402771,
-0.0062474594451487064,
0.0026602402795106173,
-0.02580832690000534,
-0.02095728926360607,
-0.015508019365370274,
0.07509041577577591,
-0.017667561769485474,
0.0012440672144293785,
0.01172342337667942,
0.008677971549332142,
-0.0036649529356509447,
-0.004445292521268129,
-0.08261313289403915,
0.006076883524656296,
0.0009005928295664489,
-0.0025745502207428217,
0.04696757718920708,
0.07060980051755905,
0.016792256385087967,
-0.05788227170705795,
0.0014218883588910103,
0.0330921933054924,
-0.0088215796276927,
0.011043445207178593,
0.06487823277711868,
-0.02242562547326088,
-0.02969454415142536,
0.0706603080034256,
-0.025874214246869087,
0.0371851772069931,
0.02872384712100029,
0.026071196421980858,
-0.0281844325363636,
-0.01408483274281025,
0.009085515514016151,
-0.005713576916605234,
0.03672758489847183,
-0.024166375398635864,
0.06221657618880272,
-0.01884249970316887,
0.001465837238356471,
0.07055556774139404,
0.0019309435738250613,
-0.011762787587940693,
0.034106239676475525,
0.007750228978693485,
-0.0017116396920755506,
0.015219754539430141,
-0.003601648146286607,
-0.09351504594087601,
0.07894126325845718,
-0.006198799703270197,
-0.22331030666828156,
0.034210000187158585,
0.04898061603307724,
0.04016232490539551,
-0.02713276445865631,
0.013051294721662998,
0.048470087349414825,
-0.05336419865489006,
0.028377529233694077,
0.0068955738097429276,
0.05486004799604416,
0.05439698323607445,
-0.01703079417347908,
-0.0038691703230142593,
0.03402934968471527,
0.013582471758127213,
0.03783246874809265,
0.017792239785194397,
0.047964245080947876,
-0.009374369867146015,
-0.01048558671027422,
-0.01881791464984417,
0.15680532157421112,
0.044052641838788986,
0.018325135111808777,
0.004961873404681683,
-0.026645468547940254,
-0.017619669437408447,
0.08731568604707718,
0.01573355495929718,
-0.012944372370839119,
-0.0026962985284626484,
0.08551124483346939,
0.026891572400927544,
0.05452677235007286,
-0.07877295464277267,
-0.025149507448077202,
0.029937416315078735,
0.01064223051071167,
-0.002057192847132683,
0.010320627130568027,
0.02576236054301262,
-0.04723317176103592,
0.05559533089399338,
0.038358185440301895,
0.006422535050660372,
0.015723057091236115,
-0.006468270439654589,
-0.05457261949777603,
0.011390452273190022,
-0.024319957941770554,
-0.024851147085428238,
0.01646428368985653,
0.010876731015741825,
0.006849140860140324,
0.063564732670784,
0.022613782435655594,
-0.06124379113316536,
-0.029761791229248047,
0.018250448629260063,
0.001425709924660623,
-0.04566672444343567,
0.09064911305904388,
-0.0029873650055378675,
0.010771971195936203
] | [
0.03579214960336685,
-0.009412149898707867,
0.008867322467267513,
0.034474316984415054,
-0.004116015508770943,
0.04301086813211441,
0.0027895087841898203,
0.014333656057715416,
-0.04161311686038971,
0.02514566108584404,
-0.02546781674027443,
-0.019473597407341003,
0.027192942798137665,
0.009381970390677452,
-0.015694471076130867,
0.013552261516451836,
-0.002646626904606819,
-0.05108407512307167,
0.0015125756617635489,
0.004608699586242437,
-0.028045134618878365,
0.051082197576761246,
0.014443207532167435,
-0.02877925895154476,
0.003964136354625225,
0.01817011833190918,
-0.014399232342839241,
-0.004822118673473597,
0.015007349662482738,
-0.11837108433246613,
-0.038264527916908264,
-0.030383024364709854,
-0.01296699233353138,
0.011205269023776054,
0.025662686675786972,
-0.003428620984777808,
0.05210515856742859,
0.06854604929685593,
0.03177134692668915,
-0.018132410943508148,
0.007226014044135809,
-0.02603987418115139,
0.012243319302797318,
0.010187744162976742,
-0.032540950924158096,
0.015345750376582146,
-0.011135482229292393,
-0.02382860891520977,
-0.01214720867574215,
0.02042909525334835,
-0.03308494761586189,
-0.017740366980433464,
0.006758543197065592,
0.005070307292044163,
0.03876752406358719,
0.05403482913970947,
-0.030842188745737076,
0.011576824821531773,
-0.01859941892325878,
-0.01356648001819849,
-0.02557416446506977,
-0.019384831190109253,
-0.011334008537232876,
-0.03776206448674202,
0.031338904052972794,
-0.01236125361174345,
-0.0022017143201082945,
0.011033703573048115,
0.0014860761584714055,
0.002911486430093646,
-0.02869686298072338,
0.040859777480363846,
-0.02799767255783081,
-0.004168170038610697,
0.005917868576943874,
0.03261813148856163,
0.013939721509814262,
0.011927184648811817,
0.039540790021419525,
-0.044979240745306015,
-0.03273886442184448,
0.03940421715378761,
0.027806105092167854,
0.00760439969599247,
0.013505158945918083,
0.0028991259168833494,
-0.03554077818989754,
-0.032438360154628754,
0.04218001291155815,
0.011240474879741669,
-0.05684971064329147,
-0.018643584102392197,
0.020138589665293694,
0.024125277996063232,
-0.10126309096813202,
-0.016982167959213257,
-0.0037073735147714615,
0.014782599173486233,
0.006336740218102932,
0.8320366740226746,
0.012224117293953896,
0.03618660569190979,
0.012062153778970242,
-0.016658972948789597,
-0.023422032594680786,
-0.01191547978669405,
0.03783088177442551,
-0.03314202278852463,
0.03258906304836273,
0.010648290626704693,
-0.001164752058684826,
0.03392926976084709,
0.03755149245262146,
-0.01423493679612875,
0.03355666622519493,
-0.020541749894618988,
0.031204909086227417,
0.008001932874321938,
-0.03614993393421173,
0.028560727834701538,
-0.015500952489674091,
-0.021434776484966278,
-0.023767875507473946,
-0.02838866226375103,
-0.008457492105662823,
-0.16132093966007233,
0.010890988633036613,
-7.34271444215188e-33,
0.06276921182870865,
-0.015015470795333385,
0.04609033092856407,
0.032005682587623596,
0.045270729809999466,
-0.005500988103449345,
0.024993380531668663,
-0.013815094716846943,
-0.00685369735583663,
-0.03127181529998779,
-0.03760262206196785,
-0.0009179639746434987,
-0.025360168889164925,
-0.006536473520100117,
0.007094234693795443,
0.024702489376068115,
-0.019996052607893944,
0.016866546124219894,
-0.04320080205798149,
0.00426682410761714,
0.003256309311836958,
0.04085177928209305,
0.003940444439649582,
0.003296465612947941,
0.008421603590250015,
-0.011307614855468273,
0.017107024788856506,
0.04054604843258858,
-0.012943726032972336,
-0.03550722077488899,
-0.001437929691746831,
0.008741019293665886,
-0.0449802465736866,
-0.013306357897818089,
-0.0009714171173982322,
-0.060744673013687134,
-0.035712964832782745,
0.02437608875334263,
-0.025099925696849823,
-0.02875496819615364,
-0.04259452596306801,
-0.017593951895833015,
-0.04985702037811279,
0.00014222630125004798,
-0.013870351016521454,
-0.022543901577591896,
0.012001043185591698,
0.048899102956056595,
0.018445780500769615,
0.006783917546272278,
0.03360973671078682,
-0.010656041093170643,
-0.014422326348721981,
0.014412767253816128,
0.013542898930609226,
0.024768754839897156,
-0.012031028978526592,
0.0029159479308873415,
0.024988487362861633,
0.0026653765235096216,
-0.03645721450448036,
-0.01708211563527584,
-0.020663604140281677,
0.025703895837068558,
-0.011741884984076023,
0.002446349710226059,
0.013410385698080063,
-0.04128563404083252,
0.03273717686533928,
-0.019436199218034744,
0.007448510266840458,
-0.004961532540619373,
-0.0184937734156847,
-0.033477552235126495,
0.009210148826241493,
-0.03360366076231003,
-0.004125187639147043,
-0.014062478207051754,
0.0036876124795526266,
0.060910698026418686,
0.0012488507200032473,
-0.006477249786257744,
-0.03921608254313469,
-0.02656928449869156,
0.007273110561072826,
-0.027189984917640686,
0.007789018098264933,
-0.004713772796094418,
0.017221594229340553,
0.018339285627007484,
0.036729905754327774,
0.040420517325401306,
-0.02680891565978527,
-0.036023885011672974,
-0.026514660567045212,
7.714191962846831e-33,
0.020326605066657066,
0.004454453010112047,
-0.015093469992280006,
-0.003417732659727335,
-0.017690224573016167,
-0.012681897729635239,
0.029957832768559456,
0.02245163358747959,
-0.056274574249982834,
0.00024915856192819774,
-0.004163982812315226,
0.000007388285666820593,
0.005121428519487381,
0.043160852044820786,
0.028862616047263145,
-0.028149789199233055,
0.033957794308662415,
-0.009784211404621601,
0.054307132959365845,
0.02913486771285534,
0.06993032246828079,
0.0122325224801898,
-0.02722914330661297,
0.020588265731930733,
0.029647771269083023,
0.04655158519744873,
-0.029776064679026604,
0.030374800786376,
-0.0029100789688527584,
-0.017936794087290764,
-0.003687179647386074,
-0.01426035724580288,
0.0008091849740594625,
-0.07411516457796097,
-0.029699280858039856,
0.0014382540248334408,
0.0013510576682165265,
0.003684348426759243,
-0.01725805178284645,
-0.017804307863116264,
-0.02345215156674385,
-0.026738321408629417,
-0.036862608045339584,
0.008442853577435017,
0.0007736533880233765,
0.014712403528392315,
-0.015511870384216309,
-0.013273543678224087,
0.013898063451051712,
0.05052580311894417,
0.009042390622198582,
-0.007646741811186075,
0.013432658277451992,
0.004648799542337656,
0.02198384888470173,
-0.015529745258390903,
-0.027949828654527664,
0.010048078373074532,
0.025773273780941963,
0.0055920276790857315,
-0.016649359837174416,
0.006529706064611673,
-0.023404106497764587,
-0.00800031516700983,
-0.024646006524562836,
0.011705777607858181,
-0.0004342828178778291,
-0.006646623834967613,
0.020906073972582817,
-0.04875752329826355,
-0.03309235721826553,
-0.027602655813097954,
0.02774445340037346,
0.05091017857193947,
0.02050144039094448,
-0.049719855189323425,
0.011974925175309181,
-0.004497399553656578,
-0.01252612005919218,
0.007697752211242914,
0.0039130765944719315,
-0.040446363389492035,
0.028670497238636017,
-0.011373283341526985,
0.01647108606994152,
0.030247900635004044,
0.010322203859686852,
-0.012415979988873005,
-0.020108170807361603,
0.029305627569556236,
-0.0077479081228375435,
-0.004470340441912413,
-0.01666809432208538,
0.02223856933414936,
-0.004713177680969238,
-1.3147293920212633e-8,
-0.01510663889348507,
-0.023492775857448578,
-0.017221201211214066,
-0.013082967139780521,
0.02607753314077854,
0.02610856294631958,
-0.02140658162534237,
0.022847600281238556,
-0.0045934817753732204,
0.0271538645029068,
0.042288247495889664,
-0.006887228228151798,
0.0253203846514225,
0.025857428088784218,
0.02958982065320015,
-0.04654334858059883,
0.017005188390612602,
-0.03000587411224842,
-0.0013511874713003635,
-0.02130020596086979,
-0.016830438748002052,
0.06300941854715347,
-0.002099632052704692,
0.018829980865120888,
0.03396320715546608,
0.00897358637303114,
0.011295612901449203,
-0.10331309586763382,
-0.018087351694703102,
-0.018661238253116608,
-0.020651474595069885,
-0.012445982545614243,
0.010114242322742939,
0.0012451914371922612,
-0.05959625914692879,
-0.01928131654858589,
0.01779741235077381,
0.010040298104286194,
0.002928847447037697,
-0.00854835007339716,
-0.0035329500678926706,
0.03740257769823074,
-0.012775648385286331,
-0.016785878688097,
-0.0003627454861998558,
-0.01112375222146511,
-0.009342601522803307,
0.03565455228090286,
-0.011543610133230686,
-0.05138962343335152,
-0.0027419261168688536,
0.012083017267286777,
0.040761299431324005,
0.040160998702049255,
-0.01998213306069374,
0.017650580033659935,
0.001142812892794609,
-0.0010792864486575127,
-0.01895095221698284,
0.041120924055576324,
0.001730035524815321,
0.0022939664777368307,
-0.029684649780392647,
-0.04710650444030762
] | fluent-nhibernate-seeing-the-mapping-files-generated | https://markhneedham.com/blog/2010/06/15/fluent-nhibernate-seeing-the-mapping-files-generated |
false | 2010-06-13 22:35:14 | C#: A failed attempt at F#-ish pattern matching | [
"c",
"f"
] | [
".NET",
"fsharp"
] | A few weeks ago we had some http://www.markhneedham.com/blog/2010/04/20/functional-c-an-imperative-to-declarative-example/[C# code around calcuations] which had got a bit too imperative in nature.
The code looked roughly like this:
[source,csharp]
----
public class ACalculator
{
public double CalculateFrom(UserData userData)
{
if(userData.Factor1 == Factor1.Option1)
{
return 1.0;
}
if(userData.Factor2 == Factor2.Option3)
{
return 2.0;
}
if(userData.Factor3 == Factor3.Option2)
{
return 3.0
}
return 0.0;
}
}
----
I think there should be a more object oriented way to write this code whereby we push some of the logic onto the 'UserData' object but it struck me that it reads a little bit like http://www.markhneedham.com/blog/2010/01/12/f-refactoring-to-pattern-matching/[pattern matching code you might see in F#].
I decided to drive the code to use a dictionary which would store functions representing each of the conditions in the if statements:
[source,csharp]
----
public class ACalculator
{
private Dictionary<Func<UserData, bool>, double> calculations;
public ACalculator()
{
calculations = new Dictionary<Func<UserData,bool>,double>
{
{u => u.Factor1 == Factor1.Option1, 1.0},
{u => u.Factor2 == Factor2.Option3, 2.0},
{u => u.Factor3 == Factor3.Option2, 3.0}
};
}
public double CalculateFrom(UserData userData)
{
var calculation = calculations.Keys.FirstOrDefault(calc => calc(userData));
if(calculation != null)
{
return calculations[calculation];
}
return 0.0;
}
}
----
It's less readable than it was before and it's not obvious that the adding of the functions to the dictionary needs to be in that order in order for it to work.
I've simplified the real example a bit to show the idea but I don't think it works as the best abstraction in this situation either way although it was an interesting experiment. | null | null | [
0.008942442946135998,
-0.03473960980772972,
-0.010706206783652306,
0.02261405996978283,
0.09189318865537643,
0.022129857912659645,
0.02143681049346924,
0.021507006138563156,
0.004487611353397369,
-0.018548356369137764,
0.01790544018149376,
0.006771685089915991,
-0.068260058760643,
0.005520293023437262,
-0.02419830486178398,
0.0646955743432045,
0.07338633388280869,
-0.04303048923611641,
0.04246162250638008,
-0.007298863492906094,
-0.02576894871890545,
0.07527151703834534,
-0.026748567819595337,
0.028107674792408943,
0.013684728182852268,
0.051034893840551376,
0.007661901880055666,
-0.012126761488616467,
-0.059142984449863434,
0.003345760516822338,
0.050282903015613556,
0.052089203149080276,
0.012357964180409908,
-0.012153370305895805,
0.0005050113541074097,
-0.024740278720855713,
0.012998628430068493,
0.020536571741104126,
-0.006482614669948816,
0.043274473398923874,
-0.0640905499458313,
0.0046805087476968765,
0.0017845105612650514,
0.019689463078975677,
-0.06899063289165497,
-0.011056658811867237,
-0.03981054946780205,
-0.023692717775702477,
-0.04745683819055557,
-0.030423898249864578,
-0.07146191596984863,
0.018599899485707283,
-0.028905441984534264,
-0.01123362872749567,
-0.0034781801514327526,
0.07829134166240692,
0.013670267537236214,
-0.07009829580783844,
0.011829465627670288,
-0.056995850056409836,
0.013465022668242455,
0.016126403585076332,
0.003939335700124502,
0.021250419318675995,
0.0020344690419733524,
0.003042374737560749,
-0.030223915353417397,
0.04454781860113144,
-0.044337544590234756,
-0.022856149822473526,
0.0017953282222151756,
0.02685701847076416,
-0.007842451333999634,
-0.009722561575472355,
-0.016407545655965805,
-0.028170529752969742,
-0.020005332306027412,
0.026979174464941025,
0.00953682977706194,
0.041813671588897705,
0.010837098583579063,
0.03331732749938965,
0.035593632608652115,
0.005605129990726709,
0.02424190565943718,
-0.01813378743827343,
-0.0218335147947073,
0.005832260474562645,
-0.0012373756617307663,
0.07424584031105042,
0.0060523198917508125,
-0.039736680686473846,
0.016485130414366722,
0.03437155485153198,
0.006353247445076704,
0.026031646877527237,
0.009596068412065506,
-0.024012278765439987,
0.002057843143120408,
0.008312078192830086,
-0.02890905551612377,
-0.03995824605226517,
0.01700635440647602,
-0.014123008586466312,
-0.05826970189809799,
0.003815755248069763,
-0.040727730840444565,
-0.024664008989930153,
0.04264406859874725,
0.02638131193816662,
-0.04177161678671837,
0.02062818966805935,
-0.019489454105496407,
-0.012280154041945934,
-0.06891994178295135,
0.059842757880687714,
0.01165714766830206,
0.016710102558135986,
-0.008838248439133167,
0.013005156069993973,
0.0655791312456131,
0.029918868094682693,
-0.006259175017476082,
0.08324099332094193,
0.022531842812895775,
0.05188880115747452,
0.015835590660572052,
0.056961942464113235,
0.011416418477892876,
-0.07136731594800949,
-0.0072677102871239185,
0.044336676597595215,
-0.01755545102059841,
0.0074777319096028805,
-0.005371556151658297,
-0.025130094960331917,
-0.02151336520910263,
0.012634827755391598,
0.04990829899907112,
0.04304926469922066,
0.008012834005057812,
-0.03816072270274162,
0.03715115785598755,
-0.055504463613033295,
-0.017228102311491966,
0.006488118786364794,
0.005680992733687162,
0.011670389212667942,
-0.01989135332405567,
0.04336271062493324,
0.025580035522580147,
0.0689922347664833,
0.04112889990210533,
-0.05937003716826439,
0.028576401993632317,
0.06902764737606049,
0.02065756544470787,
-0.005600200966000557,
-0.001555059221573174,
0.024212738499045372,
0.04695168510079384,
0.027318401262164116,
-0.03197133541107178,
0.01988631673157215,
0.003258025273680687,
-0.0029964728746563196,
0.013615427538752556,
0.05556534230709076,
-0.005554794333875179,
-0.004839394707232714,
-0.0411091148853302,
-0.029568584635853767,
0.059156015515327454,
-0.026817036792635918,
-0.01191651076078415,
0.027311434969305992,
0.06287810206413269,
-0.0072641074657440186,
0.08173791319131851,
-0.008376744575798512,
-0.07178249210119247,
0.02181108109652996,
0.01880800537765026,
-0.010419553145766258,
-0.005950300022959709,
0.026934273540973663,
0.06865131855010986,
-0.004494345281273127,
0.004040366970002651,
0.03405384719371796,
-0.054521504789590836,
-0.07618545740842819,
-0.04866885766386986,
-0.019314471632242203,
0.07761459797620773,
-0.02385401539504528,
-0.03947555646300316,
0.08274979144334793,
0.020593658089637756,
0.06279619038105011,
0.02223784103989601,
-0.024328012019395828,
0.029302893206477165,
-0.012178056873381138,
-0.020713472738862038,
0.025851210579276085,
0.03887882083654404,
0.02429417334496975,
-0.04536330699920654,
0.021088412031531334,
-0.01645529642701149,
-0.01236141286790371,
0.04062572121620178,
-0.01582995057106018,
0.02931036613881588,
0.0335160531103611,
0.03951273486018181,
-0.01949218660593033,
0.06244831532239914,
-0.08187500387430191,
0.02609121985733509,
-0.004133742768317461,
-0.00412825308740139,
0.00393460039049387,
-0.014419766142964363,
0.11257413774728775,
0.07004096359014511,
-0.04191262647509575,
-0.04126296192407608,
0.014341810718178749,
-0.015225647017359734,
-0.04259708151221275,
0.004671687725931406,
-0.02472548745572567,
0.007319332100450993,
-0.011056385934352875,
-0.04885018989443779,
0.01686576008796692,
0.022449813783168793,
-0.0311751626431942,
0.04241926968097687,
0.07640866935253143,
-0.018714332953095436,
0.04025674983859062,
-0.023071832954883575,
-0.04168169945478439,
-0.004802531097084284,
-0.01330865640193224,
-0.031017601490020752,
-0.005098279099911451,
0.012055812403559685,
-0.009777545928955078,
0.06301364302635193,
-0.013018752448260784,
-0.02347755990922451,
-0.013831567019224167,
-0.014698944054543972,
0.015887299552559853,
0.0018939062720164657,
0.048500414937734604,
0.015184208750724792,
0.05007288232445717,
-0.018040355294942856,
-0.007891950197517872,
-0.0009352495544590056,
-0.04600901901721954,
-0.002532209036871791,
0.006718412972986698,
0.02785317413508892,
0.0524330697953701,
0.02349616400897503,
0.013823973946273327,
0.025783240795135498,
0.020558800548315048,
-0.02103208377957344,
-0.03831424564123154,
0.041739463806152344,
-0.0018142383778467774,
-0.07303696125745773,
-0.0535803958773613,
-0.04657802730798721,
0.05175736919045448,
-0.048987917602062225,
-0.053480204194784164,
-0.002703447360545397,
-0.06403402239084244,
0.042294155806303024,
-0.08295484632253647,
-0.04389439523220062,
0.01661587879061699,
0.02386057935655117,
0.026556171476840973,
-0.02431533858180046,
0.028994474560022354,
0.08325089514255524,
0.0029805598314851522,
-0.002998166251927614,
-0.01987999491393566,
0.011379835195839405,
0.028674403205513954,
0.00025955523597076535,
0.05442052707076073,
0.05491046607494354,
0.008913963101804256,
-0.012386093847453594,
-0.04920119047164917,
0.012370556592941284,
0.007750361692160368,
-0.27520909905433655,
0.029882842674851418,
-0.018945781514048576,
-0.04304925724864006,
0.028735436499118805,
-0.0069090272299945354,
0.009096642024815083,
-0.02784469723701477,
-0.018064867705106735,
0.042624834924936295,
-0.02100086398422718,
-0.036986857652664185,
-0.05005873367190361,
0.0583500936627388,
0.0014423428801819682,
-0.005393283441662788,
-0.019133634865283966,
-0.040920156985521317,
0.005381355993449688,
0.06277774274349213,
-0.003987509291619062,
-0.06232220679521561,
0.00450133066624403,
0.036826711148023605,
0.034129489213228226,
0.027662895619869232,
-0.0917048305273056,
0.030988391488790512,
-0.039128925651311874,
-0.02183098904788494,
-0.030701080337166786,
0.028653530403971672,
0.032826121896505356,
-0.039355695247650146,
-0.008978604339063168,
-0.0377529114484787,
-0.009373498149216175,
0.034041766077280045,
-0.01078751403838396,
0.0329388789832592,
-0.0405273362994194,
-0.05396832525730133,
-0.02205522544682026,
-0.008279873989522457,
0.08710927516222,
0.0019421657780185342,
-0.0685049518942833,
-0.009554596617817879,
-0.04976624995470047,
0.06260260194540024,
-0.032922640442848206,
-0.04929908365011215,
-0.006930813658982515,
0.03214702755212784,
-0.013932265341281891,
-0.04767553508281708,
0.014761251397430897,
-0.005259303376078606,
-0.03490715101361275,
-0.008925099857151508,
-0.010326377116143703,
-0.04619152098894119,
0.009416350163519382,
-0.04725026711821556,
-0.010653208009898663,
-0.05673569440841675,
-0.07482782006263733,
-0.018546245992183685,
0.06140672788023949,
0.04403737932443619,
-0.02269560657441616,
0.004790483042597771,
-0.00006119674071669579,
-0.11726628243923187,
-0.027831561863422394,
-0.03604642674326897,
-0.009988589212298393,
-0.029868660494685173,
0.007390022277832031,
0.026323461905121803,
-0.026883024722337723,
-0.04823731258511543,
0.045829370617866516,
0.025145959109067917,
0.019818291068077087,
0.0000393910777347628,
0.014168365858495235,
-0.0017614784883335233,
-0.03798174858093262,
-0.0016720263520255685,
0.08486837148666382,
-0.01770448498427868,
0.0024146996438503265,
-0.05682791396975517,
0.004971306771039963,
0.008127252571284771,
0.03617321327328682,
-0.024075396358966827,
0.004497803281992674,
-0.005490661598742008,
0.03801185265183449,
-0.02840539626777172,
0.03615551441907883,
-0.052703142166137695,
-0.025729892775416374,
-0.02829783223569393,
-0.06853272020816803,
0.020919693633913994,
0.02963700331747532,
0.02094067819416523,
-0.0150617565959692,
-0.02404611185193062,
-0.013936145231127739,
-0.04573247209191322,
-0.040622711181640625,
-0.026496989652514458,
0.003208417911082506,
0.003267348976805806,
-0.01341851893812418,
0.002559496322646737,
-0.0450713224709034,
0.012803341262042522,
0.0076965223997831345,
-0.0028684232383966446,
-0.07973934710025787,
-0.052370503544807434,
-0.016835341230034828,
-0.016923103481531143,
0.032406892627477646,
0.03489487245678902,
-0.01670139469206333,
0.03558207303285599,
-0.017560485750436783,
-0.03628299757838249,
0.012253581546247005,
-0.009069694206118584,
0.011413456872105598,
-0.024050235748291016,
-0.008549809455871582,
-0.017123626545071602,
0.023969033733010292,
0.0008216123678721488,
0.021926991641521454,
0.006121772341430187,
0.034936606884002686,
0.012095607817173004,
0.040565744042396545,
0.03969566896557808,
0.015925701707601547,
0.015559041872620583,
-0.004195756278932095,
-0.050926417112350464,
0.028736626729369164,
-0.038621433079242706,
-0.04505835846066475,
-0.0060898130759596825,
0.029896588996052742,
-0.02435346320271492,
-0.044313497841358185,
-0.0461929552257061,
0.033824555575847626,
-0.0346093624830246,
-0.025721386075019836,
-0.05286688357591629,
0.009071873500943184,
0.07406020909547806,
-0.048223402351140976,
0.05066196247935295,
-0.04056645184755325,
0.0016253830399364233,
0.01752839796245098,
0.033963870257139206,
-0.029442179948091507,
0.011074277572333813,
-0.002076250035315752,
0.008395629934966564,
-0.004487774800509214,
0.014736650511622429,
0.016535520553588867,
0.023635441437363625,
0.019800202921032906,
-0.044499319046735764,
-0.004282156936824322,
0.004600638523697853,
0.043523021042346954,
0.014424484223127365,
0.019476430490612984,
0.00010999902588082477,
-0.02146524377167225,
0.00011637556599453092,
-0.043413061648607254,
-0.037376344203948975,
-0.022453783079981804,
0.016401292756199837,
-0.05142233520746231,
-0.06618595868349075,
0.014958362095057964,
0.04985655099153519,
0.009377638809382915,
0.029095392674207687,
-0.0025653548073023558,
0.023837171494960785,
-0.009557855315506458,
0.013993961736559868,
0.054541368037462234,
-0.045239221304655075,
0.040583763271570206,
0.0000605849054409191,
0.03219607099890709,
0.017710423097014427,
0.020864328369498253,
-0.023330843076109886,
-0.02103056199848652,
-0.045382991433143616,
-0.02315516024827957,
-0.02854021079838276,
-0.028649332001805305,
0.0022597035858780146,
-0.0020028974395245314,
-0.03208354860544205,
-0.03765058517456055,
0.006554394029080868,
-0.01431589387357235,
-0.014351985417306423,
-0.015058151446282864,
0.01076111663132906,
-0.04660668596625328,
0.003096839878708124,
0.016887281090021133,
-0.0343400202691555,
0.014944630675017834,
-0.015545958653092384,
-0.0006874995306134224,
0.016599342226982117,
-0.00007696402462897822,
-0.03789014741778374,
-0.05030475929379463,
0.020191719755530357,
-0.010544578544795513,
0.04570297524333,
-0.0006267896387726068,
-0.029354093596339226,
-0.01269982848316431,
-0.025586605072021484,
-0.04934876784682274,
0.02076689526438713,
-0.018034745007753372,
-0.03439957648515701,
0.018647216260433197,
0.045469943434000015,
-0.014630845747888088,
0.04773373156785965,
0.0018490198999643326,
-0.006061464548110962,
0.04520856589078903,
-0.03184349089860916,
-0.018226301297545433,
-0.003878365969285369,
-0.045257341116666794,
0.0010729293571785092,
-0.006503582466393709,
0.033559974282979965,
-0.03576739504933357,
0.04672778770327568,
0.04532080888748169,
0.028393292799592018,
0.034963954240083694,
0.015422039665281773,
0.05245162546634674,
-0.030977461487054825,
0.014489023946225643,
-0.09011963754892349,
0.03661743551492691,
0.03431868553161621,
0.033975813537836075,
-0.04273848980665207,
-0.01636691205203533,
-0.010049207136034966,
0.05748914182186127,
-0.06591568142175674,
-0.015331876464188099,
0.0420389398932457,
0.009825784713029861,
0.006819006055593491,
0.007158990018069744,
-0.0334872342646122,
0.0211800504475832,
0.022105518728494644,
-0.03464357554912567,
-0.045903801918029785,
-0.030129192396998405,
0.05244225263595581,
0.017235636711120605,
0.0005333720473572612,
-0.036516059190034866,
0.013170156627893448,
0.04587436839938164,
0.030776819214224815,
0.020512444898486137,
0.06717102974653244,
-0.014894960448145866,
0.02672041952610016,
0.03150513023138046,
0.008292727172374725,
-0.019481699913740158,
-0.002713190857321024,
0.007116434630006552,
-0.06276509910821915,
0.002113864291459322,
0.014541969634592533,
-0.058527495712041855,
-0.051980696618556976,
0.061772994697093964,
0.01055124867707491,
-0.005846511572599411,
-0.04771467298269272,
-0.01219924259930849,
-0.040864985436201096,
-0.005661920178681612,
-0.008312043733894825,
0.010075364261865616,
-0.02228725701570511,
0.06773830205202103,
0.018935032188892365,
-0.01705279015004635,
0.07628244906663895,
0.004987192340195179,
0.010518659837543964,
-0.012333584949374199,
0.07726899534463882,
0.07599344849586487,
0.049742914736270905,
-0.006164590362459421,
0.04218296334147453,
-0.02580517716705799,
-0.051666148006916046,
0.010620485059916973,
-0.0357510969042778,
0.006253204774111509,
-0.02877444215118885,
0.02827095054090023,
0.07449410110712051,
0.023196840658783913,
0.04886440560221672,
-0.06166026368737221,
-0.005098273046314716,
-0.023323720321059227,
0.0444871187210083,
0.026723314076662064,
0.050010792911052704,
0.01354117039591074,
-0.002402219455689192,
-0.012410913594067097,
-0.02763611637055874,
0.02521331235766411,
-0.02444623038172722,
0.00343696097843349,
-0.0016176920616999269,
0.027039507403969765,
0.018121805042028427,
-0.01731691136956215,
0.032545220106840134,
0.06437931209802628,
-0.0139152891933918,
-0.003791628172621131,
-0.014392493292689323,
0.010619724169373512,
0.023357447236776352,
-0.02977341040968895,
-0.02237921766936779,
-0.017523037269711494,
0.005970663391053677,
0.004705226048827171,
-0.011066064238548279,
-0.019028477370738983,
-0.00007386891957139596,
0.03250772878527641,
-0.03844219446182251,
0.008922002278268337,
-0.0024745932314544916,
0.00988436583429575,
-0.017353614792227745,
-0.04248238727450371,
-0.046088192611932755,
-0.03134046494960785,
-0.07481169700622559,
-0.009859246201813221,
0.015265945345163345,
-0.02254890464246273,
-0.026955777779221535,
-0.043078504502773285,
-0.028834685683250427,
-0.01779972016811371,
0.041714005172252655,
-0.03412529081106186,
-0.0174457598477602,
0.023798469454050064,
0.008543216623365879,
0.04839041084051132,
0.029846277087926865,
0.022206153720617294,
-0.012362416833639145,
-0.018305335193872452,
-0.05555066466331482,
-0.036247964948415756,
0.04357155039906502,
0.028827451169490814,
0.002181267598643899,
-0.067558653652668,
0.03713648393750191,
-0.0006930564995855093,
0.006162198260426521,
-0.09406265616416931,
0.011615371331572533,
-0.006603829097002745,
0.00010083198139909655,
0.041152507066726685,
-0.021804092451930046,
-0.02143584005534649,
-0.013687115162611008,
-0.004491389263421297,
0.016532238572835922,
0.020735638216137886,
0.0434594601392746,
-0.046758878976106644,
0.07425829768180847,
0.010202663019299507,
-0.013226903975009918,
-0.013771027326583862,
-0.005242413375526667,
-0.015331771224737167,
0.011060287244617939,
-0.0546218641102314,
-0.031198332086205482,
-0.025968797504901886,
-0.046587735414505005,
0.002729778876528144,
0.016509639099240303,
-0.036681897938251495,
-0.052298322319984436,
0.013687429018318653,
0.05339854583144188,
-0.07065209001302719,
0.03851592168211937,
-0.022414473816752434,
0.03843553364276886,
-0.029476681724190712,
-0.021184062585234642,
0.022898998111486435,
0.029524073004722595,
0.015482215210795403,
0.02185160480439663,
0.01483613159507513,
-0.03731708601117134,
-0.023825323209166527,
-0.01755180023610592,
-0.013924572616815567,
0.03501589596271515,
-0.006970945745706558,
0.01780477911233902
] | [
-0.11781652271747589,
-0.013362504541873932,
-0.04341038689017296,
-0.041997283697128296,
0.0275620985776186,
-0.034686096012592316,
0.037517447024583817,
0.03323652222752571,
0.017453821375966072,
-0.017966490238904953,
-0.008835593238472939,
-0.04429537430405617,
0.0005144095630384982,
0.002951935864984989,
0.07727935910224915,
-0.007816268131136894,
-0.03747735172510147,
-0.029370712116360664,
0.003560652956366539,
0.032592859119176865,
0.07259921729564667,
-0.026452740654349327,
-0.06391659379005432,
-0.0380675308406353,
0.04171094298362732,
0.06788823008537292,
0.006264902651309967,
-0.034044645726680756,
0.02654099464416504,
-0.19561569392681122,
-0.017411518841981888,
0.004895719699561596,
0.06123709678649902,
-0.033428262919187546,
0.020960349589586258,
0.015473103150725365,
0.01003278698772192,
0.05021606385707855,
-0.005200715735554695,
0.060845647007226944,
0.007426176220178604,
0.03286417946219444,
-0.029989514499902725,
0.017786219716072083,
0.04792502149939537,
0.0015971672255545855,
-0.036936692893505096,
-0.020516950637102127,
-0.013460896909236908,
0.03928952291607857,
-0.04535399749875069,
-0.015218579210340977,
-0.0258218664675951,
0.0007064833189360797,
0.018559005111455917,
0.010598601773381233,
0.04953024163842201,
0.05927678942680359,
0.005727113224565983,
0.02430388145148754,
-0.012723072431981564,
-0.017407801002264023,
-0.1373416930437088,
0.09413053095340729,
0.027712732553482056,
0.028936143964529037,
0.003635892178863287,
-0.04538174346089363,
0.005004878621548414,
0.0904737040400505,
0.01685771718621254,
-0.039494588971138,
-0.013238942250609398,
0.03250580653548241,
0.0181935615837574,
-0.04361024498939514,
-0.003303601872175932,
0.011380206793546677,
0.030067970976233482,
0.0021243856754153967,
-0.03844631463289261,
-0.002010469324886799,
0.005277674179524183,
-0.012202001176774502,
-0.013037768192589283,
0.016236264258623123,
-0.0013138760114088655,
0.03636854887008667,
0.045116886496543884,
-0.006812906824052334,
0.025299036875367165,
-0.03210122510790825,
0.011450095102190971,
0.009315293282270432,
-0.07358202338218689,
0.00412554619833827,
0.0040530189871788025,
0.004379455465823412,
-0.057643841952085495,
0.3945518434047699,
-0.00005874820635654032,
-0.02801923267543316,
0.029612571001052856,
0.013280447572469711,
-0.017354179173707962,
0.01266812440007925,
-0.004094351548701525,
-0.03431741148233414,
0.01776217669248581,
-0.07042833417654037,
-0.007298479322344065,
0.029614776372909546,
0.05159812420606613,
-0.06183689832687378,
-0.004334272816777229,
0.006735773291438818,
0.01871815323829651,
-0.014736102893948555,
0.0243520624935627,
0.019872840493917465,
0.008893901482224464,
-0.006026619113981724,
0.031241009011864662,
0.023940056562423706,
0.015046404674649239,
-0.028538351878523827,
0.006738573312759399,
0.07594462484121323,
-0.0009305555140599608,
0.027252638712525368,
0.08585580438375473,
-0.04045281186699867,
-0.08041460067033768,
-0.005048389546573162,
0.021385686472058296,
-0.0006683062529191375,
0.04219115898013115,
-0.022675221785902977,
0.007461397908627987,
0.03660598769783974,
-0.010187750682234764,
-0.005187585484236479,
0.004961786791682243,
-0.012165846303105354,
-0.056829579174518585,
0.17105208337306976,
-0.013266663998365402,
-0.02416250668466091,
-0.00470730010420084,
-0.04172612726688385,
0.014891796745359898,
0.040366675704717636,
-0.010145548731088638,
-0.06124097853899002,
0.009080659598112106,
0.037309423089027405,
0.09335243701934814,
-0.049831654876470566,
-0.045025475323200226,
-0.037472110241651535,
-0.07021348178386688,
-0.017694102600216866,
-0.05815178155899048,
0.046107303351163864,
0.045052096247673035,
-0.0703178122639656,
-0.0007504303939640522,
0.024073762819170952,
0.02204793505370617,
-0.07736457139253616,
0.026388777419924736,
0.01599612645804882,
-0.06462155282497406,
-0.00211716303601861,
0.09050308167934418,
0.01631661131978035,
-0.007666388060897589,
0.006998161319643259,
0.04864463210105896,
0.032622188329696655,
0.009347112849354744,
-0.012652845121920109,
-0.07406992465257645,
-0.021559396758675575,
-0.019748231396079063,
-0.042170651257038116,
-0.04287060722708702,
-0.02695401757955551,
-0.02646920084953308,
-0.012638075277209282,
-0.011686176061630249,
-0.016058411449193954,
-0.0930136889219284,
0.08764468133449554,
-0.06855950504541397,
-0.026461822912096977,
0.0340750478208065,
-0.01413268968462944,
-0.013776916079223156,
-0.03696579858660698,
0.029433537274599075,
0.01918303780257702,
0.005810910370200872,
0.041425950825214386,
-0.02659674547612667,
0.05785505101084709,
0.029940785840153694,
-0.046806637197732925,
0.06467124074697495,
0.04347173124551773,
-0.015868179500102997,
-0.055383775383234024,
0.0038931570015847683,
0.003611766966059804,
-0.027787338942289352,
-0.020725678652524948,
0.0030416431836783886,
0.0130472956225276,
0.010275519452989101,
-0.0007273508817888796,
-0.03306594118475914,
-0.018017593771219254,
0.002488256897777319,
-0.33685994148254395,
-0.03458273783326149,
0.0017881154781207442,
-0.027288218960165977,
0.02121272310614586,
-0.06609336286783218,
0.021745560690760612,
-0.03431345522403717,
-0.055110059678554535,
0.010677222162485123,
0.0698304995894432,
-0.009516933932900429,
0.0017046910943463445,
-0.09188871085643768,
-0.0010641022818163037,
0.020006442442536354,
-0.038858186453580856,
-0.04647652804851532,
-0.03876737132668495,
0.02818180061876774,
0.009370210580527782,
0.02266375906765461,
-0.021462207660079002,
-0.044990841299295425,
-0.008482731878757477,
-0.05682441592216492,
0.08921337127685547,
-0.042771048843860626,
0.10967491567134857,
-0.012603315524756908,
0.054504942148923874,
0.005793937016278505,
-0.0030101779848337173,
-0.0674232766032219,
0.003603903343901038,
-0.03815055638551712,
-0.03213327378034592,
-0.0026634715031832457,
0.021177956834435463,
-0.03603937849402428,
-0.020035983994603157,
0.012509309686720371,
-0.047112591564655304,
-0.009586663916707039,
-0.004706951789557934,
0.006663628853857517,
-0.017431190237402916,
-0.02631908841431141,
-0.029038192704319954,
0.07604841142892838,
0.01139962300658226,
-0.009760822169482708,
0.00968077126890421,
0.01639058254659176,
-0.0013879424659535289,
-0.018137026578187943,
-0.06470860540866852,
0.011190766468644142,
-0.01758473739027977,
-0.007850241847336292,
0.039813391864299774,
0.02249857224524021,
0.03345121443271637,
-0.026324942708015442,
-0.014332110993564129,
0.0005692123668268323,
0.013128291815519333,
-0.029875056818127632,
0.03733405843377113,
-0.038642507046461105,
-0.02349874936044216,
0.11108926683664322,
-0.011866189539432526,
0.004974682349711657,
0.04555096849799156,
0.03893813490867615,
-0.004269469063729048,
0.019830748438835144,
0.006056160666048527,
0.012279519811272621,
-0.0008652848773635924,
0.008112981915473938,
0.026110826060175896,
-0.035488929599523544,
0.0081868851557374,
-0.016228819265961647,
-0.007639095652848482,
0.008876687847077847,
0.022314665839076042,
-0.0223464984446764,
-0.027904314920306206,
-0.026413198560476303,
0.0037630859296768904,
-0.04018125310540199,
0.058349609375,
-0.013096588663756847,
-0.2910091280937195,
-0.010845165699720383,
0.07627107948064804,
0.052802108228206635,
-0.0027658415492624044,
0.012282482348382473,
0.043856631964445114,
-0.054733432829380035,
-0.025323297828435898,
0.00010262185242027044,
-0.002488460624590516,
0.01710442826151848,
0.01258628536015749,
-0.0024713710881769657,
0.050236329436302185,
-0.05452360957860947,
0.019808609038591385,
-0.02357412874698639,
0.044809576123952866,
0.009211232885718346,
0.05252229794859886,
0.00712432200089097,
0.18635031580924988,
-0.010834857821464539,
0.0556291826069355,
0.012132746167480946,
0.030997777357697487,
0.007366476580500603,
0.12288594990968704,
0.02143486961722374,
0.016602342948317528,
0.012999644502997398,
0.0748622938990593,
-0.010204583406448364,
0.023406030610203743,
-0.07135886698961258,
-0.0069801053032279015,
0.04267530143260956,
0.046267710626125336,
0.009245206601917744,
-0.019209755584597588,
-0.00009154274448519573,
-0.06975496560335159,
0.01169866044074297,
0.09029710292816162,
0.036524102091789246,
0.01510265376418829,
-0.04756917059421539,
-0.03736067935824394,
-0.021444140002131462,
-0.03978463634848595,
-0.006634887307882309,
0.005515792407095432,
-0.037823308259248734,
0.012247709557414055,
0.041549865156412125,
-0.01982470043003559,
-0.019740652292966843,
-0.018497513607144356,
-0.009492534212768078,
-0.0081112589687109,
0.030056672170758247,
0.09400889277458191,
0.020774196833372116,
0.017366250976920128
] | [
-0.00398692861199379,
0.045104727149009705,
-0.019727060571312904,
0.029502110555768013,
-0.042627155780792236,
-0.005180581007152796,
0.0020805997774004936,
0.00476836459711194,
-0.014795610681176186,
0.019494930282235146,
-0.0057891858741641045,
-0.022117387503385544,
-0.009627766907215118,
-0.005955439992249012,
0.05525066703557968,
-0.025212356820702553,
-0.0021388260647654533,
-0.018051059916615486,
-0.0023627309128642082,
-0.01493449043482542,
0.005374921951442957,
0.03185907006263733,
0.013798370026051998,
-0.02476104162633419,
0.0016093478770926595,
-0.014317581430077553,
-0.015652809292078018,
-0.02186368964612484,
0.02900456078350544,
-0.124332956969738,
-0.02232873998582363,
-0.03434263914823532,
-0.016532715409994125,
0.025935079902410507,
-0.05543270707130432,
-0.01869502291083336,
0.019924893975257874,
0.02480241097509861,
-0.011130006052553654,
-0.01348706055432558,
-0.03507578372955322,
-0.004522806033492088,
-0.01685730554163456,
0.01540181040763855,
0.009511061944067478,
-0.016709469258785248,
0.010691571980714798,
0.0019145162077620625,
0.015153617598116398,
0.025170709937810898,
-0.027049364522099495,
0.03237712383270264,
0.0013328086351975799,
0.01840285211801529,
0.08474178612232208,
-0.010970542207360268,
0.01609441079199314,
-0.0006618491024710238,
-0.02917625941336155,
-0.027752600610256195,
-0.01701003685593605,
0.02531915344297886,
-0.0382336862385273,
-0.01673533208668232,
0.029538091272115707,
0.002815216314047575,
-0.031559791415929794,
-0.04677219316363335,
-0.0008667955407872796,
-0.005297805182635784,
-0.029688820242881775,
-0.014159165322780609,
0.03062729351222515,
-0.03277359530329704,
0.010984421707689762,
-0.034482911229133606,
-0.0323638841509819,
-0.022587792947888374,
0.010737985372543335,
-0.0002021201653406024,
-0.0024849241599440575,
-0.011309823021292686,
-0.024165602400898933,
-0.01278571505099535,
0.017240891233086586,
-0.013695957139134407,
0.01330031082034111,
-0.009708438068628311,
0.029488179832696915,
-0.009971831925213337,
-0.006380938459187746,
0.03500881791114807,
0.03690179064869881,
0.024733025580644608,
-0.07476543635129929,
0.008870324119925499,
-0.0008517694077454507,
-0.03415362909436226,
-0.035427238792181015,
0.8506081104278564,
-0.02710641734302044,
0.0332450270652771,
0.030245881527662277,
0.0016792527167126536,
-0.0100083127617836,
-0.0171222947537899,
-0.022740647196769714,
0.009417024441063404,
0.01736939698457718,
-0.008472960442304611,
0.04220352694392204,
0.02966180443763733,
0.022603342309594154,
0.01961100660264492,
-0.003569996217265725,
0.006122166756540537,
0.03047032281756401,
-0.004468696657568216,
0.0030343274120241404,
-0.005575772374868393,
0.00495272409170866,
0.016838986426591873,
0.007296245079487562,
0.002688697073608637,
0.02076028659939766,
-0.2040116935968399,
-0.023272715508937836,
-7.942269458317034e-33,
0.022381843999028206,
0.010817828588187695,
0.012783723883330822,
0.013251868076622486,
0.036383599042892456,
0.030572308227419853,
0.004216743167489767,
-0.0018297383794561028,
0.013121373020112514,
-0.022203022614121437,
0.05174679681658745,
0.020620575174689293,
-0.009066763333976269,
0.037684839218854904,
0.013490433804690838,
-0.005333977285772562,
0.00475299684330821,
0.023721374571323395,
0.012498165480792522,
0.0010189200984314084,
0.018623599782586098,
0.03565022349357605,
0.022380230948328972,
-0.004880131687968969,
0.028352223336696625,
0.023291656747460365,
-0.004908304195851088,
0.01649751141667366,
-0.004061225801706314,
-0.040912918746471405,
0.0172131285071373,
0.015656212344765663,
-0.029145315289497375,
-0.017231585457921028,
0.028306659311056137,
-0.02916862443089485,
0.004536435939371586,
-0.005022349767386913,
-0.024408677592873573,
-0.017816076055169106,
-0.03923627734184265,
0.008126633241772652,
0.012904525734484196,
-0.016884105280041695,
-0.03751234710216522,
-0.037596445530653,
-0.016297008842229843,
0.056016359478235245,
0.049461089074611664,
0.003497469937428832,
-0.019403599202632904,
0.029407668858766556,
0.014760240912437439,
-0.016220515593886375,
-0.026129677891731262,
0.0024375158827751875,
-0.02975384145975113,
-0.014879087917506695,
-0.0043377564288675785,
0.020582105964422226,
-0.007310118991881609,
-0.024913940578699112,
0.0029669287614524364,
0.014606954529881477,
-0.06501816213130951,
-0.03841482475399971,
-0.030605455860495567,
-0.026811417192220688,
0.06504376977682114,
-0.01378131378442049,
-0.05619323253631592,
0.017466790974140167,
-0.0005419810186140239,
-0.017466187477111816,
0.03406946733593941,
-0.02710508555173874,
-0.02121603861451149,
-0.033758744597435,
-0.0003150002739857882,
-0.023988282307982445,
0.006189365405589342,
-0.012947368435561657,
0.02380283921957016,
-0.009948021732270718,
0.015197545289993286,
0.0010692920768633485,
-0.032455168664455414,
0.015670597553253174,
-0.022956276312470436,
0.0032314572017639875,
-0.007384839467704296,
0.018033593893051147,
0.0015731994062662125,
-0.028096862137317657,
0.012526567094027996,
6.576921749577408e-33,
-0.004234408028423786,
-0.02605034038424492,
-0.024442940950393677,
0.01941375434398651,
0.0367816798388958,
-0.03792400285601616,
0.0032913843169808388,
-0.03330859914422035,
-0.0409591868519783,
-0.006663479842245579,
0.014316314831376076,
0.03269243240356445,
0.016803931444883347,
0.023963380604982376,
0.06362242251634598,
-0.0013258011313155293,
0.005238286219537258,
-0.005303523037582636,
0.0388762541115284,
0.012042157351970673,
0.010333496145904064,
-0.0018822989659383893,
0.016452733427286148,
-0.011745895259082317,
-0.004805858246982098,
0.017165586352348328,
-0.03693033754825592,
-0.016618460416793823,
0.010762271471321583,
0.02665015310049057,
-0.026656631380319595,
-0.002805712167173624,
0.006654396653175354,
-0.07765693217515945,
-0.022697897627949715,
-0.014568742364645004,
0.006746769417077303,
-0.019234875217080116,
0.014800517819821835,
0.013358041644096375,
0.015837689861655235,
-0.0011989730410277843,
-0.0067163254134356976,
0.0091702314093709,
0.02255328744649887,
-0.016227450221776962,
0.000968918961007148,
-0.01644289493560791,
0.012299292720854282,
0.018138058483600616,
0.02468899078667164,
-0.014995543286204338,
-0.031307630240917206,
0.014990738593041897,
-0.020402316004037857,
0.02209876850247383,
-0.0026322458870708942,
-0.010382253676652908,
0.001826352090574801,
0.023191524669528008,
-0.02084573730826378,
0.02558787912130356,
0.020946010947227478,
0.027105990797281265,
-0.011134686879813671,
0.0228402279317379,
-0.01698514260351658,
-0.004402884282171726,
0.019153686240315437,
0.015036443248391151,
-0.029469480738043785,
-0.02042039856314659,
0.00033385431743226945,
0.005963942036032677,
-0.0030935744289308786,
0.007021612487733364,
0.0027315388433635235,
0.009003996849060059,
0.021930845454335213,
0.028598105534911156,
0.0326257087290287,
-0.03122776560485363,
0.026789188385009766,
-0.02767159417271614,
-0.024987613782286644,
-0.026882078498601913,
-0.006310211028903723,
0.002588047878816724,
-0.026113510131835938,
-0.009001865051686764,
-0.03622550144791603,
0.009502693079411983,
-0.02491864562034607,
0.009802617132663727,
-0.009479676373302937,
-1.3246030050595436e-8,
-0.04625944793224335,
0.02129281312227249,
-0.007528979331254959,
0.03824252635240555,
0.0369659848511219,
0.003725407412275672,
-0.03581396862864494,
-0.018421998247504234,
-0.00004422761048772372,
-0.038139961659908295,
0.02108043245971203,
0.036398421972990036,
0.001448161667212844,
-0.01329699158668518,
0.04414026811718941,
-0.046654749661684036,
-0.02857392281293869,
-0.009918702766299248,
-0.0028659547679126263,
0.016686778515577316,
0.007458442822098732,
0.038514863699674606,
-0.01828669384121895,
0.011871644295752048,
0.032934486865997314,
0.009739925153553486,
0.0026227240450680256,
-0.047660842537879944,
0.01254919171333313,
0.032618049532175064,
0.0012928713113069534,
-0.03369015455245972,
0.005358269438147545,
0.00012749960296787322,
-0.024480488151311874,
-0.056508760899305344,
0.008690837770700455,
0.01681346446275711,
0.025893839076161385,
-0.011412028223276138,
0.019658904522657394,
-0.015939855948090553,
0.028678277507424355,
-0.004638912156224251,
0.0014364371309056878,
-0.029055975377559662,
-0.013585667125880718,
0.005470755510032177,
0.014307460747659206,
-0.02030678652226925,
-0.004710165783762932,
0.02868170663714409,
-0.015607183799147606,
-0.002952399430796504,
0.01026016753166914,
0.03641165792942047,
-0.017124265432357788,
-0.011045999825000763,
-0.05853508785367012,
0.01745864748954773,
0.036366552114486694,
0.0030041879508644342,
-0.024439865723252296,
-0.02285083197057247
] | c-a-failed-attempt-at-f-ish-pattern-matching | https://markhneedham.com/blog/2010/06/13/c-a-failed-attempt-at-f-ish-pattern-matching |
false | 2010-06-13 13:37:39 | The Refactoring Dilemma | [
"coding"
] | [
"Coding"
] | On several of the projects that I've worked on over the last couple of years we've seen the following situation evolve:
* The team starts coding the application.
* At some stage there is a breakthrough in understanding and a chance to really improve the code.
* However the deadline is tight and we wouldn't see a return within the time left if we refactored the code now
* The team keeps on going with the old approach
* The project ends up going on for longer than the original deadline
* It's now much more work to move towards the new solution
In the situations I describe the refactorings could have been done incrementally but doing that would take longer than continuing with the original approach and also http://www.markhneedham.com/blog/2010/05/05/consistency-in-the-code-base-and-incremental-refactoring/[leave the code in an inconsistent state].
I think the reason this situation evolves consistently in this manner is because *although we talk about writing maintainable code, delivery is often considered more important*. Pushing out a delivery date in order to refactor code so that it will be easier to work with in the future isn't something that I've seen happen.
Pushing a delivery date out is a cost that we can see straight away.
On the other hand it's quite difficult to estimate how much of a gain you'll get by refactoring to a more maintainable/easier to test solution and that gain will not be immediate.
We therefore end up in the situation where we tend to make major refactorings only if we're going to see a benefit from doing that refactoring before the project ends.
In one sense that seems reasonable because we're trying to ensure that we're adding as much value as possible while the client is paying for our time.
On the other hand we're making life harder for future maintainers of the code base which may in fact be us!
I'd be keen to hear how others handle these types of situations because it feels like this trade off is quite a common one and the way we've dealt with it doesn't seem optimal. | null | null | [
0.023206109181046486,
-0.024386879056692123,
0.0012206328101456165,
0.04042523354291916,
0.08645770698785782,
0.029983140528202057,
0.027602892369031906,
0.06721583008766174,
0.03481345251202583,
-0.03918245807290077,
-0.018291404470801353,
-0.0026731977704912424,
-0.061301302164793015,
0.006202248856425285,
-0.042699918150901794,
0.070144422352314,
0.07484855502843857,
-0.02144920639693737,
0.04209228977560997,
0.0196528397500515,
0.004387091379612684,
0.07761792838573456,
-0.007840998470783234,
0.03481733053922653,
0.038517918437719345,
0.004856314975768328,
-0.011996116489171982,
-0.004162512719631195,
-0.08050180226564407,
-0.025842778384685516,
0.056510720402002335,
-0.016733501106500626,
0.0012765408027917147,
0.0003738722880370915,
0.014554215595126152,
-0.015276987105607986,
-0.028062084689736366,
0.0339493602514267,
0.002436104929074645,
-0.006766071077436209,
-0.053623735904693604,
0.046946216374635696,
-0.0017490156460553408,
-0.007884620688855648,
-0.050264716148376465,
0.00547401700168848,
-0.02636099047958851,
-0.0012998261954635382,
-0.019517751410603523,
-0.027469322085380554,
-0.0623287633061409,
0.022252477705478668,
-0.016001060605049133,
-0.00537871103733778,
-0.011506983079016209,
0.061778075993061066,
0.030593542382121086,
-0.07592757046222687,
-0.016260558739304543,
-0.030598774552345276,
0.005924761760979891,
-0.030478736385703087,
0.0031800076831132174,
0.03793688118457794,
0.022222256287932396,
-0.014932011254131794,
0.011883572675287724,
0.03965875878930092,
-0.029952120035886765,
0.006235994398593903,
-0.01311261672526598,
0.0024322550743818283,
-0.028692372143268585,
-0.0026647544000297785,
-0.007414218038320541,
-0.022129155695438385,
-0.021041840314865112,
0.0762321874499321,
0.015741541981697083,
0.03789188712835312,
-0.017153646796941757,
0.011752888560295105,
0.010883839800953865,
0.013378693722188473,
0.020329682156443596,
-0.01638280414044857,
0.01136819738894701,
-0.01828788034617901,
-0.06543021649122238,
0.05436290055513382,
0.03124973736703396,
-0.07226409018039703,
0.04210429638624191,
0.035022325813770294,
0.007945258170366287,
0.019438134506344795,
0.007841869257390499,
0.0339510478079319,
0.0025158454664051533,
-0.01858730986714363,
-0.02695019543170929,
-0.005879958625882864,
-0.014437821693718433,
-0.009388133883476257,
-0.05550665408372879,
-0.016493311151862144,
-0.030527252703905106,
-0.012200931087136269,
-0.007737036794424057,
-0.008153549395501614,
-0.0345991812646389,
0.03327649086713791,
-0.028152944520115852,
0.021149883046746254,
-0.05649666115641594,
0.055089641362428665,
-0.001492877141572535,
-0.039414506405591965,
-0.03781733289361,
-0.00541417021304369,
0.04419585317373276,
0.023557186126708984,
-0.002133375033736229,
0.07859933376312256,
0.00211866432800889,
0.04378495365381241,
-0.03987310826778412,
0.04341033101081848,
-0.04290524870157242,
-0.06728370487689972,
-0.017329489812254906,
0.04355665296316147,
-0.045012831687927246,
-0.02287314087152481,
-0.0009693888132460415,
-0.015423811040818691,
-0.010864116251468658,
0.010459289886057377,
0.041574910283088684,
0.028422001749277115,
-0.021473878994584084,
-0.041142724454402924,
0.025511659681797028,
0.02998020313680172,
0.007908646017313004,
0.012405596673488617,
0.0015001761494204402,
-0.030828384682536125,
-0.022487856447696686,
-0.01783737912774086,
-0.003260866506025195,
0.031783949583768845,
0.01636037789285183,
-0.04446602612733841,
0.037875182926654816,
0.1002296581864357,
0.002392296213656664,
0.023918572813272476,
-0.018560582771897316,
0.03942045196890831,
0.02179698646068573,
0.037608977407217026,
0.016128946095705032,
0.015808362513780594,
0.017818275839090347,
-0.005857210140675306,
0.01319510955363512,
0.025790376588702202,
0.0008982582949101925,
0.009131722152233124,
-0.07660578936338425,
-0.03409172222018242,
0.05817309021949768,
-0.06975588947534561,
-0.006995514500886202,
0.06043442338705063,
0.09312565624713898,
0.035543255507946014,
0.016666727140545845,
-0.010222077369689941,
-0.0679602399468422,
0.03960450738668442,
0.013507124967873096,
0.009645340964198112,
0.02832389995455742,
-0.018472174182534218,
0.044978901743888855,
0.016911424696445465,
0.0014521023258566856,
0.007055948488414288,
-0.07452882826328278,
-0.0752742663025856,
-0.02771468460559845,
-0.030016668140888214,
0.03711291402578354,
-0.027158455923199654,
0.0034825007896870375,
0.08657707273960114,
0.012775200419127941,
0.06692691892385483,
0.03941931575536728,
0.003256778698414564,
-0.007596151437610388,
-0.04874774441123009,
-0.03431837260723114,
0.0445980504155159,
0.05712471157312393,
-0.010531967505812645,
-0.045586150139570236,
0.02046164870262146,
0.0055401381105184555,
0.0036222580820322037,
0.039159540086984634,
-0.01095497701317072,
0.03403736278414726,
0.01900363713502884,
0.040747158229351044,
-0.054341498762369156,
0.05754449963569641,
-0.06884022802114487,
0.010934422723948956,
0.01081466767936945,
-0.01690763048827648,
-0.00354773155413568,
0.00032124531571753323,
0.09363553673028946,
0.05108822509646416,
-0.07128152251243591,
-0.03691341355443001,
0.03418174386024475,
0.024362128227949142,
-0.04483276605606079,
-0.01984923519194126,
-0.018090084195137024,
0.04344841465353966,
-0.011904162354767323,
-0.05924271419644356,
-0.02592804655432701,
0.007243365980684757,
-0.03209320083260536,
0.009192057885229588,
0.05540944263339043,
-0.030869880691170692,
0.04775024950504303,
-0.0005758886691182852,
-0.015277491882443428,
-0.01698046550154686,
-0.022035373374819756,
-0.0634424239397049,
0.023167161270976067,
0.008161581121385098,
-0.015639912337064743,
0.06048355624079704,
-0.020064573734998703,
-0.050394102931022644,
-0.02741129696369171,
-0.046597015112638474,
0.008051070384681225,
0.026006752625107765,
0.07107256352901459,
0.0069579193368554115,
0.04893691465258598,
0.02020704373717308,
0.028330985456705093,
-0.00460213515907526,
-0.04413279518485069,
-0.021679211407899857,
-0.04144209623336792,
0.006498313508927822,
0.03137057647109032,
-0.012462766841053963,
0.014660622924566269,
0.02752034366130829,
0.01699073426425457,
-0.030044814571738243,
-0.04350818693637848,
0.04101679101586342,
-0.005076634231954813,
-0.019103752449154854,
-0.02985815517604351,
-0.015864532440900803,
0.036669906228780746,
-0.05393972620368004,
-0.044812560081481934,
0.00008373695891350508,
-0.06074977666139603,
0.050730329006910324,
-0.06041981652379036,
-0.0425993986427784,
0.011496864259243011,
0.012375060468912125,
0.052586209028959274,
-0.02003326639533043,
0.03672100603580475,
0.09763401001691818,
0.012212016619741917,
0.02014409564435482,
-0.02646218053996563,
0.01183069683611393,
0.030957955867052078,
0.012958608567714691,
-0.01914583332836628,
0.0503578707575798,
0.00762012368068099,
-0.020933516323566437,
-0.0396665558218956,
0.04889283701777458,
-0.027538394555449486,
-0.286605566740036,
0.03880619630217552,
0.0019021336920559406,
-0.06823880225419998,
0.03226957097649574,
-0.004402928985655308,
-0.0001813411945477128,
-0.03555068373680115,
-0.02857082150876522,
0.02529258094727993,
-0.025555774569511414,
-0.06136833131313324,
-0.006421829108148813,
0.0514666773378849,
-0.018451346084475517,
0.037546899169683456,
0.02637406438589096,
-0.011964038945734501,
-0.00507458858191967,
0.056111790239810944,
-0.020589472725987434,
-0.08602984994649887,
-0.003374192863702774,
0.018238333985209465,
0.031135808676481247,
0.04935246706008911,
-0.09132872521877289,
0.04090315103530884,
-0.05502808839082718,
-0.007863509468734264,
0.004172382410615683,
0.007486624177545309,
0.012235802598297596,
-0.03635309636592865,
-0.02192119136452675,
-0.010082080960273743,
0.020898684859275818,
0.032329361885786057,
0.00126258609816432,
0.0047644698061048985,
-0.024167396128177643,
-0.02487221546471119,
-0.017901673913002014,
0.021210264414548874,
0.06791563332080841,
-0.001313808374106884,
-0.07281772792339325,
-0.0006093004485592246,
-0.012498748488724232,
0.09594585001468658,
-0.02016201615333557,
-0.024148495867848396,
-0.0057244389317929745,
0.03064749576151371,
-0.003012730274349451,
-0.03224305808544159,
0.00020374695304781199,
-0.026604579761624336,
-0.024370450526475906,
-0.0133103858679533,
-0.010227302089333534,
-0.025077834725379944,
0.006325204391032457,
-0.03947840631008148,
0.0012589363614097238,
-0.0531124509871006,
-0.051171209663152695,
-0.02374393306672573,
0.06556747853755951,
0.016265489161014557,
-0.03735506907105446,
0.018522480502724648,
-0.0009799179388210177,
-0.10539697110652924,
-0.012416002340614796,
-0.033177450299263,
-0.012866840697824955,
-0.0034707500599324703,
-0.003149373922497034,
0.03868510574102402,
-0.0064637186005711555,
-0.05774780735373497,
0.026302160695195198,
0.01195040624588728,
0.036870814859867096,
0.010663426481187344,
0.02657569758594036,
0.009266391396522522,
-0.034702423959970474,
0.014132564887404442,
0.0626617893576622,
-0.0028304823208600283,
-0.02659395895898342,
-0.0316084623336792,
0.026173768565058708,
0.001895513036288321,
0.005755866877734661,
-0.006366061046719551,
0.00244817859493196,
0.031070709228515625,
0.0040724147111177444,
-0.0512198880314827,
0.04198600351810455,
-0.015497504733502865,
-0.007749123033136129,
-0.023008540272712708,
-0.05463092774152756,
0.03442760929465294,
0.046640265733003616,
0.049527689814567566,
-0.002943558618426323,
-0.02365107089281082,
-0.01404228899627924,
-0.04293845221400261,
-0.051406197249889374,
-0.012921354733407497,
0.006599450018256903,
0.05282411724328995,
-0.033404640853405,
-0.010590711608529091,
-0.043959345668554306,
0.006045156624168158,
0.0014422050444409251,
0.027217166498303413,
-0.05695059150457382,
-0.02543492242693901,
-0.01736835576593876,
-0.003364110365509987,
0.018657628446817398,
0.04214995354413986,
-0.037186529487371445,
0.03925376757979393,
0.008398521691560745,
-0.03502965718507767,
-0.00564184645190835,
-0.008304827846586704,
-0.026894357055425644,
-0.02810725010931492,
-0.022543800994753838,
-0.020637083798646927,
-0.010622384957969189,
0.034652139991521835,
0.0020643919706344604,
0.015210337936878204,
0.03043794445693493,
-0.0027615579310804605,
0.04783077910542488,
-0.013934723101556301,
0.029240187257528305,
0.010877431370317936,
0.011851132847368717,
-0.08921374380588531,
0.01566656306385994,
-0.04645685851573944,
-0.035077743232250214,
-0.03152592480182648,
0.013540658168494701,
-0.02481979876756668,
-0.03713439404964447,
-0.0069617643021047115,
0.006575551349669695,
-0.06442819535732269,
-0.05506965145468712,
-0.03443535789847374,
0.021128259599208832,
0.06337156891822815,
-0.007105919998139143,
0.022117415443062782,
-0.01572769321501255,
-0.016056707128882408,
-0.01598432846367359,
0.016944633796811104,
-0.07896316051483154,
-0.006994775962084532,
0.034449465572834015,
-0.010617920197546482,
0.00465712184086442,
-0.006738574709743261,
0.05303417146205902,
0.01639549434185028,
-0.006642884574830532,
-0.01485932432115078,
-0.005659618880599737,
0.006965022999793291,
0.03453538939356804,
-0.00828546192497015,
0.02867143414914608,
-0.02186424285173416,
-0.032113298773765564,
-0.03548812121152878,
-0.037607576698064804,
-0.016169436275959015,
-0.0006243385141715407,
0.022206543013453484,
-0.029042942449450493,
-0.06273993104696274,
0.05097852647304535,
0.03951464965939522,
0.02068636566400528,
0.020546745508909225,
0.0019624033011496067,
0.0208541601896286,
-0.028453964740037918,
0.040101923048496246,
0.06179666891694069,
-0.04459857568144798,
-0.001156781567260623,
-0.006204919423907995,
0.011788645759224892,
0.0022145691327750683,
0.016017667949199677,
-0.027730833739042282,
-0.030545257031917572,
-0.020491981878876686,
-0.009986311197280884,
-0.038572706282138824,
-0.03381721302866936,
-0.009422228671610355,
0.007878811098635197,
-0.005593570880591869,
-0.038660719990730286,
-0.025599386543035507,
-0.0031937449239194393,
-0.005876600742340088,
-0.017073018476366997,
0.02168913371860981,
-0.02927624247968197,
0.023632146418094635,
0.01482969056814909,
-0.029841870069503784,
0.017094686627388,
-0.05868636816740036,
0.03136976808309555,
0.013146238401532173,
-0.0051584187895059586,
-0.01232391968369484,
-0.02773185819387436,
0.006227501202374697,
-0.0018753671320155263,
0.028075112029910088,
-0.02598460018634796,
-0.04182179272174835,
-0.010331912897527218,
-0.011960135772824287,
-0.04209848865866661,
0.021735670045018196,
-0.03609498217701912,
-0.0146476523950696,
0.005721930414438248,
0.07140737026929855,
0.02097489684820175,
0.05092143639922142,
0.004980988334864378,
-0.020989572629332542,
0.049096688628196716,
-0.06564020365476608,
-0.025860676541924477,
-0.0501052588224411,
-0.06688491255044937,
0.005067242309451103,
0.017792165279388428,
0.007158102933317423,
-0.06272665411233902,
0.014750976115465164,
0.03875823691487312,
0.05470879003405571,
0.05052655190229416,
-0.001315080444328487,
0.04567477107048035,
-0.06128029152750969,
0.00015005015302449465,
-0.06559612601995468,
0.026122543960809708,
0.032986752688884735,
0.02909257262945175,
-0.008381657302379608,
-0.014129634946584702,
-0.03122258000075817,
0.03792128711938858,
-0.057865411043167114,
-0.009266775101423264,
0.04804440215229988,
-0.011958709917962551,
0.014648083597421646,
0.01923062838613987,
-0.07998636364936829,
0.03517923131585121,
0.02988988719880581,
-0.04043286666274071,
-0.015638144686818123,
-0.039440784603357315,
0.05790196731686592,
0.02154187671840191,
0.04622451215982437,
-0.04639026150107384,
0.0006726828287355602,
0.06514352560043335,
0.015793215483427048,
0.020589126273989677,
0.04302426800131798,
-0.005753604229539633,
0.03115806356072426,
0.03268589824438095,
0.01194685511291027,
-0.02064960077404976,
0.022264964878559113,
0.003994461614638567,
-0.02449970506131649,
0.033127639442682266,
0.010268090292811394,
-0.030855754390358925,
-0.027924951165914536,
0.06982935965061188,
0.029298635199666023,
-0.008250092156231403,
-0.04202292859554291,
-0.005147571675479412,
-0.07337358593940735,
0.004007723648101091,
-0.006780772004276514,
-0.017686128616333008,
-0.060994233936071396,
0.043985527008771896,
0.012024901807308197,
-0.011189953424036503,
0.0711163580417633,
0.007615044713020325,
-0.011700342409312725,
-0.03446575626730919,
0.07720185816287994,
0.06430315226316452,
0.07819140702486038,
0.004079365637153387,
0.04258580505847931,
-0.010103928856551647,
-0.02694510668516159,
0.02228551171720028,
-0.007139961235225201,
-0.018921084702014923,
-0.03769862279295921,
0.0409582182765007,
0.042399901896715164,
-0.0009175669983960688,
0.04860333725810051,
-0.01221854705363512,
-0.0027339847292751074,
0.006338503211736679,
0.028727401047945023,
0.04259992763400078,
0.07478346675634384,
0.02114616148173809,
-0.0038009933196008205,
-0.002411207417026162,
-0.04564625769853592,
0.020737705752253532,
-0.031615905463695526,
-0.007200229447335005,
0.026060527190566063,
0.008690720424056053,
0.013864001259207726,
0.02010667882859707,
0.01247168704867363,
0.07286040484905243,
-0.03220921754837036,
0.019227532669901848,
-0.03645933046936989,
0.03866467997431755,
-0.0034007178619503975,
0.0034555091988295317,
-0.03041158616542816,
-0.02432684227824211,
0.008626273833215237,
-0.013052044436335564,
-0.019576169550418854,
0.018604349344968796,
-0.014153899624943733,
0.057102371007204056,
-0.01577966846525669,
0.010238466784358025,
0.03950429707765579,
-0.00819758977741003,
-0.041215356439352036,
-0.05304042994976044,
-0.041630808264017105,
-0.04549152031540871,
-0.04289686307311058,
-0.02099033258855343,
0.022668786346912384,
-0.0059817698784172535,
-0.013916654512286186,
-0.010264183394610882,
-0.022025253623723984,
-0.045890867710113525,
0.05181237682700157,
-0.05601039528846741,
-0.01831473410129547,
0.02452484890818596,
0.01415250450372696,
0.028858061879873276,
0.019710136577486992,
0.03833581507205963,
-0.004963145591318607,
0.0001679044944467023,
-0.023896805942058563,
0.02908223681151867,
0.018025323748588562,
0.011946914717555046,
0.015150004997849464,
-0.07949978858232498,
0.019815348088741302,
0.026209846138954163,
-0.007770412135869265,
-0.06682464480400085,
0.03475052863359451,
-0.002152253407984972,
-0.0424191951751709,
0.056596994400024414,
-0.0325435996055603,
0.016434762626886368,
-0.03214641660451889,
0.004981493577361107,
-0.0023344075307250023,
0.0265504103153944,
0.03554864600300789,
-0.014878072775900364,
0.07496337592601776,
0.017093028873205185,
-0.017169533297419548,
-0.03904076665639877,
-0.007678898051381111,
-0.006155869457870722,
0.0026376310270279646,
-0.013340188190340996,
-0.035811517387628555,
-0.037111569195985794,
-0.0681009367108345,
-0.019643424078822136,
-0.004187769256532192,
-0.020657997578382492,
-0.02563982829451561,
0.030503984540700912,
0.04337526857852936,
-0.04163823276758194,
0.016668586060404778,
-0.045361991971731186,
0.04550779238343239,
-0.017755549401044846,
-0.008772133849561214,
0.006312744226306677,
-0.0003853204252664,
-0.016133498400449753,
0.006696900352835655,
0.03148137778043747,
-0.03196021914482117,
0.01896083541214466,
-0.0011637923307716846,
0.02338179387152195,
0.03361202031373978,
0.010126356966793537,
-0.029206285253167152
] | [
-0.11222567409276962,
-0.02746165730059147,
-0.03398480266332626,
-0.03466353192925453,
0.039934445172548294,
-0.044598210602998734,
-0.03195150941610336,
0.035683032125234604,
-0.014749499037861824,
-0.01755477860569954,
0.013313131406903267,
0.001865584752522409,
-0.01594158262014389,
-0.015132890082895756,
0.07267546653747559,
0.016590744256973267,
-0.019105272367596626,
-0.06254550069570541,
0.016626406461000443,
0.0060370368883013725,
0.01994747295975685,
-0.027790037915110588,
-0.024969087913632393,
-0.020832937210798264,
0.027959516271948814,
0.039410512894392014,
0.01337293442338705,
-0.029997747391462326,
0.014966510236263275,
-0.17756345868110657,
-0.010086865164339542,
0.029244383797049522,
0.03059910610318184,
-0.026703190058469772,
0.037801891565322876,
0.06335075199604034,
-0.00037691081524826586,
0.04457089677453041,
-0.0038929220754653215,
0.058666013181209564,
0.02372651919722557,
0.05021795630455017,
-0.07031740993261337,
-0.056326013058423996,
0.00723045039921999,
0.013326441869139671,
0.007683022413402796,
-0.040192268788814545,
-0.03855633735656738,
0.03972431272268295,
-0.038702551275491714,
-0.04188267141580582,
-0.03013882227241993,
-0.0032753797713667154,
-0.021736424416303635,
0.046099983155727386,
0.03242248669266701,
0.07700083404779434,
0.016108671203255653,
0.02306831255555153,
0.01661812700331211,
-0.03913481533527374,
-0.13472439348697662,
0.08085008710622787,
0.06109761446714401,
0.06165197491645813,
-0.026106156408786774,
-0.02391020581126213,
-0.009913972578942776,
0.12061357498168945,
-0.00305358599871397,
-0.023003078997135162,
-0.018465444445610046,
0.042018257081508636,
0.0368109792470932,
0.0010901421774178743,
0.017123520374298096,
0.03266063705086708,
0.03795642778277397,
-0.03491658344864845,
-0.037343282252550125,
-0.01986752264201641,
-0.016087284311652184,
-0.00988595001399517,
-0.047789316624403,
0.005763984750956297,
-0.006376583129167557,
0.06744503974914551,
0.07022760063409805,
0.0325012244284153,
0.058508265763521194,
-0.012341678142547607,
0.040464721620082855,
-0.010892949067056179,
-0.09366463124752045,
-0.0029351890552788973,
-0.000320393213769421,
0.02013612538576126,
-0.06165286898612976,
0.4122782349586487,
-0.04498922824859619,
-0.034455474466085434,
0.0746038481593132,
0.04913947731256485,
-0.026257770135998726,
0.0010911970166489482,
0.012769830413162708,
-0.020153511315584183,
0.014078792184591293,
-0.028744757175445557,
0.007272261194884777,
0.03669887036085129,
0.07245185971260071,
-0.0582265704870224,
0.008188850246369839,
0.04616512358188629,
-0.013285154476761818,
0.01827533170580864,
-0.0023003926035016775,
-0.003322153352200985,
0.007338457740843296,
0.015568867325782776,
0.020127980038523674,
0.014059767127037048,
-0.051373161375522614,
-0.005916022229939699,
0.004612063057720661,
0.05084066838026047,
0.019789518788456917,
-0.0028138095512986183,
0.060634028166532516,
-0.05003431439399719,
-0.05525953322649002,
0.007840828970074654,
0.011176658794283867,
0.020127572119235992,
0.00854161661118269,
-0.02370883710682392,
-0.017123930156230927,
0.030307456851005554,
-0.003371470607817173,
0.00020709465024992824,
0.005660078953951597,
-0.016820576041936874,
-0.06049239635467529,
0.12698106467723846,
0.01699398271739483,
-0.014550558291375637,
-0.019241556525230408,
-0.06273537874221802,
-0.0277102068066597,
0.032104723155498505,
0.0006771623739041388,
-0.051087841391563416,
0.03540915623307228,
-0.006496998481452465,
0.08579383790493011,
-0.017299894243478775,
-0.05926786735653877,
-0.006971389055252075,
-0.008305293507874012,
-0.007448138203471899,
-0.08305107802152634,
0.0367722362279892,
0.06843829154968262,
-0.09426882117986679,
0.0034406946506351233,
-0.015519448556005955,
0.06308931857347488,
-0.03922731801867485,
-0.038489893078804016,
0.029020624235272408,
0.019678253680467606,
-0.03489940986037254,
0.0579448826611042,
-0.018762357532978058,
-0.03419091925024986,
-0.007666485849767923,
0.06748320162296295,
0.02007531188428402,
0.044647250324487686,
0.0332803837954998,
-0.03285464644432068,
0.0103447325527668,
-0.023429956287145615,
-0.12232841551303864,
-0.03793538361787796,
0.016464978456497192,
-0.041798532009124756,
-0.011058779433369637,
-0.0526985265314579,
-0.024835288524627686,
-0.07526520639657974,
0.10312965512275696,
-0.01254874188452959,
-0.024196574464440346,
0.02397061511874199,
-0.013315321877598763,
-0.013100582174956799,
-0.023382380604743958,
-0.033192094415426254,
0.03840586915612221,
-0.01091625727713108,
0.015909971669316292,
-0.05339876562356949,
0.06599312275648117,
0.03759683668613434,
-0.054616209119558334,
0.06942018121480942,
0.05705307051539421,
-0.04330523684620857,
-0.020909996703267097,
0.04440314322710037,
0.00045203082845546305,
0.008301659487187862,
0.001266255509108305,
-0.010941588319838047,
0.0430326871573925,
0.011739742010831833,
0.02349122241139412,
-0.02234913595020771,
0.01521744392812252,
0.03153907507658005,
-0.33269813656806946,
-0.03781246766448021,
-0.028437111526727676,
-0.024426914751529694,
0.02413531392812729,
-0.05590324476361275,
0.0204521082341671,
-0.03654705360531807,
-0.04010673984885216,
-0.003936294931918383,
0.06732736527919769,
-0.01803492195904255,
0.005791338160634041,
-0.07109808176755905,
0.009949573315680027,
-0.02435198985040188,
-0.025736913084983826,
-0.009195624850690365,
-0.0229356586933136,
-0.02204071916639805,
0.009601759724318981,
-0.007941910065710545,
-0.013722330331802368,
-0.0859743282198906,
-0.005293386988341808,
-0.03269113972783089,
0.08635157346725464,
-0.03528999909758568,
0.09612639993429184,
-0.03670626878738403,
0.04931563884019852,
-0.01536134909838438,
0.020969059318304062,
-0.09512528032064438,
0.014093453995883465,
-0.011591163463890553,
0.020550815388560295,
-0.008895870298147202,
0.007516287732869387,
-0.03695572167634964,
-0.024310292676091194,
-0.003141773398965597,
-0.06515941023826599,
-0.03194562345743179,
-0.05917352810502052,
0.027545470744371414,
-0.05072078853845596,
-0.045970767736434937,
-0.03462236374616623,
0.08343470841646194,
-0.002882665488868952,
0.010808187536895275,
0.021349523216485977,
0.002690934808924794,
0.011901579797267914,
-0.02475479431450367,
-0.06853767484426498,
0.04328722134232521,
0.033443327993154526,
-0.013314813375473022,
0.0361173078417778,
0.0556257888674736,
0.023670664057135582,
-0.024625634774565697,
0.014118234626948833,
-0.001388565287925303,
0.023231692612171173,
-0.00969276949763298,
0.015900952741503716,
-0.014348994009196758,
0.0006981980404816568,
0.12187981605529785,
-0.008311317302286625,
-0.05021233856678009,
0.02148381806910038,
0.025262517854571342,
-0.025767743587493896,
0.02356414683163166,
0.026814639568328857,
-0.021143527701497078,
0.008482646197080612,
-0.023257389664649963,
0.02231483720242977,
-0.03132525458931923,
0.006230092607438564,
0.007989869453012943,
-0.03348073363304138,
-0.04555707424879074,
0.027077270671725273,
0.014962874352931976,
-0.028323834761977196,
-0.010040284134447575,
-0.0323328897356987,
-0.06520882248878479,
0.06613387912511826,
-0.023055601865053177,
-0.24458451569080353,
0.0056999363005161285,
0.07930311560630798,
0.03431803360581398,
-0.022757790982723236,
0.04613092914223671,
0.023078108206391335,
-0.01843053288757801,
0.0038976510986685753,
0.008822258561849594,
-0.003121722489595413,
0.02141152136027813,
-0.006208484526723623,
-0.0017012528842315078,
0.05888710543513298,
-0.023788128048181534,
0.06833232194185257,
-0.009154906496405602,
0.03938363492488861,
-0.03223487362265587,
-0.0011209930526092649,
-0.030282404273748398,
0.1503559648990631,
-0.003705152776092291,
0.059264712035655975,
0.0022238397505134344,
-0.017259154468774796,
0.04343118518590927,
0.10536171495914459,
-0.00626881280913949,
-0.020853647962212563,
0.011701050214469433,
0.04747544974088669,
0.0054424782283604145,
0.013313250616192818,
-0.07397741079330444,
-0.02763563208281994,
0.04406009241938591,
0.024521056562662125,
0.013282964937388897,
0.015884606167674065,
0.00311552407220006,
-0.022336166352033615,
0.02615482173860073,
0.07339996099472046,
0.016684621572494507,
-0.019216176122426987,
-0.04567207023501396,
-0.05724813789129257,
-0.013171402737498283,
-0.05650723725557327,
-0.023762712255120277,
0.023016346618533134,
-0.004899191670119762,
0.00038544481503777206,
0.059760790318250656,
0.015257053077220917,
-0.01915912702679634,
-0.014220358803868294,
0.010469524189829826,
0.0010494427988305688,
-0.023304590955376625,
0.09069956094026566,
0.014131897129118443,
0.027078913524746895
] | [
-0.03299790620803833,
-0.004666027147322893,
0.017635783180594444,
0.010150555521249771,
-0.015244599431753159,
0.012691314332187176,
-0.024320276454091072,
0.006934551987797022,
0.008405017666518688,
0.005879344884306192,
-0.013498440384864807,
0.025003889575600624,
-0.02570131979882717,
-0.007870422676205635,
0.010339098982512951,
-0.007372202817350626,
-0.0022306221071630716,
-0.021105095744132996,
0.03879533335566521,
-0.0014276093570515513,
-0.012651300989091396,
0.007409685291349888,
-0.03675146400928497,
0.0033847324084490538,
-0.010597774758934975,
0.021363340318202972,
-0.03354642912745476,
-0.019904231652617455,
0.01661229319870472,
-0.12246096879243851,
-0.025686264038085938,
0.004845417570322752,
-0.0050092595629394054,
0.007579841651022434,
0.014511536806821823,
0.023789798840880394,
-0.000016480873455293477,
0.025564976036548615,
0.029746783897280693,
0.005239592865109444,
-0.02522018738090992,
0.0051258341409265995,
0.023447850719094276,
0.017868995666503906,
0.012777546420693398,
0.003991513513028622,
0.013624889776110649,
-0.03675747290253639,
-0.03727622702717781,
-0.01860484853386879,
-0.027494218200445175,
-0.010459435172379017,
-0.031307514756917953,
-0.02282767742872238,
0.017579585313796997,
-0.008146143518388271,
0.021926648914813995,
-0.023086464032530785,
-0.003262818092480302,
-0.0317692831158638,
-0.008853471837937832,
-0.009755848906934261,
-0.047617338597774506,
-0.028800010681152344,
-0.03515741229057312,
-0.006138752680271864,
0.012400100938975811,
0.004637409001588821,
-0.022902611643075943,
0.0043646469712257385,
0.02095521241426468,
0.004084668587893248,
-0.01518197264522314,
-0.006789143197238445,
0.008011655882000923,
0.022759316489100456,
0.015460195019841194,
0.007946809753775597,
0.034869350492954254,
-0.012683508917689323,
-0.012369374744594097,
0.01129115466028452,
0.027996154502034187,
0.001267464249394834,
-0.01618209108710289,
-0.013474988751113415,
0.02751469984650612,
0.0034377407282590866,
0.017861606553196907,
0.0011439318768680096,
-0.007925179786980152,
0.02380024641752243,
-0.020678186789155006,
0.007346427999436855,
-0.09057694673538208,
-0.010471583344042301,
-0.03089158795773983,
-0.028274983167648315,
-0.005566772539168596,
0.8786507248878479,
0.003006099024787545,
0.04248562827706337,
-0.004084582440555096,
0.0032792771235108376,
0.01699225977063179,
0.0076625291258096695,
-0.012687605805695057,
-0.013832353986799717,
-0.012928553856909275,
-0.02243894524872303,
-0.0018596521113067865,
0.0164988711476326,
0.012889566831290722,
0.008306392468512058,
0.028010671958327293,
0.024066738784313202,
0.013822291977703571,
-0.010111345909535885,
0.01214422844350338,
-0.014992897398769855,
0.06788209825754166,
0.003291085362434387,
0.0014997852267697453,
-0.006360347848385572,
0.012781837023794651,
-0.16710644960403442,
0.031227191910147667,
-9.934316551834208e-33,
0.04266506806015968,
0.004877811297774315,
-0.011580048128962517,
-0.012525259517133236,
0.021127264946699142,
0.0011434023035690188,
0.04322975501418114,
0.033389147371053696,
-0.005174111574888229,
-0.03984183445572853,
-0.029714008793234825,
-0.04643962159752846,
-0.010779514908790588,
-0.022542860358953476,
0.014106214046478271,
-0.020967897027730942,
-0.008372456766664982,
0.0434274822473526,
-0.009867437183856964,
0.0208110474050045,
0.030501320958137512,
-0.001096093445084989,
-0.007335479371249676,
-0.009721475653350353,
0.02068917825818062,
-0.004525268450379372,
-0.0038861713837832212,
0.03236886486411095,
-0.005271837115287781,
-0.05914793536067009,
0.013151907362043858,
0.030591199174523354,
-0.008988816291093826,
0.01905527524650097,
-0.032992951571941376,
-0.02445537969470024,
-0.01810741424560547,
0.0010423846542835236,
-0.008039352484047413,
0.00738621037453413,
-0.03434694930911064,
-0.0008455655770376325,
-0.05650312826037407,
-0.0001111567544285208,
0.0162629634141922,
-0.004614479839801788,
0.006069396622478962,
0.0011302377097308636,
0.022892924025654793,
-0.03038421832025051,
0.019470568746328354,
0.03964916244149208,
-0.001098840031772852,
-0.002577337669208646,
-0.04004563391208649,
0.01095573790371418,
0.006430566310882568,
-0.00023031237651593983,
0.005137759726494551,
0.0071829999797046185,
0.01701841689646244,
-0.012848874554038048,
-0.03774986043572426,
0.012562662363052368,
-0.02708788774907589,
-0.01092689298093319,
0.011404876597225666,
0.01720045506954193,
0.028723219409585,
0.010387884452939034,
-0.036380279809236526,
-0.0051812054589390755,
0.01444135420024395,
0.015051228925585747,
0.007485058158636093,
0.009469876065850258,
0.013084900565445423,
0.021669574081897736,
-0.008555928245186806,
0.02294710837304592,
-0.011746996082365513,
0.023790791630744934,
0.010198444128036499,
-0.00425617815926671,
-0.005874465685337782,
0.0017367765540257096,
0.010050584562122822,
-0.0008930453914217651,
-0.010424532927572727,
0.009453956969082355,
0.028693532571196556,
-0.026588860899209976,
0.027303248643875122,
-0.022147882729768753,
0.015611200593411922,
9.337024362294387e-33,
-0.0015909216599538922,
-0.030248377472162247,
-0.03270905837416649,
0.02186294086277485,
0.009734861552715302,
-0.01846279762685299,
-0.021847985684871674,
0.03398678079247475,
-0.03906502202153206,
0.03190098702907562,
-0.008830352686345577,
-0.00814851839095354,
-0.015457674860954285,
0.016228152438998222,
0.014677822589874268,
-0.027618220075964928,
0.021001223474740982,
-0.028056977316737175,
0.029432138428092003,
-0.0130253741517663,
0.027405865490436554,
0.0034305357839912176,
0.012665894813835621,
-0.0037976575549691916,
0.026833737269043922,
0.04822130128741264,
-0.03073425590991974,
0.02037896402180195,
0.019353989511728287,
-0.03192087635397911,
-0.0012999860337004066,
-0.036245573312044144,
0.025685671716928482,
-0.02742595784366131,
-0.017536424100399017,
0.0272894985973835,
-0.03629635274410248,
-0.02850772626698017,
0.03408748656511307,
0.028680210933089256,
-0.0013404141645878553,
-0.013563822023570538,
0.013681110925972462,
0.0311224814504385,
0.02809309773147106,
0.014332066290080547,
-0.006278063636273146,
-0.029723603278398514,
0.01419057697057724,
0.003993211779743433,
-0.0054741972126066685,
0.0240688007324934,
0.011686419136822224,
0.0020181620493531227,
0.010686347261071205,
-0.00705705676227808,
-0.04935106262564659,
-0.02328094281256199,
-0.003549030516296625,
0.045528024435043335,
0.005975722335278988,
-0.006327458657324314,
-0.018895240500569344,
-0.005228645168244839,
-0.029661383479833603,
-0.004416021518409252,
0.006584951188415289,
-0.00626086350530386,
-0.000053399511671159416,
-0.00567586487159133,
-0.012119635008275509,
0.015983493998646736,
-0.030308818444609642,
0.04822186008095741,
0.044230230152606964,
-0.03551333025097847,
-0.022442227229475975,
0.013566652312874794,
-0.030213311314582825,
0.022988876327872276,
-0.0015239221975207329,
0.012563779018819332,
-0.0007643623976036906,
0.01568601094186306,
-0.029039829969406128,
0.018425101414322853,
-0.007643664255738258,
0.024933721870183945,
0.0027013933286070824,
-0.021880455315113068,
-0.03434459865093231,
-0.02352103777229786,
0.007737368810921907,
0.001774157746694982,
-0.009188530966639519,
-1.500679935872995e-8,
0.00979683268815279,
0.04071765020489693,
-0.010949871502816677,
-0.0070149884559214115,
0.010656452737748623,
-0.015391340479254723,
0.004723865073174238,
0.01896488480269909,
-0.014747739769518375,
-0.0009926942875608802,
0.043457575142383575,
-0.017528200522065163,
-0.000648199871648103,
0.007842286489903927,
0.001469751470722258,
-0.02773229219019413,
-0.04522630572319031,
-0.025237122550606728,
0.036097653210163116,
0.0259803868830204,
-0.005922945681959391,
0.05563739314675331,
-0.025414973497390747,
-0.017378145828843117,
0.0027653116267174482,
0.016618594527244568,
-0.0026855820324271917,
-0.03895638510584831,
0.006506490986794233,
0.03356851637363434,
0.012271806597709656,
-0.017343007028102875,
-0.004439948592334986,
0.012363778427243233,
-0.03439148887991905,
-0.055830541998147964,
0.03324934467673302,
-0.00633584801107645,
-0.008525286801159382,
0.021172991022467613,
0.012065259739756584,
0.0007491401047445834,
-0.010782331228256226,
-0.01651252619922161,
0.001013467088341713,
-0.006835650652647018,
-0.034217845648527145,
-0.016854574903845787,
-0.014366907998919487,
-0.0451933853328228,
0.02349572628736496,
-0.006228827405720949,
0.0041074566543102264,
0.02566753327846527,
0.01556724775582552,
0.016055520623922348,
-0.009107204154133797,
-0.02095196209847927,
-0.0229013841599226,
0.0032177658285945654,
0.0018248179694637656,
0.027551818639039993,
-0.017048761248588562,
-0.02171141467988491
] | the-refactoring-dilemma | https://markhneedham.com/blog/2010/06/13/the-refactoring-dilemma |
false | 2010-06-14 22:46:00 | TDD: Driving from the assertion up | [
"testing"
] | [
"Testing"
] | About a year ago I wrote a post about http://www.markhneedham.com/blog/2009/06/20/book-club-the-readability-of-tests-growing-object-oriented-software-steve-freemannat-pryce/[a book club we ran in Sydney covering 'The readability of tests'] from Steve Freeman and Nat Pryce's book in which they suggest that their preferred way of writing tests is to drive them from the assertion up:
____
Write Tests Backwards Although we stick to a canonical format for test code, we don't necessarily write tests from top to bottom. What we often do is: write the test name, which helps us decide what we want to achieve; write the call to the target code, which is the entry point for the feature; write the expectations and assertions, so we know what effects the feature should have; and, write the setup and teardown to define the context for the test. Of course, there may be some blurring of these steps to help the compiler, but this sequence reflects how we tend to think through a new unit test. Then we run it and watch it fail.
____
At the time I wasn't necessarily convinced that this was the best way to drive but we came across an interesting example today where that approach might have been beneficial.
The test in question was an integration test and we were following the approach of http://www.markhneedham.com/blog/2008/10/30/testing-hibernate-mappings-setting-up-test-data/[saving the test object directly through the NHibernate session] and then loading it again through a repository.
We started the test from the setup of the data and decided to get the mappings and table setup in order to successfully persist the test object first. We didn't write the assertion or repository call in the test initially.
Having got that all working correctly we got back to our test and wrote the rest of it only to realise as we drove out the repository code that we actually needed to create a new object which would be a composition of several objects including our original test object.
We wanted to retrieve a 'Foo' by providing a key and a date - we would retrieve different values depending on the values we provided for those parameters.
This is roughly what the new object looked like:
[source,csharp]
----
public class FooRecord
{
public Foo Foo { get; set; }
public FooKey FooKey { get; set; }
public DateTime OnDate { get; set; }
}
----
'FooRecord' would need to be saved to the session although we would still retrieve 'Foo' from the repository having queried the database for the appropriate one.
[source,csharp]
----
public class FooRepository
{
public Foo Find(Date onDate, FooKey fooKey)
{
// code to query NHibernate which retrieves FooRecords
// and then filters those to find the one we want
}
}
----
We wouldn't necessarily have discovered this more quickly if we'd driven from the assertion because we'd still have had to start driving the implementation with an incomplete test to avoid any re-work.
I think it would have been more likely that we'd have seen the problem though. | null | null | [
-0.001955671701580286,
-0.00011398330389056355,
-0.016433071345090866,
0.05486287176609039,
0.07832445949316025,
-0.008726957254111767,
0.044654615223407745,
0.014630441553890705,
0.022292671725153923,
-0.016743360087275505,
0.002582338871434331,
0.002267795382067561,
-0.05318018049001694,
0.0012023374438285828,
-0.023769307881593704,
0.05727700516581535,
0.06568557024002075,
-0.022929949685931206,
0.04076175391674042,
0.0024526636116206646,
0.013155820779502392,
0.05922483652830124,
-0.010562801733613014,
0.0335000678896904,
0.04417281970381737,
0.03181013837456703,
0.009874002076685429,
-0.013815382495522499,
-0.06566253304481506,
-0.021671660244464874,
0.0034835929982364178,
-0.002079571830108762,
-0.007693977560847998,
-0.00433635339140892,
0.023681841790676117,
-0.015784703195095062,
-0.021664103493094444,
0.02160116471350193,
0.02211981825530529,
0.009223825298249722,
-0.05989249795675278,
0.025672439485788345,
0.0033139646984636784,
0.010416246019303799,
-0.05042566359043121,
0.00043115034350194037,
-0.04780334606766701,
0.011461424641311169,
-0.01957305707037449,
-0.008497612550854683,
-0.06213296204805374,
0.04857335239648819,
-0.025628631934523582,
-0.009513524360954762,
0.013474621810019016,
0.05863627791404724,
0.028319984674453735,
-0.06412028521299362,
0.03150190785527229,
-0.043722569942474365,
-0.007029506843537092,
-0.009713960811495781,
-0.015516649931669235,
0.034239210188388824,
0.022998513653874397,
-0.029956385493278503,
-0.002545787487179041,
0.03268356993794441,
-0.041184503585100174,
-0.003626005258411169,
-0.022266533225774765,
-0.004348991438746452,
-0.01845957711338997,
-0.02009378746151924,
0.020561549812555313,
-0.04625226929783821,
0.013348729349672794,
0.05971338227391243,
0.023997265845537186,
0.03590230643749237,
-0.014826908707618713,
0.015203269198536873,
0.0400482602417469,
0.011281575076282024,
0.0048669190146028996,
-0.046963635832071304,
0.008804635144770145,
-0.007808461785316467,
-0.03861626610159874,
0.07396502792835236,
0.010401061736047268,
-0.052197955548763275,
0.0037807233165949583,
0.02548956125974655,
-0.032794415950775146,
-0.005457044113427401,
0.043753258883953094,
0.008122529834508896,
0.011150428093969822,
-0.01220163144171238,
-0.03662952035665512,
-0.02337951958179474,
0.02605457790195942,
0.00938387867063284,
-0.0777231752872467,
0.014043291099369526,
-0.05004531890153885,
-0.03829668462276459,
0.0058146873489022255,
0.013804041780531406,
-0.035864874720573425,
0.028519166633486748,
0.0034698101226240396,
0.007926920428872108,
-0.07659368216991425,
0.040516335517168045,
0.012154814787209034,
-0.05118973180651665,
-0.007838006131350994,
0.03775999695062637,
0.038744859397411346,
0.031421516090631485,
0.0006920283194631338,
0.060038529336452484,
0.0005593746900558472,
0.052715037018060684,
-0.0183796938508749,
0.04286312684416771,
-0.01297421008348465,
-0.08425213396549225,
-0.005492141004651785,
0.029664812609553337,
-0.009461776353418827,
0.02506009116768837,
0.005489144008606672,
-0.0213828906416893,
0.009105836041271687,
-0.0007557073258794844,
0.04185204580426216,
0.07427728176116943,
-0.0023377996403723955,
-0.03893459960818291,
0.02881735935807228,
0.012578866444528103,
0.008515318855643272,
0.022557171061635017,
-0.009976866655051708,
-0.0006163115613162518,
-0.05226593092083931,
0.041361622512340546,
0.027310404926538467,
0.039605557918548584,
0.030931707471609116,
-0.03588484972715378,
0.02258368395268917,
0.06903716176748276,
-0.007184072397649288,
0.036648575216531754,
0.00366033473983407,
0.03492678329348564,
0.03232957795262337,
0.040747299790382385,
0.021650658920407295,
0.035577137023210526,
0.0008043358102440834,
-0.0034277725499123335,
-0.011044876649975777,
0.047923941165208817,
0.0009481571614742279,
-0.00491676852107048,
-0.046977750957012177,
-0.07416272163391113,
0.04343630000948906,
-0.039662376046180725,
-0.022545406594872475,
0.038938410580158234,
0.07142186164855957,
0.02567603625357151,
0.056269604712724686,
0.006243967451155186,
-0.07651825249195099,
0.009600028395652771,
0.016820909455418587,
0.009093409404158592,
-0.0026981853879988194,
-0.00844978541135788,
0.06527850776910782,
0.03450242429971695,
-0.022309022024273872,
0.02479645237326622,
-0.06755170226097107,
-0.07198542356491089,
-0.011938320472836494,
-0.012287252582609653,
0.05949825420975685,
-0.020426785573363304,
0.0070655629970133305,
0.09314128011465073,
0.02025545947253704,
0.03853890299797058,
0.04488677531480789,
0.011444768868386745,
0.013952595181763172,
-0.04922356829047203,
-0.010794347152113914,
0.03529316559433937,
0.035346318036317825,
0.0005379049689508975,
-0.07691709697246552,
-0.014627459459006786,
-0.03247915953397751,
0.019737234339118004,
0.04453187808394432,
0.011854821816086769,
0.011929511092603207,
0.0160092581063509,
0.0522012896835804,
-0.015972675755620003,
0.07612185925245285,
-0.07120323181152344,
0.0013021978083997965,
0.016824955120682716,
-0.019303765147924423,
-0.0071869948878884315,
-0.007133403327316046,
0.12452702224254608,
0.05508460849523544,
-0.030405430123209953,
-0.048104844987392426,
0.021705815568566322,
0.02194567397236824,
-0.05134528502821922,
-0.0024802349507808685,
-0.0208921879529953,
0.011373322457075119,
0.005068974103778601,
-0.033488187938928604,
-0.012271633371710777,
0.010106615722179413,
-0.021153632551431656,
0.028594985604286194,
0.061729203909635544,
-0.004608219023793936,
0.05184166878461838,
-0.0017916247015818954,
-0.007233911659568548,
0.006086895242333412,
-0.02834056131541729,
-0.07458222657442093,
0.0006292325560934842,
-0.002227826975286007,
-0.021302029490470886,
0.050799738615751266,
-0.03120340034365654,
-0.033936697989702225,
-0.023491907864809036,
-0.055704668164253235,
0.026195405051112175,
0.02805328369140625,
0.07022043317556381,
-0.02148047275841236,
0.06814233213663101,
-0.012478074990212917,
0.020183997228741646,
0.00021854382066521794,
-0.04097245633602142,
-0.026179587468504906,
-0.017453063279390335,
-0.014891006052494049,
0.026874668896198273,
0.0012158420868217945,
0.009437408298254013,
0.051768433302640915,
0.01637115143239498,
-0.03411226347088814,
-0.02122594602406025,
0.03560855612158775,
0.020819585770368576,
-0.013701081275939941,
-0.029072808101773262,
-0.04074094444513321,
0.020421462133526802,
-0.04747696965932846,
0.006645638961344957,
0.032650452107191086,
-0.08055081218481064,
0.0317559577524662,
-0.08087125420570374,
-0.06382535398006439,
0.010809010826051235,
0.026756370440125465,
0.021279241889715195,
0.02705336920917034,
0.013105656020343304,
0.06747052818536758,
0.034023936837911606,
0.014268318191170692,
-0.008830799721181393,
0.017949195578694344,
0.04034603014588356,
-0.00019266510207671672,
-0.015167842619121075,
0.029057227075099945,
-0.007689545396715403,
0.023218713700771332,
-0.06683467328548431,
0.02575753815472126,
-0.010586962103843689,
-0.2815198600292206,
0.024485303089022636,
0.00022611879103351384,
-0.05686074495315552,
0.04667045921087265,
-0.013742052018642426,
0.0134814428165555,
-0.051147397607564926,
-0.04098726809024811,
0.07221367210149765,
-0.03423352539539337,
-0.03417474403977394,
-0.008817752823233604,
0.06870829313993454,
0.013417107984423637,
0.04533912241458893,
0.0518856905400753,
-0.0485505610704422,
0.004744502250105143,
0.05702134966850281,
-0.01913428120315075,
-0.07640989869832993,
0.004489432089030743,
0.041515156626701355,
0.022754454985260963,
0.05194132402539253,
-0.09628459066152573,
0.04817710816860199,
-0.0431356318295002,
-0.002788500627502799,
-0.0029755544383078814,
0.011948049068450928,
0.029995961114764214,
-0.005578434094786644,
-0.02411779761314392,
0.0049046119675040245,
0.009167160838842392,
0.015303976833820343,
-0.01738681085407734,
0.02169606275856495,
-0.03439416363835335,
-0.05073896422982216,
-0.03050824999809265,
0.02229865826666355,
0.07144477218389511,
-0.03209512308239937,
-0.07108618319034576,
-0.008337574079632759,
-0.03798040747642517,
0.07203088700771332,
-0.04786832258105278,
-0.02955467998981476,
-0.004820575006306171,
0.03902921453118324,
-0.02215944230556488,
-0.04868197441101074,
-0.00012085436173947528,
-0.01414518617093563,
-0.045155979692935944,
-0.03831825777888298,
-0.04906090721487999,
-0.045789238065481186,
-0.004651347175240517,
-0.03824359178543091,
-0.02323034778237343,
-0.060010895133018494,
-0.06616705656051636,
-0.0024635649751871824,
0.06771691888570786,
0.022702908143401146,
-0.038112822920084,
-0.004686689004302025,
-0.010400312021374702,
-0.11497976630926132,
-0.026365619152784348,
-0.032876014709472656,
-0.0107357706874609,
-0.03777797520160675,
-0.03240888938307762,
0.054787371307611465,
-0.035463813692331314,
-0.029187051579356194,
0.017909575253725052,
0.011044039390981197,
0.030657069757580757,
-0.002334983553737402,
0.036945149302482605,
-0.0018982392502948642,
-0.03127399459481239,
0.0018797885859385133,
0.07544267177581787,
-0.011313872411847115,
-0.014483732171356678,
-0.02639654092490673,
-0.006424665451049805,
0.02608855441212654,
0.011455314233899117,
-0.0073310439474880695,
0.0003197297628503293,
0.008648100309073925,
0.023819832131266594,
-0.046198949217796326,
0.047255758196115494,
-0.01680336333811283,
-0.01513980608433485,
-0.019752349704504013,
-0.07212528586387634,
0.039223626255989075,
0.04075636342167854,
0.040829241275787354,
-0.029405362904071808,
-0.023457029834389687,
0.022376649081707,
-0.031275179237127304,
-0.04418971389532089,
-0.033122532069683075,
0.011657734401524067,
0.028140205889940262,
-0.03225754573941231,
-0.013173481449484825,
-0.0438898503780365,
0.009812791831791401,
0.014803657308220863,
-0.029060229659080505,
-0.05122518166899681,
-0.046020373702049255,
-0.001978927059099078,
-0.00963728129863739,
0.004295247606933117,
0.027474818751215935,
-0.013123075477778912,
0.026297273114323616,
0.03178480267524719,
-0.010411962866783142,
-0.0025985008105635643,
-0.013255284167826176,
-0.04135642200708389,
-0.027768738567829132,
-0.01578330062329769,
0.011170710436999798,
-0.01154931541532278,
-0.013479526154696941,
0.0061140223406255245,
0.040986474603414536,
0.018515564501285553,
-0.01822383888065815,
0.04063478857278824,
-0.007859013974666595,
0.008569631725549698,
0.018763011321425438,
0.02603173442184925,
-0.06651460379362106,
0.014840544201433659,
-0.027449047192931175,
-0.03895066678524017,
-0.03419702500104904,
0.02885979227721691,
-0.01068158634006977,
-0.02096915990114212,
-0.020240293815732002,
0.016612932085990906,
-0.06161843612790108,
-0.02195984497666359,
-0.01965736411511898,
0.02426399104297161,
0.07401870936155319,
-0.020140720531344414,
0.04026959091424942,
-0.029503457248210907,
-0.0403432622551918,
0.003207893343642354,
-0.00751075055450201,
-0.027926631271839142,
0.023678747937083244,
0.03077254816889763,
-0.0009468619246035814,
0.005245153792202473,
0.014885210432112217,
0.04420881345868111,
-0.005467485636472702,
0.0072615304961800575,
-0.02558043785393238,
0.007011425215750933,
-0.0021398637909442186,
0.04186967387795448,
-0.010708242654800415,
0.013540592044591904,
-0.012032904662191868,
-0.011063523590564728,
-0.026154760271310806,
-0.036473482847213745,
-0.0007395777502097189,
-0.01742101088166237,
0.0438498929142952,
-0.060345184057950974,
-0.08905025571584702,
0.0523662343621254,
-0.0068965028040111065,
0.012633776292204857,
0.028275683522224426,
0.03829415887594223,
-0.006280532572418451,
-0.010758783668279648,
0.03219723701477051,
0.0614553727209568,
-0.05121118202805519,
-0.009939332492649555,
-0.01767823100090027,
0.008804076351225376,
0.005303124897181988,
0.013949346728622913,
-0.0405774787068367,
-0.027419287711381912,
-0.0027474488597363234,
0.00012017519475193694,
-0.044199611991643906,
-0.023519763723015785,
-0.041998304426670074,
0.0021456885151565075,
-0.0013137690257281065,
-0.020869001746177673,
0.013804876245558262,
0.012748240493237972,
-0.02432773821055889,
-0.008401364088058472,
-0.0007932898006401956,
-0.009738454595208168,
0.0028851297684013844,
0.025863276794552803,
-0.04572024196386337,
0.017240405082702637,
-0.017844183370471,
0.03354927897453308,
-0.0009450288489460945,
-0.027180859819054604,
-0.043306078761816025,
-0.008581536822021008,
0.011514144018292427,
-0.000841116881929338,
0.05683107301592827,
0.01543722115457058,
-0.003556366078555584,
-0.008006645366549492,
-0.0020372248254716396,
-0.040313173085451126,
0.021391432732343674,
0.000348928413586691,
-0.019745811820030212,
0.029912682250142097,
0.05557268485426903,
-0.0020379903726279736,
0.02563679963350296,
-0.00804941263049841,
-0.02587493322789669,
0.05851311609148979,
-0.06930554658174515,
-0.007695539388805628,
-0.03944326937198639,
-0.0724015086889267,
-0.006306511349976063,
0.017188360914587975,
0.023754572495818138,
-0.037015337496995926,
0.028979100286960602,
0.011817721650004387,
0.007337809074670076,
0.0370212085545063,
0.0020251809619367123,
0.04212181270122528,
-0.06787219643592834,
0.014948503114283085,
-0.06617779284715652,
0.00977235846221447,
0.034227751195430756,
0.010061080567538738,
-0.011348175816237926,
-0.004444566089659929,
-0.0423479899764061,
0.05616888031363487,
-0.051938246935606,
-0.0023149738553911448,
0.047661442309617996,
-0.022311942651867867,
-0.015114707872271538,
0.01029337476938963,
-0.056687917560338974,
0.024425052106380463,
0.00871626753360033,
-0.021898120641708374,
-0.04275096580386162,
-0.023798907175660133,
0.028497247025370598,
0.01070986408740282,
0.02539418637752533,
-0.04001276567578316,
0.010682391934096813,
0.07074937969446182,
0.025173109024763107,
0.028322329744696617,
0.02154446765780449,
-0.02481865882873535,
0.03666476532816887,
0.03056900016963482,
0.0030910938512533903,
0.007346742320805788,
-0.00510886637493968,
-0.026407286524772644,
-0.05775589123368263,
0.009385610930621624,
0.013789567165076733,
-0.023194072768092155,
-0.02362465299665928,
0.05210740119218826,
0.0042053451761603355,
-0.02277490869164467,
-0.07786300033330917,
0.009196843020617962,
-0.05185705050826073,
-0.03650519624352455,
-0.01602758653461933,
0.011189384385943413,
-0.041861020028591156,
0.053240321576595306,
-0.00024930675863288343,
0.010486125014722347,
0.0748618096113205,
-0.035424597561359406,
-0.02152104303240776,
-0.01811010204255581,
0.08302468806505203,
0.09618112444877625,
0.038255903869867325,
-0.005962505005300045,
0.05077030137181282,
-0.017817961052060127,
-0.05079247057437897,
0.016901031136512756,
-0.015413884073495865,
-0.004642619285732508,
-0.020040016621351242,
0.011301117017865181,
0.05258117988705635,
-0.02437332458794117,
0.038672663271427155,
-0.03310486674308777,
0.001466703019104898,
0.012010081671178341,
0.0430995412170887,
0.009198732674121857,
0.06631184369325638,
0.02442753314971924,
-0.009019489400088787,
-0.01485605537891388,
-0.0507345125079155,
0.0037121744826436043,
-0.02937362529337406,
-0.002197492402046919,
0.022645292803645134,
-0.02558818832039833,
0.0408252477645874,
-0.001280657248571515,
0.039742361754179,
0.08751619607210159,
-0.022489605471491814,
0.016805121675133705,
-0.0011667485814541578,
0.013226667419075966,
-0.0014424171531572938,
-0.0022269273176789284,
-0.02820306457579136,
-0.01951022446155548,
0.004045237321406603,
-0.01607709378004074,
-0.006353427190333605,
0.010385215282440186,
-0.0413626991212368,
0.044239312410354614,
-0.010844586417078972,
0.008532823994755745,
-0.001704652328044176,
0.02551332861185074,
-0.041590671986341476,
-0.06727279722690582,
-0.06388407200574875,
-0.010332898236811161,
-0.04658503457903862,
-0.005905199330300093,
0.017808711156249046,
0.006317379884421825,
-0.045798636972904205,
-0.021541336551308632,
-0.030954737216234207,
-0.027077998965978622,
0.05092974007129669,
-0.028349416330456734,
-0.004890926647931337,
0.032782405614852905,
0.0352456271648407,
0.007570329587906599,
0.02866365946829319,
0.05835726112127304,
0.007535054814070463,
0.025318283587694168,
-0.030625952407717705,
-0.009149886667728424,
0.04951285198330879,
-0.020144402980804443,
0.022968804463744164,
-0.07155008614063263,
0.008143961429595947,
0.018006205558776855,
0.01677839085459709,
-0.06742258369922638,
0.009594917297363281,
-0.010120028629899025,
-0.02991933561861515,
0.04404730722308159,
-0.0166778601706028,
0.031742729246616364,
0.01164165884256363,
-0.03745425119996071,
0.006869414355605841,
0.03260466828942299,
0.030729059129953384,
-0.011883411556482315,
0.08527010679244995,
0.02095038816332817,
-0.045302119106054306,
-0.044675562530756,
-0.009418698027729988,
0.0021168533712625504,
0.02421574853360653,
-0.031194055452942848,
-0.04265250638127327,
-0.032500289380550385,
-0.06796569377183914,
-0.0282596368342638,
0.02800912596285343,
-0.022286307066679,
-0.0062640453688800335,
0.011185583658516407,
0.030915850773453712,
-0.0625690370798111,
0.04070447385311127,
-0.027770336717367172,
0.02181621640920639,
-0.018144072964787483,
-0.03148665279150009,
0.010788094252347946,
0.014677357859909534,
-0.0009909422369673848,
0.020822763442993164,
0.015959491953253746,
-0.07006923109292984,
-0.02111108973622322,
0.01095456350594759,
0.04185406491160393,
0.03127336874604225,
-0.0014913228806108236,
-0.009271806105971336
] | [
-0.11605660617351532,
0.022766970098018646,
-0.03196651116013527,
-0.02713451348245144,
0.02829231321811676,
-0.021012336015701294,
-0.02369513548910618,
0.01869906485080719,
-0.014250338077545166,
-0.01013314537703991,
-0.02360169216990471,
-0.04158445820212364,
-0.011057174764573574,
-0.006169761531054974,
0.0575174018740654,
-0.013900438323616982,
-0.01896909438073635,
-0.055981799960136414,
0.009696653112769127,
0.03749508038163185,
0.01773988828063011,
-0.013733920641243458,
-0.032575689256191254,
-0.004805770702660084,
0.03281999006867409,
0.051226623356342316,
0.047037459909915924,
-0.03210536763072014,
-0.009790755808353424,
-0.23435823619365692,
0.003917935770004988,
0.0053105843253433704,
0.03381624445319176,
-0.0437399186193943,
0.0011682643089443445,
0.06343350559473038,
0.022354796528816223,
0.012841402553021908,
-0.021616948768496513,
0.04236762970685959,
0.031046150252223015,
0.01051300298422575,
-0.04611584544181824,
-0.007809258531779051,
0.039234813302755356,
0.011535339057445526,
0.018704406917095184,
-0.06135435402393341,
0.012835811823606491,
0.022523395717144012,
-0.0652388483285904,
-0.038217004388570786,
-0.017927950248122215,
-0.04474068060517311,
0.0002518653345759958,
0.005784797482192516,
0.05526961013674736,
0.0719970241189003,
-0.011706391349434853,
0.004493991378694773,
-0.0016140288207679987,
-0.022869732230901718,
-0.1376977413892746,
0.08606748282909393,
0.03703007847070694,
0.03810529783368111,
-0.026092685759067535,
-0.017039310187101364,
0.01605216972529888,
0.0994352176785469,
0.0069306292571127415,
-0.027411816641688347,
-0.028272274881601334,
0.07706916332244873,
0.01342813577502966,
-0.004003559239208698,
-0.013281547464430332,
0.011168633587658405,
0.06283580511808395,
-0.06430895626544952,
-0.03523257374763489,
-0.012858336791396141,
0.007696289569139481,
0.011800920590758324,
-0.009289028123021126,
0.014875040389597416,
-0.0241132490336895,
0.028203485533595085,
0.05125369876623154,
0.025336483493447304,
0.05391036346554756,
-0.01148093119263649,
0.029536770656704903,
0.01298096589744091,
-0.07215581089258194,
-0.01097747404128313,
-0.006306446623057127,
0.004454868379980326,
-0.01751743257045746,
0.40586772561073303,
-0.0365852415561676,
-0.02301124855875969,
0.03221716359257698,
0.04440624639391899,
-0.017046870663762093,
-0.01912105828523636,
0.034910280257463455,
-0.06387844681739807,
0.014066304080188274,
-0.02529638074338436,
0.02166287787258625,
0.008360739797353745,
0.06183376535773277,
-0.04342383146286011,
0.005081099923700094,
0.04340919479727745,
0.0511765331029892,
0.015865972265601158,
-0.031026747077703476,
-0.004958713427186012,
-0.011864163912832737,
-0.0032987415324896574,
0.01091589592397213,
-0.022525401785969734,
0.015390084125101566,
-0.028156297281384468,
0.01466494332998991,
0.051490418612957,
0.026803147047758102,
-0.008082928135991096,
0.04061733931303024,
-0.02862030640244484,
-0.09588788449764252,
-0.00862855650484562,
0.007519040256738663,
0.016135618090629578,
0.01547440979629755,
-0.047819942235946655,
0.016951626166701317,
0.04763603210449219,
0.006860475521534681,
-0.0031177359633147717,
0.036808669567108154,
0.007150889839977026,
-0.06803449988365173,
0.09461461007595062,
-0.010789782740175724,
-0.011837645433843136,
-0.031542420387268066,
-0.0274297334253788,
0.02145085111260414,
0.03340825438499451,
-0.012535009533166885,
-0.07930368185043335,
0.0346551351249218,
0.004796764347702265,
0.0728561133146286,
0.0062127201817929745,
-0.04129878431558609,
-0.0270931888371706,
-0.040735095739364624,
-0.01236000843346119,
-0.07202058285474777,
0.049701616168022156,
0.0414339080452919,
-0.07039742171764374,
-0.022963697090744972,
0.026665741577744484,
0.04685267433524132,
-0.06564795970916748,
0.02054951898753643,
0.00965815968811512,
-0.02137494459748268,
-0.006785640958696604,
0.03717987611889839,
-0.03472113609313965,
-0.01684063859283924,
0.024363363161683083,
0.03212568163871765,
0.02194574475288391,
0.036847613751888275,
-0.0015895927790552378,
-0.06349150091409683,
0.005013561341911554,
-0.016581425443291664,
-0.07279620319604874,
-0.06469181925058365,
-0.008705987595021725,
-0.036919884383678436,
0.0019241843838244677,
-0.01068168319761753,
-0.015946023166179657,
-0.09170377254486084,
0.10147427022457123,
-0.025775955989956856,
-0.03246191516518593,
0.02988309971988201,
0.022512979805469513,
-0.02436545118689537,
-0.02495567314326763,
-0.010850252583622932,
0.05683780089020729,
-0.008769156411290169,
0.05043523386120796,
-0.05757568031549454,
0.026382451876997948,
0.07453300803899765,
-0.06231560930609703,
0.08484883606433868,
0.03606428951025009,
-0.032822269946336746,
-0.04077555611729622,
-0.017872963100671768,
0.039491619914770126,
-0.031112462282180786,
-0.020440729334950447,
-0.00004771914973389357,
0.01756381429731846,
0.0006583543727174401,
0.030325323343276978,
-0.024263860657811165,
-0.038680654019117355,
-0.02333611436188221,
-0.35042762756347656,
-0.040155887603759766,
-0.006550160236656666,
-0.016381558030843735,
0.02342921867966652,
-0.05999641865491867,
0.00939910113811493,
0.006749044172465801,
-0.015043241903185844,
-0.03309566155076027,
0.0663442462682724,
-0.02210366539657116,
0.012330050580203533,
-0.07446649670600891,
0.004930711351335049,
-0.0036890932824462652,
-0.03524438664317131,
-0.04446214437484741,
-0.03709959238767624,
0.02000095695257187,
-0.0008950081537477672,
-0.023506173864006996,
-0.0072973365895450115,
-0.06377912312746048,
0.014173123054206371,
-0.04296102747321129,
0.08169513940811157,
-0.034228239208459854,
0.10996698588132858,
-0.024188904091715813,
0.044522035866975784,
-0.005836767610162497,
0.025762490928173065,
-0.11347173899412155,
0.010227386839687824,
-0.00935773178935051,
-0.027829458937048912,
0.01617068238556385,
0.01707288809120655,
-0.059139885008335114,
-0.015143920667469501,
0.026404254138469696,
-0.06342843919992447,
-0.04495278000831604,
-0.05620888993144035,
0.013501420617103577,
-0.01951117254793644,
-0.013176491484045982,
-0.019725773483514786,
0.0686018168926239,
0.009477469138801098,
-0.01849314384162426,
-0.001218244549818337,
0.007906880229711533,
-0.004697582684457302,
-0.025554247200489044,
-0.0972302258014679,
-0.01424132939428091,
0.01720673404633999,
-0.0070022959262132645,
0.04784395173192024,
0.092702217400074,
0.025539787486195564,
-0.03968550264835358,
-0.006255801767110825,
-0.012442014180123806,
-0.0010589195881038904,
-0.008490133099257946,
0.059403806924819946,
-0.030815880745649338,
-0.0307209100574255,
0.07602053135633469,
-0.013952487148344517,
-0.005742656998336315,
0.04930222034454346,
0.049498848617076874,
-0.008381207473576069,
-0.0034208125434815884,
0.023401640355587006,
-0.0021723664831370115,
0.0033297166228294373,
-0.0025207889266312122,
0.03089224360883236,
-0.009695050306618214,
0.003159865504130721,
0.06442788243293762,
0.004639269784092903,
-0.023522434756159782,
0.0422702431678772,
0.00588669627904892,
-0.04563712328672409,
0.0014665673952549696,
-0.007393802050501108,
-0.056955255568027496,
0.07324400544166565,
0.005713144317269325,
-0.23031526803970337,
0.015472195111215115,
0.03542965278029442,
0.06229304522275925,
-0.0043931338004767895,
0.022474778816103935,
0.039330773055553436,
-0.06669960170984268,
0.0043804096058011055,
0.007994004525244236,
0.02910330519080162,
0.031356073915958405,
0.018424207344651222,
-0.019069641828536987,
0.0478409081697464,
0.009451508522033691,
0.06054696440696716,
-0.0035853409208357334,
0.03143519535660744,
-0.021743299439549446,
0.014965764246881008,
-0.005169407464563847,
0.16696009039878845,
-0.011247661896049976,
0.023451795801520348,
0.033182766288518906,
0.028870543465018272,
0.024171950295567513,
0.0798172876238823,
0.02138918824493885,
0.026474975049495697,
-0.012403852306306362,
0.062368329614400864,
0.023976987227797508,
0.00772054260596633,
-0.06451419740915298,
-0.022532349452376366,
0.0024477553088217974,
0.04239905998110771,
-0.018191229552030563,
0.029127931222319603,
-0.006688346154987812,
-0.03921589255332947,
0.022260233759880066,
0.08792004734277725,
0.030315037816762924,
-0.012205556966364384,
-0.05159381404519081,
-0.058358900249004364,
-0.00862296111881733,
-0.009731234982609749,
-0.046979982405900955,
0.0064224605448544025,
0.006436105351895094,
0.014494642615318298,
0.04590804502367973,
0.022357437759637833,
-0.04520247504115105,
-0.03202266991138458,
0.006885097362101078,
0.011860393919050694,
-0.0021042576991021633,
0.14488308131694794,
0.0489966943860054,
0.015445523895323277
] | [
0.0059578754007816315,
0.017654739320278168,
-0.017311379313468933,
0.01446483377367258,
-0.03500683605670929,
0.01872592233121395,
-0.009954466484487057,
0.03358656167984009,
-0.005964601878076792,
0.023983854800462723,
-0.03785260021686554,
-0.00586176011711359,
0.016777772456407547,
-0.022452518343925476,
0.016441207379102707,
0.007462834008038044,
-0.0029083765111863613,
-0.023677056655287743,
0.04334307461977005,
0.005544243846088648,
-0.030670607462525368,
-0.0032748288940638304,
0.0033386717550456524,
0.00103773083537817,
0.00250136642716825,
0.014043287374079227,
-0.013214373029768467,
0.015996405854821205,
0.00849007349461317,
-0.1268114149570465,
-0.0275053009390831,
-0.000055198685004143044,
0.004422059282660484,
-0.004039894323796034,
-0.0164300836622715,
0.011263291351497173,
0.023592239245772362,
0.01467646099627018,
0.0005719707696698606,
-0.0018330730963498354,
0.034541185945272446,
-0.007122788578271866,
0.014395485632121563,
0.009465192444622517,
-0.014968758448958397,
0.02672616019845009,
0.011416678316891193,
-0.02146785892546177,
-0.04767550528049469,
0.00010788017243612558,
-0.043324463069438934,
-0.008177686482667923,
-0.007055043242871761,
-0.00020007474813610315,
0.008107524365186691,
-0.0013923851074650884,
-0.00022428382362704724,
-0.03509575501084328,
0.01290464773774147,
-0.00655615609139204,
-0.011613546870648861,
0.008425705134868622,
-0.015567844733595848,
-0.01900392957031727,
0.0029526916332542896,
-0.020896069705486298,
-0.011995525099337101,
0.016256269067525864,
0.01848207786679268,
-0.012662879191339016,
-0.013603217899799347,
0.030335761606693268,
-0.02542625553905964,
-0.006327181588858366,
-0.0066886101849377155,
0.036858849227428436,
0.020643634721636772,
-0.022526677697896957,
0.03699970245361328,
-0.026928454637527466,
-0.0600709393620491,
0.021542031317949295,
0.015099001117050648,
-0.006053740158677101,
-0.012005561031401157,
0.016487229615449905,
0.04102141782641411,
-0.006558507215231657,
-0.002341418992727995,
-0.009696622379124165,
-0.010696761310100555,
0.01637490838766098,
-0.011899398639798164,
0.021018126979470253,
-0.06536911427974701,
-0.021012771874666214,
-0.0013929072301834822,
-0.01938614808022976,
0.024954844266176224,
0.8764601349830627,
0.012240261770784855,
0.05310158059000969,
0.003333460073918104,
0.007125046104192734,
-0.02375727705657482,
-0.012096766382455826,
0.0239846333861351,
-0.04463888704776764,
0.02993626333773136,
-0.01871470734477043,
0.02474479377269745,
0.015629684552550316,
0.031120335683226585,
-0.006131106521934271,
0.003113668877631426,
0.029019011184573174,
-0.008652924560010433,
0.0175721887499094,
-0.01578354462981224,
0.004577707499265671,
0.015001805499196053,
-0.007409979589283466,
-0.01023893617093563,
-0.0026307539083063602,
0.018803484737873077,
-0.16768093407154083,
0.03001418709754944,
-9.130973426906687e-33,
0.041189081966876984,
-0.03769760951399803,
0.017245467752218246,
0.007713147439062595,
0.03042198345065117,
0.026397259905934334,
0.047861311584711075,
0.04053746908903122,
0.002782330149784684,
-0.02580568753182888,
0.0023990271147340536,
-0.010318728163838387,
-0.014362831600010395,
-0.024294178932905197,
0.020694388076663017,
0.01787406951189041,
-0.035452283918857574,
0.01064769085496664,
-0.008563858456909657,
0.027230344712734222,
0.024406906217336655,
0.027492517605423927,
-0.016666125506162643,
-0.008741067722439766,
0.002274018945172429,
-0.006264130584895611,
0.021394923329353333,
0.014933867380023003,
-0.023399626836180687,
-0.04217836260795593,
-0.008455370552837849,
0.018789930269122124,
-0.03166642412543297,
-0.010416192933917046,
0.03687754273414612,
-0.05109259858727455,
-0.007710167672485113,
0.023044204339385033,
-0.0033564972691237926,
-0.0009294503834098577,
-0.011178066954016685,
-0.02714686281979084,
-0.026822218671441078,
-0.014136427082121372,
-0.01904657855629921,
-0.016399184241890907,
-0.01673317328095436,
0.01782725565135479,
0.037658266723155975,
-0.005289056804031134,
-0.0032751525286585093,
0.01729068160057068,
0.008605924434959888,
-0.03587961569428444,
-0.0490000955760479,
0.019726958125829697,
-0.034221358597278595,
0.006549324840307236,
0.023799728602170944,
0.03833651915192604,
0.007518642116338015,
-0.002300186548382044,
-0.02166813239455223,
0.006109222304075956,
-0.023835662752389908,
-0.026597151532769203,
0.006143820472061634,
-0.02092943899333477,
0.014132249169051647,
0.010599504224956036,
-0.01684763841331005,
-0.008329307660460472,
-0.034497056156396866,
0.001552797039039433,
0.005332715343683958,
-0.02455976977944374,
0.022626183927059174,
0.030048809945583344,
0.015488430857658386,
0.01563342846930027,
0.03092886693775654,
-0.023244105279445648,
-0.018442435190081596,
-0.03207847476005554,
-0.0034919430036097765,
-0.015120677649974823,
0.008884528651833534,
-0.014129229821264744,
-0.001635355525650084,
-0.033251844346523285,
0.03696274012327194,
0.019032495096325874,
0.003608310827985406,
-0.03047330491244793,
-0.005281542427837849,
9.39541116669973e-33,
0.017902659252285957,
-0.028505094349384308,
-0.02927497960627079,
0.011496315710246563,
0.016625776886940002,
-0.015047812834382057,
0.02105197310447693,
0.012117123231291771,
-0.05865383520722389,
0.04252617806196213,
-0.008766879327595234,
-0.012356139719486237,
-0.008538768626749516,
0.04645274206995964,
0.03016624040901661,
-0.04240325465798378,
0.015209292992949486,
-0.03795955702662468,
0.01776040904223919,
-0.011532188393175602,
0.013544592075049877,
0.02142084762454033,
0.011667344719171524,
-0.004346471279859543,
0.013565477915108204,
0.03565992787480354,
-0.04851837083697319,
0.028340518474578857,
0.009353415109217167,
-0.0021638106554746628,
-0.029761508107185364,
0.01601126790046692,
0.019778143614530563,
-0.0012496538693085313,
-0.02437097579240799,
0.011456908658146858,
0.0189918614923954,
-0.04220704734325409,
0.002288077725097537,
0.0005383609095588326,
0.003964070230722427,
-0.004037735052406788,
-0.006604339461773634,
0.010236254893243313,
0.025536231696605682,
0.05645158141851425,
0.006668716669082642,
-0.005112366750836372,
0.012227633036673069,
0.02932668663561344,
0.0014435045886784792,
0.007109594531357288,
0.0004925179528072476,
-0.008659958839416504,
0.013804340735077858,
-0.015719011425971985,
-0.024170981720089912,
-0.017046824097633362,
-0.017867887392640114,
0.0060788365080952644,
-0.025318246334791183,
0.021216854453086853,
-0.00905293133109808,
0.0084886085242033,
-0.016852986067533493,
0.005807170644402504,
0.00327968318015337,
-0.01129333209246397,
0.006675635930150747,
-0.023404628038406372,
-0.035852640867233276,
0.0011731524718925357,
0.011871683411300182,
0.02641676738858223,
0.02076110802590847,
-0.01237731333822012,
-0.022089866921305656,
-0.015704162418842316,
-0.0037530192639678717,
-0.008954682387411594,
-0.0139273377135396,
-0.02396157942712307,
0.008324611000716686,
0.019086962565779686,
-0.027885694056749344,
0.04720888286828995,
0.020297573879361153,
0.010525149293243885,
-0.019924592226743698,
0.010626698844134808,
-0.014187043532729149,
-0.010324684903025627,
-0.013823598623275757,
-0.0029981269035488367,
-0.0037886803038418293,
-1.4622608901504464e-8,
-0.01446868758648634,
0.011140395887196064,
-0.034383006393909454,
0.036132000386714935,
0.0018278748029842973,
0.0007926120306365192,
-0.007711236830800772,
-0.00449869642034173,
-0.0071490490809082985,
0.011556432582437992,
0.04411984235048294,
-0.00985095463693142,
0.01994302123785019,
0.0031789487693458796,
0.01627103053033352,
-0.044872745871543884,
-0.025854583829641342,
-0.008356930688023567,
0.019562004134058952,
0.006198284216225147,
0.005984596908092499,
0.04013233259320259,
-0.0006273757317103446,
0.03112896904349327,
0.021970119327306747,
0.04595016688108444,
0.009407456032931805,
-0.06114090979099274,
0.009105266071856022,
-0.002023147651925683,
0.033822201192379,
-0.036530062556266785,
-0.012255027890205383,
0.0050081596709787846,
-0.02884821407496929,
-0.0059816972352564335,
0.016817189753055573,
0.036539796739816666,
0.011338857933878899,
-0.012243567034602165,
-0.0055609107948839664,
-0.0022121656220406294,
0.0008602015441283584,
-0.016311192885041237,
-0.02644750289618969,
-0.01734986901283264,
-0.03553600236773491,
-0.0036430945619940758,
0.0033046873286366463,
-0.048004087060689926,
0.004325822927057743,
0.023342808708548546,
0.03184904530644417,
0.014620792120695114,
-0.0006953704287298024,
0.030059712007641792,
-0.009256278164684772,
-0.019122233614325523,
-0.04773548245429993,
-0.010058552026748657,
0.04015078395605087,
0.008511895313858986,
-0.024760542437434196,
-0.026818888261914253
] | tdd-driving-from-the-assertion-up | https://markhneedham.com/blog/2010/06/14/tdd-driving-from-the-assertion-up |
false | 2010-06-22 22:51:10 | Leadership and software teams: Some thoughts | [
"leadership"
] | [
"Software Development"
] | Roy Osherove wrote a post about a month ago describing the http://5whys.com/blog/the-3-maturity-stages-of-a-software-team-and-how-scrum-fails.html[different maturity levels of software teams] and the strategies that he uses when leading each of these which I found quite interesting.
He describes the following states of maturity for a team:
* Chaotic Stage -- the state where a team does not possess the skills, motives or ambition to become a mature self managing team.
* Mid-Life stage -- where a team possesses some skills for self management and decision making , and can make some of its own decisions without needing a team lead.
* Mature stage -- where a team is practically fully self managing and a team leader is mostly a coach rather than a decision maker.
Later on in the article he goes on to describe the best approach as a leader of each of these types of team:
* The chaotic stage needs a strong, dictator like leadership
* The Mid-Life stage needs a coach-dictator
* The Mature stage needs a coach
My experience over the last few years is that a lot of tech leads seem to start off with the assumption that their team is a chaotic one and that they need to make every decision if a project is going to be successful.
Perhaps this is a good place to start but I think it's important to keep checking/iterating your approach to see whether it's still appropriate. Teams tend to improve as time goes on to the point where you don't need to decide as much for the team as you originally did.
The dictator approach seems to work more effectively in smaller teams in non political environments where it is possible for the tech lead to be around frequently and have the time available to make the majority of decisions.
When we don't have that i.e. it's a bigger team or political situation then it doesn't seem to scale since that person becomes the bottleneck as they don't have the time available to get involved in every decision that gets made.
Even if it does work *the team leader can end up discouraging people from taking responsibility by always taking it themselves* instead of coaching people so that they become more effective at decision making.
Ironically this isn't what they were trying to achieve but not allowing people to be responsible for decisions means that they'll be less likely to take responsibility in the future i.e. it's a http://en.wikipedia.org/wiki/Self-fulfilling_prophecy[self fulfilling prophecy].
I appreciate that there is a fine balance to strike between allowing people to self manage and potentially make mistakes and wanting to keep things progressing by making a decision which you intuitively know is right but somehow we need to find it!
An interesting quote from a http://www.brazencareerist.com/2010/06/11/what-the-celtics-win-can-teach-you-about-leadership[post by Leanne Chase about leadership] sums up my current opinion on where we should aim to drive software teams towards:
____
Finally, I heard the ESPN announcer say at one point last night after a Kobe Bryant 3-pointer that Kobe was essentially telling the team -- no worries, get on my back, I'll carry you. That sort of mentality must be exhausting in basketball, at work and in life. *I don't know about you but I would much rather have a team mentality*.
____
I've never yet had to lead a software team so all the above is from observation of how others have carried out this role. It's interesting picking up ideas from each of them and hopefully I'll be able to make use of these if I'm in that role in the future. | null | null | [
0.01165967807173729,
-0.004046693444252014,
0.010733054019510746,
0.018147477880120277,
0.07949848473072052,
-0.008239468559622765,
0.03375350311398506,
0.04837949573993683,
0.02917686104774475,
-0.04087204113602638,
-0.014046452939510345,
-0.012955106794834137,
-0.048838868737220764,
0.030190484598279,
-0.04312053322792053,
0.08049015700817108,
0.05079001188278198,
0.012819284573197365,
0.005462913773953915,
-0.0028486812952905893,
0.040156275033950806,
0.0795697346329689,
0.02609105221927166,
0.04741556569933891,
0.05707351863384247,
0.01609523594379425,
0.011666858568787575,
-0.004481323529034853,
-0.03512714058160782,
-0.012109977193176746,
0.03329947963356972,
-0.01994803175330162,
0.013036144897341728,
-0.0023307441733777523,
0.019493507221341133,
-0.0298660546541214,
-0.000055985452490858734,
0.030723607167601585,
0.003947763703763485,
-0.01656768098473549,
-0.073308065533638,
0.04091754928231239,
-0.021316055208444595,
-0.0027139976155012846,
-0.034755416214466095,
0.017744114622473717,
-0.017339494079351425,
0.025895262137055397,
0.025707459077239037,
-0.0017803807277232409,
-0.05770796537399292,
0.02565792389214039,
-0.005052214954048395,
-0.004010817501693964,
-0.017492787912487984,
0.011053923517465591,
0.018718915060162544,
-0.04310891032218933,
-0.00021751817257609218,
-0.04977185279130936,
-0.015421334654092789,
-0.01709669642150402,
-0.0018738411599770188,
0.03281572833657265,
0.022463597357273102,
-0.0432506762444973,
0.005908278748393059,
0.03661899268627167,
-0.05944913998246193,
0.010081768967211246,
-0.026312295347452164,
-0.004021413158625364,
-0.011388719081878662,
-0.010584533214569092,
0.022677067667245865,
-0.06311284750699997,
0.010796509683132172,
0.07181540131568909,
0.037539042532444,
0.05647791922092438,
-0.013828444294631481,
0.006015845108777285,
-0.0026124222204089165,
0.03276270255446434,
-0.022563250735402107,
-0.031319666653871536,
0.029429132118821144,
-0.008204051293432713,
-0.06287189573049545,
0.06862357258796692,
0.0010121810482814908,
-0.05078209564089775,
0.02078273706138134,
0.047474149614572525,
0.005865836516022682,
-0.011685367673635483,
0.02802625484764576,
0.018723374232649803,
-0.010986113920807838,
-0.046818964183330536,
-0.025881702080368996,
-0.004007639829069376,
-0.031030187383294106,
0.007237852551043034,
-0.08446972817182541,
-0.024242831394076347,
-0.008460558019578457,
0.007431632373481989,
-0.013991975225508213,
0.012068613432347775,
-0.035274893045425415,
0.0029870879370719194,
-0.019722923636436462,
0.018275026232004166,
-0.0551612488925457,
0.06281519681215286,
0.00773227121680975,
-0.027695992961525917,
0.014603218995034695,
-0.0014643174363300204,
0.041324079036712646,
0.015017654746770859,
-0.026696303859353065,
0.06835971772670746,
-0.00745970057323575,
0.032861270010471344,
-0.025409329682588577,
0.06181849539279938,
-0.005876466631889343,
-0.050626207143068314,
-0.007531255483627319,
0.059463027864694595,
-0.04456685855984688,
0.0026335963048040867,
-0.011067080311477184,
-0.04060012102127075,
0.006467366125434637,
0.01536730956286192,
0.03760310262441635,
0.06625708937644958,
-0.018111126497387886,
-0.025334056466817856,
0.019384421408176422,
0.029740924015641212,
0.02607673965394497,
-0.02666846476495266,
0.004154857248067856,
-0.030508292838931084,
-0.05369720980525017,
-0.02569889836013317,
0.02640792727470398,
-0.0017979900585487485,
0.024597588926553726,
-0.02944151498377323,
0.029750823974609375,
0.08275120705366135,
0.0705639123916626,
-0.01670004054903984,
-0.024022622033953667,
0.03501196205615997,
0.04715612158179283,
0.03694511204957962,
0.027100514620542526,
0.029347626492381096,
0.02883346937596798,
-0.016038790345191956,
0.003528762375935912,
0.005384917836636305,
-0.0032324749045073986,
0.011205066926777363,
-0.050576843321323395,
-0.04870389401912689,
0.035105083137750626,
-0.03475523740053177,
-0.010953882709145546,
0.05651642754673958,
0.05790954455733299,
0.05029204115271568,
0.0398598350584507,
-0.0028287344612181187,
-0.07500412315130234,
0.035716619342565536,
0.009933406487107277,
0.03183174133300781,
0.04652974009513855,
-0.023482460528612137,
0.047839533537626266,
0.023602569475769997,
-0.010637353174388409,
0.02045564167201519,
-0.0744122713804245,
-0.09502217173576355,
-0.005401311442255974,
-0.004106506239622831,
0.029525721445679665,
-0.05993901565670967,
0.01295129768550396,
0.06693166494369507,
0.025769546627998352,
0.053219687193632126,
0.02243448980152607,
0.0009442073060199618,
-0.001877959119156003,
-0.03212906792759895,
-0.027624355629086494,
0.08043688535690308,
0.02649116702377796,
0.0014905582647770643,
-0.03172371909022331,
0.038046106696128845,
-0.014118854887783527,
-0.015024540945887566,
0.0330490805208683,
-0.023673292249441147,
0.04094848036766052,
0.004467306192964315,
0.048222076147794724,
-0.024517685174942017,
0.056332577019929886,
-0.030834419652819633,
0.013836313039064407,
0.012406205758452415,
-0.02705361321568489,
0.03335055708885193,
0.0010881576454266906,
0.0934237539768219,
0.052358876913785934,
-0.058063607662916183,
-0.059778399765491486,
0.02862546592950821,
0.023993711918592453,
-0.01564614847302437,
-0.01915259286761284,
0.014105728827416897,
0.01597287319600582,
-0.014277368783950806,
-0.06376378238201141,
-0.04902353137731552,
0.015403357334434986,
-0.05520867556333542,
-0.003108010394498706,
0.05930456891655922,
-0.006558584980666637,
0.06494796276092529,
-0.027976641431450844,
-0.00833384320139885,
-0.021105552092194557,
-0.012102517299354076,
-0.050739917904138565,
0.019929388538002968,
-0.010933732613921165,
-0.02106054686009884,
0.05552418902516365,
-0.015430424362421036,
-0.03878634423017502,
-0.04224379360675812,
-0.0498281791806221,
0.030066831037402153,
0.05201376974582672,
0.05384979024529457,
-0.015066687949001789,
0.04796034097671509,
-0.026672085747122765,
0.036939069628715515,
0.0010418342426419258,
-0.03909064456820488,
-0.06040681526064873,
-0.022697722539305687,
0.008960647508502007,
0.0005106813623569906,
-0.011812175624072552,
0.0037811764050275087,
0.0035597190726548433,
0.007222508545964956,
-0.014367416501045227,
0.012598663568496704,
0.006183491554111242,
-0.0022238940000534058,
0.011727234348654747,
-0.025734499096870422,
-0.008613166399300098,
0.06271020323038101,
-0.0152520090341568,
-0.008120139129459858,
-0.008209701627492905,
-0.08411137759685516,
0.0359669104218483,
-0.05100075900554657,
-0.020798206329345703,
-0.014177830889821053,
0.0030355630442500114,
0.04377918690443039,
0.014314900152385235,
0.03813044726848602,
0.05234020575881004,
0.020072394981980324,
0.020419195294380188,
0.025563089177012444,
0.012544943951070309,
0.04445580765604973,
0.01523700449615717,
-0.009226363152265549,
0.03679652884602547,
-0.01930384896695614,
0.01120277214795351,
-0.03846021741628647,
0.06093001738190651,
-0.044754043221473694,
-0.2765525281429291,
0.03433166816830635,
-0.007442997768521309,
-0.039564743638038635,
0.019141921773552895,
-0.03375072032213211,
0.01920328661799431,
-0.05859530344605446,
-0.030042679980397224,
0.03484465554356575,
-0.04892541095614433,
-0.041445840150117874,
-0.00786929577589035,
0.04338876157999039,
0.0038192104548215866,
0.02634161151945591,
0.044469546526670456,
-0.041237786412239075,
0.004420530050992966,
0.05654143914580345,
-0.020509500056505203,
-0.07557112723588943,
-0.017737912014126778,
0.035504359751939774,
0.04799964651465416,
0.0806836485862732,
-0.04636351391673088,
0.03043171763420105,
-0.07247723639011383,
0.0005816296907141805,
-0.009766657836735249,
-0.004022886976599693,
0.008251416496932507,
-0.013253339566290379,
-0.01681608520448208,
-0.018122397363185883,
0.05151113495230675,
0.01124170608818531,
-0.0033764662221074104,
-0.008443893864750862,
-0.03416058048605919,
-0.03124927170574665,
-0.0035743815824389458,
0.021395180374383926,
0.06465139240026474,
0.021019842475652695,
-0.07743555307388306,
-0.019218454137444496,
-0.022753512486815453,
0.0829533189535141,
-0.029599176719784737,
-0.030377332121133804,
0.008813018910586834,
0.016366031020879745,
-0.007194840349256992,
-0.013895930722355843,
-0.0050242082215845585,
-0.03127380460500717,
-0.032896094024181366,
-0.023716043680906296,
-0.016994737088680267,
-0.02017778344452381,
-0.010994957759976387,
-0.049355648458004,
-0.01760505512356758,
-0.04894755035638809,
-0.06001574546098709,
-0.0025754801463335752,
0.052923861891031265,
-0.019723542034626007,
-0.04295967146754265,
0.005512278527021408,
-0.0180661678314209,
-0.0949111208319664,
0.0023451687302440405,
-0.0025065336376428604,
-0.024249715730547905,
0.008946106769144535,
0.02060321345925331,
0.04731752350926399,
-0.030894972383975983,
-0.043480779975652695,
0.007415321189910173,
0.023459581658244133,
0.03455202654004097,
0.01938110589981079,
0.06253425776958466,
0.03477821871638298,
-0.01013377495110035,
0.015009145252406597,
0.07055464386940002,
0.011562671512365341,
-0.049612946808338165,
0.0035314643755555153,
0.03124053217470646,
0.0007020476623438299,
-0.00548854423686862,
-0.01089079212397337,
-0.00018358805391471833,
0.01384544838219881,
-0.0034062862396240234,
-0.04036226496100426,
0.017057280987501144,
0.009280349127948284,
-0.020574262365698814,
-0.02305678091943264,
-0.04125020280480385,
0.01350109651684761,
0.05289068445563316,
0.021587897092103958,
0.045328497886657715,
-0.018993403762578964,
0.00393618643283844,
-0.031717173755168915,
-0.011450225487351418,
-0.03398580476641655,
-0.002935668919235468,
0.06970763206481934,
-0.005636776797473431,
0.008143093436956406,
-0.0759517103433609,
0.007182848174124956,
-0.04193725064396858,
0.011261841282248497,
-0.0883505642414093,
-0.012792159803211689,
-0.015402579680085182,
-0.03167910873889923,
0.021413467824459076,
0.01978428103029728,
-0.02565051056444645,
0.019274374470114708,
0.051902998238801956,
-0.035730645060539246,
0.015098878182470798,
-0.04981715604662895,
-0.07239292562007904,
-0.04011699929833412,
-0.01844453439116478,
-0.014296704903244972,
-0.013838010840117931,
0.03273268789052963,
0.0018352768383920193,
0.008090013638138771,
0.0157304797321558,
0.02049563266336918,
0.013459228910505772,
-0.01193572673946619,
0.0422314889729023,
0.023169172927737236,
0.020541900768876076,
-0.05443321913480759,
0.011360447853803635,
-0.04895194619894028,
-0.015616140328347683,
-0.037266720086336136,
0.017770890146493912,
-0.008686196990311146,
-0.026796231046319008,
-0.0035560205578804016,
-0.019294118508696556,
-0.05987049266695976,
-0.05110843852162361,
-0.026403440162539482,
0.0458470918238163,
0.07071676850318909,
-0.009621679782867432,
-0.008974635973572731,
-0.020010214298963547,
0.0005440068198367953,
0.01900113746523857,
0.01578589715063572,
-0.04696451127529144,
-0.013936366885900497,
-0.006595242768526077,
-0.0037749335169792175,
0.011113625951111317,
0.0069555421359837055,
0.04293216019868851,
0.006360432133078575,
-0.003663192968815565,
-0.02556641399860382,
-0.009620524011552334,
0.009497972205281258,
0.02479020319879055,
0.03214540705084801,
-0.006930823437869549,
-0.024518761783838272,
-0.02806258201599121,
-0.02185887284576893,
-0.04575835540890694,
-0.01493265014141798,
0.0006641751388087869,
0.012163526378571987,
-0.04358378052711487,
-0.06318096071481705,
0.05131762474775314,
0.007054515648633242,
0.001372206024825573,
0.01059859897941351,
0.00820447038859129,
-0.01949874684214592,
-0.015954475849866867,
0.02020435407757759,
0.04928305745124817,
-0.06512073427438736,
-0.0007393280393444002,
-0.010351056233048439,
-0.013104025274515152,
0.024357369169592857,
-0.00906379334628582,
-0.02568281814455986,
-0.017460422590374947,
-0.032231926918029785,
0.02021757885813713,
-0.10081169009208679,
-0.012388613075017929,
-0.03927890211343765,
-0.0001484658132540062,
0.003771853167563677,
0.0008511774358339608,
-0.04498475417494774,
-0.036833103746175766,
-0.024002451449632645,
-0.04433515667915344,
0.011316931806504726,
-0.019825123250484467,
-0.006706037558615208,
0.031249091029167175,
-0.04283470660448074,
0.013625090010464191,
-0.024707531556487083,
0.002273266902193427,
0.014446337707340717,
-0.01421294454485178,
-0.0010853750864043832,
-0.01795348897576332,
0.005584286991506815,
0.012995761819183826,
0.04453945904970169,
-0.014755891636013985,
-0.014703068882226944,
-0.028556061908602715,
-0.02024073153734207,
-0.026776639744639397,
-0.018662292510271072,
-0.020463552325963974,
-0.0086421649903059,
0.015693357214331627,
0.06731679290533066,
0.03697962313890457,
0.031763870269060135,
-0.022676482796669006,
-0.014415633864700794,
0.040946271270513535,
-0.0625377967953682,
-0.03525157645344734,
-0.020154286175966263,
-0.022876035422086716,
0.025241101160645485,
0.000043532294512260705,
0.016967451199889183,
-0.03767140209674835,
0.028483521193265915,
0.03624489903450012,
0.04143521934747696,
0.029420342296361923,
0.011399542912840843,
0.02832423709332943,
-0.07883904874324799,
-0.017909223213791847,
-0.07540783286094666,
0.004914079327136278,
0.01854105107486248,
0.01402681227773428,
-0.005593541543930769,
0.0030890984926372766,
-0.02490660920739174,
0.049571581184864044,
-0.0797736719250679,
-0.03469768166542053,
0.04844595864415169,
-0.010667924769222736,
0.0010390602983534336,
0.03074214793741703,
-0.08675999194383621,
0.007555533666163683,
0.0004475804453250021,
-0.051443345844745636,
-0.017705162987113,
-0.011273527517914772,
0.053777292370796204,
-0.008369754999876022,
0.036895982921123505,
-0.05329137295484543,
0.0057991365902125835,
0.08640988171100616,
0.0022411460522562265,
-0.004514295142143965,
0.044191453605890274,
-0.010189725086092949,
0.04348164424300194,
0.035162441432476044,
0.026950186118483543,
-0.02974489890038967,
0.007964099757373333,
-0.022264473140239716,
-0.0668906718492508,
0.02460480108857155,
0.012373327277600765,
-0.026718003675341606,
-0.04023474082350731,
0.053430844098329544,
0.0029805193189531565,
-0.03131147846579552,
-0.034593041986227036,
-0.006886377930641174,
-0.03996477276086807,
0.005202106665819883,
-0.021536966785788536,
0.0033290500286966562,
-0.05086991935968399,
0.03252861648797989,
-0.0036598702426999807,
0.03745589032769203,
0.060478925704956055,
0.0012682047672569752,
-0.027049900963902473,
-0.008796801790595055,
0.09670589119195938,
0.08009377121925354,
0.05994564667344093,
0.010259891860187054,
0.07257450371980667,
-0.005483645014464855,
-0.05780570209026337,
0.042244840413331985,
0.0075360131449997425,
0.004042260814458132,
0.0004121816891711205,
0.022136937826871872,
0.04754097759723663,
-0.004691428039222956,
0.07231839001178741,
-0.0014672146644443274,
-0.0499577596783638,
0.004695599433034658,
0.027723930776119232,
0.0004609485331457108,
0.06871593743562698,
0.0033560083247721195,
0.005073204170912504,
-0.023790037259459496,
-0.046997953206300735,
0.026872768998146057,
-0.03421103209257126,
-0.016374919563531876,
0.04097278043627739,
-0.01255486998707056,
0.020813580602407455,
0.0210382342338562,
0.006511078216135502,
0.07963314652442932,
-0.04808303713798523,
0.032778721302747726,
-0.017940279096364975,
0.00611103605479002,
-0.023582838475704193,
0.005665218457579613,
-0.022524984553456306,
-0.009422712959349155,
-0.012374268844723701,
-0.019349750131368637,
-0.03557571768760681,
-0.022859614342451096,
-0.011366065591573715,
0.05983627587556839,
-0.02108885906636715,
0.004129602108150721,
0.026105713099241257,
-0.012532914057374,
-0.04342400282621384,
-0.04018252715468407,
-0.03713931143283844,
-0.042256299406290054,
-0.041296035051345825,
-0.008171815425157547,
0.04787903279066086,
-0.0038588237948715687,
-0.015772055834531784,
0.016492214053869247,
-0.0038463573437184095,
-0.04903199151158333,
0.036480240523815155,
-0.03125637024641037,
-0.040995437651872635,
0.01668727956712246,
0.027941113337874413,
0.037728264927864075,
0.02200578898191452,
0.06112552434206009,
-0.012248333543539047,
-0.002176592592149973,
0.0011076678056269884,
0.018260832875967026,
0.028083106502890587,
0.008416933938860893,
0.0006277036154642701,
-0.0872335359454155,
-0.005883445963263512,
0.04468267783522606,
-0.03302472084760666,
-0.06139012798666954,
0.042583927512168884,
0.006741497199982405,
0.018007829785346985,
0.055266495794057846,
-0.011635544709861279,
0.023290740326046944,
-0.05872715637087822,
0.002489767037332058,
0.00262152636423707,
-0.0008899474632926285,
0.05851273238658905,
-0.030839206650853157,
0.08448311686515808,
0.0289605800062418,
-0.007423551753163338,
-0.059515222907066345,
-0.007635117508471012,
0.000549116637557745,
-0.0033225961960852146,
-0.019339796155691147,
-0.024058107286691666,
-0.02080327458679676,
-0.09817402064800262,
-0.02062145620584488,
0.033742450177669525,
-0.01824038103222847,
-0.03571312129497528,
0.03469008579850197,
-0.0017645746702328324,
-0.0033179407473653555,
0.019974619150161743,
-0.058798957616090775,
0.03718414157629013,
-0.03385236859321594,
-0.00762499263510108,
-0.010559787042438984,
0.029182760044932365,
-0.010895639657974243,
-0.015775304287672043,
0.024909572675824165,
-0.05613088980317116,
0.017889048904180527,
0.007764142472296953,
-0.0020486691500991583,
0.04509439319372177,
0.011660663411021233,
-0.0059871976263821125
] | [
-0.09650617837905884,
-0.006780683994293213,
-0.0061468821950256824,
-0.06325503438711166,
0.05210393667221069,
-0.021802270784974098,
0.010723723098635674,
0.00730831827968359,
-0.0196837168186903,
-0.011636948212981224,
0.031152920797467232,
-0.0010595284402370453,
0.010376008227467537,
-0.028881484642624855,
0.0495135597884655,
-0.006158484145998955,
-0.02996259555220604,
-0.06681399047374725,
0.035268574953079224,
0.02673056721687317,
-0.010047473944723606,
-0.020474480465054512,
-0.033459845930337906,
-0.005632191430777311,
0.051250945776700974,
0.01822638139128685,
0.00819949060678482,
-0.0446338877081871,
-0.010762684978544712,
-0.18616174161434174,
0.020269736647605896,
0.005620763171464205,
0.03894970193505287,
-0.028676439076662064,
-0.019059985876083374,
0.05987423658370972,
0.016094617545604706,
-0.008280368521809578,
0.007250314578413963,
0.03697826713323593,
0.02925853058695793,
0.03145645186305046,
-0.05509650334715843,
-0.04943555220961571,
0.010880875401198864,
0.007358496077358723,
0.007207798771560192,
-0.009347353130578995,
-0.052505236119031906,
0.008419733494520187,
-0.054437607526779175,
-0.020865151658654213,
-0.01770828850567341,
0.007274901960045099,
-0.026053208857774734,
0.035126447677612305,
0.05402970314025879,
0.06339176744222641,
0.024317216128110886,
0.011487141251564026,
0.035430680960416794,
-0.03448573872447014,
-0.15772609412670135,
0.05294198542833328,
0.04522814229130745,
0.07918184995651245,
-0.053557757288217545,
0.01348626334220171,
-0.04059061408042908,
0.07919017225503922,
0.009022189304232597,
-0.03703068196773529,
-0.017481116577982903,
0.011877670884132385,
0.028000133112072945,
0.003731377888470888,
0.004713412839919329,
0.012228008359670639,
0.0321771577000618,
-0.04471363499760628,
-0.028808394446969032,
-0.0006483016186393797,
-0.030768828466534615,
-0.02654491551220417,
-0.06554798781871796,
0.023115159943699837,
-0.007752007804811001,
0.031960975378751755,
0.011649108491837978,
0.03280395269393921,
0.052072923630476,
0.042833585292100906,
0.02800431102514267,
-0.013293321244418621,
-0.07494055479764938,
-0.018291983753442764,
0.0015761557733640075,
0.019377147778868675,
-0.06057942286133766,
0.44936785101890564,
0.013185721822082996,
-0.021262414753437042,
0.05930361896753311,
0.06264885514974594,
0.0018580463947728276,
0.011267431080341339,
0.027142854407429695,
-0.040742382407188416,
0.03609573096036911,
0.025455307215452194,
0.02199878916144371,
0.03390759229660034,
0.050657887011766434,
-0.05440938100218773,
0.017002228647470474,
0.02164766564965248,
-0.009530296549201012,
0.041884634643793106,
-0.022548029199242592,
-0.013175907544791698,
0.014599823392927647,
0.018790068104863167,
0.026740526780486107,
0.026628894731402397,
-0.024281198158860207,
-0.03353789448738098,
0.003968485631048679,
0.04120694100856781,
0.042973194271326065,
-0.03600598871707916,
0.048110947012901306,
-0.03149553760886192,
-0.07248945534229279,
0.015179125592112541,
0.005066712386906147,
-0.016077686101198196,
0.0033088510390371084,
-0.037358079105615616,
-0.0243806391954422,
0.014781988225877285,
-0.014006066136062145,
-0.01852642372250557,
0.046285513788461685,
-0.06196993961930275,
-0.06074539199471474,
0.12128721922636032,
0.05254169553518295,
-0.027119863778352737,
-0.0036261288914829493,
-0.007082867901772261,
-0.029639773070812225,
0.021885184571146965,
0.03880736231803894,
-0.049104414880275726,
-0.00323153636418283,
0.012022762559354305,
0.07736533880233765,
-0.009280383586883545,
-0.07207496464252472,
-0.02219540998339653,
-0.022214800119400024,
0.0005633364198729396,
-0.059757813811302185,
0.07640053331851959,
0.0922497883439064,
-0.10421951860189438,
-0.018146377056837082,
-0.005798468831926584,
0.007110545877367258,
-0.04452437534928322,
-0.02647990547120571,
0.009490998461842537,
-0.01761213317513466,
0.00782188680022955,
0.042239200323820114,
-0.027080237865447998,
-0.02957157790660858,
-0.02573065087199211,
0.055033233016729355,
0.027106208726763725,
0.05318723991513252,
0.02176332287490368,
-0.005167932249605656,
-0.006821329239755869,
-0.0011166487820446491,
-0.04245007038116455,
-0.040542393922805786,
-0.03343155235052109,
-0.018718227744102478,
-0.015932412818074226,
-0.0402744822204113,
0.00345496810041368,
-0.07833559811115265,
0.10443253070116043,
-0.02030612900853157,
-0.015192870050668716,
0.025374561548233032,
-0.02868678607046604,
-0.00876089558005333,
-0.013831419870257378,
-0.10929301381111145,
0.04106626659631729,
-0.027430210262537003,
0.01065115351229906,
-0.06145429611206055,
0.0487857349216938,
0.04563179984688759,
-0.06017037853598595,
0.09892550855875015,
0.023049112409353256,
-0.04989480972290039,
-0.03320116177201271,
-0.002955981995910406,
0.027537507936358452,
-0.00116529141087085,
0.030627870932221413,
0.017729556187987328,
0.01887708716094494,
-0.0229453407227993,
0.018689777702093124,
-0.007281223312020302,
0.07804840058088303,
-0.02224295772612095,
-0.33217450976371765,
-0.02667642943561077,
-0.06250075250864029,
-0.006823538802564144,
0.010445419698953629,
-0.013410107232630253,
-0.011747061274945736,
-0.02573241852223873,
-0.002894685138016939,
-0.006696782540529966,
0.08020514249801636,
-0.012199676595628262,
-0.004077658988535404,
-0.06171273812651634,
0.0005730050033889711,
0.0009635505266487598,
-0.05565788224339485,
-0.010989886708557606,
-0.038273971527814865,
0.002084027510136366,
0.029127556830644608,
0.024720972403883934,
-0.037679847329854965,
-0.060532622039318085,
-0.007086173631250858,
-0.04460745304822922,
0.07970715314149857,
-0.026814326643943787,
0.08732668310403824,
-0.016666043549776077,
0.05985841527581215,
0.0035803967621177435,
0.013419017195701599,
-0.0737030953168869,
0.012349694035947323,
-0.040315356105566025,
0.029308410361409187,
-0.064980149269104,
0.017153756693005562,
-0.02710063010454178,
-0.040614403784275055,
0.034188807010650635,
-0.08290793746709824,
-0.03630789369344711,
-0.0660860538482666,
0.020496277138590813,
0.0003424174210522324,
-0.01527826301753521,
-0.022805044427514076,
0.040235310792922974,
0.0008773966110311449,
0.005435277707874775,
0.010817245580255985,
-0.004800182301551104,
0.010851546190679073,
-0.04451877623796463,
-0.10156910121440887,
0.05322925001382828,
-0.0011809379793703556,
-0.008787785656750202,
0.019966131076216698,
0.0663396418094635,
-0.00032342408667318523,
-0.03416518121957779,
0.007967240177094936,
-0.016186818480491638,
-0.0021481483709067106,
-0.007534876000136137,
0.04679097235202789,
-0.03520035371184349,
-0.009713517501950264,
0.08434943854808807,
-0.007107467856258154,
-0.04397382214665413,
0.02772762067615986,
0.026173902675509453,
-0.015520301647484303,
-0.003499185899272561,
-0.010047034360468388,
0.019115086644887924,
0.004301647190004587,
-0.06497687846422195,
0.04599051550030708,
-0.015030448324978352,
-0.017310436815023422,
0.012382891960442066,
-0.025884751230478287,
-0.04406093433499336,
0.05564393475651741,
0.01723753660917282,
0.0027193292044103146,
0.008048726245760918,
-0.04493129253387451,
-0.030827675014734268,
0.07556091248989105,
0.012461828999221325,
-0.23670408129692078,
0.02806253917515278,
0.05617975443601608,
0.019524360075592995,
0.008357489481568336,
0.043132081627845764,
0.023020759224891663,
-0.0506172776222229,
-0.011957593262195587,
0.064924456179142,
0.04701967164874077,
0.01350669376552105,
0.00514514883980155,
0.006782051175832748,
0.0300592053681612,
-0.009113820269703865,
0.04407423734664917,
-0.03220038115978241,
0.0414777547121048,
0.011868223547935486,
0.02009112946689129,
-0.0022159707732498646,
0.14981018006801605,
-0.031006816774606705,
0.068035788834095,
0.03063289448618889,
-0.009989417158067226,
0.01724378950893879,
0.04153556004166603,
-0.0007886182283982635,
0.030463438481092453,
0.00937805324792862,
0.05244726315140724,
0.03197784721851349,
0.015033253468573093,
-0.05457266420125961,
-0.00796632468700409,
0.022541407495737076,
-0.010950292460620403,
0.010347007773816586,
0.004998335149139166,
0.02779906801879406,
0.004495636560022831,
0.023779451847076416,
0.0818963423371315,
-0.016551155596971512,
-0.01600683107972145,
-0.04320097714662552,
-0.024411598220467567,
-0.005541282705962658,
-0.06685097515583038,
-0.03309209644794464,
-0.000040975879528559744,
0.0011605104664340615,
0.027379319071769714,
0.05736744403839111,
0.06452175974845886,
-0.043966278433799744,
0.0016692799981683493,
-0.023064343258738518,
-0.009457086212933064,
-0.022332023829221725,
0.08529583364725113,
0.05106426030397415,
0.03416088595986366
] | [
0.0026108534075319767,
0.011172926053404808,
0.0044142575934529305,
0.003671990940347314,
0.011811803095042706,
-0.0038514917250722647,
-0.021771157160401344,
0.00757064763456583,
0.031062902882695198,
0.023067176342010498,
-0.025998758152127266,
0.0024734388571232557,
0.04381139203906059,
-0.011933296918869019,
0.04188506305217743,
0.0028842338360846043,
-0.032287485897541046,
-0.03780855983495712,
0.03214815631508827,
-0.011556800454854965,
-0.0012032181257382035,
-0.012278453446924686,
-0.036545053124427795,
0.015384585596621037,
-0.016896437853574753,
0.0025462389457970858,
-0.05293432995676994,
0.006865454372018576,
0.027888553217053413,
-0.139053076505661,
-0.02532588690519333,
-0.030775023624300957,
0.0247715525329113,
0.027421461418271065,
0.011222648434340954,
-0.015115980058908463,
0.0038800013717263937,
0.011636554263532162,
-0.0036827290896326303,
0.010003927163779736,
0.01632476970553398,
-0.010338454507291317,
0.001520294463261962,
0.00013937790936324745,
-0.006518482696264982,
0.007686099503189325,
-0.004146353341639042,
-0.032777536660432816,
-0.030563760548830032,
-0.013451412320137024,
-0.05581976845860481,
-0.037422966212034225,
-0.010567435063421726,
0.007493914104998112,
0.048381607979536057,
0.0047437590546905994,
0.042687367647886276,
-0.0062134345062077045,
0.03615522012114525,
-0.028838368132710457,
0.005754421930760145,
-0.037441108375787735,
-0.06271742284297943,
-0.014227156527340412,
-0.028692791238427162,
-0.007918912917375565,
0.011628289707005024,
0.0004783872573170811,
-0.025121591985225677,
0.024142315611243248,
0.009296633303165436,
-0.02136416733264923,
0.013425331562757492,
-0.030451152473688126,
0.01619303598999977,
0.006299904547631741,
0.004480024799704552,
0.0023086073342710733,
0.040702905505895615,
0.010835773311555386,
-0.04647098109126091,
0.026859953999519348,
-0.0021168699022382498,
-0.006215140223503113,
-0.020177621394395828,
-0.01990717276930809,
0.011496697552502155,
-0.04845127835869789,
0.026955923065543175,
0.03706898167729378,
-0.030114633962512016,
0.030005186796188354,
-0.007916536182165146,
0.010043038986623287,
-0.08680559694766998,
0.011524739675223827,
0.0011449360754340887,
-0.03126344084739685,
-0.005690248683094978,
0.8546639680862427,
-0.019046947360038757,
0.0011071047047153115,
0.01966736651957035,
-0.018558766692876816,
-0.00019930530106648803,
-0.005326592829078436,
0.009131078608334064,
0.004773961380124092,
-0.011174395680427551,
0.009462423622608185,
-0.008640998974442482,
0.023055074736475945,
0.027693044394254684,
0.02726813219487667,
0.033493414521217346,
0.022398969158530235,
-0.015064160339534283,
0.03655790910124779,
-0.013381142169237137,
0.007175315171480179,
0.05848831310868263,
0.0014778245240449905,
0.01955864392220974,
0.0061467718333005905,
0.039941657334566116,
-0.1669493466615677,
0.002502874471247196,
-9.041640999031978e-33,
0.047695767134428024,
-0.006243512965738773,
-0.008533856831490993,
0.011080663651227951,
0.010406292974948883,
0.008436738513410091,
0.03901556134223938,
0.010186964645981789,
-0.016380609944462776,
-0.0234614759683609,
-0.004097582772374153,
-0.029538704082369804,
0.0017976195085793734,
-0.028606632724404335,
0.026578381657600403,
-0.034276921302080154,
-0.012535816058516502,
0.031164655461907387,
-0.01779777556657791,
0.012457179836928844,
0.03743167966604233,
0.030778491869568825,
0.006828732788562775,
-0.013048638589680195,
0.02778647281229496,
0.01745866797864437,
-0.005450407974421978,
-0.005211086478084326,
0.009263867512345314,
-0.035935111343860626,
-0.018123894929885864,
0.01719890907406807,
-0.04567283019423485,
-0.020556587725877762,
-0.013342919759452343,
-0.02942739985883236,
-0.029461605474352837,
0.01226732786744833,
-0.003988669719547033,
-0.006592251360416412,
-0.02853749319911003,
-0.002312461147084832,
-0.04263442009687424,
0.014353948645293713,
0.0029425392858684063,
-0.008358294144272804,
0.021795470267534256,
-0.00019528284610714763,
0.020562611520290375,
-0.02154855616390705,
-0.015334000810980797,
-0.01587073504924774,
0.01366216130554676,
-0.01287615392357111,
0.01095883920788765,
0.032594792544841766,
0.006043785717338324,
0.019893137738108635,
0.007330091670155525,
0.008254367858171463,
0.03687204420566559,
-0.01922374591231346,
-0.032948579639196396,
0.0009036955307237804,
0.01771697774529457,
-0.008506634272634983,
0.01920580118894577,
-0.006526832468807697,
0.07411065697669983,
-0.05938227102160454,
-0.029375746846199036,
-0.02066887728869915,
0.011843967251479626,
0.015309031121432781,
-0.008455561473965645,
-0.003558353753760457,
0.005780578590929508,
0.036014068871736526,
-0.04143473878502846,
0.021227020770311356,
-0.006821552757173777,
0.012505952268838882,
-0.0011038316879421473,
-0.021037785336375237,
0.004727082327008247,
0.011175721883773804,
0.011330381967127323,
-0.005837165750563145,
-0.008917520754039288,
0.020167987793684006,
0.02132749743759632,
-0.033704981207847595,
-0.0014468692243099213,
0.0021684684325009584,
-0.024477027356624603,
8.976737547819263e-33,
0.01481991820037365,
-0.03394591063261032,
0.003425614908337593,
0.014302561990916729,
0.05984126403927803,
-0.008270465768873692,
-0.009372085332870483,
0.0023936922661960125,
-0.039273522794246674,
0.01336178369820118,
-0.01991332322359085,
0.015743674710392952,
-0.0358242504298687,
0.0002413130714558065,
0.03222052380442619,
-0.021694429218769073,
0.028279105201363564,
-0.058892931789159775,
0.012574738822877407,
-0.010602442547678947,
0.007427743170410395,
-0.01157302688807249,
-0.022172441706061363,
0.046904079616069794,
0.035289932042360306,
0.06578660756349564,
-0.020696505904197693,
0.005603092256933451,
0.013568748719990253,
0.012597914785146713,
0.010395125485956669,
-0.0051986537873744965,
0.01879945583641529,
-0.006196546368300915,
0.022901931777596474,
0.0015487767523154616,
-0.024769984185695648,
-0.020692944526672363,
0.008041994646191597,
0.04123186692595482,
0.0006007039919495583,
-0.01068502850830555,
0.03362317383289337,
-0.0009251944720745087,
0.02004735916852951,
0.003986700903624296,
-0.0018641218775883317,
-0.012802068144083023,
-0.010877237655222416,
0.006070885807275772,
0.015920337289571762,
0.007025131490081549,
-0.014958415180444717,
-0.0024571248795837164,
0.007744387723505497,
-0.027609558776021004,
-0.023221401497721672,
-0.010719820857048035,
0.00931577943265438,
-0.01181561965495348,
0.01859581097960472,
0.002472924767062068,
-0.033223096281290054,
-0.020738571882247925,
-0.046713948249816895,
0.021817030385136604,
-0.01860850304365158,
-0.016161473467946053,
0.00590743450447917,
0.03309301286935806,
-0.01828634738922119,
-0.0048166681081056595,
-0.0074197957292199135,
0.025994177907705307,
0.008950158953666687,
-0.009962385520339012,
-0.03828703612089157,
0.021251706406474113,
-0.028068797662854195,
0.02674313262104988,
-0.01280158944427967,
0.0388655811548233,
-0.009502770379185677,
0.006080657709389925,
0.0057366895489394665,
0.0172234196215868,
0.007886693812906742,
0.011889463290572166,
0.0004526318807620555,
0.0018689464777708054,
-0.003901221789419651,
-0.06722273677587509,
-0.006529891863465309,
0.030830370262265205,
0.004860920365899801,
-1.4260643332875134e-8,
0.01755848340690136,
0.016359932720661163,
0.0003271521127317101,
0.02324322983622551,
0.002085133222863078,
-0.003546780673786998,
-0.01854047179222107,
-0.017342671751976013,
0.019004125148057938,
0.00927986390888691,
0.05165529251098633,
-0.03757409751415253,
-0.00166899838950485,
0.012114624492824078,
0.030126992613077164,
-0.01785476878285408,
-0.020925428718328476,
-0.00032866280525922775,
0.024356650188565254,
-0.0045224083587527275,
0.01719345897436142,
0.04980301856994629,
-0.04437680542469025,
0.002730604726821184,
0.029490932822227478,
-0.012018702924251556,
-0.06623697280883789,
-0.05983381345868111,
-0.03054603561758995,
0.001307874801568687,
0.024984393268823624,
-0.013547668233513832,
-0.0349649116396904,
0.04684832692146301,
0.003851640038192272,
-0.0205934289842844,
0.024717099964618683,
-0.03671562299132347,
0.01658531092107296,
0.01763523928821087,
0.021492786705493927,
0.023839302361011505,
-0.006048023235052824,
-0.03160080313682556,
-0.028771372511982918,
0.0456116609275341,
-0.028693659231066704,
-0.0016613148618489504,
-0.022152498364448547,
-0.04107539355754852,
0.004722808487713337,
-0.006777483504265547,
-0.01261818502098322,
0.024342069402337074,
-0.006757235154509544,
0.022912079468369484,
0.002669598674401641,
-0.012911120429635048,
-0.05409640073776245,
-0.013031275942921638,
0.012333894148468971,
0.031612612307071686,
0.0050117699429392815,
-0.03572008013725281
] | leadership-and-software-teams-some-thoughts | https://markhneedham.com/blog/2010/06/22/leadership-and-software-teams-some-thoughts |
false | 2010-06-22 22:27:58 | C#: StackTrace | [
"c"
] | [
".NET"
] | http://twitter.com/dermotkilroy[Dermot] and I were doing a bit of work on a mini testing DSL that we've been writing to try and make some of our interaction tests a bit more explicit and one of the things that we wanted to do was find out which method was being called on one of our collaborators.
We have a stub collaborator which gets injected into our system under test. It looks roughly like this:
[source,csharp]
----
public class StubCollaborator : IGotForcedToCollaborate
{
public double Method1()
{
return CannedValue();
}
public double Method2()
{
return CannedValue();
}
private double CannedValue()
{
return 10;
}
}
----
We wanted to try and capture which of the methods on that object had been called by our system under test and then assert on that value from our test.
While trying to work out how to do this we came across the 'StackTrace' object. We use it like so to work out which public method on that object has been called:
[source,csharp]
----
public class StubCollaborator : IGotForcedToCollaborate
{
private MethodBase methodCalled;
..
private double CannedValue()
{
methodCalled = new StackTrace().GetFrames()
.Select(f =>f.GetMethod())
.Where(m => m.DeclaringType.Name == GetType().Name)
.Where(m => m.IsPublic)
.First()
return 10;
}
public string GetMethodCalled()
{
return methodBase.Name;
}
}
----
We needed to only find the public methods because 'CannedValue' was showing up on the stack trace and since it's private this was an easy way to exclude it.
I'm sure there are other ways to get this type of information but we were able to solve our problem really quickly with this solution. | null | null | [
0.014536449685692787,
-0.00566351180896163,
-0.03252773731946945,
0.020420920103788376,
0.06364236027002335,
0.01033600140362978,
0.05416153371334076,
0.015283931978046894,
-0.0053677926771342754,
-0.014395291917026043,
0.0011667117942124605,
0.01167242880910635,
-0.07018961012363434,
0.028736909851431847,
-0.025340713560581207,
0.06265212595462799,
0.08555316925048828,
-0.03505196049809456,
0.025002898648381233,
-0.012047315947711468,
0.007911460474133492,
0.05046386644244194,
-0.01484944112598896,
0.023469476029276848,
0.012791712768375874,
0.052463266998529434,
-0.0007550419541075826,
0.0035700402222573757,
-0.04863225668668747,
-0.010064119473099709,
0.03526696562767029,
0.026259688660502434,
0.03018106147646904,
-0.0430578775703907,
0.00996825285255909,
-0.005457731895148754,
0.0008070275653153658,
0.002100541489198804,
0.0017411964945495129,
0.023609116673469543,
-0.07724928855895996,
0.024342676624655724,
-0.028755489736795425,
0.019127583131194115,
-0.04085737094283104,
0.005330212879925966,
-0.03146979212760925,
-0.005127717275172472,
-0.015710022300481796,
-0.0006106982473284006,
-0.07729575037956238,
0.023004060611128807,
-0.05562395974993706,
0.017619414255023003,
-0.0073464191518723965,
0.052351873368024826,
0.024247007444500923,
-0.08621269464492798,
0.02339470386505127,
-0.07627391070127487,
-0.01677768863737583,
-0.008960532955825329,
-0.003561836201697588,
0.035219401121139526,
0.013655788265168667,
0.007541875820606947,
0.00978854950517416,
0.043377477675676346,
-0.04293785244226456,
-0.0179167278110981,
-0.0027519597206264734,
-0.015506098978221416,
-0.023534754291176796,
-0.018801400437951088,
0.019470002502202988,
-0.02871827781200409,
-0.015408817678689957,
0.042719922959804535,
0.00902921985834837,
0.052501797676086426,
-0.009612991474568844,
-0.013208292424678802,
0.027669137343764305,
-0.004532250110059977,
0.016667425632476807,
-0.03567594289779663,
-0.027591409161686897,
0.009409197606146336,
-0.02405799739062786,
0.050859834998846054,
0.012649274431169033,
-0.016640758141875267,
0.012328105047345161,
0.023063402622938156,
-0.016504351049661636,
0.017711380496621132,
0.04128293693065643,
-0.030967952683568,
0.01926914043724537,
-0.01694502681493759,
-0.02235330268740654,
-0.030110260471701622,
0.033555202186107635,
0.03428419306874275,
-0.07619059830904007,
-0.009823495522141457,
-0.022285059094429016,
-0.01940041594207287,
-0.0171718318015337,
-0.009661293588578701,
-0.04787968099117279,
0.03921432048082352,
-0.03247048333287239,
-0.016215432435274124,
-0.08158934861421585,
0.056715212762355804,
0.026585262268781662,
-0.011998968198895454,
0.009896782226860523,
0.05130336433649063,
0.02559765800833702,
0.030782194808125496,
-0.013731393031775951,
0.0831792801618576,
0.02342921309173107,
0.030568698421120644,
-0.03740762546658516,
0.06212494522333145,
-0.0003956275759264827,
-0.07048846036195755,
-0.020267494022846222,
0.047804683446884155,
0.007937261834740639,
0.010294398292899132,
-0.0031504053622484207,
-0.04938238486647606,
-0.00949132815003395,
-0.010628730989992619,
0.028041305020451546,
0.04948999732732773,
-0.04214734584093094,
-0.04196663945913315,
-0.001771448994986713,
-0.018096335232257843,
-0.008951433934271336,
0.021658986806869507,
-0.006384691223502159,
-0.016065647825598717,
-0.023036450147628784,
0.08074940741062164,
0.0018265604740008712,
0.058401599526405334,
0.06806627660989761,
-0.03654416650533676,
0.009795975871384144,
0.059557851403951645,
-0.012223190627992153,
-0.004728290718048811,
0.004880764987319708,
0.026876842603087425,
0.06013105437159538,
0.027803165838122368,
0.02015850692987442,
0.047622986137866974,
0.023148203268647194,
-0.0010162737453356385,
-0.0012588563840836287,
0.0370369553565979,
-0.0014487054431810975,
-0.010701254941523075,
-0.06776084005832672,
-0.05136443302035332,
0.060974352061748505,
-0.04606567323207855,
0.014342756010591984,
0.029209719970822334,
0.06269451230764389,
0.005947459023445845,
0.08470483124256134,
0.014007503166794777,
-0.08056041598320007,
0.027646012604236603,
0.004768924321979284,
0.014883826486766338,
0.015276804566383362,
0.01291523315012455,
0.0644802674651146,
0.030139079317450523,
-0.019523486495018005,
0.028231188654899597,
-0.07377640157938004,
-0.0856211706995964,
-0.0515381284058094,
-0.024255411699414253,
0.05321556702256203,
-0.026176922023296356,
-0.010064217261970043,
0.06413990259170532,
0.034374020993709564,
0.032120320945978165,
0.017844336107373238,
-0.02632499299943447,
0.002396881114691496,
-0.008003612980246544,
-0.042282234877347946,
0.03374572843313217,
0.044000495225191116,
0.008023466914892197,
-0.04311405122280121,
0.026532869786024094,
-0.02952411025762558,
0.007808711379766464,
0.012652765959501266,
-0.0352332778275013,
0.06132354959845543,
0.03474418446421623,
0.01591259054839611,
-0.0231774915009737,
0.07753290235996246,
-0.06022120639681816,
-0.0011809964198619127,
-0.008104996755719185,
-0.013750228099524975,
-0.0009812418138608336,
0.014285079203546047,
0.122379831969738,
0.04758742079138756,
-0.01959618367254734,
-0.04081631451845169,
0.005362239200621843,
0.038750194013118744,
-0.030401861295104027,
-0.024974584579467773,
-0.048366159200668335,
0.004310248885303736,
0.007460297551006079,
-0.040745947510004044,
-0.01376325823366642,
0.02166433073580265,
-0.0371977835893631,
0.005141961853951216,
0.05998280644416809,
-0.006589307449758053,
0.0493948794901371,
-0.00649030739441514,
-0.03598226234316826,
0.002324075670912862,
-0.019127285107970238,
-0.053117793053388596,
0.00033426881418563426,
0.0460839569568634,
-0.0005366901168599725,
0.0332971028983593,
-0.03694165125489235,
-0.0024595712311565876,
-0.005840288940817118,
-0.03537610545754433,
0.011091704480350018,
0.029552722349762917,
0.07158896327018738,
0.010453036054968834,
0.05019734054803848,
-0.02452498860657215,
0.007933064363896847,
-0.01392663549631834,
-0.034570738673210144,
0.004811897408217192,
-0.0006237419438548386,
0.025927847251296043,
0.028792263939976692,
0.009981350041925907,
0.0016640964895486832,
0.023567359894514084,
0.0004867787938565016,
-0.0005516966339200735,
0.005096656735986471,
0.019642198458313942,
0.00871916301548481,
-0.012739009223878384,
-0.032882191240787506,
-0.053699515759944916,
0.04070983827114105,
-0.044000331312417984,
-0.01938587799668312,
0.0340336449444294,
-0.11170678585767746,
0.03004329837858677,
-0.07824968546628952,
-0.07102479040622711,
0.007925580255687237,
0.0009800666011869907,
0.023456910625100136,
0.0019134243484586477,
0.04778143763542175,
0.04143941402435303,
0.0008780802018009126,
0.007027928717434406,
0.02639559656381607,
0.006082383915781975,
0.0025378805585205555,
-0.00863916426897049,
0.003252696944400668,
0.03535420447587967,
-0.006971722934395075,
0.019675275310873985,
-0.05753572657704353,
0.034405965358018875,
-0.01982571743428707,
-0.26826322078704834,
0.029765188694000244,
0.0025806245394051075,
-0.03267418220639229,
0.023345332592725754,
-0.026213468983769417,
0.004706567618995905,
-0.06901193410158157,
-0.001038803136907518,
0.058061789721250534,
-0.029230820015072823,
-0.030906323343515396,
-0.0026953904889523983,
0.04378470778465271,
0.0038248340133577585,
-0.006835581734776497,
0.008094306103885174,
-0.05159202218055725,
0.011704910546541214,
0.05235081911087036,
0.014837116934359074,
-0.0642063245177269,
-0.005682710558176041,
0.05547031760215759,
0.029421133920550346,
0.05436168983578682,
-0.07750004529953003,
0.03083263896405697,
-0.020302286371588707,
-0.012884682975709438,
0.008290350437164307,
-0.011645449325442314,
-0.018160948529839516,
-0.043375153094530106,
-0.040188949555158615,
-0.0012133702402934432,
0.02237468771636486,
0.016981840133666992,
-0.012686098925769329,
0.021827537566423416,
-0.03541998565196991,
-0.0461408868432045,
-0.0278890710324049,
0.0025192939210683107,
0.0898580551147461,
0.0030089744832366705,
-0.05821845680475235,
-0.02884831838309765,
-0.05443909019231796,
0.08242754638195038,
-0.033773165196180344,
-0.03937475383281708,
-0.016156861558556557,
0.041976720094680786,
-0.02266242541372776,
-0.033371247351169586,
-0.0011844742111861706,
-0.010150226764380932,
-0.039678964763879776,
-0.03180691599845886,
-0.03604428470134735,
-0.04470759257674217,
-0.04338768497109413,
-0.03604750707745552,
-0.010506338439881802,
-0.07592654973268509,
-0.07303041964769363,
-0.007184675894677639,
0.06330606341362,
-0.000882417953107506,
-0.013433022424578667,
-0.0056163109838962555,
-0.0042257606983184814,
-0.1164390966296196,
0.014488305896520615,
-0.032223597168922424,
-0.02878255769610405,
-0.033448003232479095,
0.01785094663500786,
0.05762570723891258,
-0.03285874426364899,
-0.036744676530361176,
0.05690688267350197,
0.012999405153095722,
0.015000345185399055,
-0.0034148828126490116,
0.0186255294829607,
-0.005208157002925873,
-0.02580578811466694,
-0.0012755956267938018,
0.08185461908578873,
0.0210763867944479,
-0.015905214473605156,
-0.023826269432902336,
-0.005542592145502567,
0.05094534903764725,
0.031349845230579376,
-0.0048993839882314205,
0.03100784868001938,
0.0409555621445179,
0.04246700182557106,
-0.055349916219711304,
0.029050815850496292,
-0.049701545387506485,
-0.002161217387765646,
-0.03916989639401436,
-0.06254709511995316,
0.03408769145607948,
0.024439243599772453,
-0.01572934165596962,
-0.02329341508448124,
-0.024093210697174072,
0.0024974984116852283,
-0.050342801958322525,
-0.029104525223374367,
-0.014274423941969872,
0.009569580666720867,
0.03090069442987442,
-0.01653963513672352,
-0.01880471035838127,
-0.04985664412379265,
0.031636208295822144,
-0.00021828168246429414,
-0.000403124577132985,
-0.06668061763048172,
-0.04895414784550667,
-0.03010217286646366,
0.005413054022938013,
0.007901379838585854,
0.02805064618587494,
-0.005155705846846104,
0.029839584603905678,
0.014579168520867825,
-0.03228810802102089,
0.024838145822286606,
-0.0036981648299843073,
-0.030674273148179054,
-0.031046414747834206,
0.005085506476461887,
-0.0031192644964903593,
0.004375207703560591,
-0.00682852091267705,
0.00938305351883173,
0.027663961052894592,
0.04055985435843468,
-0.015155715867877007,
0.04094718024134636,
0.0004777086724061519,
-0.009720518253743649,
0.01534210704267025,
0.01743406616151333,
-0.06095007434487343,
0.015107139945030212,
-0.03107202984392643,
0.004997629672288895,
-0.011311058886349201,
0.03606504574418068,
-0.0017809413839131594,
-0.05110914260149002,
-0.02210090681910515,
0.016649244353175163,
-0.06591510027647018,
-0.012376357801258564,
-0.018168438225984573,
-0.011460940353572369,
0.0631694421172142,
-0.03792539983987808,
0.04536949098110199,
-0.010203157551586628,
-0.027138860896229744,
0.0075094145722687244,
-0.00731138838455081,
-0.02172769606113434,
0.052714020013809204,
0.017500748857855797,
0.005901268217712641,
0.0027024312876164913,
0.028339607641100883,
0.0396551638841629,
0.03406064957380295,
0.0004239508125465363,
-0.0431717149913311,
0.0122607983648777,
-0.008494879119098186,
0.03742779791355133,
0.022479433566331863,
-0.009797660633921623,
-0.024915898218750954,
0.0003933283151127398,
0.0011759117478504777,
-0.040927283465862274,
-0.011324085295200348,
-0.03509413078427315,
0.04501296207308769,
-0.03304170444607735,
-0.08779081702232361,
0.014688742347061634,
0.0007693557417951524,
0.022320065647363663,
0.0008087824680842459,
0.004790013190358877,
0.011097517795860767,
-0.00936996191740036,
0.029084820300340652,
0.04257555678486824,
-0.06601691246032715,
0.030869849026203156,
0.016228465363383293,
0.019972452893853188,
0.05146237090229988,
0.013841671869158745,
-0.038813017308712006,
-0.020876651629805565,
-0.010085901245474815,
-0.007241998333483934,
-0.05375738441944122,
0.011380508542060852,
-0.02917669713497162,
0.01767881028354168,
-0.003836509073153138,
-0.013544438406825066,
-0.007236482575535774,
-0.025816161185503006,
-0.004657750949263573,
-0.02481953054666519,
0.016769355162978172,
-0.04369453340768814,
-0.007891157642006874,
0.01982487179338932,
-0.01690458133816719,
-0.008198147639632225,
-0.0061698839999735355,
0.03236681595444679,
0.041833970695734024,
-0.044350869953632355,
-0.013195110484957695,
-0.04849259927868843,
-0.007666402030736208,
-0.011789809912443161,
0.03566695749759674,
0.0196018498390913,
-0.007845494896173477,
-0.03069503791630268,
-0.019279081374406815,
-0.03291119635105133,
0.018618714064359665,
0.007249598857015371,
-0.03069230727851391,
0.043545644730329514,
0.039155904203653336,
0.02338685281574726,
0.03653859347105026,
0.0017032576724886894,
0.010402203537523746,
0.08264420181512833,
-0.07474222034215927,
-0.03463221713900566,
-0.012606583535671234,
-0.06701793521642685,
0.01989319548010826,
0.017918601632118225,
0.04124739021062851,
-0.0347837433218956,
0.02410498633980751,
0.038820844143629074,
-0.02315211109817028,
0.044812966138124466,
0.019967518746852875,
0.04119345173239708,
-0.051007792353630066,
0.016511067748069763,
-0.08166081458330154,
0.01595311611890793,
0.05345302075147629,
-0.0033547913189977407,
-0.024990180507302284,
-0.014004668220877647,
-0.01958494447171688,
0.019041167572140694,
-0.07526138424873352,
-0.016570674255490303,
0.017770981416106224,
-0.013382772915065289,
0.00038391698035411537,
0.00944499485194683,
-0.057593826204538345,
0.039297133684158325,
0.005548825021833181,
-0.006512839812785387,
-0.054099682718515396,
-0.041944947093725204,
0.05110613629221916,
0.03945544362068176,
-0.004317656625062227,
-0.030027057975530624,
0.010646780021488667,
0.062037404626607895,
0.022660452872514725,
0.04847712814807892,
0.03638235479593277,
-0.02028595469892025,
0.014402295462787151,
0.012546464800834656,
-0.02730429172515869,
-0.010113089345395565,
-0.00030172188417054713,
0.0076408120803534985,
-0.06945772469043732,
0.014028112404048443,
0.0067443763837218285,
-0.0250070933252573,
-0.059122905135154724,
0.05564042925834656,
0.014063258655369282,
-0.0070689767599105835,
-0.051261719316244125,
0.01761534996330738,
-0.029138782992959023,
-0.035457149147987366,
-0.029965801164507866,
0.003309376537799835,
-0.0332590751349926,
0.07710591703653336,
0.012620970606803894,
0.012159542180597782,
0.059901654720306396,
0.005014472175389528,
-0.0033874288201332092,
-0.011737956665456295,
0.08241715282201767,
0.06363502144813538,
0.047168225049972534,
0.010341511107981205,
0.04887545481324196,
-0.021838147193193436,
-0.055512405931949615,
0.015039515681564808,
-0.02003561146557331,
-0.014993981458246708,
-0.010302761569619179,
0.0015107608633115888,
0.07112744450569153,
0.006277409382164478,
0.06193675473332405,
-0.05216258391737938,
0.004172907676547766,
0.006132769864052534,
0.011804141104221344,
0.011526268906891346,
0.04484003409743309,
0.015159161761403084,
0.02081288956105709,
0.015254226513206959,
-0.045448195189237595,
0.026343869045376778,
-0.0416310578584671,
-0.009580593556165695,
0.027450691908597946,
-0.0045722732320427895,
0.008569826371967793,
0.021718667820096016,
0.013120489194989204,
0.06742702424526215,
-0.018424777314066887,
-0.002251247875392437,
0.00654815835878253,
0.03857247903943062,
0.01585799641907215,
-0.02426340989768505,
-0.02041557803750038,
-0.027121497318148613,
0.0018084783805534244,
-0.011602292768657207,
0.0174751915037632,
-0.030169334262609482,
-0.033724065870046616,
0.05835197493433952,
-0.01874900981783867,
0.050024524331092834,
0.023806128650903702,
0.007582302670925856,
-0.03347206488251686,
-0.06418762356042862,
-0.06845344603061676,
-0.025764865800738335,
-0.06216251477599144,
-0.020480995997786522,
0.037009842693805695,
0.0018705070251598954,
-0.04272666946053505,
-0.013245420530438423,
-0.026016630232334137,
-0.026392150670289993,
0.05762019380927086,
-0.026114720851182938,
-0.023571744561195374,
0.03339690342545509,
0.016855081543326378,
0.03768598660826683,
0.020587971433997154,
0.05002763867378235,
0.008237958885729313,
-0.001536961761303246,
-0.04607468098402023,
-0.013809962198138237,
0.04517633467912674,
-0.014810754917562008,
0.0008249786333180964,
-0.0778173953294754,
0.010227174498140812,
0.007448116317391396,
-0.003523430321365595,
-0.07028447836637497,
-0.007088177837431431,
0.02727614715695381,
0.01986272819340229,
0.027732910588383675,
-0.03412520885467529,
-0.02252928912639618,
-0.013236058875918388,
-0.015437107533216476,
0.026856889948248863,
0.02188941277563572,
0.041742365807294846,
-0.016791528090834618,
0.07231063395738602,
0.047100212424993515,
-0.02494042180478573,
-0.02099679410457611,
-0.006035191938281059,
-0.012569798156619072,
0.018630024045705795,
-0.0470198392868042,
-0.02830035239458084,
-0.03360660374164581,
-0.08021295070648193,
-0.0008049718453548849,
0.04099629446864128,
-0.017571168020367622,
-0.037104737013578415,
0.013382039032876492,
0.03638844192028046,
-0.04294464364647865,
0.023813767358660698,
-0.040705714374780655,
0.036414261907339096,
-0.030284669250249863,
-0.018658721819519997,
0.011101217940449715,
0.024860670790076256,
0.004154151305556297,
0.009469975717365742,
0.025411531329154968,
-0.030027519911527634,
-0.02437673509120941,
-0.013504221104085445,
0.03886188939213753,
0.04612024500966072,
-0.010996563360095024,
0.003490244271233678
] | [
-0.1088269054889679,
0.005217729602009058,
-0.06772074103355408,
-0.046167682856321335,
0.044559795409440994,
-0.04867302253842354,
0.07080105692148209,
0.028774969279766083,
-0.006391418632119894,
-0.029536163434386253,
0.01894989423453808,
-0.035943299531936646,
0.013983861543238163,
-0.043068770319223404,
0.061781659722328186,
0.012243318371474743,
0.0020354881417006254,
-0.02385617233812809,
0.021952003240585327,
0.007170687895268202,
0.03253211826086044,
-0.01744801178574562,
-0.03538781404495239,
-0.02346593514084816,
0.03229730948805809,
0.02272852323949337,
0.01634528674185276,
-0.05257084593176842,
-0.000611641095019877,
-0.2129007875919342,
0.029689330607652664,
0.0033853405620902777,
0.011491731740534306,
-0.04804471507668495,
-0.0012972316471859813,
0.02599410153925419,
0.00758551899343729,
0.03410091996192932,
-0.0009179309708997607,
0.03958604857325554,
0.002617219462990761,
0.004160237964242697,
-0.05633532255887985,
-0.009573781862854958,
0.03375844657421112,
0.003224737709388137,
0.003259256947785616,
-0.024929018691182137,
-0.001829771208576858,
0.002604771638289094,
-0.04363584145903587,
-0.0036910756025463343,
0.018212104216217995,
-0.03479519486427307,
-0.02161961793899536,
-0.013397003524005413,
0.08146902918815613,
0.056248925626277924,
0.03282691165804863,
0.023382147774100304,
0.031939685344696045,
-0.03242983669042587,
-0.13152922689914703,
0.0881885290145874,
0.03007686324417591,
0.05876627564430237,
0.013755526393651962,
-0.04301706701517105,
0.023921187967061996,
0.0615726113319397,
0.06073765829205513,
-0.013513593934476376,
-0.03063388541340828,
0.04070853814482689,
0.016168612986803055,
-0.003310141619294882,
0.018219036981463432,
0.018855145201086998,
0.03734832629561424,
-0.030813176184892654,
-0.07974014431238174,
-0.017121994867920876,
0.013516378588974476,
-0.027903134003281593,
-0.0151115907356143,
0.015371430665254593,
-0.0026854113675653934,
0.04496992379426956,
0.056847043335437775,
0.034024693071842194,
0.0428432896733284,
0.0026251026429235935,
0.04993894323706627,
0.006508398801088333,
-0.1109359860420227,
-0.01188655849546194,
-0.02951950393617153,
-0.00565205467864871,
-0.021398121491074562,
0.4439838230609894,
-0.025728724896907806,
-0.02052655816078186,
0.03187502175569534,
0.026259440928697586,
-0.016490336507558823,
-0.009082933887839317,
-0.00017106284212786704,
-0.06780973076820374,
-0.007163919974118471,
-0.043032385408878326,
0.04944171756505966,
0.0340270921587944,
0.04709326848387718,
-0.04970528557896614,
0.010963649488985538,
0.008049269206821918,
0.0308875422924757,
0.006964408326894045,
-0.04577905312180519,
0.01985447108745575,
-0.020160643383860588,
0.004845436196774244,
0.03783097118139267,
0.03249521180987358,
0.005015622358769178,
-0.04275447875261307,
0.026466000825166702,
0.06949473172426224,
0.0371989943087101,
0.010805792175233364,
0.047090478241443634,
-0.07461782544851303,
-0.09287769347429276,
-0.020900685340166092,
0.02925754152238369,
0.013443668372929096,
0.029136857017874718,
-0.035653647035360336,
0.012830267660319805,
0.023576222360134125,
0.007642019540071487,
-0.00031422593747265637,
0.034918393939733505,
-0.008171324618160725,
-0.04444403946399689,
0.10117731988430023,
-0.04142674803733826,
-0.038398776203393936,
-0.0023926866706460714,
-0.046075090765953064,
0.0030202455818653107,
0.025331374257802963,
-0.03473254665732384,
-0.0337488055229187,
0.041280824691057205,
-0.007064656354486942,
0.06548336148262024,
-0.002773469779640436,
-0.02454889751970768,
-0.01891830749809742,
-0.012700792402029037,
-0.015349670313298702,
-0.01816180907189846,
0.05858088657259941,
0.03809504583477974,
-0.11056534200906754,
-0.038951411843299866,
0.02177659422159195,
-0.006781151983886957,
-0.06809738278388977,
-0.013677466660737991,
0.007168822456151247,
-0.04637653008103371,
-0.030664334073662758,
0.0017804347444325686,
-0.01162666268646717,
-0.013813367113471031,
0.014132694341242313,
0.022620264440774918,
0.02220984548330307,
-0.004455953370779753,
0.020524054765701294,
-0.05371056869626045,
-0.006282939109951258,
-0.004339630249887705,
-0.07249890267848969,
-0.041338756680488586,
-0.01962786540389061,
-0.018394581973552704,
0.023902971297502518,
-0.05227797105908394,
-0.03901863843202591,
-0.0891529843211174,
0.11014150828123093,
-0.04088330268859863,
0.012131686322391033,
0.024208903312683105,
-0.03025733307003975,
0.0010966527042910457,
0.0019018190214410424,
0.00921124592423439,
0.046227019280195236,
-0.005693842191249132,
0.040619488805532455,
-0.06306170672178268,
0.07066269218921661,
0.03347643092274666,
-0.0432840958237648,
0.06276509910821915,
0.04348370060324669,
-0.04656977578997612,
-0.02536354772746563,
-0.018247127532958984,
0.03389950469136238,
-0.03430413454771042,
-0.008061620406806469,
-0.0056929863058030605,
0.024164404720067978,
-0.004733820911496878,
0.0008667718502692878,
-0.033102214336395264,
-0.0019299807026982307,
-0.0030268842820078135,
-0.32128944993019104,
-0.030901379883289337,
-0.02006468176841736,
-0.022736212238669395,
0.009924286045134068,
-0.04107382521033287,
0.005214446224272251,
-0.017087331041693687,
0.0011250016978010535,
0.009913294576108456,
0.09689777344465256,
-0.0011099238181486726,
-0.010571413673460484,
-0.08699902147054672,
0.020450850948691368,
0.04288368299603462,
-0.03070729225873947,
-0.041403867304325104,
-0.027095530182123184,
0.009735443629324436,
0.005095875356346369,
-0.008373568765819073,
0.014682283625006676,
-0.042331017553806305,
0.015453689731657505,
-0.05502457916736603,
0.0842854380607605,
-0.007463483139872551,
0.0868149921298027,
-0.036400921642780304,
0.03105773776769638,
-0.01405184343457222,
-0.00048156006960198283,
-0.08696870505809784,
-0.02483673207461834,
-0.07386711239814758,
-0.014253620989620686,
0.026603028178215027,
0.05090560391545296,
-0.01629546843469143,
-0.03591140732169151,
0.01538527850061655,
-0.05615212768316269,
-0.07449129223823547,
0.005548533517867327,
0.01933278888463974,
-0.009015580639243126,
-0.04185347631573677,
-0.012143113650381565,
0.06328503042459488,
0.007085833698511124,
-0.008573533035814762,
0.00964649673551321,
0.034032005816698074,
0.009734869003295898,
-0.020769532769918442,
-0.062151167541742325,
-0.009439587593078613,
0.008288787677884102,
0.00839262269437313,
0.025140373036265373,
0.07552237808704376,
0.02167084626853466,
-0.0652119442820549,
0.01042346190661192,
0.00460584182292223,
-0.009605903178453445,
0.004700373392552137,
0.06359563022851944,
-0.04966798797249794,
-0.029660027474164963,
0.11955416947603226,
0.009878932498395443,
0.017841065302491188,
0.030521368607878685,
0.06924281269311905,
0.015329764224588871,
-0.023843932896852493,
-0.005555556621402502,
0.011768043972551823,
0.01631789840757847,
0.02070579119026661,
0.011587890796363354,
-0.031123464927077293,
-0.00939976703375578,
0.0030148974619805813,
-0.02081754058599472,
-0.0043556406162679195,
0.06556922942399979,
-0.03570757806301117,
-0.015558506362140179,
-0.013993872329592705,
0.017492452636361122,
-0.07713603973388672,
0.06820852309465408,
-0.006450270768254995,
-0.24566297233104706,
0.005894790403544903,
0.056302931159734726,
0.04068426042795181,
-0.019101589918136597,
0.03267618641257286,
0.03914036229252815,
-0.06245414912700653,
0.013979043811559677,
0.012982266023755074,
0.034213680773973465,
0.042887572199106216,
0.020184187218546867,
-0.007960733957588673,
0.029930543154478073,
0.01271797064691782,
0.048103488981723785,
0.0009655866306275129,
0.006544281728565693,
-0.00844415184110403,
-0.010262477211654186,
-0.033509738743305206,
0.16965867578983307,
0.01301613450050354,
0.04011927917599678,
0.003906023921445012,
-0.003106808289885521,
-0.005909734405577183,
0.07901802659034729,
0.0006780203548260033,
0.01635042019188404,
-0.02284279838204384,
0.03948577493429184,
0.00014937757805455476,
0.03920469433069229,
-0.07511911541223526,
-0.010084511712193489,
0.017141414806246758,
0.02169887349009514,
0.0011194506660103798,
-0.005481152795255184,
0.005448805633932352,
-0.04759326949715614,
0.010124892927706242,
0.08004248142242432,
0.027130886912345886,
-0.031377509236335754,
-0.06247603893280029,
-0.02155369147658348,
-0.003437608480453491,
-0.0289315078407526,
-0.045689161866903305,
0.010706973262131214,
-0.020618494600057602,
-0.0017901756800711155,
0.07942423224449158,
0.030055824667215347,
-0.01243229303508997,
-0.03323797136545181,
0.01664743199944496,
-0.009622774086892605,
-0.018366722390055656,
0.09580304473638535,
0.041467536240816116,
0.06623852998018265
] | [
-0.0056486353278160095,
0.0005001964163966477,
0.006455569062381983,
0.03347101807594299,
-0.024857407435774803,
0.026689764112234116,
-0.00656701996922493,
0.052540428936481476,
-0.008328109979629517,
-0.009677967056632042,
0.013481100089848042,
-0.011008999310433865,
-0.009438644163310528,
-0.03980042785406113,
0.021527733653783798,
-0.021112998947501183,
0.029386835172772408,
0.01398107223212719,
0.017125502228736877,
-0.0269383005797863,
0.0010903776856139302,
0.01562974974513054,
0.005946761928498745,
0.00927844736725092,
-0.006554120220243931,
-0.009414557367563248,
-0.02302740141749382,
-0.009703460149466991,
0.03030197136104107,
-0.14796502888202667,
0.00044513624743558466,
-0.020841816440224648,
-0.02526133507490158,
0.018341582268476486,
-0.022154560312628746,
0.00008207398059312254,
0.03837977349758148,
0.061521053314208984,
0.007324950769543648,
-0.04033415764570236,
0.005836088210344315,
-0.03425823152065277,
-0.009825104847550392,
0.00470507238060236,
-0.011439812369644642,
-0.03368876874446869,
0.011093582957983017,
-0.021911052986979485,
-0.006534770596772432,
-0.0428614541888237,
-0.012717917561531067,
-0.020422304049134254,
0.0120703661814332,
0.00987070333212614,
0.027168625965714455,
0.005413654260337353,
-0.0014391938457265496,
-0.009650285355746746,
0.011695275083184242,
0.02120324596762657,
0.003447967581450939,
-0.000474807369755581,
-0.0064466665498912334,
-0.018550723791122437,
0.004177747294306755,
-0.0016872407868504524,
0.032496824860572815,
-0.00459353718906641,
-0.006370946764945984,
-0.013590386137366295,
-0.024411318823695183,
0.00523183960467577,
-0.009171655401587486,
0.0022168783470988274,
-0.03743727132678032,
0.002627877751365304,
-0.024556076154112816,
-0.024541333317756653,
0.03506134822964668,
-0.011222749017179012,
0.007679601199924946,
-0.0016470298869535327,
-0.014052880927920341,
0.002122279489412904,
-0.006059436593204737,
0.021912848576903343,
-0.0003182975633535534,
-0.0024087722413241863,
0.0258474200963974,
0.027265233919024467,
-0.014054079540073872,
0.03980914503335953,
0.0013876782031729817,
0.028951013460755348,
-0.0861896350979805,
0.010659982450306416,
-0.01566299796104431,
-0.010084178298711777,
0.000055960419558687136,
0.8705061674118042,
-0.014343243092298508,
0.028203928843140602,
0.03988667204976082,
-0.00004553450344246812,
-0.004660609178245068,
-0.015005813911557198,
0.021312901750206947,
-0.053748395293951035,
0.011693771928548813,
-0.021080410107970238,
0.0356241874396801,
0.008956581354141235,
0.009461474604904652,
0.010438202880322933,
0.0164368636906147,
-0.0003435710968915373,
0.028390048071742058,
0.003272973233833909,
-0.008511221967637539,
-0.02021828666329384,
-0.008786256425082684,
0.008516818284988403,
0.036339130252599716,
-0.01247155386954546,
0.011564024724066257,
-0.16909220814704895,
0.01523923221975565,
-7.31419841856887e-33,
0.059486955404281616,
0.0094321109354496,
0.02220842055976391,
0.012990324757993221,
-0.0020568310283124447,
-0.0007861376507207751,
0.043999120593070984,
0.003172564785927534,
-0.005863943137228489,
-0.04778280109167099,
0.03170209750533104,
-0.0333944708108902,
0.012379664927721024,
0.002375642769038677,
0.00039874500362202525,
-0.009845273569226265,
0.009742893278598785,
0.026143036782741547,
-0.023209912702441216,
-0.00995081476867199,
0.025481557473540306,
0.033477939665317535,
0.0025680933613330126,
-0.007110569626092911,
-0.0026135193184018135,
-0.010223033837974072,
0.0034034750424325466,
0.02414039522409439,
0.013854371383786201,
-0.03298814967274666,
-0.01505463570356369,
0.00902154203504324,
-0.01379844918847084,
0.017737384885549545,
0.05172830820083618,
-0.03731473162770271,
0.0007922647637315094,
-0.01142063271254301,
-0.021968670189380646,
-0.01173457596451044,
-0.04934830963611603,
-0.00589626794680953,
-0.02460501715540886,
-0.0058237966150045395,
-0.016314076259732246,
-0.03309841454029083,
-0.02147439867258072,
0.009468426927924156,
0.03665836900472641,
-0.022596552968025208,
-0.01608683168888092,
0.03646489977836609,
-0.0024730379227548838,
-0.009676925837993622,
0.008315883576869965,
0.04599934071302414,
0.004036069847643375,
-0.00238812156021595,
0.0038433733861893415,
0.04974769055843353,
0.014581154100596905,
0.0027504884637892246,
-0.042908694595098495,
-0.009745626710355282,
0.01364982407540083,
-0.00006126981315901503,
-0.015499445609748363,
-0.01978519931435585,
0.020473353564739227,
-0.00017064492567442358,
-0.036853447556495667,
0.026421135291457176,
-0.012423037551343441,
-0.015514574944972992,
0.02330085076391697,
-0.010093004442751408,
-0.001490481081418693,
-0.004981997888535261,
0.01626197062432766,
-0.022408319637179375,
-0.010840057395398617,
-0.021210206672549248,
0.003284712554886937,
-0.009061651304364204,
-0.027752038091421127,
0.0021125497296452522,
-0.008979403413832188,
-0.01020134799182415,
-0.0015107427025213838,
0.03609762340784073,
-0.012037702836096287,
0.040327902883291245,
-0.01353709027171135,
-0.00038967153523117304,
-0.014545396901667118,
7.151377022616628e-33,
0.00808489415794611,
-0.0026344829238951206,
-0.010716130957007408,
0.031516365706920624,
0.023106617853045464,
-0.014764773659408092,
0.003867689287289977,
0.013579905964434147,
-0.0414576455950737,
0.015492444857954979,
-0.0009146717493422329,
0.002352984854951501,
0.00266969483345747,
0.024413898587226868,
0.07333046197891235,
-0.0030876018572598696,
0.03142544627189636,
-0.024113398045301437,
0.021778065711259842,
-0.021485857665538788,
0.03313901275396347,
0.012256762944161892,
0.025455843657255173,
-0.0031187930144369602,
0.017486276105046272,
0.012773203663527966,
-0.012947761453688145,
0.012120247818529606,
-0.006554228253662586,
0.017453795298933983,
0.025029804557561874,
-0.028750689700245857,
0.01431803684681654,
-0.06188984587788582,
-0.0257745198905468,
0.013262785039842129,
-0.011306129395961761,
-0.006036595907062292,
0.017301930114626884,
-0.02031133696436882,
0.0016274534864351153,
-0.010482084937393665,
-0.006448945961892605,
0.029187288135290146,
-0.002379600889980793,
-0.01491047628223896,
-0.01602938398718834,
-0.03671445697546005,
0.023256920278072357,
-0.017728663980960846,
0.04342607781291008,
-0.007809620816260576,
-0.008271077647805214,
0.03402572497725487,
0.017785532400012016,
-0.012890984304249287,
-0.0005584224709309638,
-0.0058303396217525005,
0.012337984517216682,
-0.01917950063943863,
-0.010583965107798576,
-0.012032962404191494,
-0.039250824600458145,
0.01996467262506485,
0.017085812985897064,
-0.005494709126651287,
-0.016894755885004997,
-0.026576783508062363,
-0.023429013788700104,
0.006749256979674101,
-0.0077414424158632755,
-0.00769595755264163,
-0.011142359115183353,
0.017029352486133575,
0.024927334859967232,
-0.01910371147096157,
-0.017307154834270477,
-0.01327305007725954,
0.012995009310543537,
-0.0008960534469224513,
0.01598391681909561,
-0.02828018181025982,
0.026833344250917435,
-0.01646893471479416,
-0.028632404282689095,
-0.00612219050526619,
-0.006710827350616455,
0.03637026250362396,
-0.001824932056479156,
0.00908412504941225,
-0.022537836804986,
-0.011142498813569546,
-0.0007200548425316811,
0.02169400453567505,
-0.005111361388117075,
-1.3277910326792153e-8,
-0.015220657922327518,
0.001571150147356093,
-0.011619103141129017,
0.0533420592546463,
0.018651913851499557,
0.013753745704889297,
-0.02684679441154003,
-0.04193355143070221,
0.004160908050835133,
0.004010346252471209,
-0.030975161120295525,
0.0009381801937706769,
0.027237610891461372,
0.02001143991947174,
0.03733782097697258,
-0.053040407598018646,
-0.017285339534282684,
-0.010387450456619263,
0.011579384095966816,
-0.013368175365030766,
0.02046060748398304,
0.015132226049900055,
-0.012311641126871109,
0.03962867707014084,
-0.012217896059155464,
0.02459169365465641,
0.0380421057343483,
-0.05491473153233528,
0.005208807066082954,
-0.0016381035093218088,
-0.0030466450843960047,
-0.02688661776483059,
-0.04247705265879631,
0.01215058472007513,
-0.02291666716337204,
0.029046062380075455,
-0.04390651360154152,
0.007106063421815634,
0.017816787585616112,
0.008446970023214817,
-0.02224917896091938,
0.006670099217444658,
0.028546473011374474,
-0.012562207877635956,
0.01913832314312458,
-0.019430899992585182,
-0.03589915856719017,
0.001530826324597001,
0.0011038241209462285,
-0.039926186203956604,
-0.024815421551465988,
0.0041877152398228645,
-0.011408919468522072,
0.046142466366291046,
-0.0159614235162735,
0.016493964940309525,
0.012038402259349823,
-0.015260353684425354,
-0.05507361516356468,
-0.011953329667448997,
0.03246269002556801,
-0.022688549011945724,
-0.02381769008934498,
-0.02373608946800232
] | c-stacktrace | https://markhneedham.com/blog/2010/06/22/c-stacktrace |
false | 2010-06-25 23:32:36 | Mercurial: Only pushing some local changes | [
"mercurial"
] | [
"Version Control"
] | One problem we've come across a few times over the last couple of months while using Mercurial is the situation where we want to quickly commit a local change without committing other local changes that we've made.
The example we came across today was where we wanted to make a change to the build file as we'd made a mistake in the target that runs on our continuous integration server and hadn't noticed for a while during which time we'd accumulated other local changes.
The following is a rough diagram of the situation we had:
image::{{<siteurl>}}/uploads/2010/06/mercurial1.jpg[mercurial.jpg,441]
We had multiple file changes in our working directory which hadn't yet been checked in to the local repository or the central repository.
We wanted to push just the change in blue.
My initial thought was that I could check in just that one file into our local repository and then push it to the central one.
[source,text]
----
hg ci -m "mark: updating build file to fix build" -A /path/to/build.file
----
I then wanted to push that change but when I went to do so I realised that they were other incoming changes which we hadn't yet integrated with.
In order to integrate with those changes we need to make sure that we don't have any locally uncommitted changes which of course in this scenario we do since we deliberately chose not to check in some of our local changes.
One way around this would be to just force the push and ignore the need to integrate with the remote changes but that doesn't seem the right approach to me but I'm not sure what is.
We ended up just checking in everything we had locally, commenting out the bits that we were currently working on, merging with the remote changes and then pushing everything to the remote repository.
That's obviously a really poor way of solving the problem so I'd be interested in what a good way to solve this problem would be! | null | null | [
0.02056918665766716,
0.002858568448573351,
-0.016856327652931213,
0.05660003796219826,
0.09150495380163193,
0.01422178279608488,
0.015613983385264874,
0.032945726066827774,
0.023939047008752823,
-0.03851248323917389,
-0.014994589611887932,
-0.017919691279530525,
-0.08591222763061523,
0.01864740066230297,
-0.03353096544742584,
0.05838647484779358,
0.07205254584550858,
0.009092302992939949,
0.003070963779464364,
0.03138699382543564,
0.008253893814980984,
0.09299831092357635,
-0.0010934958700090647,
0.031174369156360626,
0.0012492595706135035,
0.005196781828999519,
0.009302709251642227,
0.0017998680705204606,
-0.07219506800174713,
-0.01682327315211296,
0.03047620691359043,
-0.008708740584552288,
-0.006972532719373703,
-0.01605614274740219,
0.010834590531885624,
-0.0027109654620289803,
-0.044430334120988846,
0.010042711161077023,
0.01565546914935112,
-0.019789185374975204,
-0.06482087075710297,
0.03963227570056915,
-0.024801816791296005,
-0.00589128490537405,
-0.029149338603019714,
0.0191770251840353,
-0.059538476169109344,
-0.0007549764704890549,
-0.002096041338518262,
-0.026896240189671516,
-0.054988641291856766,
0.02810480073094368,
-0.017704695463180542,
-0.03740739822387695,
-0.0011891804169863462,
0.036247774958610535,
0.008938160724937916,
-0.09015797823667526,
0.01287571620196104,
-0.01720423623919487,
-0.0265810489654541,
-0.0026109006721526384,
-0.005818565841764212,
0.04047584533691406,
0.04137174412608147,
-0.014530065469443798,
-0.0020430097356438637,
0.03933543711900711,
-0.013538477011024952,
-0.013148301281034946,
-0.012638014741241932,
0.012543703429400921,
-0.03343360871076584,
0.00042786350240930915,
0.018185725435614586,
-0.03103667125105858,
-0.014914147555828094,
0.0441763699054718,
0.01643374189734459,
0.06737595051527023,
-0.010065545327961445,
0.028859669342637062,
-0.002181895077228546,
-0.0022038398310542107,
0.011067689396440983,
-0.03830622881650925,
-0.020379401743412018,
-0.004044126253575087,
-0.07285948842763901,
0.09351900219917297,
0.030717652291059494,
-0.07186313718557358,
0.03214285895228386,
0.02479093335568905,
0.01412922516465187,
0.007218977436423302,
0.008372005075216293,
0.027383089065551758,
0.030871866270899773,
0.012669751420617104,
-0.04706256464123726,
0.02184193953871727,
-0.01773436740040779,
0.017246583476662636,
-0.05752835050225258,
0.012477712705731392,
-0.03339279070496559,
-0.03202899545431137,
-0.016134051606059074,
-0.024277808144688606,
0.003116043983027339,
0.028678366914391518,
0.01447269693017006,
0.011962240561842918,
-0.058850809931755066,
0.07648831605911255,
0.007258045952767134,
-0.06277818232774734,
-0.005223965737968683,
0.012887980788946152,
0.03701618313789368,
0.04043133556842804,
-0.02675694413483143,
0.06369170546531677,
0.020536215975880623,
0.029557686299085617,
-0.014758490025997162,
0.026457132771611214,
-0.02174042910337448,
-0.09284749627113342,
-0.021038420498371124,
0.075517438352108,
0.0006779255927540362,
-0.017778361216187477,
-0.016655007377266884,
-0.02366524748504162,
-0.00993118342012167,
-0.00976183544844389,
0.03988586366176605,
-0.015427079051733017,
-0.010203570127487183,
-0.018611401319503784,
0.0086179468780756,
0.012694871984422207,
0.03106195107102394,
0.024445045739412308,
0.0003442620509304106,
-0.033548567444086075,
-0.04239489510655403,
0.025634996592998505,
0.010727465152740479,
0.02383306622505188,
0.059813354164361954,
-0.04137207567691803,
-0.011401879601180553,
0.09516474604606628,
0.02830546721816063,
-0.006941708270460367,
-0.0363280363380909,
0.013432960957288742,
0.03351237624883652,
0.03686580806970596,
0.02907487004995346,
0.014489129185676575,
-0.0029972887132316828,
-0.03352760896086693,
-0.02200733870267868,
0.024486783891916275,
0.03364235907793045,
0.0031177308410406113,
-0.043089911341667175,
-0.08226464688777924,
0.05742388963699341,
-0.033732667565345764,
-0.0004128199361730367,
0.05754087492823601,
0.08456394821405411,
0.04424253851175308,
0.014841596595942974,
0.007443887647241354,
-0.09129096567630768,
0.033049341291189194,
-0.0045928191393613815,
0.05717288702726364,
0.021309159696102142,
-0.019073447212576866,
0.0716942548751831,
0.019991399720311165,
0.021439457312226295,
0.006556329317390919,
-0.07417125254869461,
-0.05994293838739395,
-0.008426759392023087,
0.0065101454965770245,
0.053486064076423645,
-0.013512984849512577,
-0.020611681044101715,
0.061138805001974106,
0.006657858844846487,
0.037476249039173126,
0.010378196835517883,
0.019465247169137,
0.017829209566116333,
-0.06643904000520706,
-0.05051743611693382,
0.033267974853515625,
0.024806976318359375,
0.006957130040973425,
-0.06319604814052582,
-0.013118933886289597,
-0.036216530948877335,
0.007811658084392548,
0.05821351706981659,
-0.019188759848475456,
0.054236430674791336,
0.007202496752142906,
0.029905395582318306,
-0.049579232931137085,
0.04955582320690155,
-0.052638228982686996,
0.007402972783893347,
-0.011820635758340359,
-0.028788141906261444,
0.01515820249915123,
-0.004943910986185074,
0.0915881022810936,
0.04286472499370575,
-0.0536549873650074,
-0.023372087627649307,
0.009184591472148895,
0.012993847019970417,
-0.04775708541274071,
0.00506265414878726,
0.00672404607757926,
0.025058388710021973,
0.001928361365571618,
-0.045338429510593414,
-0.016728676855564117,
-0.003144233487546444,
-0.02774292416870594,
0.01564549282193184,
0.05704068765044212,
-0.00523823918774724,
0.054296527057886124,
0.00915607437491417,
-0.02180134691298008,
-0.014176016673445702,
-0.022260747849941254,
-0.07766054570674896,
0.014536694623529911,
0.03846873715519905,
-0.021115461364388466,
0.024799540638923645,
-0.03152709826827049,
0.015284527093172073,
-0.043929316103458405,
-0.01993492990732193,
0.016015715897083282,
0.010514642111957073,
0.057701487094163895,
-0.0006691151647828519,
0.034971706569194794,
-0.006392011884599924,
0.00045263496576808393,
-0.033041153103113174,
-0.030429502949118614,
-0.025404920801520348,
-0.014990333467721939,
-0.01955166831612587,
0.018122663721442223,
0.0035217823460698128,
0.004850744269788265,
0.0015223163645714521,
-0.010376181453466415,
0.018867962062358856,
-0.029223274439573288,
0.021472854539752007,
-0.0032874024473130703,
-0.0028661247342824936,
-0.028368763625621796,
0.0211041122674942,
0.036728404462337494,
-0.06074821576476097,
-0.005695346277207136,
0.00928622018545866,
-0.042831119149923325,
0.057096920907497406,
-0.09509491920471191,
-0.04895520582795143,
-0.008892759680747986,
0.02101973444223404,
0.011805396527051926,
-0.000089762092102319,
0.04669450968503952,
0.06879902631044388,
0.009279703721404076,
0.008030650205910206,
0.008823848329484463,
0.030232468619942665,
0.0474943146109581,
0.0319579616189003,
0.009542681276798248,
0.03498160094022751,
-0.0005723056383430958,
-0.025824444368481636,
-0.05543452501296997,
0.03708253428339958,
-0.040124401450157166,
-0.27718672156333923,
0.0526009239256382,
0.03699713945388794,
-0.051574237644672394,
0.03592464700341225,
-0.008024991489946842,
0.0037628724239766598,
-0.034249380230903625,
-0.02476923167705536,
0.02800547145307064,
-0.015286301262676716,
-0.04776223376393318,
0.022983422502875328,
0.030355796217918396,
-0.0052889324724674225,
0.015985915437340736,
0.019600024446845055,
-0.022377820685505867,
-0.007751185912638903,
0.01479177363216877,
-0.027949795126914978,
-0.037839438766241074,
0.03008493036031723,
0.032437682151794434,
0.018176833167672157,
0.025775790214538574,
-0.057506855577230453,
0.07652285695075989,
-0.052168022841215134,
-0.016403649002313614,
0.01693730242550373,
-0.007379329297691584,
-0.014103368856012821,
0.0011152701918035746,
-0.022894423454999924,
-0.004025586415082216,
0.017916889861226082,
0.02589697204530239,
-0.0010795771377161145,
-0.004809033591300249,
-0.0185988899320364,
0.006041618529707193,
-0.006003772374242544,
-0.004999453667551279,
0.08061463385820389,
-0.04097044840455055,
-0.05517309159040451,
-0.00926152803003788,
-0.06028124690055847,
0.08503898233175278,
-0.010341493412852287,
-0.035899680107831955,
0.0008511155610904098,
0.03987783566117287,
-0.0042955451644957066,
-0.013042612932622433,
-0.01101924479007721,
0.0018881221767514944,
-0.05044917017221451,
-0.028784526512026787,
-0.016589293256402016,
-0.04264945536851883,
-0.0344955250620842,
-0.030491182580590248,
0.009967928752303123,
-0.059295903891325,
-0.0617748461663723,
-0.02433474361896515,
0.0661853700876236,
0.0054632518440485,
-0.022263549268245697,
0.0240518469363451,
-0.02847839705646038,
-0.10243840515613556,
-0.019991833716630936,
-0.019819635897874832,
-0.0384364016354084,
-0.0242935623973608,
0.008541452698409557,
0.029139751568436623,
-0.0534965880215168,
-0.03416997566819191,
0.03756161034107208,
0.03468457609415054,
0.008805148303508759,
0.009299183264374733,
0.0551166906952858,
0.014971375465393066,
-0.0442231260240078,
-0.00629746587947011,
0.06120910495519638,
-0.041992053389549255,
-0.01721806824207306,
-0.004854588303714991,
0.0016985576367005706,
0.021988816559314728,
-0.01944568194448948,
-0.00840225163847208,
0.023352239280939102,
0.04262232407927513,
0.049079254269599915,
-0.028397027403116226,
0.012998011894524097,
-0.03108697198331356,
-0.023886052891612053,
0.021230414509773254,
-0.06349941343069077,
0.0178227461874485,
0.03465713933110237,
0.046063560992479324,
-0.012423522770404816,
-0.010968252085149288,
0.038059450685977936,
-0.037159137427806854,
-0.05734550207853317,
-0.0036162815522402525,
-0.0032519015949219465,
0.01210036315023899,
0.013494014739990234,
0.0035093282349407673,
-0.03363265469670296,
0.02542390301823616,
0.024365810677409172,
0.0033155949786305428,
-0.01775529235601425,
-0.023245643824338913,
-0.021583961322903633,
0.012257329188287258,
0.03995972126722336,
0.02499408647418022,
-0.004054877441376448,
0.035792335867881775,
0.03153328225016594,
-0.03472535312175751,
0.022923363372683525,
-0.015229647047817707,
-0.04417617246508598,
-0.016917089000344276,
-0.03213772177696228,
0.01861415058374405,
-0.033589284867048264,
0.03277610242366791,
0.005027267150580883,
0.010494890622794628,
0.044003747403621674,
-0.015224581584334373,
0.024255957454442978,
0.00387006183154881,
0.008782615885138512,
-0.002358717145398259,
0.01821446418762207,
-0.09094999730587006,
0.020828869193792343,
-0.058520298451185226,
-0.018300864845514297,
-0.026597892865538597,
0.03731425851583481,
-0.048465996980667114,
-0.00720034958794713,
-0.02356736734509468,
-0.0022134175524115562,
-0.06463051587343216,
-0.0072573283687233925,
-0.0087116789072752,
0.008459041826426983,
0.06465750932693481,
-0.010466926731169224,
0.004317053128033876,
-0.02938511036336422,
0.0024242009967565536,
0.006563218776136637,
0.04635205492377281,
-0.05793335661292076,
-0.012139527127146721,
0.007543667685240507,
0.023447183892130852,
-0.018752191215753555,
-0.01178782619535923,
0.04646546021103859,
0.0036062453873455524,
-0.008147737011313438,
-0.010301838628947735,
0.019093424081802368,
-0.0019134600879624486,
0.04504125937819481,
-0.014977401122450829,
0.005181196611374617,
0.005945119541138411,
-0.015422938391566277,
-0.017579875886440277,
-0.001765698310919106,
0.017833616584539413,
-0.017139049246907234,
0.010242193005979061,
-0.018631724640727043,
-0.07869783043861389,
0.02734733745455742,
0.013089370913803577,
0.012470213696360588,
0.004794901702553034,
-0.026547091081738472,
0.02243655174970627,
-0.04026949778199196,
0.028697067871689796,
0.08846993744373322,
-0.06016923487186432,
0.005179213359951973,
0.008408511988818645,
-0.008762380108237267,
-0.019304968416690826,
-0.002328304573893547,
-0.0461309477686882,
-0.04815952107310295,
-0.00326498132199049,
0.003106207586824894,
-0.05948708951473236,
-0.048915233463048935,
-0.0343179851770401,
0.018729977309703827,
-0.0053088003769516945,
-0.02941218577325344,
0.01791740395128727,
0.01264402735978365,
0.011883964762091637,
-0.06046231463551521,
-0.003445725655183196,
0.004527335986495018,
0.006233384367078543,
0.03225693851709366,
-0.00945799145847559,
0.017230214551091194,
-0.016818206757307053,
0.066737100481987,
0.01913847215473652,
-0.01960758864879608,
-0.012266268022358418,
-0.013364782556891441,
-0.026783185079693794,
-0.03401413932442665,
0.011656960472464561,
0.003883098252117634,
0.017131073400378227,
-0.034498900175094604,
-0.0090324180200696,
-0.04194477200508118,
-0.000995512236841023,
-0.032060958445072174,
-0.01835234835743904,
-0.002628779038786888,
0.0748441144824028,
-0.0007706836331635714,
0.017942113801836967,
0.005020537413656712,
-0.029387615621089935,
0.02658109739422798,
-0.08693103492259979,
-0.03105657920241356,
-0.023115161806344986,
-0.04404999315738678,
0.004675612319260836,
0.017664428800344467,
-0.01608329638838768,
-0.0658537745475769,
0.010639769025146961,
0.037378087639808655,
0.01727297157049179,
0.025871839374303818,
-0.005045186262577772,
0.02480769157409668,
-0.04589160159230232,
-0.05307093262672424,
-0.0855303555727005,
0.02596418932080269,
-0.004401327110826969,
-0.03528715670108795,
-0.007862568832933903,
0.0033594819251447916,
-0.023628676310181618,
0.02659325674176216,
-0.05731429159641266,
-0.033083219081163406,
0.0580073706805706,
0.007232551462948322,
0.01301111001521349,
0.027103809639811516,
-0.07044398784637451,
0.01865263469517231,
0.03750494867563248,
-0.048475973308086395,
-0.00841209664940834,
-0.047153256833553314,
0.05601408705115318,
-0.006015345919877291,
0.04240763932466507,
-0.022196264937520027,
0.008345376700162888,
0.0688873827457428,
0.037642043083906174,
0.0285048671066761,
0.0483115017414093,
-0.016366370022296906,
0.034297600388526917,
0.03122277371585369,
0.013123691082000732,
-0.0002880378451664001,
0.032796163111925125,
-0.00795074738562107,
-0.0362335741519928,
0.04478471353650093,
-0.0134660629555583,
-0.009301592595875263,
-0.025748029351234436,
0.06442082673311234,
0.015903715044260025,
-0.028234826400876045,
-0.06676270067691803,
0.02545037493109703,
-0.07126302272081375,
-0.002226687967777252,
-0.008531441912055016,
-0.024017898365855217,
-0.05094967782497406,
0.06952477991580963,
-0.008461913093924522,
0.015992270782589912,
0.0736449584364891,
0.005426329094916582,
0.00274881673976779,
-0.0185991358011961,
0.09400679171085358,
0.08013291656970978,
0.05498576909303665,
0.0012886632466688752,
0.06462820619344711,
0.018376119434833527,
-0.04837082326412201,
0.021473273634910583,
-0.014633187092840672,
-0.013324924744665623,
-0.033932995051145554,
0.015956172719597816,
0.05991898477077484,
-0.03777209296822548,
0.04970420524477959,
-0.002087569795548916,
0.013544270768761635,
0.01225932128727436,
0.020579345524311066,
0.009892427362501621,
0.06261071562767029,
0.028951939195394516,
0.007558084558695555,
-0.011830750852823257,
-0.02374882437288761,
0.007305168081074953,
-0.018212201073765755,
-0.010453304275870323,
0.02714669518172741,
-0.006795479916036129,
0.030124371871352196,
0.03464861959218979,
0.006775065325200558,
0.08043587952852249,
-0.024021795019507408,
0.0036937349941581488,
-0.026553645730018616,
0.04039594903588295,
-0.009663337841629982,
0.016234897077083588,
-0.0036695431917905807,
-0.02795807458460331,
0.02099796012043953,
-0.02947346121072769,
-0.02135547436773777,
0.025187162682414055,
-0.02358192391693592,
0.043844375759363174,
-0.012803154066205025,
0.017285162582993507,
0.03592934459447861,
-0.016833007335662842,
-0.017484547570347786,
-0.017856726422905922,
-0.05672670900821686,
-0.06194350868463516,
-0.03296400234103203,
0.01676332764327526,
0.027140410616993904,
-0.007159867323935032,
-0.0320625975728035,
-0.025774536654353142,
-0.004756426904350519,
-0.042146213352680206,
0.01563781127333641,
-0.0766148641705513,
-0.029170725494623184,
0.0179535411298275,
0.030390579253435135,
0.00295026577077806,
-0.004577301442623138,
0.055882733315229416,
0.000817436957731843,
-0.0278791356831789,
-0.007268274202942848,
0.022858796641230583,
0.02355414442718029,
-0.005820639431476593,
0.019121386110782623,
-0.08812525868415833,
0.046849872916936874,
0.04006881266832352,
0.0008905837894417346,
-0.07837986946105957,
0.012974629178643227,
0.006094472017139196,
-0.047365348786115646,
0.07627472281455994,
0.003410737030208111,
0.009471576660871506,
-0.026462586596608162,
-0.008796571753919125,
-0.02471526898443699,
0.019514337182044983,
0.050119634717702866,
-0.0011315025622025132,
0.07645198702812195,
0.029525838792324066,
-0.012336591258645058,
-0.048261359333992004,
0.010508728213608265,
-0.00016364849579986185,
-0.017407216131687164,
-0.008330321870744228,
-0.0506935678422451,
-0.027701441198587418,
-0.09845392405986786,
-0.04729489982128143,
0.002886974485591054,
-0.009725399315357208,
-0.026090018451213837,
-0.0027090630028396845,
0.0226188525557518,
-0.06003633886575699,
0.00403605867177248,
-0.04339263215661049,
0.023577338084578514,
-0.001865503378212452,
-0.012621890753507614,
0.008397397585213184,
0.029059741646051407,
0.03312141075730324,
-0.005037661176174879,
0.04302904009819031,
-0.035060785710811615,
0.020224453881382942,
0.0006870999932289124,
0.022277075797319412,
0.03192497044801712,
0.025890059769153595,
0.006823520641773939
] | [
-0.08480080217123032,
0.008751820772886276,
-0.010554024949669838,
-0.0011187352938577533,
0.09203551709651947,
-0.04522896930575371,
-0.04057587310671806,
0.002148461528122425,
-0.03629157692193985,
-0.030088037252426147,
0.026772383600473404,
-0.03620346263051033,
-0.018514255061745644,
-0.03684011846780777,
0.08328430354595184,
0.0007236502133309841,
-0.054852068424224854,
-0.051709190011024475,
0.01706494763493538,
0.003461941611021757,
-0.03649100661277771,
-0.011961185373365879,
-0.03766857087612152,
-0.007023391779512167,
0.021117649972438812,
0.031326230615377426,
0.025597160682082176,
-0.024199379608035088,
-0.03228849917650223,
-0.22118133306503296,
0.0037293345667421818,
-0.004011548589915037,
-0.020927509292960167,
-0.01516732294112444,
0.032311417162418365,
0.053646691143512726,
0.03799023851752281,
0.023068511858582497,
-0.00755896233022213,
0.056412987411022186,
0.016988037154078484,
0.05439453944563866,
-0.039484456181526184,
-0.057911623269319534,
-0.009092062711715698,
-0.022564850747585297,
0.039835620671510696,
-0.030321773141622543,
0.02979297935962677,
0.05713735520839691,
0.00048143352614715695,
-0.006969511043280363,
-0.007285206578671932,
-0.02532164379954338,
-0.010487495921552181,
0.05307144671678543,
0.040339622646570206,
0.07893605530261993,
-0.002794634085148573,
0.01678377576172352,
0.022251812741160393,
0.011127367615699768,
-0.12786543369293213,
0.0640665739774704,
0.07030345499515533,
0.034011438488960266,
-0.0023785082157701254,
-0.017528997734189034,
-0.002978390082716942,
0.10720402747392654,
-0.024706201627850533,
-0.031014403328299522,
-0.08205831795930862,
0.060952361673116684,
0.027588287368416786,
-0.041970498859882355,
0.006901653949171305,
0.04150722548365593,
0.021754244342446327,
-0.048208143562078476,
-0.05362160876393318,
-0.020278995856642723,
-0.05934150889515877,
-0.03214472159743309,
-0.037135109305381775,
0.0019289832562208176,
0.01968863233923912,
0.06777910143136978,
0.005100122652947903,
0.018052266910672188,
0.05295869708061218,
-0.035291772335767746,
0.05017745494842529,
0.004281866364181042,
-0.08166320621967316,
-0.0013380945893004537,
0.00863004382699728,
0.018264345824718475,
-0.0286757480353117,
0.43422192335128784,
-0.008528336882591248,
-0.011984795331954956,
0.048648055642843246,
0.03364923223853111,
0.011418424546718597,
0.0401240736246109,
0.020908266305923462,
-0.013481377623975277,
0.005666961427778006,
-0.008088314905762672,
0.038155294954776764,
0.01109051238745451,
0.04709300026297569,
-0.052116312086582184,
0.03273501247167587,
0.023807842284440994,
-0.0168155487626791,
0.021173972636461258,
-0.036409854888916016,
0.010622545145452023,
-0.023994680494070053,
0.03512734919786453,
0.05455591529607773,
0.0270432997494936,
0.015964755788445473,
-0.0005365605466067791,
0.01651991531252861,
0.01840589940547943,
0.04628600925207138,
0.02207842655479908,
0.018326926976442337,
-0.03897226229310036,
-0.06930650770664215,
-0.0032375105656683445,
0.002658237935975194,
0.019376451149582863,
0.034453339874744415,
-0.03253962844610214,
0.012638443149626255,
0.03175680711865425,
-0.03831495717167854,
0.004503305070102215,
0.015662584453821182,
-0.04160293936729431,
-0.030462542548775673,
0.09254933893680573,
0.004490579478442669,
-0.013327737338840961,
-0.01273626834154129,
-0.07485456019639969,
-0.04051858186721802,
0.005327809602022171,
-0.0038573837373405695,
-0.033552855253219604,
0.02055114135146141,
-0.007008778862655163,
0.07390390336513519,
-0.018675420433282852,
-0.031789958477020264,
0.011067604646086693,
-0.001516633783467114,
-0.04783972352743149,
-0.02468005381524563,
0.08227559924125671,
0.043653253465890884,
-0.10111452639102936,
-0.011856640689074993,
-0.01816157065331936,
0.06126995384693146,
-0.04335670545697212,
-0.035765618085861206,
0.07453734427690506,
0.020208578556776047,
-0.031649280339479446,
0.0889085978269577,
-0.035733599215745926,
-0.036969397217035294,
0.00765135046094656,
0.045670174062252045,
0.006441810168325901,
-0.0020712914410978556,
0.04985035955905914,
-0.04541563242673874,
0.01899873837828636,
-0.0463116392493248,
-0.106674425303936,
-0.052208371460437775,
0.02146240882575512,
-0.019736820831894875,
0.01095739658921957,
-0.020980434492230415,
-0.022196192294359207,
-0.04964905604720116,
0.0757121741771698,
-0.0125687625259161,
-0.011368258856236935,
-0.008415925316512585,
-0.02345738373696804,
0.004885266534984112,
-0.028101518750190735,
0.016671255230903625,
0.05424343794584274,
-0.016269640997052193,
0.012274996377527714,
-0.08711691945791245,
0.04994234815239906,
0.029229801148176193,
-0.04626290500164032,
0.056191977113485336,
0.013584563508629799,
-0.028648551553487778,
0.0011542155407369137,
0.014012882485985756,
0.0259077288210392,
0.011024847626686096,
-0.00008331104618264362,
0.009031074121594429,
0.010408103466033936,
0.03933021426200867,
0.01585274003446102,
-0.009711059741675854,
-0.024772711098194122,
0.006189557723701,
-0.346500426530838,
-0.06599200516939163,
-0.032758258283138275,
-0.006121407262980938,
0.028951430693268776,
-0.06346967816352844,
0.004581661429256201,
-0.014716164208948612,
-0.03343513235449791,
-0.01990075223147869,
0.0876811146736145,
-0.024481482803821564,
0.020324869081377983,
-0.07052233070135117,
-0.023349666967988014,
0.0023544449359178543,
-0.018577642738819122,
-0.01547736581414938,
-0.019111530855298042,
-0.006131716538220644,
-0.01845751330256462,
-0.03556321933865547,
-0.045912813395261765,
-0.03165889158844948,
0.006456950679421425,
-0.006929636467248201,
0.09093494713306427,
-0.0050828177481889725,
0.09084221720695496,
-0.054860085248947144,
0.02933242730796337,
-0.002363385632634163,
0.028209138661623,
-0.11591148376464844,
-0.015284795314073563,
-0.004135164897888899,
-0.010741627775132656,
0.009171086363494396,
0.02962992526590824,
-0.00423801876604557,
-0.04148775711655617,
-0.012619683519005775,
-0.046486176550388336,
-0.04922967776656151,
-0.005391627550125122,
-0.00024226645473390818,
-0.024086255580186844,
0.010712281800806522,
-0.014458741061389446,
0.02088059112429619,
-0.003989377524703741,
0.017498617991805077,
-0.001319003407843411,
0.03697266802191734,
0.0025869898963719606,
-0.007391776889562607,
-0.0453573614358902,
0.015651479363441467,
0.03338439762592316,
-0.024876447394490242,
0.03247750923037529,
0.08333785831928253,
0.06594004482030869,
-0.03600607439875603,
0.01921122521162033,
0.005797533318400383,
-0.0031269912142306566,
-0.00121217779815197,
0.04640935733914375,
-0.021939819678664207,
0.0016756062395870686,
0.10409083962440491,
0.002855941653251648,
-0.03112240508198738,
0.005325091537088156,
0.010852697305381298,
-0.025718558579683304,
0.016496069729328156,
-0.025986017659306526,
-0.03513867408037186,
0.02948502078652382,
-0.0032129522878676653,
0.02394302934408188,
-0.023994067683815956,
-0.024282217025756836,
0.06476271897554398,
-0.02038375660777092,
-0.062001969665288925,
0.025047054514288902,
0.022959426045417786,
-0.001775542157702148,
-0.03172905743122101,
-0.015388189814984798,
-0.04759027808904648,
0.06478416919708252,
0.010201298631727695,
-0.24018023908138275,
0.006454173941165209,
0.06636647880077362,
0.035220567137002945,
-0.039527781307697296,
0.015027904883027077,
0.052805885672569275,
-0.03966289758682251,
0.007148911710828543,
0.05348917841911316,
0.0103156678378582,
0.013215228915214539,
0.005535086616873741,
-0.0013626300496980548,
0.035502102226018906,
-0.019316416233778,
0.029472874477505684,
0.027101580053567886,
0.017853138968348503,
-0.005533836781978607,
-0.008916519582271576,
-0.033799510449171066,
0.1746848225593567,
0.026221320033073425,
0.016895964741706848,
0.005940313916653395,
-0.014587607234716415,
0.032083701342344284,
0.06644947081804276,
0.01244849618524313,
-0.002934664487838745,
0.029414072632789612,
0.010434792377054691,
-0.005565429572016001,
0.027812672778964043,
-0.06299509853124619,
-0.024014100432395935,
0.04958699643611908,
-0.010693020187318325,
-0.007119264453649521,
-0.04328332096338272,
0.021750329062342644,
-0.04113845154643059,
0.025241753086447716,
0.06394828110933304,
-0.042116258293390274,
0.005751336459070444,
-0.026208214461803436,
-0.08008046448230743,
-0.009451056830585003,
-0.04296085610985756,
-0.04318806529045105,
0.018269656226038933,
-0.024649854749441147,
-0.022043034434318542,
0.07576492428779602,
0.00861357431858778,
-0.04540438950061798,
0.004585202317684889,
0.016690224409103394,
0.028604943305253983,
0.005827972199767828,
0.10407385975122452,
-0.028767738491296768,
0.0300766434520483
] | [
0.032889071851968765,
0.03277170658111572,
0.016341829672455788,
0.04405288025736809,
0.05367400124669075,
0.0013093574671074748,
-0.030039578676223755,
0.02997743710875511,
-0.00169962621293962,
0.013208831660449505,
0.029988273978233337,
0.007301694247871637,
0.046886928379535675,
-0.0038545795250684023,
0.019008735194802284,
-0.04044564813375473,
0.006455250084400177,
-0.0023528048768639565,
0.0431377999484539,
0.009327715262770653,
-0.062473997473716736,
-0.0104948366060853,
0.05855690687894821,
0.006985511165112257,
0.03453709930181503,
-0.007160816341638565,
-0.02996140345931053,
0.02524607442319393,
0.02746543288230896,
-0.14947420358657837,
-0.005708546843379736,
-0.005176486447453499,
-0.02849735878407955,
0.004183974117040634,
0.03266630694270134,
0.03917637839913368,
0.004666418768465519,
0.02311222068965435,
-0.040712520480155945,
-0.009625994600355625,
0.052236177027225494,
-0.01492004282772541,
0.02935503050684929,
-0.017392754554748535,
-0.007234250660985708,
-0.01563592255115509,
-0.010905172675848007,
0.016303837299346924,
-0.04436459392309189,
-0.018652405589818954,
-0.022122090682387352,
-0.02100602351129055,
-0.03701255843043327,
-0.006775722373276949,
-0.004793708212673664,
0.026957374066114426,
0.0053146956488490105,
0.012626977637410164,
0.045630596578121185,
-0.02414804883301258,
-0.004209679085761309,
0.00606235908344388,
-0.02548886463046074,
-0.05188976973295212,
0.0203188955783844,
-0.0005159181309863925,
0.024175090715289116,
0.0003979321045335382,
0.010012326762080193,
-0.022215118631720543,
-0.00914667546749115,
0.02863527089357376,
-0.037924543023109436,
0.0118832653388381,
-0.014696666970849037,
-0.008061666041612625,
0.009002607315778732,
-0.016509495675563812,
-0.008022661320865154,
-0.020583385601639748,
-0.04661283642053604,
-0.023072024807333946,
-0.021543728187680244,
-0.021214168518781662,
-0.0023273364640772343,
-0.000123116813483648,
-0.021342072635889053,
0.008300594985485077,
0.019451938569545746,
-0.023448355495929718,
0.034916605800390244,
-0.0023156560491770506,
-0.008511737920343876,
-0.011372189037501812,
-0.0520581491291523,
-0.032628364861011505,
0.018090346828103065,
-0.0030140336602926254,
0.00879386905580759,
0.8117345571517944,
0.04302144795656204,
-0.005308655556291342,
0.022091299295425415,
-0.007352710235863924,
0.02396874502301216,
-0.008134338073432446,
-0.00423181988298893,
0.037794481962919235,
-0.007181528955698013,
-0.015062880702316761,
0.030458305031061172,
-0.013574361801147461,
-0.01005603652447462,
-0.00021985390048939735,
0.012750305235385895,
0.052801795303821564,
0.02738119661808014,
-0.007776086684316397,
-0.05310851335525513,
0.0007462457288056612,
0.03502272441983223,
-0.010158408433198929,
-0.020096516236662865,
-0.004630399867892265,
-0.0025389373768121004,
-0.20632494986057281,
-0.017266659066081047,
-6.868564102068325e-33,
0.05246191844344139,
-0.01966453157365322,
0.005222626030445099,
0.007742221467196941,
0.01796172372996807,
-0.01275221724063158,
-0.0006641842192038894,
0.025564415380358696,
-0.03020070306956768,
-0.05155964568257332,
0.0024969731457531452,
-0.03285229578614235,
-0.018572242930531502,
0.012573013082146645,
0.009648800827562809,
-0.020724689587950706,
-0.008215252310037613,
0.06373108923435211,
-0.04341084882616997,
0.052761100232601166,
0.0030281979124993086,
0.012292025610804558,
0.0036016865633428097,
0.012591185979545116,
0.04657503217458725,
0.010020486079156399,
0.005518994759768248,
0.03484295681118965,
0.009273489937186241,
-0.050007034093141556,
-0.010792297311127186,
0.01479247584939003,
0.01479304675012827,
-0.009365302510559559,
0.004284451249986887,
-0.04753602668642998,
-0.05667674541473389,
-0.008107179775834084,
-0.05377157777547836,
-0.02587285079061985,
0.004844363778829575,
0.013019626028835773,
-0.054020438343286514,
0.02276325784623623,
-0.02588692680001259,
0.014612708240747452,
0.0046011474914848804,
-0.00911468081176281,
0.007228323258459568,
-0.01817961409687996,
0.017331130802631378,
0.023690154775977135,
-0.032984696328639984,
-0.006441665347665548,
0.012596553191542625,
0.03933097422122955,
0.022685231640934944,
0.02337700128555298,
-0.014136208221316338,
-0.021259870380163193,
0.032402992248535156,
0.0035533341579139233,
-0.038755714893341064,
0.057461466640233994,
0.004712926689535379,
0.00020606216276064515,
-0.00978540163487196,
0.06646312773227692,
0.0382702499628067,
-0.011175379157066345,
-0.06208141893148422,
0.0346563421189785,
-0.009307310916483402,
-0.030382530763745308,
0.0302195455878973,
0.02173970453441143,
-0.036575764417648315,
0.018629474565386772,
0.021149402484297752,
0.013565463945269585,
-0.03048691712319851,
-0.00616428954526782,
-0.05920936539769173,
0.00028804506291635334,
0.0008316343300975859,
0.03352923318743706,
0.013131598010659218,
0.02281971648335457,
-0.03254223242402077,
-0.023462651297450066,
0.055125944316387177,
0.022581052035093307,
0.02251332625746727,
-0.06176110729575157,
-0.052056387066841125,
7.319307410891131e-33,
-0.015499976463615894,
-0.014923828653991222,
-0.004942812491208315,
0.0325050987303257,
0.0062299249693751335,
0.023941930383443832,
-0.020518803969025612,
0.028527474030852318,
-0.04677557200193405,
0.0032958786468952894,
0.008358394727110863,
0.02037850394845009,
-0.0333489254117012,
0.005435315892100334,
0.009603655897080898,
-0.008620282635092735,
0.04629435017704964,
-0.006021319888532162,
0.010044876486063004,
0.015564274042844772,
0.011912663467228413,
-0.014321483671665192,
0.02217017114162445,
0.004820303991436958,
0.023953024297952652,
0.05691913887858391,
-0.015570128336548805,
-0.029866693541407585,
0.009302342310547829,
-0.03371847793459892,
-0.008700207807123661,
0.009302644990384579,
-0.00012413984222803265,
-0.02648567035794258,
-0.004659748170524836,
0.014796636067330837,
-0.010724864900112152,
0.026446282863616943,
-0.03343813121318817,
-0.0035809529945254326,
0.005087623372673988,
-0.0023206425830721855,
-0.0062621524557471275,
0.0336134172976017,
-0.038887280970811844,
-0.016098763793706894,
-0.014775766059756279,
-0.016269594430923462,
-0.03476545214653015,
0.04554719105362892,
-0.005892099812626839,
-0.013476938009262085,
0.026777874678373337,
-0.009974444285035133,
0.03319152072072029,
-0.003243393963202834,
-0.05248104780912399,
0.017132101580500603,
-0.002323141787201166,
0.0003456500999163836,
-0.026100685819983482,
0.012241645716130733,
0.001648187288083136,
0.005433441139757633,
-0.06462599337100983,
0.0009725778945721686,
-0.03471054136753082,
0.019189059734344482,
-0.03147248551249504,
0.023566190153360367,
0.03157517686486244,
0.04722326993942261,
-0.04979042708873749,
0.004410664550960064,
0.01359536126255989,
-0.03302003815770149,
0.006771858315914869,
-0.009428142569959164,
-0.0023030578158795834,
0.029931625351309776,
-0.0033894709777086973,
0.010614397004246712,
-0.03398607298731804,
0.002921624341979623,
-0.02003430761396885,
-0.000586878857575357,
-0.06573344767093658,
0.04159777611494064,
0.05864987522363663,
-0.0026098121888935566,
-0.036097437143325806,
-0.014576363377273083,
-0.01872008852660656,
0.015376376919448376,
-0.018808627501130104,
-1.2629555179444196e-8,
-0.026044024154543877,
-0.002676193369552493,
-0.033127978444099426,
0.034797295928001404,
0.021626580506563187,
0.00489282188937068,
-0.045547306537628174,
0.02048630453646183,
-0.017941273748874664,
0.028607729822397232,
0.027993692085146904,
-0.03114551305770874,
0.011148900724947453,
-0.03271405026316643,
-0.017933394759893417,
-0.030394170433282852,
0.026093611493706703,
-0.0025189826264977455,
0.032320015132427216,
-0.0035193930380046368,
0.01927625760436058,
0.03378485143184662,
-0.003980505280196667,
0.03440958261489868,
0.023135337978601456,
0.001975544262677431,
0.007280753459781408,
-0.045728690922260284,
-0.0038820598274469376,
-0.014471461065113544,
0.044637758284807205,
-0.01809755526483059,
-0.035890888422727585,
0.05124078691005707,
-0.01951456256210804,
-0.03509186953306198,
0.028155745938420296,
0.01768176257610321,
0.019703084602952003,
0.021648012101650238,
0.0477951280772686,
-0.004264539107680321,
-0.01544681005179882,
-0.028172556310892105,
-0.026687659323215485,
-0.018153676763176918,
-0.013514465652406216,
0.0048767030239105225,
-0.04269275814294815,
-0.028014566749334335,
0.009897518903017044,
-0.04166116565465927,
-0.011867709457874298,
0.05919473245739937,
0.05025496706366539,
-0.004608689341694117,
0.04856119304895401,
0.010443074628710747,
0.0020363496150821447,
0.034257590770721436,
0.025699488818645477,
-0.005763573572039604,
-0.019786644726991653,
-0.009978667832911015
] | mercurial-only-pushing-some-local-changes | https://markhneedham.com/blog/2010/06/25/mercurial-only-pushing-some-local-changes |
false | 2010-12-20 21:23:39 | India Cultural Differences: Stretched work day | [
"distributed-agile-2"
] | [
"Distributed Agile"
] | A couple of months ago I briefly touched on http://www.markhneedham.com/blog/2010/10/17/distributed-agile-cultural-differencesexpectation-disconnect/[the very stretched days I've experienced while working in India].
This is in contrast to what I've experienced in the UK and Australia where the day was much more time boxed and tended to go from 9am to 6pm.
At the moment we also have a call with colleagues in Chicago at 9pm for about 30-45 minutes so the day has now stretched out until nearly 10pm. We start with our standup at 10am.
We're certainly not working all of that time but you're never really done for the day until the call has finished.
With or without the call I've found it a much more difficult environment to work in than anything I've experienced before.
I frequently get to the end of the day and can't really determine whether I've actually achieved anything because I've started and stopping working so many times.
I find I get distracted really easily working in our Pune office so I need my pair to be quite vocal about keeping focus!
One disadvantage of the stretched work day which I've only noticed recently is that you can become less reflective about the code because you don't get as much time where you're awake but not directly working with the code.
I frequently came up with possible ways to improve code bases on previous projects while playing around with something else or watching a presentation or similar.
I find that I play around with stuff outside the project less than I have previously partly because I've lost the 4 to 5 hour stretch that I used to have each evening.
On the positive side you get to know the people you're working with pretty well because you're with them for a lot more hours per day.
Not every project in the office has hours as stretched as mine but it certainly seems to be more common in India than elsewhere. | null | null | [
0.0479215644299984,
-0.008633104152977467,
-0.016381030902266502,
0.02748982422053814,
0.08303926140069962,
0.0026290968526154757,
0.03326210007071495,
0.05029577389359474,
0.02673548273742199,
-0.021733835339546204,
-0.0296311154961586,
-0.005344719626009464,
-0.06674420833587646,
0.018555015325546265,
-0.030401412397623062,
0.08569665253162384,
0.06406602263450623,
-0.03102748841047287,
0.02234083041548729,
0.001516183721832931,
0.04846839979290962,
0.055298034101724625,
0.03879787027835846,
0.03775788098573685,
0.04240355268120766,
-0.006038830149918795,
-0.019382473081350327,
-0.023918472230434418,
-0.0579352043569088,
-0.00039635796565562487,
0.046357106417417526,
0.0018459624843671918,
0.005216627381742001,
0.01999165490269661,
0.025958754122257233,
-0.013780790381133556,
-0.018887190148234367,
0.027512365952134132,
-0.0031681046821177006,
-0.00721230823546648,
-0.048831358551979065,
0.025758149102330208,
-0.010176382027566433,
0.005843058694154024,
-0.02337401732802391,
0.012780082412064075,
-0.03512603044509888,
0.007468535099178553,
-0.0023528430610895157,
-0.0015430249040946364,
-0.059359822422266006,
0.007874062284827232,
0.030629001557826996,
-0.00661236047744751,
-0.017658056691288948,
0.0637393444776535,
0.022138698026537895,
-0.05833131819963455,
0.0029705476481467485,
-0.04320603236556053,
0.004302117042243481,
-0.023836636915802956,
-0.002643546089529991,
0.033206675201654434,
0.037363506853580475,
-0.027551194652915,
0.01565040834248066,
0.023358946666121483,
-0.006910643540322781,
0.015013583935797215,
-0.026781007647514343,
0.015244461596012115,
-0.03312186896800995,
-0.0072726896032691,
-0.03206862509250641,
-0.05018339678645134,
-0.007369209546595812,
0.0445721335709095,
0.025353124365210533,
0.050881192088127136,
-0.027532115578651428,
0.01737293042242527,
0.02623792737722397,
0.019957732409238815,
-0.000691091816406697,
-0.035792574286460876,
0.0102330157533288,
-0.01990899071097374,
-0.05682888627052307,
0.040268659591674805,
0.016671178862452507,
-0.04903404042124748,
0.039029739797115326,
0.05031625181436539,
-0.010813985951244831,
0.005317583214491606,
0.029819224029779434,
0.010741963051259518,
-0.019960206001996994,
-0.028833817690610886,
-0.012448759749531746,
-0.03097161091864109,
-0.013139167800545692,
0.011490988545119762,
-0.05836649239063263,
-0.017104150727391243,
-0.01751413755118847,
-0.018173260614275932,
-0.015472617000341415,
0.009404118172824383,
-0.0536893792450428,
0.01417609490454197,
-0.0017789022531360388,
-0.002577353036031127,
-0.06849370151758194,
0.0628005787730217,
0.0068818326108157635,
-0.03909926861524582,
-0.023523082956671715,
-0.03021988272666931,
0.013731386512517929,
0.03362179920077324,
-0.001894310349598527,
0.07141823321580887,
-0.006367146503180265,
0.022565647959709167,
-0.047919441014528275,
0.025087207555770874,
-0.008710441179573536,
-0.05344404652714729,
-0.01838541403412819,
0.043935831636190414,
-0.01823567971587181,
-0.0273724514991045,
-0.006902440916746855,
-0.014142242260277271,
0.0033545808400958776,
-0.007681756280362606,
0.037948235869407654,
0.0325811393558979,
0.008880249224603176,
-0.018342381343245506,
0.019375964999198914,
0.04099130630493164,
0.016727346926927567,
0.0017549630720168352,
-0.007236299104988575,
-0.04763830453157425,
-0.032255321741104126,
-0.027373144403100014,
0.006133175455033779,
-0.0036369531881064177,
0.003133306046947837,
-0.02720620669424534,
0.017493627965450287,
0.08087441325187683,
0.014492345042526722,
0.007328691892325878,
-0.002485559554770589,
0.012306604534387589,
0.022371094673871994,
0.019326388835906982,
0.0059603010304272175,
0.03630523011088371,
0.0036276087630540133,
0.0036720491480082273,
0.011766511015594006,
0.014727763831615448,
-0.00029648278723470867,
0.023419519886374474,
-0.06622160226106644,
-0.006959454622119665,
0.06082336977124214,
-0.056252799928188324,
-0.06322105973958969,
0.03974195569753647,
0.07252661883831024,
0.05118114501237869,
-0.01569971814751625,
0.009228459559381008,
-0.07501286268234253,
0.028275789692997932,
0.022278595715761185,
0.02786347083747387,
0.030810805037617683,
-0.011220335960388184,
0.03819548711180687,
0.013084139674901962,
-0.0269008819013834,
0.034737907350063324,
-0.07996606081724167,
-0.07927738130092621,
0.007357317488640547,
-0.030175480991601944,
0.050386566668748856,
-0.06464618444442749,
0.01670357771217823,
0.06115853786468506,
0.01514395885169506,
0.056285396218299866,
0.025005731731653214,
0.01792178303003311,
0.010243268683552742,
-0.028116809204220772,
-0.04526709392666817,
0.06664896756410599,
0.02877073548734188,
0.006583201698958874,
-0.047477178275585175,
0.02752242051064968,
-0.008784064091742039,
-0.005469298455864191,
0.03630932793021202,
-0.0038400008343160152,
0.027265233919024467,
0.022082511335611343,
0.07192018628120422,
-0.04232564941048622,
0.05094857141375542,
-0.059774089604616165,
0.02706271782517433,
0.012516378425061703,
-0.034533482044935226,
0.027304381132125854,
-0.015123420394957066,
0.08893289417028427,
0.06140036880970001,
-0.0752643495798111,
-0.04533478990197182,
0.021551987156271935,
-0.000941894541028887,
-0.06889958679676056,
-0.0038204279262572527,
-0.016789143905043602,
0.028782835230231285,
0.0005493030184879899,
-0.05591529607772827,
-0.05584444850683212,
0.012041555717587471,
-0.04902854934334755,
0.023250123485922813,
0.035866204649209976,
-0.002327871508896351,
0.06145007535815239,
-0.028492650017142296,
-0.0055364565923810005,
-0.012218779884278774,
-0.01071128062903881,
-0.0397481732070446,
0.025602778419852257,
0.018614105880260468,
-0.016216928139328957,
0.03977736830711365,
-0.021006807684898376,
-0.017223428934812546,
-0.039527006447315216,
-0.033290792256593704,
-0.004277414176613092,
0.051901478320360184,
0.07336444407701492,
-0.003766306908801198,
0.0581856369972229,
0.014095085673034191,
0.028126174584031105,
-0.008057807572185993,
-0.0417102687060833,
-0.031158853322267532,
-0.03812938183546066,
-0.00022722494031768292,
0.02019450254738331,
0.02083015628159046,
0.00883493572473526,
0.023212336003780365,
0.010626658797264099,
-0.0002533240185584873,
-0.02475583739578724,
0.01968502625823021,
-0.007029884960502386,
-0.017603660002350807,
-0.008020339533686638,
0.007111453451216221,
0.05535067617893219,
-0.03134994953870773,
-0.02407391555607319,
0.02195722423493862,
-0.07453446835279465,
0.026479361578822136,
-0.0708962231874466,
-0.04328456521034241,
0.00235148542560637,
0.008313066326081753,
0.05869179591536522,
-0.011849227361381054,
0.016733424738049507,
0.056500144302845,
-0.010836836881935596,
0.024697192013263702,
-0.0033187654335051775,
-0.008184226229786873,
0.026776617392897606,
0.02241293154656887,
-0.01607687771320343,
0.038982290774583817,
-0.004390467423945665,
-0.003519403049722314,
-0.0610574372112751,
0.0484568290412426,
-0.06134210526943207,
-0.29496484994888306,
0.03869691118597984,
0.013804793357849121,
-0.017186665907502174,
0.018399721011519432,
-0.020608093589544296,
0.020643843337893486,
-0.0446767620742321,
-0.019279468804597855,
0.0008942382992245257,
-0.05130089446902275,
-0.04411594197154045,
-0.013386535458266735,
0.038137439638376236,
0.01163864228874445,
0.04697830229997635,
0.03229397162795067,
-0.0220860056579113,
0.03133922815322876,
0.06794001162052155,
-0.010418027639389038,
-0.06093592569231987,
0.01844082400202751,
0.02176632173359394,
0.048801615834236145,
0.04504235461354256,
-0.07572467625141144,
0.043803874403238297,
-0.05614480748772621,
-0.003408204996958375,
0.014996341429650784,
-0.0053607383742928505,
0.022369612008333206,
-0.021481869742274284,
0.010391524992883205,
-0.0006745745777152479,
0.034236207604408264,
0.020671876147389412,
0.00543740252032876,
0.008908442221581936,
-0.004798377864062786,
-0.03879835084080696,
0.011708846315741539,
0.033886779099702835,
0.0707196518778801,
0.0176080409437418,
-0.0758260115981102,
-0.022419940680265427,
0.003326850011944771,
0.0775734931230545,
-0.012039685621857643,
-0.018969153985381126,
-0.0387040451169014,
0.019771181046962738,
-0.03135042265057564,
-0.034644097089767456,
-0.011644823476672173,
-0.025467751547694206,
-0.027126921340823174,
-0.013992570340633392,
-0.010023243725299835,
-0.04037994146347046,
-0.026253893971443176,
-0.06482313573360443,
0.002207177923992276,
-0.04894590750336647,
-0.07629968225955963,
-0.02091514691710472,
0.05282100290060043,
0.00598236545920372,
-0.044947441667318344,
0.001440440653823316,
0.022706814110279083,
-0.1089305579662323,
-0.026554709300398827,
-0.01975134387612343,
-0.042575277388095856,
0.007332988083362579,
0.03382067382335663,
0.030355172231793404,
-0.021701514720916748,
-0.07172578573226929,
0.034408584237098694,
-0.005200274754315615,
0.03514900803565979,
-0.015280937775969505,
0.03019694797694683,
0.03650254011154175,
-0.03322127088904381,
0.02159840241074562,
0.046579960733652115,
-0.0015693751629441977,
-0.05892416462302208,
-0.014415621757507324,
0.03394751995801926,
0.004801313858479261,
0.0027463589794933796,
0.003006475744768977,
0.0007888685213401914,
0.004716130904853344,
-0.04262615740299225,
-0.05048128962516785,
0.01981293596327305,
-0.02841581217944622,
0.019843684509396553,
-0.006795356050133705,
-0.043891482055187225,
0.028693335130810738,
0.05297413095831871,
0.03261758014559746,
0.019527452066540718,
-0.01030891016125679,
-0.0005828100838698447,
-0.05617483705282211,
-0.03269670903682709,
-0.01870427094399929,
0.0008217837894335389,
0.04120501130819321,
0.008450211957097054,
-0.012796653434634209,
-0.054680537432432175,
0.006557125598192215,
-0.009550286456942558,
0.016328826546669006,
-0.04971523955464363,
0.00024670339189469814,
-0.029112758114933968,
-0.020856110379099846,
0.013519386760890484,
0.023840272799134254,
-0.029897572472691536,
0.023326890543103218,
0.04311923682689667,
-0.01248209923505783,
0.008671004325151443,
-0.008524247445166111,
-0.06326711922883987,
-0.0270735714584589,
-0.004858314525336027,
0.00505349924787879,
-0.019632311537861824,
0.03851111978292465,
0.006845100782811642,
0.03143635019659996,
0.03391878306865692,
0.014331662096083164,
0.0058009009808301926,
-0.03875915706157684,
0.03283035382628441,
0.019228067249059677,
0.005467445123940706,
-0.07150992006063461,
0.007956180721521378,
-0.030125340446829796,
-0.03311808034777641,
-0.028196869418025017,
0.03327115252614021,
-0.01637408696115017,
-0.024361593648791313,
-0.012431057170033455,
0.006777453701943159,
-0.06908439844846725,
-0.04024415463209152,
-0.023523708805441856,
0.03147419914603233,
0.055832844227552414,
-0.012353634461760521,
0.010056616738438606,
0.0018159366445615888,
-0.025068232789635658,
-0.00050061458023265,
0.011704307049512863,
-0.0514875091612339,
-0.002112420042976737,
0.008367844857275486,
0.017230285331606865,
0.00038858354673720896,
0.006743966601788998,
0.05009143799543381,
0.02177799493074417,
0.02430139295756817,
-0.02172555960714817,
-0.008752970956265926,
0.017516670748591423,
0.03893081098794937,
0.02609487809240818,
0.005444064736366272,
-0.007413368672132492,
-0.00823577493429184,
-0.02075139433145523,
-0.03560211881995201,
-0.0033780329395085573,
-0.01198488101363182,
0.006312165874987841,
-0.021209388971328735,
-0.07790417969226837,
0.0665348619222641,
0.04222918301820755,
0.012826476246118546,
0.005678538698703051,
-0.011690190993249416,
-0.016642922535538673,
-0.021517068147659302,
0.02846526727080345,
0.0531771145761013,
-0.05730503797531128,
-0.003236271208152175,
-0.00389156024903059,
0.006549135781824589,
-0.013802872970700264,
-0.022474247962236404,
-0.020289553329348564,
-0.03752581402659416,
-0.022777695208787918,
0.022418495267629623,
-0.05036536231637001,
-0.0293816439807415,
-0.03923476114869118,
0.03457089513540268,
0.000047244793677236885,
-0.013311397284269333,
-0.029203716665506363,
-0.038299091160297394,
0.0017987304599955678,
-0.026901621371507645,
0.014487819746136665,
-0.056450553238391876,
0.0015726076671853662,
0.01959981396794319,
-0.012967174872756004,
-0.009847595356404781,
-0.0455574169754982,
0.029183821752667427,
0.020100243389606476,
-0.024983614683151245,
-0.00034996046451851726,
-0.011043109931051731,
-0.012072987854480743,
-0.003938077483326197,
0.035389430820941925,
-0.011150693520903587,
-0.018839137628674507,
-0.007147651165723801,
0.00046433438546955585,
-0.04720059782266617,
0.021071620285511017,
-0.048420071601867676,
-0.009914998896420002,
-0.0038624799344688654,
0.06603717058897018,
0.027952220290899277,
0.04480258375406265,
0.00042616549762897193,
-0.022696804255247116,
0.038033436983823776,
-0.06130741164088249,
-0.043528962880373,
-0.03995576873421669,
-0.061949048191308975,
0.00878099724650383,
0.022641044110059738,
-0.0063821785151958466,
-0.03501572832465172,
0.04503243416547775,
0.016701193526387215,
0.046893030405044556,
0.05202869325876236,
0.003209072398021817,
0.030151428654789925,
-0.05944645032286644,
-0.0025035229045897722,
-0.07611807435750961,
-0.008025391027331352,
0.011132564395666122,
0.01607486791908741,
-0.0009645093814469874,
0.009906359016895294,
-0.020187877118587494,
0.041205085813999176,
-0.07424964755773544,
-0.005940332543104887,
0.05329040065407753,
0.007772945333272219,
-0.02051069214940071,
0.026456888765096664,
-0.09300156682729721,
0.022565657272934914,
0.00818035937845707,
-0.04988639056682587,
-0.013524212874472141,
-0.008034808561205864,
0.058661334216594696,
0.01582215540111065,
0.036492470651865005,
-0.05983034521341324,
0.003833831287920475,
0.08730895817279816,
0.015154079534113407,
-0.025092190131545067,
0.059801410883665085,
0.013660748489201069,
0.04147792235016823,
0.025531627237796783,
-0.002360134618356824,
-0.04124419018626213,
0.019212370738387108,
-0.0035205725580453873,
-0.06555560231208801,
0.04168134555220604,
0.01320891547948122,
-0.015304909087717533,
-0.02052503265440464,
0.0625438317656517,
0.02388707920908928,
-0.034791458398103714,
-0.05121900886297226,
-0.002620195969939232,
-0.059299614280462265,
0.0035302327014505863,
-0.020122366026043892,
-0.008971931412816048,
-0.0642399936914444,
0.05408775806427002,
-0.016367388889193535,
0.018589278683066368,
0.09304846823215485,
0.024018632248044014,
-0.02344507910311222,
0.00026399840135127306,
0.09980175644159317,
0.07647321373224258,
0.061687860637903214,
0.0037602351512759924,
0.06047854945063591,
-0.009842454455792904,
-0.026980606839060783,
0.010007886216044426,
-0.004661747254431248,
-0.027440672740340233,
-0.05017661303281784,
0.03948911279439926,
0.07679367810487747,
0.0019087670370936394,
0.0717310756444931,
-0.026821039617061615,
-0.021768104285001755,
0.01053249929100275,
0.040088195353746414,
0.032667338848114014,
0.06549932807683945,
0.01825994998216629,
0.001879032701253891,
-0.0046797883696854115,
-0.022352511063218117,
0.032654207199811935,
-0.05537882447242737,
-0.011691207066178322,
0.02107246406376362,
0.014490465633571148,
0.013423057273030281,
0.027538124471902847,
0.016502464190125465,
0.0576680451631546,
-0.039371293038129807,
0.03878641873598099,
-0.023714983835816383,
0.04473264142870903,
-0.022979149594902992,
0.023967914283275604,
-0.020448831841349602,
0.0001685490133240819,
-0.0030278731137514114,
-0.028881512582302094,
-0.04064790531992912,
-0.0031765219755470753,
-0.020727725699543953,
0.03203615918755531,
-0.033956777304410934,
0.04507836699485779,
0.03354053199291229,
0.011332153342664242,
-0.049761660397052765,
-0.06337220966815948,
-0.038995832204818726,
-0.0311921164393425,
-0.04286430776119232,
-0.0230190921574831,
0.04674874618649483,
-0.02159137651324272,
-0.0327596589922905,
0.004727023188024759,
-0.02824363298714161,
-0.0471227765083313,
0.017084738239645958,
-0.031910065561532974,
-0.00687540415674448,
0.007879011332988739,
0.013947300612926483,
0.03428547829389572,
0.0018671597354114056,
0.054448358714580536,
-0.023426011204719543,
0.018805477768182755,
-0.034689709544181824,
0.032215338200330734,
0.015294200740754604,
0.010390423238277435,
0.011560626327991486,
-0.0750318393111229,
0.016952311620116234,
0.012754108756780624,
-0.011389099061489105,
-0.07657232135534286,
0.04743320867419243,
0.011273112148046494,
-0.004080629907548428,
0.06269323080778122,
-0.024002110585570335,
0.024816302582621574,
-0.048278871923685074,
0.011879175901412964,
-0.013413271866738796,
0.012441529892385006,
0.03149080649018288,
-0.017676018178462982,
0.07383614778518677,
0.029018299654126167,
0.006224620621651411,
-0.02576705999672413,
0.022279709577560425,
-0.01109191682189703,
0.0035743811167776585,
-0.01513077225536108,
-0.03708928823471069,
-0.04469135031104088,
-0.07550694048404694,
-0.028845764696598053,
0.006279053166508675,
-0.025035500526428223,
-0.04986850172281265,
0.039150599390268326,
0.027334941551089287,
-0.035650432109832764,
0.012840323150157928,
-0.029220134019851685,
0.04250636324286461,
-0.03818182647228241,
-0.03139858692884445,
0.01150148268789053,
0.004873635247349739,
-0.009225617162883282,
-0.00559897581115365,
0.03885110095143318,
-0.057627227157354355,
0.015386060811579227,
0.015283441171050072,
0.024788329377770424,
0.04662935808300972,
0.008911202661693096,
-0.024987075477838516
] | [
-0.07539668679237366,
0.001330213388428092,
-0.0019311081850901246,
-0.016253087669610977,
0.036390893161296844,
-0.034840792417526245,
0.0035909833386540413,
0.00345974019728601,
-0.00168373913038522,
-0.034241873770952225,
0.00876153726130724,
0.008638985455036163,
0.0018400389235466719,
-0.0016820168821141124,
0.086622454226017,
0.005282745696604252,
-0.0146772600710392,
-0.1040235385298729,
-0.004391537047922611,
0.03558919578790665,
0.003342512995004654,
-0.019758589565753937,
-0.041197434067726135,
-0.00584580609574914,
0.029900163412094116,
0.014168343506753445,
0.028483165428042412,
-0.03446602821350098,
0.008245452307164669,
-0.1697448492050171,
-0.008275999687612057,
0.027521193027496338,
0.04563010856509209,
-0.00987525936216116,
0.030973050743341446,
0.06904219090938568,
-0.008070826530456543,
0.05380536988377571,
0.0012401221320033073,
0.0458211824297905,
0.03133366256952286,
0.030193578451871872,
-0.03661476820707321,
-0.03714656084775925,
-0.012180187739431858,
-0.006093686446547508,
-0.004884585738182068,
-0.025742707774043083,
-0.0532931312918663,
0.02623014710843563,
-0.05953192710876465,
-0.04609807953238487,
0.005643058102577925,
0.0109843909740448,
-0.009221071377396584,
0.016421006992459297,
0.04311950132250786,
0.061400823295116425,
0.012728862464427948,
0.034482553601264954,
-0.0006702236132696271,
-0.02064586989581585,
-0.15214864909648895,
0.09585391730070114,
0.039816565811634064,
0.04830296337604523,
-0.03530961275100708,
0.002567833522334695,
-0.01630561240017414,
0.07557456940412521,
-0.006641717161983252,
-0.014598831534385681,
-0.023729348555207253,
0.051918476819992065,
0.03404957056045532,
-0.0009693182655610144,
-0.0012387331807985902,
0.02549556829035282,
0.016659526154398918,
-0.041609473526477814,
-0.020049169659614563,
-0.029886556789278984,
-0.01084842998534441,
-0.009971720166504383,
-0.025742193683981895,
0.037082891911268234,
-0.027288448065519333,
0.06925781816244125,
0.03839445486664772,
0.028929777443408966,
0.038148876279592514,
0.009352299384772778,
0.012819883413612843,
-0.01710902713239193,
-0.07493657618761063,
-0.04936099424958229,
0.005433066748082638,
0.06815002113580704,
-0.06655611842870712,
0.44812870025634766,
-0.037099700421094894,
-0.0212960634380579,
0.0767001360654831,
0.05718068405985832,
-0.02891705557703972,
-0.010701601393520832,
0.008577767759561539,
-0.034506071358919144,
0.011242887005209923,
-0.0035927388817071915,
0.029684554785490036,
0.03855915367603302,
0.06701108068227768,
-0.05263211578130722,
0.02647971548140049,
0.034431781619787216,
0.059091582894325256,
0.017347190529108047,
-0.012878372333943844,
0.019800517708063126,
-0.028868604451417923,
0.02154620550572872,
-0.0038734532427042723,
-0.011334504932165146,
-0.046402815729379654,
-0.025096507743000984,
0.0320497527718544,
0.04978250712156296,
0.030493903905153275,
-0.02379463240504265,
0.06264910846948624,
-0.05142606422305107,
-0.04987051710486412,
-0.005631016567349434,
0.010990764014422894,
0.01529585849493742,
0.023443372920155525,
-0.026198415085673332,
-0.000877411977853626,
0.02308831363916397,
0.01869008131325245,
-0.015768587589263916,
0.014302166178822517,
-0.018295077607035637,
-0.026706669479608536,
0.1301126480102539,
0.0006343356799334288,
-0.03209129348397255,
0.0010128924623131752,
-0.06538849323987961,
-0.02338147722184658,
0.01799498125910759,
0.009113959036767483,
-0.052159540355205536,
0.06504110246896744,
-0.0016932900762185454,
0.11494353413581848,
0.004412624053657055,
-0.03938646614551544,
-0.007199772167950869,
-0.011065187864005566,
-0.021673649549484253,
-0.0478774756193161,
0.0354505330324173,
0.08761672675609589,
-0.09655054658651352,
-0.01918945275247097,
0.0007838880992494524,
0.03092995285987854,
-0.06457673013210297,
-0.00011835905024781823,
0.011748728342354298,
0.0019415721762925386,
-0.0005035659414716065,
0.08531483262777328,
-0.03497817739844322,
-0.026084281504154205,
0.03597792237997055,
0.06553129106760025,
0.026710834354162216,
0.0406673401594162,
-0.004875508137047291,
0.007904214784502983,
0.002038701670244336,
-0.02386079728603363,
-0.08515489101409912,
-0.034802842885255814,
0.005004833452403545,
-0.01818912662565708,
-0.021070877090096474,
-0.04429066553711891,
-0.059096015989780426,
-0.09353121370077133,
0.09119879454374313,
-0.023744186386466026,
-0.04718015715479851,
0.017371753230690956,
-0.02497519925236702,
-0.03390584886074066,
-0.011830952949821949,
-0.0408821739256382,
0.019245734438300133,
-0.01830834150314331,
0.03024270385503769,
-0.026775211095809937,
0.05938899144530296,
0.04297235980629921,
-0.04972054809331894,
0.07600198686122894,
0.06872003525495529,
-0.012065066024661064,
-0.03758813068270683,
0.07482384890317917,
0.016625527292490005,
0.015916194766759872,
-0.004010194446891546,
0.003917721565812826,
0.0337175652384758,
-0.0016492567956447601,
0.019626447930932045,
-0.02770346775650978,
0.011963910423219204,
0.013585442677140236,
-0.319901704788208,
-0.030256610363721848,
-0.027599574998021126,
-0.019540615379810333,
0.015700912103056908,
-0.03044556826353073,
-0.000023003525711828843,
-0.04043359309434891,
0.0069656819105148315,
-0.0008816300542093813,
0.07135570049285889,
-0.014137676917016506,
-0.0011524229776114225,
-0.07798132300376892,
0.023523055016994476,
0.004845160525292158,
-0.04546412453055382,
0.027010099962353706,
-0.0022950605489313602,
-0.018701566383242607,
0.0345400907099247,
0.005241419188678265,
-0.02291826903820038,
-0.051572974771261215,
-0.010511968284845352,
-0.047900740057229996,
0.09778551757335663,
-0.04378082975745201,
0.05562973394989967,
-0.043280549347400665,
0.019316278398036957,
-0.0011260852916166186,
0.03666701912879944,
-0.13970714807510376,
-0.00010165436106035486,
-0.03510839492082596,
0.03439567610621452,
-0.03288324549794197,
-0.001262485166080296,
-0.020561931654810905,
-0.045864708721637726,
0.009998602792620659,
-0.06147412955760956,
-0.027791844680905342,
-0.06927887350320816,
0.007403765805065632,
-0.04177044332027435,
-0.046305060386657715,
-0.04240648075938225,
0.038692452013492584,
-0.015795275568962097,
-0.04042540490627289,
0.00893545150756836,
0.00569425942376256,
0.0036638618912547827,
-0.05242373049259186,
-0.08708199858665466,
0.037877872586250305,
0.0019271832425147295,
-0.016762984916567802,
0.0012844171142205596,
0.05096036568284035,
0.045005761086940765,
-0.02814740315079689,
-0.013562003150582314,
0.03614959120750427,
-0.0020198861602693796,
0.024961762130260468,
-0.002113851485773921,
0.01782452128827572,
0.001840735087171197,
0.09637857228517532,
-0.003546325722709298,
-0.05131786689162254,
0.025587113574147224,
-0.0005984397139400244,
-0.023099159821867943,
0.04636574909090996,
0.017483798786997795,
-0.0047644032165408134,
0.019191663712263107,
-0.02575000189244747,
0.033660389482975006,
-0.01781228557229042,
-0.005441643763333559,
0.0303872749209404,
-0.004090760834515095,
-0.01839735358953476,
0.07779387384653091,
0.048867788165807724,
-0.01884673535823822,
-0.00037774108932353556,
-0.009634303860366344,
-0.03210365027189255,
0.08459862321615219,
-0.013836457394063473,
-0.24547278881072998,
0.013096275739371777,
0.06664682179689407,
0.009606575593352318,
-0.030821897089481354,
0.03993011265993118,
0.0064485264010727406,
-0.03267276659607887,
-0.0008964833104982972,
0.007025546859949827,
0.008553320541977882,
0.007368254475295544,
-0.006207041442394257,
-0.024978073313832283,
0.060922618955373764,
-0.010852642357349396,
0.03051554411649704,
0.004976863041520119,
0.03974318504333496,
-0.025690268725156784,
-0.007352285087108612,
-0.002602321095764637,
0.1494998037815094,
0.003608105005696416,
0.04838627949357033,
0.021909117698669434,
-0.0001763718028087169,
0.005141681060194969,
0.061942461878061295,
-0.007428134325891733,
0.01605435274541378,
-0.02042641118168831,
0.031478151679039,
0.007070132531225681,
-0.0024351247120648623,
-0.09586319327354431,
-0.03594380244612694,
0.06395330280065536,
0.01743265427649021,
-0.009614081121981144,
0.0312778502702713,
0.005596769042313099,
-0.0376102551817894,
0.018378667533397675,
0.0640115737915039,
-0.005939184222370386,
-0.04049289971590042,
-0.06701300293207169,
-0.029586371034383774,
-0.03253590688109398,
-0.042440976947546005,
-0.05814104527235031,
0.00979340635240078,
0.021316690370440483,
-0.009852354414761066,
0.06576474756002426,
0.01013924553990364,
-0.034993574023246765,
-0.0020588808692991734,
-0.0013019450707361102,
-0.02348257228732109,
-0.024579258635640144,
0.08641943335533142,
-0.0303011704236269,
0.024618826806545258
] | [
-0.013667911291122437,
0.008849788457155228,
0.010735586285591125,
0.0087535185739398,
-0.0030948775820434093,
0.012836634181439877,
0.0014316907618194818,
0.0032025340478867292,
-0.011164015159010887,
-0.023185409605503082,
-0.01934916339814663,
0.0025832578539848328,
-0.048871077597141266,
0.014626548625528812,
0.038093626499176025,
0.0018988031661137938,
0.016257818788290024,
-0.006674846168607473,
0.027016369625926018,
0.01931951567530632,
-0.023888735100626945,
-0.0006677471683360636,
-0.010186553932726383,
-0.012702791951596737,
0.01131974533200264,
0.020024314522743225,
0.019619416445493698,
-0.00942370854318142,
0.03520205244421959,
-0.136678546667099,
-0.004731359891593456,
0.004088761750608683,
-0.01789758913218975,
0.025475462898612022,
0.01335178129374981,
-0.011302433907985687,
0.0016268427716568112,
0.024403836578130722,
0.016777396202087402,
-0.015145089477300644,
0.02219139225780964,
-0.006882937625050545,
0.026739710941910744,
0.012896021828055382,
-0.016749832779169083,
0.005934782326221466,
-0.004679236561059952,
-0.0040559787303209305,
-0.038234397768974304,
-0.004797192756086588,
-0.012689150869846344,
0.007224679458886385,
-0.03132862225174904,
0.016546109691262245,
0.013666066341102123,
-0.004565311595797539,
0.026726463809609413,
0.00818066205829382,
0.021943500265479088,
0.017966099083423615,
0.012915226630866528,
0.02947654016315937,
-0.046550605446100235,
-0.031857267022132874,
-0.02580632083117962,
0.0009154056315310299,
-0.014954689890146255,
0.015703359618782997,
-0.026116151362657547,
0.030057918280363083,
-0.03414415195584297,
0.012333665043115616,
-0.02843029610812664,
-0.0342743843793869,
-0.0004215117369312793,
-0.012040696106851101,
-0.005837249103933573,
-0.025534451007843018,
-0.002188712591305375,
0.01283381599932909,
-0.01862723007798195,
0.028841594234108925,
0.014436827041208744,
0.020940734073519707,
-0.025282280519604683,
0.0001848958490882069,
0.05590522661805153,
0.024070842191576958,
0.03660818189382553,
-0.02806393802165985,
-0.008530075661838055,
0.026854075491428375,
-0.014705453999340534,
0.021660571917891502,
-0.1049865260720253,
-0.0429898165166378,
-0.02415737695991993,
0.0012999033788219094,
-0.003957152832299471,
0.8537053465843201,
-0.017395436763763428,
0.017738113179802895,
0.03739611804485321,
0.009379061870276928,
-0.02356293983757496,
-0.016998937353491783,
0.0005716325831599534,
-0.013621549122035503,
-0.006498910021036863,
-0.04196988418698311,
-0.0060936035588383675,
0.02998513914644718,
0.010089058429002762,
0.0015484484611079097,
0.03134758025407791,
0.0015091343084350228,
0.030755164101719856,
0.01317044347524643,
-0.032270196825265884,
0.004637798294425011,
0.025659603998064995,
0.021510722115635872,
0.025611454620957375,
-0.004616547375917435,
-0.014533891342580318,
-0.16325829923152924,
0.004129651468247175,
-7.597485944961318e-33,
0.03093644604086876,
-0.017055770382285118,
0.012532281689345837,
-0.010173839516937733,
-0.01138252578675747,
-0.0358855314552784,
0.007819049060344696,
0.013042676262557507,
-0.00899732206016779,
-0.04573652148246765,
0.015498466789722443,
-0.015067348256707191,
0.00806315615773201,
-0.02783014439046383,
0.0375419557094574,
-0.03517906740307808,
-0.006868613418191671,
0.032605528831481934,
-0.007846537977457047,
0.024928949773311615,
-0.019556188955903053,
0.001958151813596487,
-0.0013042544014751911,
0.0129881976172328,
0.009569142013788223,
-0.0008531339699402452,
0.03841293230652809,
0.013485915958881378,
0.012574810534715652,
-0.05642523244023323,
0.017507463693618774,
0.0004942802479490638,
-0.013929501175880432,
0.0002468402381055057,
0.006127603817731142,
-0.010183212347328663,
-0.005174127873033285,
0.008354507386684418,
-0.014813665300607681,
-0.05883479118347168,
-0.044877421110868454,
0.003592907451093197,
-0.0353815071284771,
-0.03347516059875488,
0.012550272978842258,
-0.01922323741018772,
0.017026197165250778,
-0.001699737156741321,
-0.00115416687913239,
-0.00561556126922369,
0.00712600676342845,
0.013807650655508041,
-0.019557243213057518,
0.004484698176383972,
0.00012578930181916803,
-0.004244491457939148,
0.007754981052130461,
0.017813103273510933,
0.020649582147598267,
0.03393479064106941,
0.007536939345300198,
-0.06136711314320564,
-0.037162523716688156,
0.01936265639960766,
-0.027138324454426765,
-0.004146993160247803,
0.019509878009557724,
-0.01442852895706892,
0.012265686877071857,
-0.008817048743367195,
-0.04710360988974571,
-0.013270702213048935,
0.012007273733615875,
0.02364794723689556,
0.010455625131726265,
0.03139147162437439,
0.005560874938964844,
0.02557222917675972,
-0.00018176657613366842,
0.03149819001555443,
0.011315125972032547,
0.022250792011618614,
0.019837191328406334,
-0.07404918968677521,
0.010146979242563248,
-0.006568089127540588,
0.017415016889572144,
-0.03429386392235756,
-0.032557375729084015,
0.042159952223300934,
-0.0008331963908858597,
-0.014443406835198402,
0.018999695777893066,
-0.01035049557685852,
-0.01481136865913868,
7.567748876621391e-33,
0.002279415028169751,
-0.05861195549368858,
-0.043919552117586136,
-0.005762762390077114,
0.007437091786414385,
0.009065519087016582,
0.029646610841155052,
0.006298881955444813,
-0.05624460056424141,
0.033903274685144424,
-0.01498672366142273,
-0.002523791277781129,
-0.01790895126760006,
0.036266718059778214,
0.04801055043935776,
-0.029171768575906754,
0.04226425662636757,
0.00003888980427291244,
0.0023185645695775747,
0.03749518468976021,
0.00883551687002182,
0.005003080703318119,
0.01208745501935482,
-0.006944434251636267,
0.04079875722527504,
0.07750721275806427,
-0.008463026955723763,
0.015755996108055115,
0.009757736697793007,
-0.025998307392001152,
0.0018301507225260139,
0.0016758256824687123,
-0.011287868022918701,
0.013018657453358173,
-0.018525484949350357,
0.03907892853021622,
-0.014735372737050056,
-0.02453797310590744,
-0.000057895500503946096,
0.010877596214413643,
-0.007450946606695652,
0.04081200808286667,
0.012797935865819454,
-0.013070128858089447,
0.006563459988683462,
0.018214939162135124,
-0.025868112221360207,
0.013608136214315891,
-0.058770354837179184,
-0.01594194956123829,
0.0041660284623503685,
0.02505818009376526,
-0.0034146220423281193,
-0.014925150200724602,
-0.008403808809816837,
-0.019353223964571953,
-0.01744932122528553,
-0.01885712891817093,
-0.019667569547891617,
0.021364370360970497,
-0.009970461018383503,
-0.00882609374821186,
-0.007320993114262819,
-0.02113785780966282,
-0.015041328966617584,
0.004694484639912844,
0.023049868643283844,
-0.0032882620580494404,
0.011630523949861526,
-0.01757168211042881,
-0.006850189529359341,
0.017747821286320686,
-0.016552872955799103,
0.03595926612615585,
0.00903470627963543,
-0.027544710785150528,
-0.03011443093419075,
0.005710219498723745,
0.0019226708682253957,
0.020861875265836716,
0.016159676015377045,
0.014826656319200993,
0.005465860012918711,
-0.020942358300089836,
-0.004912768956273794,
0.042746856808662415,
-0.02048616297543049,
0.023090647533535957,
0.02840575762093067,
0.0018902847077697515,
0.00975941214710474,
-0.0023298640735447407,
-0.01151333749294281,
0.03078664466738701,
0.009700062684714794,
-1.3275334609375022e-8,
-0.010951248928904533,
-0.0070811668410897255,
-0.0035970311146229506,
-0.015387310646474361,
0.002789916703477502,
-0.036174628883600235,
-0.0017038016812875867,
0.01940728910267353,
0.011882921680808067,
0.03742409497499466,
0.060837432742118835,
-0.08125290274620056,
-0.0162593275308609,
0.04652088135480881,
0.006988033652305603,
-0.06070356070995331,
0.00295310583896935,
-0.009477037936449051,
0.03327837586402893,
0.016079027205705643,
0.04534215107560158,
0.04485437646508217,
-0.01670561358332634,
0.017959557473659515,
0.012621389701962471,
0.005902451928704977,
-0.027379309758543968,
-0.06315137445926666,
0.013182105496525764,
0.02982279099524021,
0.028225021436810493,
-0.00921169389039278,
-0.03903994336724281,
-0.01713194139301777,
-0.0500088594853878,
-0.04328768700361252,
0.053727928549051285,
-0.024035215377807617,
0.00452881446108222,
0.018700994551181793,
0.008820646442472935,
-0.017787829041481018,
-0.007296816911548376,
-0.021615106612443924,
-0.009436791762709618,
0.03132139891386032,
-0.017591310665011406,
-0.04210007190704346,
-0.0061874669045209885,
-0.052238646894693375,
0.00582130067050457,
-0.013528460636734962,
0.02037966437637806,
0.024095039814710617,
-0.018007829785346985,
0.005281827878206968,
-0.009204119443893433,
-0.0020540491677820683,
-0.024187181144952774,
0.0017968383617699146,
-0.0013697176473215222,
0.02789805829524994,
-0.03449670597910881,
-0.005279280245304108
] | india-cultural-differences-stretched-work-day | https://markhneedham.com/blog/2010/12/20/india-cultural-differences-stretched-work-day |
false | 2010-12-20 08:58:35 | Distributed Agile: Bringing onshore people offshore | [
"distributed-agile-2"
] | [
"Distributed Agile"
] | For the last two weeks we've had a ThoughtWorks colleague from the onshore team working with us in Pune and it's been really cool having someone who has been working on 'the other side'.
In my time in India there seem to have been many more people going from offshore to onshore than the other way around but based on this experience I don't think that should necessarily be the case.
The typical argument in favour of someone from offshore going on site is that they're able to interact with the client and onshore people and pick up any required context which they'll then be able to share with their colleagues offshore.
The impact of those trips is perceived to be higher than what would be achieved by having someone do the reverse trip.
Having seen the interactions my US colleague was able to have with people has made me realise that perhaps that perception isn't as true as it seems.
A big part of the success of distributed projects seems to be about the ability for the two sides to communicate effectively and having someone who interacts daily with people that we only know by phone/email is very helpful.
My colleague was able to provide context about our client and what they're trying to do in a way that I don't think someone going onshore for a couple of weeks would be able to do.
Sometimes it's felt like we're just building something because we were told to do so and my colleague has been able to explain the underlying thinking and what we're trying to do with the system.
I think he's also found it a pretty useful experience in terms of learning about the strengths and weaknesses of the team and what the real pain points are.
Everyone offshore now knows one person onshore personally which should be useful for any future interactions. | null | null | [
0.01885375566780567,
-0.020338404923677444,
0.01112538855522871,
0.029017891734838486,
0.08297839760780334,
0.002529790624976158,
-0.0005644856137223542,
0.05230305343866348,
0.016741814091801643,
-0.019436877220869064,
-0.023017477244138718,
0.018817370757460594,
-0.05075951665639877,
0.023687424138188362,
0.004836698994040489,
0.07944151759147644,
0.051424991339445114,
0.0026512115728110075,
0.0020272741094231606,
0.00046394183300435543,
0.03562155365943909,
0.06016908586025238,
0.03583306819200516,
0.033731795847415924,
0.04522868990898132,
-0.00765598239377141,
0.026009270921349525,
-0.010186267085373402,
-0.03987510874867439,
-0.02608274109661579,
0.03871769830584526,
-0.00987163558602333,
-0.011971451342105865,
0.021167844533920288,
0.019394397735595703,
-0.018342580646276474,
-0.015643510967493057,
0.019886068999767303,
-0.0027169506065547466,
0.005501340143382549,
-0.06865701824426651,
0.029850760474801064,
-0.009721036069095135,
0.0180423092097044,
-0.04485848918557167,
0.010967027395963669,
-0.03927077353000641,
0.023381400853395462,
0.009617251344025135,
0.003787018358707428,
-0.07482882589101791,
0.03639514744281769,
-0.005977034568786621,
0.012993880547583103,
0.016462577506899834,
0.03876378387212753,
-0.0040111057460308075,
-0.06177130341529846,
0.016685739159584045,
-0.057333189994096756,
-0.007768950425088406,
-0.016482124105095863,
0.002053795149549842,
0.02602577582001686,
0.046671122312545776,
-0.018981602042913437,
0.02378072962164879,
0.015085218474268913,
-0.014244439080357552,
0.016054442152380943,
-0.012218184769153595,
-0.02670338563621044,
-0.014941933564841747,
0.00408581318333745,
-0.019215496256947517,
-0.029679959639906883,
0.0038850281853228807,
0.05382376164197922,
0.017047500237822533,
0.048406220972537994,
-0.027067696675658226,
-0.007295294664800167,
-0.004669680260121822,
0.025990307331085205,
0.017386268824338913,
-0.05910759046673775,
0.025515465065836906,
-0.010555769316852093,
-0.08436384797096252,
0.05551256611943245,
0.02843979187309742,
-0.040432434529066086,
0.032180849462747574,
0.03820767253637314,
0.00467577762901783,
0.01906212791800499,
0.029045557603240013,
0.009810326620936394,
0.0020092951599508524,
-0.022672530263662338,
-0.016728617250919342,
-0.0036772775929421186,
-0.023434026166796684,
0.013076678849756718,
-0.06348315626382828,
0.007188782561570406,
0.0037810029461979866,
-0.01300076488405466,
-0.030263381078839302,
0.014692522585391998,
-0.0432158038020134,
0.025232037529349327,
0.002650866750627756,
0.02205556444823742,
-0.0702686756849289,
0.06063956767320633,
0.015434191562235355,
-0.03631081432104111,
-0.0376877598464489,
-0.0259532667696476,
0.04465106502175331,
0.028181167319417,
-0.020098043605685234,
0.06250928342342377,
0.007571919355541468,
0.002259668428450823,
-0.06762266904115677,
0.06279052048921585,
0.005556099116802216,
-0.0712110623717308,
0.003803796600550413,
0.058434706181287766,
-0.033185191452503204,
0.018619146198034286,
-0.020273834466934204,
-0.046385057270526886,
0.008685722015798092,
-0.012041023001074791,
0.03316204994916916,
0.040418822318315506,
-0.0008634455152787268,
-0.034268591552972794,
0.018244929611682892,
0.02554365247488022,
0.02588641084730625,
0.0028015989810228348,
0.004905064590275288,
-0.03940044343471527,
-0.03598054498434067,
-0.02595219388604164,
-0.0017910001333802938,
0.0009582018828950822,
0.017541848123073578,
-0.037482596933841705,
0.024385318160057068,
0.08905121684074402,
0.07068312913179398,
-0.008060970343649387,
-0.022125711664557457,
0.002997322240844369,
0.0213222224265337,
0.02096549980342388,
0.022294146940112114,
0.027855537831783295,
0.019761819392442703,
-0.013909938745200634,
-0.0015659215860068798,
0.02223912999033928,
0.011014682240784168,
0.029842142015695572,
-0.0718596875667572,
-0.04491914436221123,
0.05906616896390915,
-0.03841770440340042,
-0.0306202732026577,
0.04259028285741806,
0.06710661202669144,
0.035962630063295364,
0.01891024224460125,
-0.0027928913477808237,
-0.07440406084060669,
0.04262735694646835,
0.003973565995693207,
0.02018752507865429,
0.046027619391679764,
-0.01893533207476139,
0.035246748477220535,
0.030902022495865822,
-0.022368881851434708,
0.06493808329105377,
-0.06214196979999542,
-0.08806125074625015,
-0.021680191159248352,
-0.013289534486830235,
0.027224713936448097,
-0.039072975516319275,
0.006074397824704647,
0.08548788726329803,
0.03243662789463997,
0.040247660130262375,
0.027029771357774734,
0.018143726512789726,
0.011936379596590996,
-0.02795112505555153,
-0.07277484238147736,
0.09064329415559769,
0.031215742230415344,
0.015142139047384262,
-0.029162002727389336,
0.03519837558269501,
-0.0240840632468462,
-0.02341594733297825,
0.04637253284454346,
-0.018799426034092903,
0.03134947270154953,
-0.007567881606519222,
0.040753208100795746,
-0.04359832778573036,
0.036348339170217514,
-0.029934363439679146,
0.02966274693608284,
0.0197933129966259,
-0.005820463877171278,
0.024902978911995888,
-0.012970401905477047,
0.11404060572385788,
0.04761742800474167,
-0.042987339198589325,
-0.06394772976636887,
0.04969009757041931,
0.023370862007141113,
-0.043888531625270844,
0.008167455904185772,
-0.025871919468045235,
0.026458539068698883,
0.027556637302041054,
-0.0491739846765995,
-0.029973724856972694,
0.023484455421566963,
-0.04107450693845749,
-0.0046916743740439415,
0.0483560711145401,
-0.020266080275177956,
0.07792557775974274,
-0.0101231150329113,
-0.0009054883266799152,
0.002879108302295208,
-0.03527580946683884,
-0.039645131677389145,
0.016755064949393272,
0.029558030888438225,
-0.014296951703727245,
0.035920530557632446,
-0.01612802967429161,
-0.0010433354182168841,
-0.048269763588905334,
-0.02854197658598423,
0.017773160710930824,
0.04688962921500206,
0.05156856030225754,
-0.029315883293747902,
0.07501264661550522,
-0.010412562638521194,
0.04695121571421623,
0.0022734240628778934,
-0.03426416590809822,
-0.03400646150112152,
-0.030645733699202538,
0.004114188253879547,
0.015653369948267937,
0.03313051909208298,
-0.01862180046737194,
0.009458370506763458,
0.015168080106377602,
-0.00896044634282589,
-0.0023544374853372574,
-0.00025298225227743387,
-0.01812859997153282,
0.01402093656361103,
-0.024643119424581528,
-0.010009326040744781,
0.048095107078552246,
-0.03836703300476074,
-0.020585425198078156,
0.048300743103027344,
-0.0913948118686676,
0.000378538592485711,
-0.06982078403234482,
-0.054027341306209564,
-0.012803279794752598,
0.02624206244945526,
0.02829820103943348,
0.050408076494932175,
0.005028265994042158,
0.06331076472997665,
0.013892794027924538,
0.016173046082258224,
0.016909239813685417,
-0.015039229765534401,
0.04099186882376671,
0.015460471622645855,
-0.022443149238824844,
0.02192990481853485,
-0.02808419242501259,
-0.0031214056070894003,
-0.046210985630750656,
0.04583842679858208,
-0.04835960268974304,
-0.3052292764186859,
0.03821922093629837,
0.024362174794077873,
-0.025668002665042877,
0.019503066316246986,
-0.0404604896903038,
0.03768453001976013,
-0.04413063824176788,
-0.0247702207416296,
-0.003044971963390708,
-0.028279751539230347,
-0.05619337782263756,
-0.005588451400399208,
0.042930085211992264,
-0.00027437423705123365,
0.04505559429526329,
0.02767844870686531,
-0.04434772953391075,
0.03090979903936386,
0.037065546959638596,
-0.04229222238063812,
-0.07463660091161728,
-0.012501686811447144,
0.03327396512031555,
0.057629697024822235,
0.05332345888018608,
-0.07307374477386475,
0.0330086387693882,
-0.05701833218336105,
-0.008896655403077602,
-0.01831946149468422,
0.0011086856247857213,
0.02652919292449951,
-0.013194287195801735,
-0.0037112070713192225,
-0.025807082653045654,
0.04138818010687828,
0.0062575736083090305,
0.005249065812677145,
-0.021245986223220825,
-0.05348479375243187,
-0.034291304647922516,
-0.003958568908274174,
0.012974835000932217,
0.06538413465023041,
-0.011620315723121166,
-0.07545673847198486,
-0.0038756118156015873,
-0.01620003581047058,
0.07908041030168533,
-0.04508734866976738,
-0.017021041363477707,
-0.03499137982726097,
0.021741485223174095,
-0.03330527991056442,
-0.013929016888141632,
-0.04249752312898636,
-0.031486861407756805,
-0.0663624033331871,
-0.03120313212275505,
-0.0021664747036993504,
-0.023082761093974113,
-0.026558659970760345,
-0.04870671033859253,
-0.009207558818161488,
-0.03693656250834465,
-0.07102224230766296,
-0.03481754660606384,
0.06260530650615692,
-0.026370203122496605,
-0.039915986359119415,
0.02028038538992405,
0.0003417432599235326,
-0.09898561239242554,
-0.019246483221650124,
-0.011543811298906803,
-0.01949175074696541,
-0.005752561613917351,
0.034608904272317886,
0.0171338077634573,
0.000013432029845716897,
-0.048596885055303574,
0.007448806893080473,
0.004164235666394234,
0.022204935550689697,
-0.01788971945643425,
0.05360795930027962,
0.03803307190537453,
-0.05107581242918968,
0.010978270322084427,
0.0608733668923378,
0.010316941887140274,
-0.03132634609937668,
-0.007649514824151993,
0.026808785274624825,
0.010862025432288647,
-0.012536066584289074,
-0.02682049199938774,
-0.0037801021244376898,
-0.005436648614704609,
-0.004784471821039915,
-0.04217654466629028,
0.001350820530205965,
-0.013065885752439499,
0.0004154573834966868,
-0.0029026654083281755,
-0.03850110247731209,
0.041386835277080536,
0.01998905837535858,
0.024180345237255096,
0.028202872723340988,
-0.015593870542943478,
0.021672604605555534,
-0.035279884934425354,
-0.0207667239010334,
-0.0022946507669985294,
-0.006803938653320074,
0.05763072520494461,
0.028136296197772026,
-0.014159736223518848,
-0.014104358851909637,
0.009751112200319767,
-0.007547692861407995,
0.010246613062918186,
-0.0705210343003273,
-0.010509860701858997,
-0.023716866970062256,
-0.012647770345211029,
-0.017097873613238335,
0.03034854680299759,
-0.026052789762616158,
0.027369016781449318,
0.05146105960011482,
-0.01673506386578083,
0.02556866593658924,
-0.028429273515939713,
-0.07715777307748795,
-0.032690901309251785,
0.008396396413445473,
0.029798628762364388,
-0.03156914561986923,
0.03830535337328911,
-0.002071298426017165,
0.018022406846284866,
0.04563991725444794,
0.004943248350173235,
-0.016820784658193588,
-0.028693094849586487,
0.03023945540189743,
0.014882504940032959,
0.007091807201504707,
-0.06302014738321304,
0.003995534963905811,
-0.03191640228033066,
-0.019830651581287384,
-0.0294599998742342,
0.03224968537688255,
-0.018864646553993225,
-0.03783848509192467,
-0.01840791665017605,
0.024498717859387398,
-0.07216446101665497,
-0.03219379112124443,
-0.016490034759044647,
0.03872834891080856,
0.04917173087596893,
-0.03027619794011116,
0.009476231411099434,
-0.002638393547385931,
-0.0003799139230977744,
0.015572834759950638,
0.019135575741529465,
-0.0539228692650795,
-0.01783156208693981,
-0.001395628903992474,
0.03033357858657837,
-0.02273114025592804,
-0.004808696918189526,
0.05381370708346367,
0.0032080519013106823,
0.0013025609077885747,
-0.014033094048500061,
-0.008617534302175045,
0.02735270746052265,
0.06455961614847183,
0.02914263866841793,
-0.01144450344145298,
-0.010420692153275013,
-0.006249535828828812,
-0.022192345932126045,
-0.051287006586790085,
0.015448428690433502,
-0.01850339211523533,
0.030247516930103302,
-0.03522177413105965,
-0.07743634283542633,
0.058865588158369064,
0.024883253499865532,
-0.018853701651096344,
0.020573517307639122,
-0.02178676798939705,
-0.006652127485722303,
-0.01546309981495142,
0.036385681480169296,
0.03757593408226967,
-0.05679188668727875,
0.006180735770612955,
-0.008896589279174805,
-0.003582702251151204,
0.01234877947717905,
-0.030980437994003296,
-0.019318439066410065,
-0.02407858893275261,
-0.012829241342842579,
0.029197879135608673,
-0.07015065103769302,
-0.03635900467634201,
-0.03245984762907028,
0.025783497840166092,
0.009850606322288513,
-0.013575981371104717,
-0.034151867032051086,
-0.02963252179324627,
-0.02349940873682499,
-0.03570820763707161,
0.04102484881877899,
-0.0396413691341877,
-0.002952687442302704,
0.011321550235152245,
-0.023989491164684296,
-0.02910601906478405,
-0.04168114811182022,
0.02072381228208542,
0.016314540058374405,
-0.0308361928910017,
0.006458226591348648,
-0.018904758617281914,
-0.018903667107224464,
0.004379310645163059,
0.028747761622071266,
-0.015325694344937801,
-0.02664501965045929,
-0.02475784718990326,
-0.025396114215254784,
-0.05016244947910309,
0.01848643831908703,
-0.027076929807662964,
0.0031073144637048244,
0.008574537932872772,
0.05308868736028671,
0.02055804617702961,
0.02804042398929596,
-0.012550811283290386,
-0.017815204337239265,
0.0431707389652729,
-0.04657013341784477,
-0.04151109233498573,
-0.038479678332805634,
-0.059014786034822464,
0.004593140911310911,
0.01670069247484207,
0.007108180318027735,
-0.04029100015759468,
0.03475229814648628,
0.03294968977570534,
0.014416573569178581,
0.03455847129225731,
0.0079051423817873,
0.03774773329496384,
-0.04451945424079895,
-0.009371253661811352,
-0.06644607335329056,
0.003199838800355792,
0.018099956214427948,
-0.000592206371948123,
0.0051553500816226006,
0.005158096551895142,
-0.044106099754571915,
0.060316052287817,
-0.08360674977302551,
-0.023746738210320473,
0.041830796748399734,
0.010155360214412212,
-0.02235063537955284,
-0.012713869102299213,
-0.07955623418092728,
0.022129001095891,
0.015102905221283436,
-0.03798113390803337,
-0.009978443384170532,
-0.01592453010380268,
0.03719031438231468,
0.0035453136079013348,
0.0330129973590374,
-0.0408608578145504,
-0.014086793176829815,
0.07107304781675339,
0.02986321784555912,
-0.019339652732014656,
0.06139662489295006,
-0.01065968070179224,
0.03861686959862709,
0.007732774131000042,
-0.016648568212985992,
-0.02121301367878914,
0.03680212050676346,
-0.012716136872768402,
-0.0637832060456276,
0.060521844774484634,
0.00022903356875758618,
-0.016961172223091125,
-0.05498400703072548,
0.04458152875304222,
0.017558299005031586,
-0.02009996585547924,
-0.05710257217288017,
0.018681859597563744,
-0.039919037371873856,
-0.013651357032358646,
-0.010866011492908001,
-0.02040078677237034,
-0.03389231860637665,
0.03567272424697876,
-0.0034504958894103765,
0.02557997778058052,
0.07391273230314255,
-0.005340751260519028,
-0.026100769639015198,
0.004405050538480282,
0.09759446978569031,
0.04795360192656517,
0.06647452712059021,
0.010268754325807095,
0.06543678790330887,
0.004494319204241037,
-0.03967815265059471,
0.0031050152610987425,
-0.010803882963955402,
-0.015530383214354515,
-0.004700119141489267,
0.03147675096988678,
0.06174226850271225,
0.008548193611204624,
0.05148275941610336,
0.00003226293119951151,
-0.0026951588224619627,
0.011925219558179379,
0.03852616623044014,
0.02206144481897354,
0.07114339619874954,
0.03751957044005394,
0.015749778598546982,
0.004551399499177933,
-0.05968941003084183,
0.02362845279276371,
-0.03535907343029976,
-0.052810799330472946,
0.03256301209330559,
-0.00038040889194235206,
0.02347773127257824,
0.030930718407034874,
0.02833871729671955,
0.07248194515705109,
-0.03502706065773964,
0.009472816251218319,
-0.02060863748192787,
0.047248609364032745,
-0.016036398708820343,
0.029873836785554886,
0.013577227480709553,
0.0063892691396176815,
-0.008739901706576347,
-0.03144950792193413,
-0.03656062111258507,
-0.01349710300564766,
-0.0068621449172496796,
0.021777402609586716,
-0.0417148731648922,
0.027066783979535103,
0.037244055420160294,
0.005410532001405954,
-0.03155442327260971,
-0.06321103125810623,
-0.022911230102181435,
-0.03958236426115036,
-0.04119983687996864,
-0.022795772179961205,
0.014469265937805176,
-0.024030355736613274,
-0.015656262636184692,
-0.003649916732683778,
-0.014905632473528385,
-0.04996310919523239,
0.06376524269580841,
-0.050958890467882156,
-0.009393065236508846,
0.016442134976387024,
0.03459692373871803,
0.01480830367654562,
-0.014161938801407814,
0.04374391958117485,
-0.011293879710137844,
0.011102654971182346,
-0.010752280242741108,
0.03626568987965584,
0.020309463143348694,
-0.01152761559933424,
-0.0042629120871424675,
-0.08090061694383621,
0.0026428597047924995,
0.017146507278084755,
0.010972168296575546,
-0.07015322893857956,
0.026463618502020836,
0.0332760252058506,
0.01083117164671421,
0.06022711843252182,
-0.00605284608900547,
0.013525858521461487,
-0.03170441836118698,
-0.0019129369175061584,
-0.005897312890738249,
-0.0014781055506318808,
0.04110894724726677,
-0.014761276543140411,
0.08207808434963226,
0.04384874552488327,
-0.009366437792778015,
-0.024272125214338303,
-0.0016418623272329569,
0.02109290286898613,
-0.012206900864839554,
-0.02934003248810768,
-0.01030754018574953,
-0.016389628872275352,
-0.0829218178987503,
-0.042359527200460434,
-0.0033890241757035255,
-0.01223347894847393,
-0.03372101113200188,
0.02794262394309044,
0.01578456349670887,
-0.015707237645983696,
0.00255441851913929,
-0.05866556987166405,
0.019794711843132973,
-0.012206816114485264,
-0.008159070275723934,
-0.012948147021234035,
0.027818623930215836,
0.014019991271197796,
-0.01819913275539875,
0.04331470653414726,
-0.03992462158203125,
0.0253041610121727,
-0.016865093261003494,
0.016899768263101578,
0.0477091446518898,
0.00047638220712542534,
-0.024737251922488213
] | [
-0.05862932279706001,
0.0006750961183570325,
-0.03607643023133278,
-0.03797903656959534,
0.02128002420067787,
-0.04881042614579201,
0.008167226798832417,
0.011568835936486721,
-0.02861444093286991,
-0.03868666663765907,
0.002201445633545518,
-0.021624621003866196,
-0.003975978586822748,
-0.011501527391374111,
0.07309625297784805,
0.01602213643491268,
-0.0019190995953977108,
-0.09987614303827286,
0.013318823650479317,
0.050665970891714096,
-0.012084444053471088,
-0.04599349573254585,
-0.03905545547604561,
-0.012561679817736149,
0.006705778650939465,
0.006246001925319433,
0.04421871155500412,
-0.0036814005579799414,
0.007450818084180355,
-0.14586763083934784,
0.02282327599823475,
0.009328698739409447,
0.0006098058074712753,
0.011256604455411434,
0.004539271350950003,
0.06636911630630493,
0.004785079974681139,
0.013423989526927471,
0.008948625065386295,
0.03163864091038704,
0.015834670513868332,
0.02141846902668476,
-0.013313713483512402,
-0.025121336802840233,
0.02197341062128544,
0.002302020788192749,
0.0074592395685613155,
-0.01499838475137949,
-0.02868518978357315,
-0.0025557109620422125,
-0.03969118371605873,
-0.03402426466345787,
-0.014871601946651936,
-0.037866611033678055,
-0.025413047522306442,
0.03324015066027641,
0.02931075543165207,
0.05623320862650871,
-0.005409506615251303,
0.026421496644616127,
0.032825615257024765,
-0.009551587514579296,
-0.17025206983089447,
0.08510962128639221,
0.04116202890872955,
0.042109716683626175,
-0.031491030007600784,
0.006764496210962534,
-0.028816258534789085,
0.06016704440116882,
0.027927828952670097,
-0.0011531822383403778,
-0.02998081035912037,
0.018276065587997437,
0.03971897065639496,
-0.0029053499456495047,
-0.014110046438872814,
0.07163449376821518,
-0.004884154070168734,
-0.04523120075464249,
0.014967933297157288,
-0.006638642400503159,
-0.03770134225487709,
-0.008030611090362072,
-0.04915165528655052,
0.02773493528366089,
0.0078007616102695465,
0.048881612718105316,
0.02667366899549961,
0.03573207929730415,
0.0419977530837059,
0.005878288298845291,
0.019892890006303787,
-0.01134537998586893,
-0.08418826013803482,
-0.02037159539759159,
0.005160765256732702,
0.042685527354478836,
-0.05970364063978195,
0.4660664498806,
-0.007898248732089996,
0.0007528493297286332,
0.07279976457357407,
0.028529085218906403,
-0.03452043980360031,
0.01665090210735798,
0.0007767989300191402,
-0.05186162516474724,
0.053403373807668686,
-0.011287795379757881,
0.02191486582159996,
0.032936178147792816,
0.03748103603720665,
-0.03855003044009209,
-0.005214152857661247,
0.05316463112831116,
0.04043584689497948,
0.018565451726317406,
-0.040085870772600174,
-0.030202893540263176,
-0.06864234805107117,
-0.0037223726976662874,
0.004262418951839209,
0.033647749572992325,
-0.05032302066683769,
-0.04547809064388275,
0.06651168316602707,
0.033274658024311066,
0.03604236990213394,
0.006855437066406012,
0.04718232527375221,
-0.08652539551258087,
-0.05607139319181442,
0.003991749603301287,
-0.012771830894052982,
0.000599539082031697,
0.040959808975458145,
-0.0205423291772604,
-0.02861505001783371,
0.06449829787015915,
0.02081744372844696,
-0.016540806740522385,
0.011618237942457199,
-0.02344042994081974,
-0.012070434167981148,
0.10902673751115799,
0.033653534948825836,
-0.043085720390081406,
0.0009766578441485763,
-0.026379738003015518,
-0.0032959964592009783,
0.021088821813464165,
-0.008314563892781734,
-0.0652141347527504,
0.03576074168086052,
0.012878026813268661,
0.06835009902715683,
-0.01145064365118742,
-0.05862519517540932,
0.021030128002166748,
0.012776962481439114,
-0.03346938639879227,
-0.052282579243183136,
0.0732586681842804,
0.07816673815250397,
-0.12254155427217484,
-0.01837504655122757,
0.00463804742321372,
0.032662924379110336,
-0.05723869055509567,
-0.012727213092148304,
0.011868376284837723,
0.005826577078551054,
-0.010221230797469616,
0.04212300851941109,
-0.03541014343500137,
-0.03799140453338623,
0.014609722420573235,
-0.0007507923291996121,
0.01908048614859581,
0.006850552279502153,
0.01007481012493372,
-0.028848249465227127,
-0.0019186499994248152,
-0.03318282589316368,
-0.07974724471569061,
-0.053013723343610764,
-0.006005288101732731,
-0.051538098603487015,
-0.030203260481357574,
-0.04792849346995354,
-0.030545715242624283,
-0.1084352508187294,
0.12102865427732468,
-0.002056746045127511,
-0.027859805151820183,
0.003940671216696501,
-0.025922851637005806,
-0.020553292706608772,
-0.0055610863491892815,
-0.02499249577522278,
0.033702146261930466,
-0.053337059915065765,
0.010934046469628811,
-0.052679140120744705,
0.06424415856599808,
0.05910104140639305,
-0.007009662222117186,
0.062002796679735184,
0.05854912847280502,
0.011693079955875874,
-0.03767378628253937,
0.031668126583099365,
0.0460985004901886,
0.018435558304190636,
-0.026343079283833504,
0.031980812549591064,
0.03639818727970123,
0.0008059620740823448,
0.0331735797226429,
-0.005531844682991505,
0.009892101399600506,
0.00392814539372921,
-0.331582248210907,
-0.05803921818733215,
-0.033666420727968216,
0.0064706807024776936,
0.044069159775972366,
-0.032309390604496,
0.02813679911196232,
0.01307598315179348,
-0.003121814923360944,
0.008899216540157795,
0.07493818551301956,
-0.030835740268230438,
0.018011601641774178,
-0.02110101282596588,
0.012711731716990471,
-0.004883156158030033,
-0.03855539485812187,
0.026291484013199806,
-0.01600445993244648,
-0.018830562010407448,
-0.006190562155097723,
0.010340972803533077,
-0.057452697306871414,
-0.027817172929644585,
0.022343384101986885,
-0.029267754405736923,
0.11623962968587875,
-0.014116591773927212,
0.03953835368156433,
-0.04949958249926567,
0.019969334825873375,
-0.00312038860283792,
0.04340476542711258,
-0.16369111835956573,
-0.008669468574225903,
-0.018846355378627777,
0.05346762761473656,
-0.0481983982026577,
-0.007844182662665844,
-0.022127380594611168,
-0.01609640009701252,
0.008600125089287758,
-0.04880474507808685,
-0.020323744043707848,
-0.0924677923321724,
0.01661994308233261,
-0.033017221838235855,
-0.01383101288229227,
-0.03409232199192047,
0.07413733750581741,
-0.002364167245104909,
-0.022854633629322052,
0.024918317794799805,
0.021968573331832886,
0.013891380280256271,
-0.030530372634530067,
-0.0772358775138855,
0.015370164066553116,
-0.009650983847677708,
0.0063657076098024845,
0.017637886106967926,
0.07453780621290207,
0.03263628110289574,
-0.03662027418613434,
0.01956767775118351,
0.0043671270832419395,
-0.011682898737490177,
0.047558434307575226,
0.023249376565217972,
0.011044448241591454,
-0.02719215489923954,
0.08022727817296982,
-0.020878149196505547,
-0.01800220087170601,
0.007089719176292419,
0.026645628735423088,
-0.019075216725468636,
0.03583802282810211,
0.010488119907677174,
-0.0013783294707536697,
0.03717523440718651,
-0.03724096342921257,
0.02849799580872059,
-0.028015462681651115,
-0.009652964770793915,
0.05812421068549156,
-0.01910831220448017,
-0.03937942907214165,
0.05743711069226265,
0.027993692085146904,
-0.027027418836951256,
0.006128180306404829,
-0.024099722504615784,
-0.06312752515077591,
0.07665105164051056,
-0.009425340220332146,
-0.2631208598613739,
-0.010004471987485886,
0.032483719289302826,
0.0308839064091444,
-0.01579715497791767,
0.033127255737781525,
0.048763569444417953,
-0.0015153454151004553,
0.004860967863351107,
0.01965508610010147,
0.022601040080189705,
0.008560447953641415,
0.0007043755613267422,
-0.009588584303855896,
0.043184202164411545,
0.0004329936928115785,
0.028835520148277283,
0.009510369971394539,
0.02263288013637066,
-0.006109563633799553,
-0.0021258804481476545,
-0.002765812212601304,
0.14338473975658417,
0.03455672040581703,
0.043002899736166,
-0.0008228921215049922,
-0.021048005670309067,
0.021163979545235634,
0.030603419989347458,
-0.007487804163247347,
-0.0025023259222507477,
-0.009620090015232563,
0.010448216460645199,
-0.022833453491330147,
0.009172342717647552,
-0.06760691851377487,
-0.019676292315125465,
0.026003604754805565,
0.03531801700592041,
-0.01250685565173626,
0.025273581966757774,
-0.002626405330374837,
0.018810072913765907,
0.03480428457260132,
0.0657791867852211,
0.011335239745676517,
-0.017507262527942657,
-0.04602329432964325,
-0.028064828366041183,
-0.011074315756559372,
-0.03418493643403053,
-0.040592532604932785,
0.009760698303580284,
0.01050439104437828,
0.009090636856853962,
0.076117604970932,
-0.010065498761832714,
-0.06341123580932617,
-0.012010267935693264,
0.0008316815365105867,
-0.022381117567420006,
-0.024944664910435677,
0.07146912813186646,
-0.029360013082623482,
0.04767927527427673
] | [
-0.011462238617241383,
0.009718569926917553,
0.04107270762324333,
-0.023896122351288795,
0.01821300946176052,
-0.03587157279253006,
-0.014414871111512184,
0.010131953284144402,
0.0019463766366243362,
-0.007263547740876675,
-0.010110498405992985,
-0.004431447945535183,
-0.02105252631008625,
0.03607453778386116,
0.05306414142251015,
0.04536999389529228,
-0.017717432230710983,
-0.04502338543534279,
0.03981389105319977,
0.017962414771318436,
-0.03147358074784279,
-0.0015776501968502998,
-0.05993667617440224,
-0.05940381810069084,
0.007915357127785683,
0.004080715589225292,
-0.009266037493944168,
-0.021870533004403114,
0.00018010911298915744,
-0.10813971608877182,
-0.03192959353327751,
0.01940230466425419,
-0.04075030982494354,
0.004762890748679638,
-0.010628489777445793,
0.020981440320611,
-0.028672605752944946,
0.038705989718437195,
-0.003092095721513033,
-0.0052904896438121796,
0.012864775955677032,
-0.03037622570991516,
0.06286879628896713,
0.025128474459052086,
0.010476627387106419,
-0.0031564231030642986,
0.0010056442115455866,
-0.026956506073474884,
0.00435324851423502,
0.014127898029983044,
-0.034380700439214706,
-0.05268121510744095,
-0.009293688461184502,
-0.01509388629347086,
-0.0031579528003931046,
-0.010378234088420868,
0.016047772020101547,
0.016481326892971992,
0.028397107496857643,
-0.0007640222902409732,
0.018567988649010658,
0.01917377859354019,
-0.03841358795762062,
-0.02008087746798992,
0.017527030780911446,
-0.024266358464956284,
-0.0007729772478342056,
0.004807074088603258,
-0.03607092797756195,
0.024477310478687286,
-0.036268822848796844,
0.02800014242529869,
-0.025529658421874046,
-0.01341499574482441,
0.03118002973496914,
-0.02294206991791725,
-0.016591966152191162,
0.05389103293418884,
0.007562650367617607,
-0.02255624160170555,
-0.025336265563964844,
0.028123589232563972,
-0.025593267753720284,
0.005857536103576422,
-0.003223564475774765,
-0.008234226144850254,
0.03166519105434418,
0.007905032485723495,
0.015355506911873817,
0.028983082622289658,
-0.01246955618262291,
0.025212250649929047,
-0.011913971975445747,
0.0037007518112659454,
-0.101704902946949,
-0.01692023128271103,
-0.06891362369060516,
-0.0029399862978607416,
-0.028437981382012367,
0.8266536593437195,
0.017442109063267708,
0.06492108851671219,
0.013211146928369999,
-0.005902046803385019,
-0.002780337119475007,
0.027270864695310593,
0.01549354288727045,
-0.01372083555907011,
0.016856104135513306,
-0.04085296019911766,
-0.02391928620636463,
0.026143774390220642,
0.007186930626630783,
-0.02639077790081501,
-0.010575522668659687,
0.003197955898940563,
0.028760123997926712,
-0.017699625343084335,
-0.01071446668356657,
-0.036209434270858765,
0.0076190209947526455,
-0.0034186814446002245,
0.025876116007566452,
0.00009128511737799272,
-0.004722114652395248,
-0.13949480652809143,
0.038636185228824615,
-7.951899695786145e-33,
0.027076469734311104,
-0.007489953190088272,
-0.00896463543176651,
-0.004333786200731993,
0.02291533350944519,
-0.018666796386241913,
0.005793779157102108,
0.014615560881793499,
-0.03438517451286316,
-0.01582461968064308,
-0.03464897722005844,
-0.004879935644567013,
-0.00514400377869606,
0.005586487241089344,
0.007386119570583105,
-0.05339299514889717,
0.02097187004983425,
-0.01894495077431202,
-0.012693746015429497,
-0.02425285615026951,
0.03919479623436928,
-0.019483067095279694,
-0.004271263722330332,
-0.01258737500756979,
0.020707683637738228,
-0.027257531881332397,
0.03715388476848602,
-0.003047784324735403,
0.010712461546063423,
-0.023304298520088196,
-0.02078082039952278,
0.01633923500776291,
-0.020726224407553673,
-0.028647897765040398,
-0.0098153380677104,
-0.02061760239303112,
-0.03687061741948128,
-0.0065483408980071545,
-0.012294764630496502,
-0.037670981138944626,
-0.04224209114909172,
-0.014189675450325012,
-0.004200806375592947,
0.0270810816437006,
-0.06590009480714798,
-0.0007070497376844287,
0.03983844816684723,
0.01793431118130684,
0.009355931542813778,
-0.007965374737977982,
0.00008851606980897486,
-0.03265807405114174,
-0.051820915192365646,
0.02656399831175804,
-0.027630243450403214,
0.02567635476589203,
-0.00411004526540637,
0.03509621322154999,
-0.024446122348308563,
0.025559227913618088,
-0.0014760966878384352,
-0.017654692754149437,
-0.03688586503267288,
0.03798498213291168,
-0.023156842216849327,
0.048037026077508926,
0.04519965872168541,
0.000018034699678537436,
0.005631419830024242,
-0.07610046118497849,
-0.05038546770811081,
-0.00024115417909342796,
0.034315887838602066,
0.0011178504209965467,
-0.021051691845059395,
0.004494524095207453,
0.012570570223033428,
0.022092409431934357,
-0.007055219262838364,
0.05092255026102066,
-0.021693186834454536,
0.04402075335383415,
0.008876201696693897,
-0.017521554604172707,
-0.03507482632994652,
0.029092082753777504,
0.025330211967229843,
-0.00854671560227871,
0.010258489288389683,
0.07197640836238861,
-0.021582644432783127,
-0.002994840033352375,
0.030954618006944656,
-0.00031386775663122535,
-0.014364250004291534,
7.869991249420848e-33,
-0.01691575162112713,
-0.018038826063275337,
-0.048503514379262924,
-0.01900634914636612,
0.02422630600631237,
-0.00831330195069313,
0.06646585464477539,
0.016132133081555367,
-0.053366512060165405,
0.011908642016351223,
-0.04726000875234604,
0.028350504115223885,
-0.0012221775250509381,
0.006298404652625322,
0.04099038988351822,
-0.03511304408311844,
0.018533747643232346,
-0.0005262109916657209,
0.022752732038497925,
-0.01831458881497383,
0.027678189799189568,
-0.020042428746819496,
0.014494538307189941,
0.04551342502236366,
0.026219122111797333,
0.08832325786352158,
0.014881380833685398,
-0.012138957157731056,
-0.008934853598475456,
-0.019252615049481392,
-0.01651732809841633,
0.028738897293806076,
0.016283877193927765,
0.003817217191681266,
-0.04763245955109596,
0.005839608609676361,
-0.010804797522723675,
0.017892975360155106,
-0.01597820781171322,
0.024835387244820595,
0.016581324860453606,
0.03445100784301758,
-0.002302133711054921,
-0.005470339674502611,
-0.026579562574625015,
0.03511141613125801,
-0.011601886712014675,
0.0036225796211510897,
-0.021700173616409302,
-0.012092630378901958,
-0.017299119383096695,
0.04526417702436447,
0.024313369765877724,
-0.009879262186586857,
0.02239646390080452,
-0.02007671259343624,
-0.02026018686592579,
-0.020096920430660248,
0.03308561071753502,
0.0015433992957696319,
0.0069610741920769215,
-0.01783795654773712,
-0.041089266538619995,
0.034686580300331116,
0.00006972164555918425,
0.022984163835644722,
0.009421325288712978,
-0.009711747989058495,
0.013567909598350525,
-0.010214285925030708,
-0.030629398301243782,
-0.0008891721372492611,
-0.040706634521484375,
0.020948998630046844,
0.026108648627996445,
-0.059481650590896606,
-0.04711085557937622,
0.000004624435405276017,
0.00045417938963510096,
0.041231535375118256,
0.011443095281720161,
0.02501005306839943,
-0.00008424872066825628,
-0.012054755352437496,
-0.0021589351817965508,
-0.013605364598333836,
-0.0061324769631028175,
0.015985969454050064,
0.04273908957839012,
-0.024640999734401703,
0.00762383034452796,
-0.03083972819149494,
-0.06570211797952652,
-0.0032165683805942535,
0.027816368266940117,
-1.3169946910807084e-8,
0.011881333775818348,
0.017955215647816658,
0.027618687599897385,
0.020727066323161125,
-0.012816263362765312,
-0.01660689152777195,
0.025656361132860184,
0.04176705703139305,
-0.00211590644903481,
-0.009167967364192009,
0.003021280048415065,
-0.03940718621015549,
-0.014204194769263268,
0.02014419063925743,
-0.0011498574167490005,
-0.019824154675006866,
0.024906527251005173,
0.009701965376734734,
0.02634294331073761,
0.01634073071181774,
0.05044327303767204,
0.03840465471148491,
-0.02930634096264839,
0.023986438289284706,
-0.024706684052944183,
0.017645303159952164,
-0.038951314985752106,
-0.0418192520737648,
0.021271362900733948,
0.010733619332313538,
-0.020648961886763573,
-0.00824553519487381,
-0.05753029137849808,
0.022410349920392036,
-0.021601347252726555,
0.0007426725351251662,
0.0029110119212418795,
-0.03334478661417961,
0.015263776294887066,
0.034608546644449234,
-0.05776634067296982,
0.04383474215865135,
-0.001512959599494934,
-0.025771375745534897,
0.007956077344715595,
0.04244053736329079,
-0.0189327672123909,
0.005033290944993496,
0.009376371279358864,
-0.01828538253903389,
0.03685653582215309,
-0.02949555404484272,
0.04279095679521561,
0.07021129876375198,
0.02629820443689823,
0.017299674451351166,
-0.02075422927737236,
-0.026564359664916992,
-0.008736338466405869,
0.008955865167081356,
0.017900967970490456,
0.043122075498104095,
-0.03465966507792473,
-0.008484979160130024
] | distributed-agile-bringing-onshore-people-offshore | https://markhneedham.com/blog/2010/12/20/distributed-agile-bringing-onshore-people-offshore |
false | 2010-12-27 19:15:51 | Vim: Learnings so far | [
"software-development",
"vim"
] | [
"Software Development"
] | I've been using Vim instead of http://www.jetbrains.com/ruby/index.html[RubyMine] for the last month or so and it's been interesting observing the way that I browse code as I add plugins to make my life easier.
== Between files
I generally don't know exactly where in the folder structure different files live since I'm used to being able to search by just the name i.e. RubyMine's Ctrl-N
http://yehudakatz.com/2010/07/29/everyone-who-tried-to-convince-me-to-use-vim-was-wrong/[Yahuda Katz wrote a blog post] earlier in the year where he listed some of the plugins he's been using - one of which is called https://wincent.com/products/command-t[Command-T] and allows exactly this functionality.
I also quite like the ability to quickly access files that I've recently opened i.e. files which are in the Vim buffer or RubyMine's Ctrl-E. The http://www.vim.org/scripts/script.php?script_id=1984[FuzzyFinder] plugin provides that functionality.
I've also tagged all my Ruby gems and the source code of the project using http://ctags.sourceforge.net/[Exuberant CTags] which then allows http://blog.bojica.com/2010/06/27/ctags-and-vim-for-ruby-on-rails-development[easy browsing to methods/classes].
== Inside files
I've noticed that the way I browse inside files has changed since I started using Vim.
I used to just scroll around files using the mouse but now I find myself moving around a file by line numbers instead.
A lot of the commands for file editing in Vim are based on moving/changing/deleting to a particular symbol so you become almost a human parser when reading a line of text.
I found/am finding the following quite useful for learning Vim shortcuts:
* http://www.viemu.com/vi-vim-cheat-sheet.gif[Vim cheat sheet]
* http://tnerual.eriogerg.free.fr/vimqrc.pdf[Vim quick reference card]
* http://jmcpherson.org/editing.html[Efficient Editing with Vim]
When coding in Java/C# I rely quite heavily on auto complete to tell me what methods I have available to me on a certain object.
Although I don't use it that frequently the http://www.vim.org/scripts/script.php?script_id=182[SuperTab] plugin works reasonably well when you do need help.
http://twitter.com/#!/just3ws[Mike] pointed out https://github.com/spicycode/Vimlander-2-The-Quickening[Vimlander-2-The-Quickening] which has some of the plugins I mentioned and several others ready to use. | null | null | [
0.02543819323182106,
0.049725502729415894,
-0.016105487942695618,
0.044845353811979294,
0.09302075952291489,
0.003557562595233321,
0.026576494798064232,
0.03866123408079147,
0.009362060576677322,
-0.03176376223564148,
-0.03720259666442871,
0.014824547804892063,
-0.05881691351532936,
0.030596943572163582,
-0.0006164308288134634,
0.08557333797216415,
0.06165892258286476,
-0.013880199752748013,
0.029784174636006355,
-0.007264996413141489,
0.03856464847922325,
0.056055646389722824,
0.013018893077969551,
0.010845880955457687,
0.00307592935860157,
0.008981160819530487,
0.025182204321026802,
-0.028514819219708443,
-0.07246050983667374,
0.019171539694070816,
0.03513750061392784,
-0.005379012320190668,
0.01112409122288227,
0.009411384351551533,
0.030743150040507317,
0.011538662016391754,
-0.03515763208270073,
0.02644219622015953,
0.021164413541555405,
0.00858249794691801,
-0.03534781187772751,
0.052582576870918274,
0.0163350198417902,
0.006920982617884874,
-0.03489254415035248,
0.0032353177666664124,
-0.05112406238913536,
0.002177313668653369,
-0.0006815757951699197,
0.007998294197022915,
-0.05706152692437172,
0.03397452458739281,
0.01610611565411091,
-0.03448192775249481,
-0.01543823815882206,
0.03220001608133316,
0.04859728738665581,
-0.0739157423377037,
0.024691812694072723,
-0.025759689509868622,
-0.012909076176583767,
-0.0069826701655983925,
-0.004603294655680656,
0.0597371906042099,
0.008991574868559837,
-0.0331222303211689,
-0.006280571222305298,
0.014070205390453339,
-0.04783739522099495,
-0.03480594605207443,
0.040322236716747284,
0.010798664763569832,
-0.01682850904762745,
-0.02156807854771614,
0.039686113595962524,
0.004504750948399305,
-0.010685347951948643,
0.028377709910273552,
-0.006980976089835167,
0.05059168115258217,
-0.054598674178123474,
0.01613466441631317,
0.015968991443514824,
0.022183500230312347,
-0.004080172628164291,
-0.03658347576856613,
-0.02071239985525608,
0.020826077088713646,
-0.04526768624782562,
0.05738544836640358,
0.0036573137622326612,
-0.05878840386867523,
0.033262066543102264,
0.022674161940813065,
0.030253835022449493,
0.0007176795043051243,
0.005095181055366993,
0.01934945210814476,
0.006255498621612787,
0.020748164504766464,
-0.03667820617556572,
-0.0012195728486403823,
0.0035805953666567802,
0.009295811876654625,
-0.09657330065965652,
-0.014000296592712402,
-0.03025161847472191,
0.002325366484001279,
0.038602959364652634,
-0.010906334966421127,
-0.0035957025829702616,
-0.0075913965702056885,
-0.02050555683672428,
0.015586120076477528,
-0.0596180222928524,
0.06212450936436653,
0.011211319826543331,
-0.01765340194106102,
0.01710069365799427,
0.028417427092790604,
0.050825368613004684,
0.017524780705571175,
-0.003972555976361036,
0.05272185802459717,
0.02704121544957161,
0.004867743235081434,
0.007227294612675905,
0.035455264151096344,
-0.01732618547976017,
-0.07041316479444504,
0.004274169448763132,
0.058766987174749374,
-0.0021590273827314377,
0.005505404435098171,
-0.006738315802067518,
0.002325741806998849,
-0.011804522015154362,
-0.033548448234796524,
0.04849923029541969,
0.024598360061645508,
0.021418269723653793,
-0.02874716743826866,
-0.02685507759451866,
-0.015755748376250267,
0.01842668280005455,
0.005425048526376486,
-0.021501684561371803,
-0.00604115379974246,
-0.03991684690117836,
0.017428135499358177,
0.016715383157134056,
0.021303027868270874,
0.05983849614858627,
-0.05164776369929314,
0.020736658945679665,
0.08788146823644638,
0.008429549634456635,
0.0012557267909869552,
-0.014227762818336487,
0.010948417708277702,
0.016886183992028236,
0.07101945579051971,
-0.0007670878549106419,
0.0435362309217453,
-0.039155200123786926,
-0.007334403693675995,
0.015465390868484974,
0.041717059910297394,
-0.009462880901992321,
0.00005252055780147202,
-0.048006415367126465,
-0.02929728478193283,
0.08976491540670395,
-0.04783427715301514,
-0.0011287053348496556,
0.045836057513952255,
0.08935036510229111,
0.0489560104906559,
0.02912857010960579,
-0.03507466986775398,
-0.06980472803115845,
0.03943955898284912,
-0.017444448545575142,
0.029355185106396675,
0.03593864664435387,
-0.02559139020740986,
0.07105447351932526,
0.018591774627566338,
0.006039890460669994,
0.004529707599431276,
-0.07834278047084808,
-0.06558578461408615,
-0.015798334032297134,
-0.005160595290362835,
0.06452418118715286,
-0.014705630019307137,
-0.004746539052575827,
0.026816481724381447,
0.011919382959604263,
0.04375893622636795,
0.005590627435594797,
-0.015804294496774673,
0.012861454859375954,
-0.06872746348381042,
-0.05415487661957741,
0.01998750865459442,
0.025202933698892593,
-0.020805522799491882,
-0.029045196250081062,
0.008663889952003956,
-0.007981013506650925,
-0.00759744830429554,
0.03950905054807663,
0.007864979095757008,
0.078075110912323,
0.0419674851000309,
0.03865790367126465,
-0.04639875143766403,
0.03454935923218727,
-0.06589414179325104,
-0.015041748993098736,
-0.00495706032961607,
-0.012506198137998581,
-0.004917510319501162,
0.01679055392742157,
0.11824864894151688,
0.03947291150689125,
-0.035514045506715775,
-0.02396000362932682,
-0.005990844219923019,
0.016832562163472176,
-0.06310576945543289,
0.008176610805094242,
0.013653657399117947,
0.017218228429555893,
-0.008300052024424076,
-0.055578410625457764,
-0.02297166734933853,
-0.007679888047277927,
-0.030301423743367195,
-0.017802292481064796,
0.06742594391107559,
-0.024259619414806366,
0.02376745454967022,
0.010792387649416924,
-0.03928014263510704,
0.014523161575198174,
-0.01733206957578659,
-0.06744182854890823,
0.03811816871166229,
0.03955850005149841,
0.00017480044334661216,
0.030710913240909576,
-0.026650285348296165,
-0.013402759097516537,
-0.015092429704964161,
-0.04267699271440506,
0.012463112361729145,
0.023481380194425583,
0.07089882344007492,
0.008562294766306877,
0.07035665214061737,
-0.010142304003238678,
0.019443001598119736,
-0.015221236273646355,
-0.039084937423467636,
-0.04195937141776085,
-0.015207994729280472,
0.0064488244242966175,
0.009536316618323326,
-0.013721511699259281,
0.024273233488202095,
-0.0024685643147677183,
0.01976090483367443,
0.03383167088031769,
-0.002836894243955612,
0.043287165462970734,
0.018211128190159798,
-0.03806407377123833,
-0.028648320585489273,
-0.023054203018546104,
0.02897805906832218,
-0.05856698378920555,
-0.0034177727065980434,
-0.007094867527484894,
-0.043023526668548584,
0.03303300589323044,
-0.06313903629779816,
-0.055797889828681946,
-0.03342878073453903,
-0.024303164333105087,
0.006908482406288385,
-0.020379120483994484,
0.04583568125963211,
0.029904736205935478,
0.003094612155109644,
0.024145523086190224,
0.007045620121061802,
0.02607106789946556,
0.02711518108844757,
0.020814957097172737,
-0.0011044201673939824,
0.06253562867641449,
-0.014211795292794704,
-0.004935755394399166,
-0.04381539672613144,
0.010400645434856415,
-0.02207915112376213,
-0.27973100543022156,
0.038626983761787415,
-0.04297840595245361,
-0.05728258565068245,
0.014715699478983879,
-0.04016917198896408,
-0.022835727781057358,
-0.07322507351636887,
-0.014795626513659954,
-0.002871184144169092,
-0.027889635413885117,
-0.02980855666100979,
-0.0023700078018009663,
0.018413668498396873,
-0.0076658898033201694,
0.0013192669721320271,
0.024217547848820686,
-0.04802405461668968,
0.019719120115041733,
0.0044710393995046616,
0.00870605744421482,
-0.06077159568667412,
0.010762892663478851,
0.06302525848150253,
0.033132996410131454,
0.07659978419542313,
-0.07016722857952118,
0.05407556891441345,
-0.045119259506464005,
-0.009934311732649803,
0.0043238690122962,
-0.018386751413345337,
-0.03206810727715492,
-0.024428648874163628,
0.009838434867560863,
0.01258203387260437,
0.07069157063961029,
0.02617540769279003,
0.06028688699007034,
0.000007735990038781893,
0.000541879388038069,
0.00792020559310913,
0.005793088581413031,
-0.02524338848888874,
0.06985930353403091,
-0.013454566709697247,
-0.0683690682053566,
-0.017880283296108246,
-0.021662117913365364,
0.07257506996393204,
-0.038836490362882614,
-0.06489621102809906,
0.008221592754125595,
0.07280310988426208,
0.029774080961942673,
-0.045597199350595474,
0.011436385102570057,
-0.027051426470279694,
-0.02775747701525688,
-0.07126839458942413,
-0.0008413738687522709,
-0.022087816148996353,
-0.027257749810814857,
-0.07400135695934296,
0.025154119357466698,
-0.06344664841890335,
-0.07157915830612183,
-0.015087073668837547,
0.05658232420682907,
0.01496526226401329,
-0.030169876292347908,
-0.006181938573718071,
-0.038826048374176025,
-0.10594295710325241,
-0.0010661392007023096,
-0.008539602160453796,
-0.04764711856842041,
-0.011625604704022408,
0.015310470014810562,
0.04313625022768974,
-0.05614655837416649,
-0.03388227894902229,
0.06897728145122528,
0.029859090223908424,
-0.011821577325463295,
-0.030801517888903618,
0.03445784002542496,
0.016486678272485733,
-0.015410881489515305,
0.0011053424095734954,
0.061897095292806625,
-0.03089296631515026,
-0.04832106828689575,
-0.016300566494464874,
0.026548754423856735,
-0.029933976009488106,
0.04020100459456444,
-0.009126758202910423,
0.05342565476894379,
0.05056013539433479,
0.047617558389902115,
-0.05327046290040016,
0.024300523102283478,
-0.013826261274516582,
-0.009756144136190414,
-0.0007300241850316525,
-0.04774147644639015,
0.010563081130385399,
0.042836353182792664,
0.011867942288517952,
-0.05135471746325493,
-0.04185645282268524,
0.0055555058643221855,
-0.05979972705245018,
-0.030705692246556282,
-0.011168784461915493,
0.0145918233320117,
0.00010425597429275513,
0.004588442854583263,
-0.010079906322062016,
-0.050856299698352814,
-0.0118405194953084,
-0.007711594458669424,
-0.01528723444789648,
-0.03945058584213257,
-0.01889740116894245,
-0.027093887329101562,
0.005622886121273041,
0.0031718662939965725,
0.02230341173708439,
-0.02653757482767105,
0.012617548927664757,
0.009706778451800346,
-0.07347725331783295,
0.0397346168756485,
-0.039730485528707504,
-0.02995123155415058,
-0.015913737937808037,
-0.00008599765715189278,
0.0014176080003380775,
-0.027302782982587814,
-0.008556513115763664,
0.012251783162355423,
0.03722187876701355,
0.02424144372344017,
0.005821262486279011,
0.005433251615613699,
0.015736578032374382,
0.008977849967777729,
-0.003525280859321356,
-0.019390670582652092,
-0.06991936266422272,
0.03148438781499863,
-0.02307393215596676,
-0.005660397931933403,
-0.03283713012933731,
0.01499594934284687,
0.005148184485733509,
-0.033818621188402176,
-0.02226419188082218,
0.021724063903093338,
-0.012705208733677864,
-0.001232886454090476,
-0.010093490593135357,
-0.011812489479780197,
0.0543336383998394,
0.014170321635901928,
0.04244081676006317,
0.003215086879208684,
0.050395671278238297,
0.013746997341513634,
0.058566007763147354,
-0.032406628131866455,
0.007518099620938301,
-0.008509394712746143,
-0.006447529885917902,
0.010073320008814335,
0.03126365691423416,
0.0311467032879591,
0.009183015674352646,
-0.003516873810440302,
-0.05093444883823395,
0.038527943193912506,
0.05303182825446129,
0.014922989532351494,
-0.00910122413188219,
-0.033369746059179306,
0.010791877284646034,
-0.02834438718855381,
-0.03280975669622421,
-0.042352527379989624,
0.0076783401891589165,
-0.028174538165330887,
-0.02284938097000122,
-0.06180114299058914,
-0.07780877500772476,
0.023512188345193863,
0.05711543932557106,
0.023239782080054283,
0.026147892698645592,
-0.004979416262358427,
-0.02137928269803524,
-0.017267702147364616,
0.02949444018304348,
0.07175487279891968,
-0.04483051970601082,
-0.013409856706857681,
0.0017503733979538083,
-0.019116703420877457,
-0.007076401263475418,
0.026932526379823685,
-0.03909359127283096,
-0.006325756199657917,
-0.008812133222818375,
0.01109394896775484,
-0.056130874902009964,
-0.013627399690449238,
-0.034559253603219986,
-0.008362321183085442,
-0.02147156000137329,
-0.010863632895052433,
0.0018229972338303924,
0.03004767745733261,
0.016948997974395752,
-0.04827296733856201,
-0.010753704234957695,
0.00037062878254801035,
0.01595628447830677,
0.02094668708741665,
-0.010146758519113064,
0.028117015957832336,
-0.018882649019360542,
0.06644997745752335,
0.0331450030207634,
-0.004706324078142643,
-0.032671526074409485,
-0.02412731759250164,
-0.02589493803679943,
-0.01213807426393032,
0.025631725788116455,
0.0187724269926548,
-0.014585010707378387,
-0.05964214354753494,
0.017071954905986786,
-0.024237288162112236,
-0.02080540917813778,
-0.05090760812163353,
-0.047391656786203384,
0.028071435168385506,
0.06885705888271332,
0.0012438258854672313,
0.033959534019231796,
0.0010938720079138875,
-0.01906842365860939,
0.03622160106897354,
-0.03815217688679695,
-0.04190295562148094,
-0.006993512623012066,
-0.05709671974182129,
0.04187917709350586,
0.02820471115410328,
0.023556526750326157,
-0.06058754399418831,
0.04800795391201973,
0.018161699175834656,
-0.00017171571380458772,
0.026174966245889664,
0.004288210067898035,
0.027165863662958145,
-0.038948241621255875,
-0.0036101804580539465,
-0.0801595002412796,
0.020109478384256363,
0.01415735762566328,
-0.014222479425370693,
-0.03457460552453995,
-0.02012634463608265,
-0.031126385554671288,
0.04764103144407272,
-0.03953149914741516,
-0.04072394222021103,
0.05471816658973694,
-0.0016031904378905892,
-0.013995389454066753,
0.01572401635348797,
-0.05905209854245186,
0.04106728732585907,
0.03765733540058136,
-0.030036216601729393,
-0.005539015866816044,
-0.04365892335772514,
0.0338260792195797,
-0.015268571674823761,
0.02271607331931591,
-0.01765715517103672,
-0.010135550983250141,
0.06951503455638885,
0.023797839879989624,
-0.0031385906040668488,
0.015937957912683487,
0.011108309030532837,
0.02374364249408245,
0.02570349909365177,
-0.0056941625662148,
0.016673902049660683,
-0.01499245036393404,
-0.004387783817946911,
-0.017890922725200653,
-0.00042166750063188374,
0.0007271011127158999,
-0.013395888730883598,
-0.014325940050184727,
0.0849100649356842,
0.02358582243323326,
-0.00961507298052311,
-0.07102514803409576,
0.046544577926397324,
-0.06076010689139366,
0.005878772586584091,
-0.023815320804715157,
0.0069347647950053215,
-0.057549476623535156,
0.03949439153075218,
0.002833025064319372,
-0.0038187315221875906,
0.05854233726859093,
0.019794637337327003,
-0.008489679545164108,
0.003956740256398916,
0.06372839957475662,
0.08614737540483475,
0.0705099031329155,
0.021389640867710114,
0.06363832205533981,
-0.017896901816129684,
-0.03052549436688423,
0.00935657974332571,
-0.004214187152683735,
0.017594026401638985,
-0.0019014363642781973,
0.04653945565223694,
0.051774051040410995,
-0.03823339194059372,
0.06032736226916313,
-0.017673127353191376,
0.0072387936525046825,
-0.0026702620089054108,
-0.012430318631231785,
0.005156510975211859,
0.07275817543268204,
0.0343320295214653,
-0.0007877007592469454,
-0.02369844913482666,
-0.007482496555894613,
0.05274605751037598,
-0.03284955769777298,
0.0020611081272363663,
0.014978521503508091,
-0.004550897050648928,
0.013573349453508854,
-0.027055256068706512,
0.05172564461827278,
0.062414977699518204,
-0.021786684170365334,
0.02217523381114006,
0.020456207916140556,
0.03518305718898773,
-0.006167259067296982,
0.022124843671917915,
-0.017445288598537445,
-0.004200949799269438,
0.010808016173541546,
-0.023174548521637917,
-0.022482963278889656,
-0.01924094371497631,
-0.008912529796361923,
0.02622126415371895,
-0.0075896079652011395,
0.002024898072704673,
0.0544840507209301,
0.014791636727750301,
-0.004117361269891262,
-0.02239568717777729,
-0.07093623280525208,
-0.044084660708904266,
-0.060642439872026443,
0.001890307292342186,
0.04437258467078209,
0.02902865782380104,
-0.03401956707239151,
-0.01812337152659893,
-0.025848839432001114,
-0.03950856626033783,
-0.012265199795365334,
-0.06455571949481964,
-0.024982834234833717,
-0.0179354976862669,
0.030476214364171028,
0.0041095903143286705,
0.04300044849514961,
0.02823246829211712,
0.012112201191484928,
-0.036859944462776184,
-0.007524208165705204,
-0.032525625079870224,
0.04002085700631142,
0.0009461171575821936,
-0.01743387244641781,
-0.06342785805463791,
0.03584429994225502,
0.03027503378689289,
-0.002274577273055911,
-0.07132669538259506,
0.010175666771829128,
0.007870865985751152,
-0.030784396454691887,
0.0623118095099926,
-0.049140721559524536,
0.034921593964099884,
-0.03463241085410118,
-0.004785611294209957,
-0.041607800871133804,
0.0053695752285420895,
0.028010454028844833,
-0.0010072903241962194,
0.07366943359375,
0.00304451584815979,
-0.011164046823978424,
-0.028392840176820755,
-0.03978065401315689,
-0.02529354766011238,
0.0034569271374493837,
-0.027524324133992195,
-0.023418264463543892,
-0.06566448509693146,
-0.089384064078331,
-0.05039944872260094,
0.008677186444401741,
-0.01069556549191475,
-0.043520912528038025,
-0.01454651914536953,
0.0071935998275876045,
-0.046624891459941864,
0.03730122372508049,
-0.06024150177836418,
-0.009965420700609684,
-0.029607335105538368,
-0.029872480779886246,
-0.003195312572643161,
0.027188535779714584,
-0.00387690425850451,
-0.017455067485570908,
0.00814561266452074,
-0.019349221140146255,
0.009703554213047028,
-0.02002200298011303,
0.021913262084126472,
0.02456696517765522,
0.007778394501656294,
0.027135657146573067
] | [
-0.08186554908752441,
-0.014772466383874416,
-0.022352324798703194,
0.004148566164076328,
0.05749017372727394,
-0.04102340713143349,
-0.0234780665487051,
0.004105519503355026,
-0.02304236963391304,
-0.023754263296723366,
0.0035239916760474443,
-0.025384142994880676,
0.002228694735094905,
-0.025234052911400795,
0.09491987526416779,
-0.004431503359228373,
-0.0007043847581371665,
-0.061069305986166,
-0.014005606062710285,
0.010278237983584404,
-0.02770768292248249,
-0.023287512362003326,
0.0016469631809741259,
-0.03944198042154312,
-0.008022399619221687,
0.036221496760845184,
-0.0011771238641813397,
-0.008845734409987926,
-0.009724593721330166,
-0.1960020810365677,
0.03490598872303963,
0.01516078133136034,
0.054801251739263535,
-0.032660841941833496,
-0.01282500196248293,
0.05044657737016678,
0.012563391588628292,
0.01976972632110119,
-0.007516280747950077,
0.06401629745960236,
0.04457252845168114,
0.02379213459789753,
-0.08013901859521866,
-0.011440570466220379,
0.01986578293144703,
0.010284962132573128,
0.025334248319268227,
-0.04199349880218506,
0.015352713875472546,
0.0007771520176902413,
-0.058131251484155655,
-0.02888764813542366,
-0.019215788692235947,
-0.036131761968135834,
-0.01076419185847044,
0.0030876891687512398,
0.03484957292675972,
0.06969406455755234,
-0.005815656390041113,
0.018312858417630196,
0.01627224124968052,
0.0007576326024718583,
-0.12608391046524048,
0.07717999070882797,
0.024606384336948395,
0.022135719656944275,
-0.03438061103224754,
-0.04654615372419357,
-0.012101331725716591,
0.100551538169384,
-0.026778481900691986,
-0.001610741252079606,
-0.08410291373729706,
0.04416878893971443,
-0.008082352578639984,
-0.05255313962697983,
0.018065432086586952,
0.028156740590929985,
0.01806136593222618,
-0.07148291170597076,
-0.047927651554346085,
-0.023801416158676147,
-0.016134487465023994,
-0.04379550740122795,
-0.032439906150102615,
0.03930320218205452,
-0.013102510944008827,
0.06094803661108017,
0.05212044343352318,
0.003929238300770521,
0.022905506193637848,
-0.018271667882800102,
0.011710447259247303,
0.024177800863981247,
-0.07708405703306198,
-0.04157300665974617,
0.02832094579935074,
0.03477931767702103,
-0.01931857131421566,
0.3971944749355316,
-0.046130694448947906,
-0.042563922703266144,
0.06063058599829674,
-0.02878328040242195,
-0.01908103935420513,
0.031629711389541626,
-0.008312639780342579,
-0.026854079216718674,
0.049230802804231644,
0.007381620351225138,
0.012914910912513733,
-0.00482516922056675,
0.05746068060398102,
-0.0643014907836914,
0.02356128953397274,
0.0007996783242560923,
0.009591381065547466,
0.0378604382276535,
0.012033495120704174,
0.0030727172270417213,
-0.05074002593755722,
0.027562035247683525,
0.030417144298553467,
0.01094757579267025,
0.0319257527589798,
-0.021373042836785316,
0.05526945739984512,
0.056998156011104584,
0.03591587021946907,
-0.002389976056292653,
0.04466783627867699,
-0.02098507061600685,
-0.08481063693761826,
-0.016941700130701065,
-0.010427401401102543,
0.050072427839040756,
0.04653741046786308,
-0.05276831239461899,
0.029152287170290947,
0.005535259377211332,
-0.033854834735393524,
0.023432349786162376,
0.018929509446024895,
0.003583014477044344,
-0.030362365767359734,
0.07659236341714859,
-0.005796872079372406,
-0.054429806768894196,
-0.017537496984004974,
-0.0788429006934166,
-0.004949220921844244,
0.048550691455602646,
0.00814917404204607,
-0.04194219782948494,
0.009170652367174625,
0.011575206182897091,
0.08041433244943619,
-0.024210846051573753,
-0.05488385632634163,
0.011959129944443703,
-0.043421898037195206,
-0.04591255635023117,
-0.02838939055800438,
0.052071742713451385,
0.029977422207593918,
-0.08140726387500763,
-0.037739869207143784,
0.006214024033397436,
0.029389023780822754,
-0.07594133168458939,
-0.01143067516386509,
0.020723657682538033,
-0.027182629331946373,
-0.013479488901793957,
0.032797325402498245,
-0.04489285871386528,
-0.04902350530028343,
-0.00539489695802331,
0.015666237100958824,
0.006712610367685556,
-0.0002853867190424353,
0.01934853009879589,
0.0005345554673112929,
0.016572264954447746,
-0.044406790286302567,
-0.05556620657444,
-0.0443306565284729,
0.005553786642849445,
-0.028104405850172043,
-0.0019178742077201605,
-0.0097534554079175,
-0.0035493364557623863,
-0.04108375683426857,
0.05945168808102608,
-0.002934835385531187,
0.01901305466890335,
0.019039129838347435,
0.020564286038279533,
-0.01523391343653202,
-0.02585279569029808,
-0.009909923188388348,
0.0692959576845169,
-0.019083263352513313,
0.038225818425416946,
-0.09215870499610901,
0.029505794867873192,
0.016036776825785637,
-0.027945764362812042,
0.07253379374742508,
0.03288409113883972,
-0.046341195702552795,
-0.0068270061165094376,
0.0019144368125125766,
-0.015285664238035679,
-0.02992984466254711,
-0.05167238786816597,
0.0006896910490468144,
0.007540388964116573,
0.027330977842211723,
0.034333694726228714,
-0.023788204416632652,
-0.07383186370134354,
-0.03553003445267677,
-0.3536004424095154,
-0.02087763138115406,
-0.019731445237994194,
0.014728205278515816,
0.021631985902786255,
-0.07175849378108978,
0.02995290420949459,
-0.020862195640802383,
-0.002937979530543089,
-0.028234442695975304,
0.0681474432349205,
-0.03436800092458725,
-0.006877888459712267,
-0.1153026670217514,
0.01444168109446764,
0.0219175573438406,
-0.008730491623282433,
-0.03763622045516968,
-0.015900451689958572,
0.027143005281686783,
-0.006565143819898367,
-0.03451619669795036,
0.01071549765765667,
-0.025266585871577263,
0.01787431910634041,
-0.04505450651049614,
0.08950243890285492,
0.016123367473483086,
0.07504308968782425,
-0.03036065399646759,
0.05938652530312538,
0.014194219373166561,
0.005463935434818268,
-0.13014669716358185,
-0.023631339892745018,
-0.04288655146956444,
0.010737731121480465,
0.023641027510166168,
0.05865620821714401,
-0.006022457964718342,
-0.030595015734434128,
0.010575441643595695,
-0.042274944484233856,
-0.06762149184942245,
-0.03124571405351162,
0.012420381419360638,
0.0018755638739094138,
-0.051056280732154846,
-0.002744027879089117,
0.02911393716931343,
0.026702044531702995,
-0.0031850801315158606,
0.03269573673605919,
0.011959724128246307,
-0.022665515542030334,
-0.05342608317732811,
-0.0733741968870163,
0.002449967432767153,
0.00591313699260354,
-0.016826139762997627,
0.032191745936870575,
0.04716350510716438,
0.030215667560696602,
-0.07985055446624756,
0.00765257328748703,
0.002631993731483817,
0.02948666550219059,
0.0198813509196043,
0.07369273155927658,
-0.01289034727960825,
0.00913020595908165,
0.10415086150169373,
0.016429739072918892,
0.017204489558935165,
0.004649373237043619,
0.021245738491415977,
-0.02931375242769718,
0.05648908391594887,
0.006116469856351614,
0.027207009494304657,
0.004680894780904055,
0.003188088769093156,
0.042204130440950394,
-0.002825847128406167,
-0.020407065749168396,
0.03295071795582771,
-0.014873811975121498,
-0.02976452000439167,
0.05349745973944664,
0.03211219608783722,
-0.01843813993036747,
-0.016802866011857986,
-0.006776649504899979,
-0.05545848608016968,
0.064382404088974,
0.0004711323417723179,
-0.23048947751522064,
0.031147727742791176,
0.07630977034568787,
0.07503777742385864,
-0.020534168928861618,
0.022641265764832497,
0.037618473172187805,
-0.08346886187791824,
0.042733192443847656,
0.006034619640558958,
0.043633703142404556,
0.043566592037677765,
0.013521199114620686,
-0.01194634847342968,
0.055216532200574875,
-0.014235195703804493,
0.06599579751491547,
0.017557287588715553,
0.022380515933036804,
0.00035136923543177545,
0.02314833179116249,
0.0035772949922829866,
0.1822892725467682,
-0.014477599412202835,
-0.001699752639979124,
0.026062697172164917,
-0.0064169070683419704,
0.0061395238153636456,
0.07278305292129517,
0.028459787368774414,
0.01792287267744541,
0.008311619982123375,
0.061929963529109955,
0.023926740512251854,
0.04630550742149353,
-0.04812963679432869,
-0.028029104694724083,
0.0517297200858593,
0.016550960019230843,
-0.02749675139784813,
-0.02644781768321991,
0.022722532972693443,
-0.09953101724386215,
0.033017076551914215,
0.06190548092126846,
-0.06061604619026184,
0.00810871459543705,
0.0005273140268400311,
-0.023893579840660095,
-0.02899598889052868,
-0.03785344958305359,
-0.038569126278162,
-0.00684089120477438,
0.03858508914709091,
0.041582558304071426,
0.06985010951757431,
0.009472087025642395,
-0.032626811414957047,
0.02301475964486599,
0.033099085092544556,
0.022408979013562202,
-0.030450602993369102,
0.14674173295497894,
0.010316850617527962,
0.024735108017921448
] | [
-0.012774084694683552,
-0.0037812087684869766,
-0.029731670394539833,
0.021655704826116562,
0.0014162542065605521,
0.029482409358024597,
-0.005087705794721842,
0.05423619598150253,
-0.04743099957704544,
0.009848392568528652,
0.021268010139465332,
0.020360805094242096,
0.0025309775955975056,
-0.014865370467305183,
-0.010608076117932796,
-0.007030815817415714,
0.02227478288114071,
-0.00862648244947195,
0.00877462513744831,
0.03088483028113842,
0.0011918182717636228,
0.03983422368764877,
0.03785247355699539,
0.009714295156300068,
-0.04361880570650101,
0.02853546477854252,
-0.03449614718556404,
0.012486902996897697,
0.03933493047952652,
-0.1546916514635086,
-0.03648434206843376,
-0.021298430860042572,
0.00890892930328846,
0.0152206439524889,
-0.013318750075995922,
-0.03561259061098099,
-0.007578840479254723,
-0.009525960311293602,
-0.02904808521270752,
-0.01850891299545765,
-0.024054843932390213,
0.015873374417424202,
-0.01643967814743519,
0.026056591421365738,
0.015429339371621609,
-0.0021111504174768925,
0.011205536313354969,
-0.0345970094203949,
-0.005876061972230673,
-0.009179159067571163,
-0.04460790753364563,
0.0021056823898106813,
-0.01459557842463255,
-0.002566854003816843,
-0.028400784358382225,
0.002439912175759673,
0.0023075996432453394,
-0.06913846731185913,
-0.008561226539313793,
0.007111175451427698,
0.005582169163972139,
0.016592221334576607,
-0.030039964243769646,
-0.034867990761995316,
-0.01957636885344982,
-0.01171213760972023,
0.004861150402575731,
0.021876314654946327,
-0.0218577329069376,
-0.000296048674499616,
-0.013635357841849327,
0.005897097755223513,
-0.06678972393274307,
0.003386273281648755,
-0.034819528460502625,
-0.006780148018151522,
0.007434633560478687,
0.007905383594334126,
0.016672838479280472,
0.008584271185100079,
-0.03473001345992088,
0.011026144959032536,
0.024513112381100655,
0.02677363157272339,
0.012927673757076263,
0.027187684550881386,
0.01625686325132847,
-0.017364559695124626,
0.05680476874113083,
-0.020474903285503387,
-0.005995274055749178,
-0.017988432198762894,
0.00467483839020133,
0.037549156695604324,
-0.09477663040161133,
-0.034466806799173355,
0.03347795084118843,
-0.012136171571910381,
0.0024101173039525747,
0.7951886057853699,
-0.04344439134001732,
-0.006124969106167555,
0.038773778825998306,
-0.00744561618193984,
0.0008464081329293549,
0.03608508035540581,
0.02660803310573101,
0.02669808454811573,
0.04003521427512169,
-0.0410328283905983,
0.02732527069747448,
0.003709823125973344,
0.03318573534488678,
0.006020267028361559,
0.029514864087104797,
0.016553502529859543,
0.01461675576865673,
-0.010070004500448704,
0.02803250029683113,
0.04905814304947853,
0.049704063683748245,
0.025834165513515472,
0.011181236244738102,
0.023976663127541542,
-0.015311351977288723,
-0.173690527677536,
0.01914539560675621,
-7.012738484196679e-33,
0.022699173539876938,
-0.04206117242574692,
-0.025471452623605728,
0.025791188701987267,
-0.03453646972775459,
0.060557663440704346,
0.03575513884425163,
0.005833461415022612,
-0.04215659201145172,
-0.003595384070649743,
-0.016934525221586227,
-0.02994857355952263,
-0.012899063527584076,
0.00444071926176548,
0.0034398238640278578,
-0.020434869453310966,
0.008200045675039291,
0.00950159877538681,
-0.0005715002189390361,
-0.017221670597791672,
0.024034036323428154,
0.008739049546420574,
0.010671200230717659,
0.01188618503510952,
-0.004728781059384346,
0.028883572667837143,
0.010803598910570145,
-0.012809832580387592,
0.014107020571827888,
-0.04051007330417633,
0.010255984030663967,
0.04442273825407028,
0.015213589183986187,
-0.031952958554029465,
0.03605286777019501,
-0.022227047011256218,
-0.04241552948951721,
0.017383497208356857,
-0.024012263864278793,
-0.010023722425103188,
0.011056601069867611,
-0.0011849362635985017,
-0.09341032058000565,
-0.02736832946538925,
-0.009386728517711163,
-0.011807369068264961,
-0.010622547939419746,
0.04782677814364433,
0.005207062233239412,
-0.023576578125357628,
-0.023669881746172905,
0.04113262891769409,
-0.00452288007363677,
0.027096804231405258,
-0.022657420486211777,
0.035464636981487274,
0.029257571324706078,
0.019315332174301147,
-0.0017484258860349655,
-0.027511239051818848,
-0.0018971425015479326,
0.01941448450088501,
-0.004248077515512705,
0.02645799331367016,
-0.016308290883898735,
-0.03251510113477707,
0.04030390456318855,
0.017053691670298576,
-0.009670112282037735,
0.0450652576982975,
-0.06264910101890564,
0.03112897463142872,
-0.02875533513724804,
-0.030788017436861992,
0.015340996906161308,
-0.07902146875858307,
-0.02932273969054222,
-0.029567299410700798,
-0.004624814260751009,
0.018490029498934746,
-0.0011961291311308742,
0.005642484407871962,
-0.003241239581257105,
-0.025146232917904854,
0.005663734395056963,
-0.03161916136741638,
0.044037044048309326,
-0.013482688926160336,
-0.0232051033526659,
-0.007270327769219875,
0.0581592358648777,
0.028594162315130234,
0.028683200478553772,
-0.057033099234104156,
0.0006502076284959912,
6.617618833370814e-33,
0.008229194208979607,
-0.01658349670469761,
-0.007640645373612642,
0.035562913864851,
0.014086319133639336,
0.009504154324531555,
0.024769233539700508,
-0.01097147073596716,
-0.057540491223335266,
0.015428319573402405,
-0.03183819726109505,
0.020196925848722458,
-0.03504793718457222,
0.002292719902470708,
0.07168752700090408,
0.008321725763380527,
-0.0013126955600455403,
-0.04554017633199692,
0.015554295852780342,
-0.02270287275314331,
-0.0366915762424469,
-0.0034217284992337227,
0.01910019852221012,
0.014630647376179695,
0.017099957913160324,
0.020512118935585022,
-0.024128863587975502,
0.028122849762439728,
-0.013482319191098213,
0.017881063744425774,
0.02019389532506466,
-0.0012890578946098685,
-0.005749938543885946,
-0.022796008735895157,
-0.03974532335996628,
0.0652872771024704,
-0.004792824853211641,
-0.00984992366284132,
0.05487988144159317,
-0.0011976779205724597,
0.028387026861310005,
0.001547483028843999,
0.002038067439571023,
-0.025132175534963608,
-0.037019308656454086,
0.05749434232711792,
-0.0006016587722115219,
0.010197233408689499,
-0.03475165367126465,
-0.008533291518688202,
0.01775042526423931,
0.012477396056056023,
-0.010615760460495949,
-0.020829938352108,
-0.006698560900986195,
-0.016990141943097115,
-0.03645898029208183,
-0.0015490055084228516,
-0.03937656059861183,
0.01976686157286167,
-0.000894316122867167,
0.031122755259275436,
-0.04884229972958565,
0.0017275065183639526,
-0.04760047793388367,
-0.022171156480908394,
0.022684182971715927,
0.010909965261816978,
0.020746948197484016,
-0.023462818935513496,
0.03371460735797882,
0.044240422546863556,
0.008670538663864136,
0.03193629905581474,
0.0352821908891201,
-0.04066045954823494,
-0.007305228151381016,
0.014805657789111137,
-0.018216274678707123,
-0.015482895076274872,
0.03363822400569916,
-0.005112087819725275,
0.023654956370592117,
0.025300022214651108,
-0.026120370253920555,
0.03063204512000084,
-0.04216960445046425,
0.026617899537086487,
0.020677244290709496,
-0.014927512034773827,
-0.006690348498523235,
-0.03140442445874214,
-0.012690512463450432,
-0.02090625837445259,
0.006177800241857767,
-1.2616756528416317e-8,
-0.007438758388161659,
-0.02903609350323677,
-0.03467376157641411,
0.012982415035367012,
0.028763126581907272,
0.022407058626413345,
-0.01421226654201746,
0.04852389544248581,
-0.014808881096541882,
0.01892245002090931,
0.08794218301773071,
-0.025281893089413643,
0.0001569390733493492,
0.0359177403151989,
0.03338351473212242,
-0.0013863261556252837,
-0.004351986572146416,
0.0446007139980793,
0.009117912501096725,
0.01604238711297512,
0.031979575753211975,
0.07128504663705826,
-0.00044063516543246806,
-0.008697987534105778,
0.006869872100651264,
0.00546320341527462,
-0.03436627984046936,
-0.09838283807039261,
-0.02445201389491558,
-0.0145352091640234,
0.052530184388160706,
-0.014179600402712822,
-0.03056885488331318,
0.01793777011334896,
-0.05000510811805725,
-0.05221397802233696,
0.03297416865825653,
0.016562646254897118,
-0.01952359452843666,
-0.0077680679969489574,
0.021432898938655853,
-0.03433329239487648,
-0.017832616344094276,
-0.03865327313542366,
-0.04799509420990944,
-0.02205214835703373,
0.0019398473668843508,
-0.049861710518598557,
0.046179622411727905,
-0.03917793929576874,
-0.021614106371998787,
0.03984183445572853,
0.009773719124495983,
0.07303056120872498,
-0.010305766947567463,
-0.01749352179467678,
0.05244865640997887,
-0.018673311918973923,
-0.06278833001852036,
-0.04130001738667488,
-0.017446473240852356,
-0.0067826202139258385,
-0.013004190288484097,
-0.005289928987622261
] | vim-learnings-so-far | https://markhneedham.com/blog/2010/12/27/vim-learnings-so-far |
false | 2010-12-27 14:16:09 | India Cultural Differences: Hierarchy | [
"distributed-agile-2"
] | [
"Distributed Agile"
] | One of the more interesting differences between Indian culture and my own is that in India there appears to be more adherence to a hierarchy than I've experienced before.
ThoughtWorks tries to keep a reasonably flat hierarchy so I think the idea of hierarchy would be much more obvious if I was working at one of the big Indian services organisations.
Between peers conversations don't seem to play out any differently but someone in a position of authority is more likely to be able to get their opinion across and accepted with less resistance than they might experience without that authority.
On several occasions it's been only me and maybe a couple of others involved in discussions if someone in an authority position expresses an opinion assertively.
I asked several colleagues why this was and they pointed out that when they'd previously expressed an opinion in that type of situation it didn't have any impact so they'd stopped doing so.
I can't decide whether or not it really matters - the situations where authority has any influence are relatively infrequent - but it would be cool if all opinions were assessed just on merit.
Of course these are just my observations so it'd be interesting to hear others' experiences. | null | null | [
0.0283918809145689,
0.0037407646887004375,
-0.012574885040521622,
0.032817162573337555,
0.06049065291881561,
0.020823543891310692,
0.02966071292757988,
0.02668866701424122,
0.024306204169988632,
-0.015909569337964058,
-0.007169725373387337,
0.0009783513378351927,
-0.057160116732120514,
0.03301430121064186,
-0.012004380114376545,
0.08507061749696732,
0.05709574744105339,
0.008496084250509739,
-0.012435682117938995,
-0.015695424750447273,
0.0641736164689064,
0.05860036611557007,
0.037386704236269,
0.038029175251722336,
0.056374941021203995,
-0.007017515134066343,
0.05788327753543854,
-0.018348587676882744,
-0.030496766790747643,
-0.018161693587899208,
0.034971319139003754,
-0.0053983163088560104,
-0.008367650210857391,
0.0023579918779432774,
0.0181984044611454,
-0.04846062883734703,
-0.016107816249132156,
0.0205981582403183,
0.016890112310647964,
-0.0035336294677108526,
-0.07183025777339935,
0.03063596598803997,
-0.014944378286600113,
0.02144620753824711,
-0.052373386919498444,
0.013875163160264492,
-0.027320388704538345,
0.03895201161503792,
-0.017988651990890503,
0.03621230646967888,
-0.07642471045255661,
0.03469892591238022,
0.01853192411363125,
0.0074427067302167416,
0.021112747490406036,
0.0336492545902729,
-0.023703791201114655,
-0.05825021117925644,
-0.001782678416930139,
-0.05056803673505783,
0.003154153237119317,
-0.017481228336691856,
0.006035865284502506,
0.0003607370308600366,
0.02831646427512169,
-0.018859893083572388,
-0.005306382197886705,
0.006713759619742632,
-0.04277791082859039,
0.03992343321442604,
-0.04751485586166382,
-0.012801299802958965,
-0.011606765910983086,
0.012191927060484886,
-0.015390103682875633,
-0.055910851806402206,
0.0036141846794635057,
0.06847529858350754,
0.032057985663414,
0.017303578555583954,
-0.031235476955771446,
-0.00103687250521034,
-0.012918059714138508,
0.028084691613912582,
0.004740618634968996,
-0.06314247101545334,
0.031356681138277054,
-0.033619225025177,
-0.06549566984176636,
0.03815095126628876,
-0.0070809670723974705,
-0.03509898856282234,
0.015597444027662277,
0.050916798412799835,
-0.012593302875757217,
0.002020470565184951,
0.048086293041706085,
-0.02958673983812332,
-0.007366348057985306,
-0.018632125109434128,
-0.008908303454518318,
-0.021797463297843933,
-0.006066964007914066,
0.01880785822868347,
-0.07909609377384186,
0.005471423733979464,
0.00567198870703578,
0.008605903945863247,
-0.037046294659376144,
0.009328419342637062,
-0.046845875680446625,
0.034734953194856644,
0.016337865963578224,
0.010807936079800129,
-0.06164617836475372,
0.057390276342630386,
0.01469870749861002,
-0.03097483143210411,
-0.011514908634126186,
0.008796267211437225,
0.024426275864243507,
0.0069318609312176704,
0.0005990738281980157,
0.07730500400066376,
-0.004992518573999405,
0.000450743711553514,
-0.04862929880619049,
0.04236295446753502,
0.008959953673183918,
-0.05382818728685379,
0.004010911099612713,
0.05338161811232567,
-0.023357490077614784,
0.015151998028159142,
-0.02283470705151558,
-0.04800189286470413,
0.028547169640660286,
0.006978305988013744,
0.053302157670259476,
0.05053073540329933,
0.0014765195082873106,
-0.04052916541695595,
0.02083245851099491,
0.029626881703734398,
0.015877431258559227,
-0.0050643859431147575,
0.004354266449809074,
-0.0258120559155941,
-0.022290028631687164,
-0.05512857437133789,
0.011775026097893715,
0.009451525285840034,
0.019712289795279503,
-0.035917799919843674,
0.027610555291175842,
0.05515161156654358,
0.06947740167379379,
-0.0013864710927009583,
0.010985895991325378,
0.030628645792603493,
0.03128713369369507,
0.030204996466636658,
0.02985168807208538,
0.012901382520794868,
0.02581322193145752,
-0.02271389588713646,
-0.01665179431438446,
0.01906621642410755,
-0.00830744206905365,
0.015028402209281921,
-0.0639338567852974,
-0.037449710071086884,
0.031660035252571106,
-0.04305863752961159,
-0.031679097563028336,
0.04241609573364258,
0.06324933469295502,
0.06831599771976471,
0.014353255741298199,
0.009887178428471088,
-0.06637103855609894,
0.03409753739833832,
-0.00247635948471725,
0.031610019505023956,
0.043887749314308167,
0.009922754019498825,
0.040897101163864136,
0.03802984952926636,
-0.015162080526351929,
0.04618284851312637,
-0.060318395495414734,
-0.052217427641153336,
-0.0154470419511199,
0.007635456509888172,
0.043009255081415176,
-0.024797793477773666,
0.0042795040644705296,
0.09620488435029984,
0.004803572315722704,
0.04313545301556587,
0.021887538954615593,
0.00494700763374567,
-0.000010450787158333696,
-0.04036044329404831,
-0.0642981007695198,
0.07582806795835495,
0.0167238786816597,
0.0170094333589077,
-0.0009796300437301397,
0.028453534469008446,
-0.027271360158920288,
-0.024059230461716652,
0.04636950418353081,
-0.01943121664226055,
0.01226405892521143,
-0.00973584409803152,
0.046768173575401306,
-0.0308957789093256,
0.04528267681598663,
-0.01840636506676674,
0.023578137159347534,
-0.0064261117950081825,
0.00495575089007616,
0.02042853645980358,
-0.031440619379282,
0.11565712839365005,
0.04986225813627243,
-0.05005932226777077,
-0.05759705603122711,
0.043242309242486954,
0.015661224722862244,
-0.04271884635090828,
0.023264681920409203,
0.011608944274485111,
0.01658996008336544,
0.0030639395117759705,
-0.04688293859362602,
-0.04267048463225365,
0.04996570572257042,
-0.03870126232504845,
-0.02272740937769413,
0.04597964882850647,
-0.02211128920316696,
0.07374922931194305,
-0.02959458902478218,
0.011352486908435822,
0.0011422898387536407,
-0.032472554594278336,
-0.03902802616357803,
0.024965746328234673,
0.019220959395170212,
-0.010438431054353714,
0.032698143273591995,
-0.02077704481780529,
0.0031998292542994022,
-0.02136421389877796,
-0.014286347664892673,
0.012873856350779533,
0.056856296956539154,
0.047184351831674576,
-0.019042056053876877,
0.05112858861684799,
-0.01946115493774414,
0.012320071458816528,
-0.0008566941251046956,
-0.029912717640399933,
-0.025819208472967148,
-0.01332485768944025,
-0.008991771377623081,
-0.007118345238268375,
0.03200381249189377,
-0.0158682893961668,
0.009436313062906265,
0.016489379107952118,
0.003965351264923811,
0.01602303609251976,
0.005093671847134829,
-0.006722227670252323,
0.00271242531016469,
-0.01630570739507675,
0.0028855211567133665,
0.07539806514978409,
-0.010958679020404816,
-0.008041609078645706,
0.052088942378759384,
-0.06830024719238281,
0.04380147159099579,
-0.06878414750099182,
-0.031305547803640366,
-0.012160207144916058,
0.03653303161263466,
0.04373648762702942,
0.03794548287987709,
-0.00355586432851851,
0.04505438730120659,
0.006916399113833904,
0.033856604248285294,
0.018393388018012047,
-0.018727555871009827,
0.035943321883678436,
0.0007622951525263488,
-0.0027357737999409437,
0.03704501688480377,
0.010512145236134529,
0.002917622681707144,
-0.013964579440653324,
0.035702645778656006,
-0.05044708773493767,
-0.29888322949409485,
0.036608852446079254,
0.030443694442510605,
-0.026168297976255417,
0.023276573047041893,
-0.04013138264417648,
0.02843826822936535,
-0.04478144273161888,
-0.042659033089876175,
0.031196141615509987,
-0.03009922057390213,
-0.06905200332403183,
-0.03576323017477989,
0.040166497230529785,
-0.0219122227281332,
0.04292582347989082,
-0.011136080138385296,
-0.031449366360902786,
0.007945210672914982,
0.051923785358667374,
-0.0377214290201664,
-0.04679474979639053,
-0.014327543787658215,
0.035258032381534576,
0.0640718936920166,
0.07221723347902298,
-0.053682733327150345,
0.045915838330984116,
-0.05261494964361191,
-0.010080588050186634,
-0.026132876053452492,
-0.008724214509129524,
0.03265431150794029,
-0.02372024580836296,
0.0039031314663589,
-0.04419305548071861,
0.04778001829981804,
0.024387061595916748,
0.008170693181455135,
0.028074270114302635,
-0.03147910162806511,
-0.05707649141550064,
0.018622390925884247,
0.031588487327098846,
0.063856340944767,
0.009993511252105236,
-0.0803634449839592,
-0.018177732825279236,
-0.0434100478887558,
0.07137307524681091,
-0.040763672441244125,
-0.04026450589299202,
-0.0240634735673666,
0.007534346077591181,
-0.03890965133905411,
0.0009634224697947502,
-0.007918703369796276,
-0.03394113853573799,
-0.06848848611116409,
-0.0429111048579216,
-0.039159517735242844,
-0.016472293063998222,
-0.02373300865292549,
-0.0642208606004715,
-0.01781725324690342,
-0.056120771914720535,
-0.08821424841880798,
-0.009159458801150322,
0.059791047126054764,
-0.017706504091620445,
-0.03907308727502823,
0.0062510608695447445,
-0.014269617386162281,
-0.10326018184423447,
-0.021564723923802376,
-0.02408224157989025,
-0.022945532575249672,
-0.0016968639101833105,
0.0011375388130545616,
0.043006446212530136,
-0.002461051568388939,
-0.03260645642876625,
0.01933981291949749,
-0.012703957036137581,
0.014625420793890953,
0.003776771016418934,
0.05007278919219971,
0.05819631367921829,
-0.047299254685640335,
0.015487674623727798,
0.050211887806653976,
0.020507987588644028,
-0.056952644139528275,
-0.0006454801768995821,
0.03998797759413719,
0.009033937007188797,
0.008423284627497196,
-0.0280416589230299,
-0.0031830775551497936,
0.011333114467561245,
0.002500054193660617,
-0.04987015202641487,
0.006760845892131329,
-0.002643638290464878,
-0.013450178317725658,
0.00702902814373374,
-0.056926943361759186,
0.0438915453851223,
0.03197868913412094,
-0.0013123026583343744,
0.01103118248283863,
-0.04363592341542244,
0.028945403173565865,
-0.0357496440410614,
-0.0028980802744627,
-0.016542546451091766,
-0.01931016892194748,
0.06445228308439255,
0.005217436701059341,
-0.005836591590195894,
-0.019821416586637497,
0.02194962464272976,
-0.03159163147211075,
0.0013048772234469652,
-0.08423035591840744,
-0.023153748363256454,
-0.01311157364398241,
-0.024295618757605553,
-0.032468829303979874,
0.018421407788991928,
-0.034714724868535995,
-0.0022679921239614487,
0.04543476179242134,
-0.031890660524368286,
0.017670080065727234,
-0.027162913233041763,
-0.06891605257987976,
-0.017520880326628685,
-0.018884500488638878,
0.0013974913163110614,
-0.03407321497797966,
0.015437712892889977,
0.009798326529562473,
0.013836764730513096,
0.06298590451478958,
-0.013919975608587265,
-0.004611949436366558,
-0.037290167063474655,
0.04148871824145317,
0.017269885167479515,
0.021528510376811028,
-0.06620478630065918,
0.0031501464545726776,
-0.021104902029037476,
-0.024413175880908966,
-0.025140034034848213,
0.03198010474443436,
-0.01882767677307129,
-0.028317630290985107,
-0.04026839882135391,
-0.0038510349113494158,
-0.08650075644254684,
-0.04495273903012276,
-0.02778412401676178,
0.03565504029393196,
0.05276632681488991,
-0.021552521735429764,
0.003907698206603527,
0.016613520681858063,
-0.012365804985165596,
-0.001983556430786848,
0.02625117637217045,
-0.03231551870703697,
-0.016082540154457092,
-0.003999568521976471,
0.014585353434085846,
0.00690158735960722,
0.014304809272289276,
0.041478510946035385,
-0.001468632253818214,
0.003836235264316201,
-0.04642825946211815,
0.0081061702221632,
0.040506184101104736,
0.05284535512328148,
0.0262629184871912,
0.009342901408672333,
-0.011521878652274609,
-0.012060283683240414,
-0.008575646206736565,
-0.04052700102329254,
0.00034796565887518227,
-0.02803228609263897,
0.008987614884972572,
-0.04110231250524521,
-0.07169728726148605,
0.05708324536681175,
-0.027717188000679016,
0.017268357798457146,
-0.0005949952756054699,
0.016027599573135376,
-0.013708665035665035,
-0.02406405843794346,
0.01976839266717434,
0.06204080954194069,
-0.0765235498547554,
0.00007437820750055835,
0.010026300325989723,
-0.03299573436379433,
0.015964001417160034,
-0.02544514834880829,
-0.02631760947406292,
-0.013557267375290394,
-0.05035562440752983,
0.039021387696266174,
-0.07805348187685013,
-0.04412922263145447,
-0.04944664239883423,
0.02448381297290325,
0.011816752143204212,
-0.00400562584400177,
-0.03994167968630791,
-0.017479291185736656,
0.018441693857312202,
-0.03297562897205353,
0.017993232235312462,
-0.032986510545015335,
0.009785332717001438,
0.013843527995049953,
-0.026459285989403725,
-0.015782896429300308,
-0.0244106724858284,
0.00303520611487329,
0.012800151482224464,
-0.040241364389657974,
-0.015035892836749554,
-0.0014369834680110216,
-0.028156541287899017,
-0.013617988675832748,
0.031653713434934616,
-0.013427561149001122,
-0.031023167073726654,
-0.03600609675049782,
-0.019872907549142838,
-0.03889729827642441,
0.004959587007761002,
-0.02100648544728756,
0.006660963408648968,
0.013828554190695286,
0.050077714025974274,
0.013519180938601494,
0.00008574990351917222,
-0.01761164516210556,
-0.0132486242800951,
0.03893008455634117,
-0.04460730031132698,
-0.04151397943496704,
-0.03221118077635765,
-0.04539167881011963,
0.018912510946393013,
0.010844716802239418,
-0.0027574626728892326,
-0.0196857787668705,
0.03405623510479927,
0.018125977367162704,
0.01664764992892742,
0.04006388783454895,
0.033003419637680054,
0.05226701498031616,
-0.05888236314058304,
-0.015329034067690372,
-0.09182405471801758,
-0.005100449081510305,
-0.021507879719138145,
-0.002417478011921048,
-0.0006496785208582878,
-0.040335144847631454,
-0.032817941159009933,
0.06169937923550606,
-0.05419646576046944,
0.00021559090237133205,
0.03199109807610512,
0.003865955863147974,
-0.012229044921696186,
0.029133958742022514,
-0.0991317629814148,
0.03368501365184784,
0.020682958886027336,
-0.04524323344230652,
-0.012724236585199833,
-0.04067197069525719,
0.05467088893055916,
0.023499811068177223,
0.03204330429434776,
-0.019247110933065414,
-0.012527392245829105,
0.06436296552419662,
0.034274667501449585,
-0.02207048237323761,
0.04791099950671196,
-0.005615957546979189,
0.020742950960993767,
0.04457574337720871,
0.0315185971558094,
-0.0014992235228419304,
0.020201878622174263,
-0.01639203168451786,
-0.057636696845293045,
0.05375039577484131,
-0.00881428923457861,
-0.016915028914809227,
-0.032274503260850906,
0.05717730522155762,
0.003661706345155835,
-0.03267882019281387,
-0.025329548865556717,
0.00584014318883419,
-0.028117937967181206,
-0.012061160989105701,
-0.018975015729665756,
-0.020160222426056862,
-0.02923181653022766,
0.03673820570111275,
0.001312567968852818,
0.041038621217012405,
0.05620865896344185,
-0.012293791398406029,
-0.021606113761663437,
-0.012877988629043102,
0.0927334800362587,
0.07051979750394821,
0.0783236175775528,
-0.00860527902841568,
0.06757360696792603,
-0.003851457266137004,
-0.061290666460990906,
0.015371766872704029,
0.02079254575073719,
-0.012204807251691818,
-0.007290887180715799,
0.03609069809317589,
0.0624246783554554,
-0.02987327054142952,
0.046278733760118484,
0.000007760030712233856,
0.0038583127316087484,
0.01387200877070427,
0.038300905376672745,
0.010267585515975952,
0.08456690609455109,
0.013291598297655582,
0.005949497222900391,
-0.010607139207422733,
-0.04850886017084122,
0.01967555284500122,
-0.025538625195622444,
-0.015934303402900696,
0.026288386434316635,
0.0076951743103563786,
0.03180187940597534,
0.006309463642537594,
0.03824904188513756,
0.06422199308872223,
-0.013813445344567299,
0.014260493218898773,
-0.0024330466985702515,
0.007434469182044268,
-0.005282718222588301,
0.011243754997849464,
-0.0015352220507338643,
-0.001694471575319767,
-0.011954981833696365,
-0.03259662166237831,
-0.042643953114748,
0.01571500487625599,
-0.020544694736599922,
0.030214829370379448,
-0.03518223017454147,
0.032117247581481934,
0.02655007503926754,
0.0265491995960474,
-0.03086364082992077,
-0.05147073045372963,
-0.044794898480176926,
-0.029585259035229683,
-0.026522204279899597,
-0.015627659857273102,
0.03903204947710037,
-0.014193507842719555,
-0.01783866435289383,
-0.014572902582585812,
-0.0037637443747371435,
-0.03364374861121178,
0.054856326431035995,
-0.06385578215122223,
-0.011426483280956745,
-0.008797245100140572,
0.030739299952983856,
0.011435581371188164,
-0.009274774231016636,
0.05324898660182953,
0.002418035641312599,
0.014500414952635765,
-0.012206363491714,
0.02064041793346405,
0.03174871206283569,
0.007865848951041698,
-0.015328846871852875,
-0.07857416570186615,
-0.0027105193585157394,
0.006361120380461216,
-0.026872238144278526,
-0.06785333901643753,
0.013081103563308716,
0.014550791122019291,
-0.005422089248895645,
0.06271456182003021,
0.02270691469311714,
0.0041018337942659855,
-0.004414950031787157,
0.0023509953171014786,
-0.02024434693157673,
0.007495407946407795,
0.06429963558912277,
-0.026174530386924744,
0.07696069031953812,
0.023364869877696037,
-0.007138204760849476,
-0.04509913921356201,
-0.0001961176167242229,
0.00808095932006836,
-0.010426733642816544,
-0.031240755692124367,
-0.012440633028745651,
0.008257638663053513,
-0.06403578817844391,
-0.029322447255253792,
0.008148429915308952,
-0.039555616676807404,
-0.04617755115032196,
0.02882639691233635,
-0.016010278835892677,
-0.04209531471133232,
0.015720751136541367,
-0.055508263409137726,
0.045601822435855865,
-0.011092950589954853,
0.004553965758532286,
0.029245030134916306,
0.04414702579379082,
-0.009525842033326626,
-0.00869030226022005,
0.03888503089547157,
-0.059419870376586914,
-0.009977089241147041,
-0.011388732120394707,
0.013011310249567032,
0.045683253556489944,
0.0008381922380067408,
-0.026036161929368973
] | [
-0.05207427218556404,
0.028331682085990906,
-0.04729011282324791,
-0.023165922611951828,
0.00731985317543149,
-0.009600302204489708,
0.0522681325674057,
0.014290430583059788,
0.006679174955934286,
-0.03106939047574997,
-0.010048067197203636,
-0.004520808346569538,
0.0037836453411728144,
0.0003742283442988992,
0.09238877147436142,
0.008466968312859535,
0.016525134444236755,
-0.0894559845328331,
-0.015143465250730515,
0.05600358918309212,
0.00034486359800212085,
-0.037557899951934814,
-0.03304364159703255,
0.0027172269765287638,
0.008372976444661617,
-0.011596977710723877,
0.05205599218606949,
-0.010428483597934246,
0.0055322772823274136,
-0.16404293477535248,
0.02411271445453167,
-0.006479551084339619,
0.05199964717030525,
0.0064428262412548065,
-0.023610472679138184,
0.04591512307524681,
-0.005014750175178051,
0.008743449114263058,
0.014028127305209637,
0.028870191425085068,
0.0012530877720564604,
0.026407960802316666,
0.001653622486628592,
-0.018987663090229034,
0.008921884931623936,
0.03003711812198162,
0.00818796269595623,
-0.002822801237925887,
-0.07388314604759216,
-0.0016256083035841584,
-0.04999609291553497,
-0.039868149906396866,
-0.012364592403173447,
0.0024467874318361282,
-0.02366217039525509,
0.0215204618871212,
0.04144337400794029,
0.03266679495573044,
0.017867552116513252,
0.020524349063634872,
0.019323889166116714,
0.0008065335568971932,
-0.14810849726200104,
0.12316126376390457,
0.025428762659430504,
0.0633266344666481,
-0.029945863410830498,
-0.0024503644090145826,
-0.040681272745132446,
0.05298885703086853,
0.019912060350179672,
-0.008898609317839146,
0.015047878958284855,
-0.007658759132027626,
0.0006971820839680731,
0.0001426074595656246,
-0.0041580465622246265,
0.04342757537961006,
0.0074839224107563496,
-0.05592815577983856,
-0.0038622093852609396,
0.017530735582113266,
-0.02850215695798397,
-0.02463982254266739,
-0.051980938762426376,
0.016964087262749672,
-0.017699388787150383,
0.03232243284583092,
-0.0110038872808218,
0.02556990087032318,
0.03625710308551788,
0.01960098184645176,
0.02410774864256382,
-0.02431238442659378,
-0.05232248082756996,
-0.019110724329948425,
-0.023302728310227394,
0.032682619988918304,
-0.07317137718200684,
0.4608609080314636,
-0.01175621710717678,
-0.01447480171918869,
0.07710195332765579,
0.03887179493904114,
-0.03853033483028412,
0.0191872026771307,
-0.024173565208911896,
-0.081305593252182,
0.03416531905531883,
-0.00045118655543774366,
0.03350274637341499,
0.010105930268764496,
0.04057407006621361,
-0.017874961718916893,
0.01413536723703146,
0.013637959025800228,
0.10097847133874893,
-0.0004892367287538946,
-0.009401215240359306,
-0.04730997234582901,
-0.04510229080915451,
0.022364536300301552,
-0.001687019830569625,
-0.03675900027155876,
-0.021923977881669998,
-0.08465100824832916,
0.0275859534740448,
0.04736310988664627,
0.032019440084695816,
-0.03663506358861923,
0.043339427560567856,
-0.0848592147231102,
-0.06632039695978165,
-0.02316385507583618,
0.015042510814964771,
-0.0010664417641237378,
0.04222944378852844,
-0.0017066188156604767,
0.025805262848734856,
0.03096906468272209,
0.015167019329965115,
-0.06045481562614441,
-0.028184980154037476,
0.00017879746155813336,
-0.043642207980155945,
0.11457743495702744,
0.02436884306371212,
-0.04155361279845238,
0.009221983142197132,
0.02254236303269863,
0.007544111460447311,
0.03728201985359192,
-0.04885246232151985,
-0.06479164958000183,
0.0298476479947567,
0.021869730204343796,
0.06870318204164505,
-0.014836028218269348,
-0.030597059056162834,
-0.024262821301817894,
0.032226331532001495,
-0.010042204521596432,
-0.0606624037027359,
0.04655860364437103,
0.08543089777231216,
-0.08751753717660904,
-0.031090419739484787,
-0.024630529806017876,
0.014662060886621475,
-0.041909102350473404,
0.015691781416535378,
0.018410691991448402,
-0.014170931652188301,
0.03149065747857094,
0.042535703629255295,
-0.03773697838187218,
-0.03440943360328674,
0.03813707083463669,
0.035697367042303085,
0.028618955984711647,
0.04376284033060074,
-0.017145726829767227,
-0.030837370082736015,
0.031811583787202835,
-0.02793452888727188,
-0.057289693504571915,
-0.05429632216691971,
-0.028767626732587814,
-0.007916136644780636,
-0.0116128446534276,
-0.012840302661061287,
0.0026943956036120653,
-0.1257113814353943,
0.096646748483181,
-0.01985112577676773,
-0.03971447795629501,
0.013886014930903912,
-0.012812809087336063,
-0.017556827515363693,
0.02754565142095089,
-0.0884494036436081,
0.04443031921982765,
-0.05350570008158684,
0.017327042296528816,
-0.04911499097943306,
0.06256786733865738,
0.04940781742334366,
-0.021579431369900703,
0.09572789818048477,
0.02604721672832966,
-0.006121089681982994,
-0.03492975980043411,
0.025959935039281845,
0.049090176820755005,
0.0019045305671170354,
-0.02097456343472004,
0.02805241011083126,
-0.010610764846205711,
0.037275105714797974,
0.012881951406598091,
-0.016765175387263298,
-0.020589129999279976,
-0.005416464991867542,
-0.34051021933555603,
-0.02353648841381073,
-0.05487406998872757,
-0.005490470677614212,
0.0360417477786541,
-0.06077706441283226,
0.03715387359261513,
-0.028401998803019524,
0.011577529832720757,
0.04524897038936615,
0.020768681541085243,
0.02079363353550434,
0.01693285070359707,
0.004941197112202644,
0.04827115684747696,
0.02305006794631481,
-0.05009150132536888,
0.02873706817626953,
-0.02886093407869339,
-0.01473496574908495,
-0.003556429874151945,
0.03294588625431061,
-0.025112397968769073,
-0.04995478689670563,
0.025234973058104515,
-0.030840907245874405,
0.09316961467266083,
0.008523953147232533,
0.023283837363123894,
-0.0013151391176506877,
0.026274139061570168,
0.01434306800365448,
0.013321767561137676,
-0.14113883674144745,
0.009537432342767715,
-0.01850012317299843,
-0.016428114846348763,
-0.041426923125982285,
-0.011597740463912487,
-0.014323776587843895,
-0.018659524619579315,
0.004964983090758324,
-0.04942619428038597,
-0.002193911699578166,
-0.09261612594127655,
0.029225820675492287,
-0.010163582861423492,
-0.008437685668468475,
-0.018644817173480988,
0.0668725073337555,
-0.009270270355045795,
-0.041786063462495804,
-0.005946435499936342,
0.04326660931110382,
-0.04171770438551903,
-0.030636899173259735,
-0.12268469482660294,
0.022313138470053673,
-0.001906551537103951,
0.03470943495631218,
0.015310809016227722,
0.08658843487501144,
0.04384720325469971,
-0.06444920599460602,
-0.01642729341983795,
0.013268507085740566,
-0.01292209792882204,
0.03310738131403923,
0.0023302717600017786,
0.01836761087179184,
-0.020545147359371185,
0.07855242490768433,
-0.05109170079231262,
-0.030769577249884605,
0.01806947961449623,
0.05196351930499077,
-0.02033000811934471,
0.04023830592632294,
-0.0003989628457929939,
0.0015140492469072342,
0.033942315727472305,
-0.021866891533136368,
0.015760641545057297,
-0.025345012545585632,
-0.025350607931613922,
0.0398825965821743,
-0.01823253743350506,
-0.037825554609298706,
0.08707412332296371,
0.016106031835079193,
-0.020183784887194633,
0.02135450392961502,
-0.03356604650616646,
-0.03296127915382385,
0.04941772669553757,
-0.004961173050105572,
-0.2483638972043991,
0.017113501206040382,
0.04614252969622612,
0.039888642728328705,
-0.016355184838175774,
0.04175100475549698,
0.009832187555730343,
-0.03915335237979889,
-0.009117175824940205,
0.01779014803469181,
0.05836861580610275,
0.023595403879880905,
0.00487313698977232,
0.006409998517483473,
0.007257689256221056,
-0.028587546199560165,
0.007497308775782585,
0.011302191764116287,
0.024271581321954727,
-0.0003877173294313252,
-0.007467711344361305,
-0.01751001924276352,
0.13482438027858734,
0.006541518494486809,
0.03496941551566124,
-0.026493582874536514,
0.016018519178032875,
0.01541233155876398,
-0.019186371937394142,
-0.025363435968756676,
0.015614178031682968,
-0.03260916471481323,
0.04360657557845116,
-0.019667377695441246,
0.02037855237722397,
-0.08450710773468018,
-0.021976133808493614,
0.012309764511883259,
0.041547246277332306,
0.02110738307237625,
0.014906221069395542,
0.021496104076504707,
-0.04285154491662979,
0.02247641049325466,
0.07160936295986176,
0.015188002958893776,
-0.015903709456324577,
-0.0007180733955465257,
-0.02375122718513012,
-0.001091106329113245,
-0.016535619273781776,
-0.024145977571606636,
-0.0039550988003611565,
0.03773669898509979,
0.007045780774205923,
0.0438050702214241,
0.008287431672215462,
-0.048631105571985245,
0.008945712819695473,
-0.012850416824221611,
-0.03238038346171379,
0.011406772769987583,
0.08267036825418472,
0.0008045126451179385,
0.03490161523222923
] | [
-0.01826133206486702,
0.0064287371933460236,
-0.002731731627136469,
0.025791268795728683,
-0.022764796391129494,
-0.03850216418504715,
-0.025652283802628517,
-0.030051058158278465,
0.008671578019857407,
0.0067838747054338455,
0.01971535198390484,
-0.005238467827439308,
0.02411738969385624,
0.004628985188901424,
0.034916941076517105,
0.02891717106103897,
0.012706348672509193,
-0.02999446913599968,
0.029481036588549614,
-0.023448070511221886,
-0.015299840830266476,
0.010227450169622898,
-0.030454488471150398,
-0.01589912548661232,
-0.008279716596007347,
0.013667612336575985,
-0.011251070536673069,
-0.015541955828666687,
0.014848818071186543,
-0.142601877450943,
0.0010885595111176372,
-0.042292434722185135,
0.005107258912175894,
0.024979593232274055,
-0.016422146931290627,
0.00422425614669919,
0.029260143637657166,
0.057723503559827805,
0.047635290771722794,
-0.02672721818089485,
0.007075931411236525,
0.02043621614575386,
0.0130208320915699,
-0.0017362880753353238,
0.019633537158370018,
-0.014767701737582684,
-0.0057042911648750305,
-0.015373636968433857,
-0.02937374822795391,
-0.03209632635116577,
-0.03244175389409065,
-0.02531498298048973,
-0.006865484640002251,
0.027807185426354408,
0.031102439388632774,
0.0008591131190769374,
0.012432227842509747,
0.002574595157057047,
0.012827256694436073,
0.029480595141649246,
-0.004358117468655109,
0.005076985340565443,
-0.043080996721982956,
-0.030498351901769638,
0.022617416456341743,
-0.01763651706278324,
-0.020445579662919044,
0.015087345615029335,
-0.02680174447596073,
0.0057635437697172165,
0.0036746810656040907,
0.011227205395698547,
0.012705125845968723,
-0.0005820951191708446,
-0.0016314198728650808,
-0.007143429014831781,
-0.021356483921408653,
-0.015691980719566345,
-0.016561899334192276,
-0.014599241316318512,
-0.0387948639690876,
0.04596463218331337,
0.015986887738108635,
0.027594028040766716,
0.0024938485585153103,
-0.015114887617528439,
0.020080190151929855,
-0.026314454153180122,
-0.0277017280459404,
0.004459382966160774,
0.021936368197202682,
0.0016472231363877654,
-0.01005205512046814,
0.019406821578741074,
-0.059915941208601,
-0.023400386795401573,
-0.056411296129226685,
-0.0452905036509037,
-0.0017928831512108445,
0.8230240941047668,
-0.0002952303329948336,
0.013098006136715412,
-0.009040607139468193,
-0.013709223829209805,
-0.053521186113357544,
-0.035456426441669464,
-0.022405177354812622,
-0.01909477263689041,
-0.0075429086573421955,
-0.014301732182502747,
-0.03223147988319397,
0.040292493999004364,
0.010515562258660793,
0.02533508464694023,
-0.00664160680025816,
0.009460891596972942,
0.01766429841518402,
0.03431238979101181,
-0.0178112480789423,
-0.05108224228024483,
-0.020151518285274506,
0.013817735016345978,
0.010584474541246891,
-0.013048458844423294,
0.025849469006061554,
-0.14877629280090332,
0.000962408899795264,
-7.867010636557544e-33,
0.027579253539443016,
0.004032168071717024,
0.04502926021814346,
-0.008901514112949371,
-0.006059121806174517,
-0.041304681450128555,
0.013515908271074295,
-0.024262726306915283,
-0.02171407639980316,
0.009378321468830109,
-0.0051676263101398945,
0.006800028961151838,
0.06470327824354172,
-0.07585112750530243,
0.029959531500935555,
-0.006709237117320299,
-0.014954586513340473,
0.023815806955099106,
0.006072234828025103,
0.0010604365961626172,
0.009960236959159374,
0.04475051537156105,
0.004734395071864128,
0.015643030405044556,
0.010910624638199806,
-0.012753430753946304,
0.061107467859983444,
-0.02066442370414734,
0.006429701112210751,
-0.04078232869505882,
0.005265676416456699,
0.006738682743161917,
-0.03678575158119202,
-0.012924800626933575,
0.0028512165881693363,
-0.03379843011498451,
0.013150082901120186,
-0.006890279706567526,
0.02255956456065178,
-0.08219359070062637,
-0.017079424113035202,
0.01134782936424017,
-0.003477392951026559,
0.021298836916685104,
-0.03409455716609955,
0.04116189852356911,
0.002082992345094681,
-0.017398808151483536,
0.006361337844282389,
0.03675459325313568,
-0.014471551403403282,
0.0272898580878973,
0.024762524291872978,
0.010969686321914196,
0.0008501896518282592,
-0.01610085554420948,
0.013444778509438038,
0.02339158207178116,
0.04853111878037453,
-0.002480744384229183,
0.02383856289088726,
-0.044108908623456955,
-0.056401073932647705,
0.010950122959911823,
0.005099660251289606,
-0.00836304109543562,
-0.013465394265949726,
-0.03913804888725281,
0.036063652485609055,
-0.01855430379509926,
-0.0011547912145033479,
-0.013197815045714378,
-0.028603246435523033,
-0.0025718852411955595,
-0.025937549769878387,
0.010360569693148136,
-0.023264938965439796,
0.02301810309290886,
0.002985406434163451,
-0.002167505444958806,
-0.035834118723869324,
0.006460636854171753,
0.019267750903964043,
-0.056725479662418365,
0.07167496532201767,
-0.02188725396990776,
-0.008630567230284214,
-0.022816458716988564,
0.021388428285717964,
0.03532848879694939,
-0.010095306672155857,
0.006277373991906643,
0.024980176240205765,
0.009905326180160046,
-0.015301261097192764,
8.306423649206362e-33,
0.04977405443787575,
-0.020158473402261734,
-0.011084397323429585,
-0.01946042664349079,
0.017039990052580833,
-0.00022095360327512026,
-0.01903955265879631,
0.012022589333355427,
-0.0381554551422596,
0.021899620071053505,
-0.009840257465839386,
0.02775772102177143,
-0.002648587804287672,
0.06696061044931412,
0.03900326043367386,
-0.011310705915093422,
-0.007845667190849781,
-0.02854691445827484,
0.009138401597738266,
0.00040958099998533726,
-0.010123864747583866,
0.013762698508799076,
0.0151047483086586,
0.05103613808751106,
0.026039056479930878,
0.06793833523988724,
-0.018093908205628395,
0.03728528320789337,
0.005491991993039846,
-0.022724542766809464,
-0.009090136736631393,
-0.0060255383141338825,
0.01926054246723652,
0.028722243383526802,
-0.025715192779898643,
0.0038893725723028183,
0.014635569415986538,
-0.04443340748548508,
0.027044927701354027,
0.02736542373895645,
-0.04834187403321266,
0.03216449171304703,
0.009184657596051693,
0.00008855849591782317,
-0.015768444165587425,
-0.025371911004185677,
-0.00941254198551178,
0.02458563819527626,
-0.04315982013940811,
-0.017607932910323143,
-0.03780072182416916,
0.015346216969192028,
0.07331722229719162,
0.0054411012679338455,
0.030729543417692184,
-0.012576892971992493,
-0.02562374621629715,
-0.0044976575300097466,
-0.013320928439497948,
-0.002068960340693593,
0.010189827531576157,
-0.011340868659317493,
-0.017012597993016243,
-0.011910554952919483,
-0.053736671805381775,
0.011870898306369781,
0.047602370381355286,
-0.015583302825689316,
0.029772840440273285,
-0.01949997805058956,
-0.022142460569739342,
-0.027978679165244102,
-0.010643959045410156,
0.035561759024858475,
0.03757314383983612,
-0.015321258455514908,
-0.014347003772854805,
0.007526560686528683,
0.006254395004361868,
0.0051325359381735325,
0.0197027325630188,
-0.01346892211586237,
0.02243836224079132,
-0.03276737779378891,
0.03996577858924866,
0.035935573279857635,
0.02721765823662281,
0.031492821872234344,
0.056181930005550385,
-0.012150058522820473,
0.04516424611210823,
-0.03808246925473213,
0.019671883434057236,
0.014847747050225735,
0.032225772738456726,
-1.332237697937444e-8,
-0.04539717733860016,
-0.04722017049789429,
0.012962255626916885,
0.02826053649187088,
0.019979244098067284,
-0.012886236421763897,
0.002192131243646145,
-0.011373534798622131,
-0.02010330744087696,
0.019299251958727837,
0.03311535343527794,
-0.05123831331729889,
-0.018171420320868492,
-0.019435586407780647,
0.02403588965535164,
-0.058398377150297165,
0.0067627523094415665,
-0.006452140863984823,
0.032757461071014404,
0.011150221340358257,
0.0039026523008942604,
0.044554080814123154,
0.0013635935029014945,
0.02030363492667675,
-0.0023489019367843866,
0.013658884912729263,
-0.025278544053435326,
-0.11788260191679001,
-0.006210396997630596,
0.03447684645652771,
0.006996735464781523,
-0.011861451901495457,
-0.02143544703722,
-0.027299223467707634,
-0.03074759431183338,
0.006852474994957447,
0.03245619311928749,
0.010773448273539543,
0.05083959922194481,
-0.0036848965100944042,
0.01090225763618946,
0.008535375818610191,
-0.016234174370765686,
-0.027280708774924278,
-0.0003983479109592736,
0.034230541437864304,
-0.05231158062815666,
-0.006806537043303251,
0.027001218870282173,
-0.03184143081307411,
-0.002339881844818592,
0.009437691420316696,
0.02389218471944332,
0.030396372079849243,
-0.011020801961421967,
0.010933097451925278,
-0.029854165390133858,
0.041115060448646545,
-0.04123019054532051,
0.0007713629747740924,
0.09005804359912872,
0.005654782988131046,
-0.01759636215865612,
-0.03493935242295265
] | india-cultural-differences-hierarchy | https://markhneedham.com/blog/2010/12/27/india-cultural-differences-hierarchy |
false | 2010-12-10 03:47:13 | Why am I working in India? | [
"software-development"
] | [
"Software Development"
] | A few colleagues have asked me why I chose to work in India so I thought it would be interesting to explore what it is that appealed to me about working here.
I've come to the conclusion that there were 2 main drivers for me:
== The buzz of the ThoughtWorks office
I was in Bangalore in 2006 when I attended http://www.thoughtworks.com/thoughtworks-university[ThoughtWorks University] and one of the things that stood out for me was the atmosphere in the Diamond District office.
It was really buzzing with noise and I thought it would be really fun to have the chance to work in that type of environment.
I don't think Pune reaches the levels that I remember from Bangalore but it's still quite a fun and relaxed place to work.
I haven't noticed as much inter team communication in Pune as I did in Bangalore which is interesting and perhaps means we aren't getting the full benefit of having so many people in the same room.
My overall feeling is that the office here acts much more as a central point for people during the week and they'll spend much more time in it than I've seen in other countries.
The cool thing about that is that nearly every evening there's people to hang out and go to dinner with!
== Curiosity about offshore development
I've spent the past four years working predominantly in co-located teams and had always heard that it was much more difficult to work in a distributed team.
I have worked in one team which was distributed between Melbourne and Sydney but it's not quite the same as working in a team distributed in two countries with big time zone differences as well.
From hearing a couple of talks about distributed agile I was coming to the conclusion that big/complex projects would typically be off-shored since an offshore team could add people much more rapidly.
I haven't really noticed that my current project is any more complicated technically or domain wise than others that I've worked on but it certainly has significantly more people than anything else I've worked on before.
http://www.markhneedham.com/blog/2010/10/27/distributed-agile-communication/[As I've mentioned before], I do admire the patience of my colleagues in dealing with the slower feedback cycles/lack of face to face client communication which I've found very frustrating. | null | null | [
0.03578807786107063,
-0.0019153666216880083,
-0.0052456906996667385,
0.03696848452091217,
0.0838656947016716,
0.031475506722927094,
0.010547718964517117,
0.05994591861963272,
0.02343071810901165,
-0.009735829196870327,
-0.03298043832182884,
-0.015222150832414627,
-0.04904431477189064,
0.03212517127394676,
-0.003212395589798689,
0.07625624537467957,
0.05331708863377571,
0.00736868055537343,
0.012416793033480644,
-0.003991639241576195,
0.04966951906681061,
0.07207047939300537,
0.040576595813035965,
0.047556813806295395,
0.059853218495845795,
-0.00897971447557211,
0.030465567484498024,
-0.01742982119321823,
-0.04023782163858414,
-0.007169804535806179,
0.024489251896739006,
0.0006301786634139717,
-0.003069933969527483,
0.03232964500784874,
0.02887137606739998,
-0.02683107741177082,
-0.010562716983258724,
0.030017951503396034,
0.0010396920843049884,
-0.016325416043400764,
-0.06298717111349106,
0.037617314606904984,
-0.004207136575132608,
0.019945913925766945,
-0.037560950964689255,
0.02606978453695774,
-0.03367597609758377,
0.01721738651394844,
-0.007054194808006287,
0.01300292368978262,
-0.04555898159742355,
0.010570473037660122,
0.007678238209336996,
-0.008228893391788006,
-0.011441964656114578,
0.045301053673028946,
-0.00773911876603961,
-0.053548891097307205,
0.013381698168814182,
-0.05487644299864769,
-0.005854903720319271,
-0.031757552176713943,
0.0028010373935103416,
0.04107818007469177,
0.049176327884197235,
-0.019560063257813454,
0.019127007573843002,
0.0048977374099195,
-0.0109350411221385,
0.009548142552375793,
-0.03779647499322891,
-0.017209647223353386,
-0.008826245553791523,
0.007689347956329584,
-0.02909647300839424,
-0.04799117147922516,
-0.010989706963300705,
0.06177615746855736,
0.0058104656636714935,
0.04682149738073349,
-0.04016130045056343,
-0.002844785340130329,
0.004103285260498524,
0.030231645330786705,
0.006428462453186512,
-0.07250552624464035,
-0.0013053944567218423,
-0.031950943171978,
-0.07615915685892105,
0.0518791489303112,
0.014860798604786396,
-0.039958931505680084,
0.022965462878346443,
0.06460186094045639,
0.006774104665964842,
0.0013136983616277575,
0.031469911336898804,
0.004373275674879551,
-0.00792405754327774,
-0.023477820679545403,
-0.019183171913027763,
-0.00699708703905344,
-0.023527169600129128,
0.0124844154343009,
-0.0682809054851532,
-0.0009331092005595565,
-0.006170622073113918,
-0.002654939191415906,
-0.02485695481300354,
0.017693735659122467,
-0.038015566766262054,
0.012740252539515495,
0.0060308584943413734,
0.014636751264333725,
-0.06587466597557068,
0.06347914785146713,
0.017651382833719254,
-0.0452222116291523,
-0.03540928661823273,
-0.03138803690671921,
0.024722345173358917,
0.023707032203674316,
-0.025312332436442375,
0.06718067079782486,
0.004393449984490871,
0.015874536707997322,
-0.06520216912031174,
0.05519815534353256,
0.0031400166917592287,
-0.06724830716848373,
-0.01624581590294838,
0.04848608747124672,
-0.03181154653429985,
0.0026462553068995476,
-0.010310530662536621,
-0.04213698208332062,
0.011664689518511295,
-0.008420296013355255,
0.037907153367996216,
0.02896350435912609,
0.015368991531431675,
-0.011244557797908783,
0.005778053309768438,
0.03154299780726433,
0.023272642865777016,
-0.008012767881155014,
-0.011386960744857788,
-0.051158104091882706,
-0.03925221785902977,
-0.04546753689646721,
-0.0024241202045232058,
0.004935015458613634,
0.007575422991067171,
-0.03112434223294258,
0.026793045923113823,
0.08487844467163086,
0.05610961839556694,
0.004405244719237089,
-0.005057184491306543,
0.006649706978350878,
0.027654949575662613,
0.030773840844631195,
0.02990017645061016,
0.017944982275366783,
-0.007055278867483139,
-0.012779837474226952,
0.0036481916904449463,
0.011298466473817825,
-0.00048335784231312573,
0.017030131071805954,
-0.08158280700445175,
-0.04500523582100868,
0.05324188992381096,
-0.019950436428189278,
-0.0463094487786293,
0.04031526297330856,
0.07323206216096878,
0.043239060789346695,
-0.0014135639648884535,
-0.005819110199809074,
-0.07399451732635498,
0.027015479281544685,
0.008326544426381588,
0.034428324550390244,
0.0695146918296814,
-0.013693244196474552,
0.03891976550221443,
0.033285245299339294,
-0.02309623546898365,
0.04506019130349159,
-0.06240908056497574,
-0.07844827324151993,
-0.025841733440756798,
-0.01064132247120142,
0.03904515132308006,
-0.0373510979115963,
0.016819581389427185,
0.07006138563156128,
0.019130539149045944,
0.04552369564771652,
0.0123549560084939,
0.017216628417372704,
0.011153455823659897,
-0.0377206988632679,
-0.055528752505779266,
0.07437626272439957,
0.03499045595526695,
0.015374301932752132,
-0.02838590368628502,
0.029536111280322075,
-0.00013367609062697738,
-0.019059810787439346,
0.04639788717031479,
-0.019219061359763145,
0.04197857901453972,
-0.009559941478073597,
0.051380593329668045,
-0.035099904984235764,
0.05546848475933075,
-0.03460702300071716,
0.03703395649790764,
0.0013207413721829653,
-0.022137893363833427,
0.027688609436154366,
-0.006113091483712196,
0.1027378961443901,
0.0578191839158535,
-0.06274047493934631,
-0.04917024075984955,
0.04615572467446327,
0.03518621623516083,
-0.043398935347795486,
0.013724821619689465,
-0.01969098672270775,
0.026607485488057137,
0.008955977857112885,
-0.04900059103965759,
-0.037447940558195114,
0.01906609535217285,
-0.05883447453379631,
0.008064450696110725,
0.04020639508962631,
-0.012963464483618736,
0.06951361894607544,
-0.015625806525349617,
-0.022431276738643646,
0.008184193633496761,
-0.030079668387770653,
-0.03901384770870209,
0.011728683486580849,
0.025258708745241165,
-0.016092350706458092,
0.03378971666097641,
-0.007555317599326372,
-0.010929042473435402,
-0.04920642077922821,
-0.01330001000314951,
0.02298119105398655,
0.06486723572015762,
0.05483889952301979,
-0.0288119874894619,
0.05227118358016014,
-0.00508568249642849,
0.025955041870474815,
-0.00875292718410492,
-0.029027024284005165,
-0.025477735325694084,
-0.027994681149721146,
-0.004374572541564703,
0.01224631816148758,
0.02289019525051117,
-0.006485750898718834,
0.016373861581087112,
0.027888411656022072,
-0.011188876815140247,
-0.00925650354474783,
0.000652093964163214,
0.000017042972103809007,
-0.0051327538676559925,
-0.020030340179800987,
0.002883672481402755,
0.04753836989402771,
-0.03065197914838791,
-0.0304594524204731,
0.03197244927287102,
-0.08330237120389938,
0.003830543253570795,
-0.07225662469863892,
-0.03689176216721535,
-0.013559339568018913,
0.022485941648483276,
0.03493243455886841,
0.03149120509624481,
0.0027858761604875326,
0.045392487198114395,
-0.00034971724380739033,
0.028761381283402443,
0.014852019026875496,
-0.03387117385864258,
0.014422023668885231,
0.018265875056385994,
-0.0013711478095501661,
0.02321035973727703,
-0.008868341334164143,
0.009190833196043968,
-0.06556566059589386,
0.0544397197663784,
-0.06785512715578079,
-0.29318952560424805,
0.035278454422950745,
0.030473407357931137,
-0.029615245759487152,
0.01464070100337267,
-0.0256450567394495,
0.02709575556218624,
-0.05461138114333153,
-0.01901361718773842,
0.0009200282511301339,
-0.039744481444358826,
-0.05893293023109436,
-0.02465340681374073,
0.03646093234419823,
-0.000838461157400161,
0.041008032858371735,
0.021053357049822807,
-0.019844938069581985,
0.017117662355303764,
0.03557595983147621,
-0.03257621452212334,
-0.06275417655706406,
-0.0021089999936521053,
0.03343327343463898,
0.06196364760398865,
0.06292945891618729,
-0.06737241894006729,
0.03828490898013115,
-0.051380567252635956,
-0.007479664869606495,
0.005843717139214277,
0.0016685172449797392,
0.03628728166222572,
-0.009022878482937813,
0.010860228911042213,
-0.008406140841543674,
0.03761076554656029,
0.002419909229502082,
0.012287274934351444,
-0.0018069409998133779,
-0.02736389823257923,
-0.022152846679091454,
0.0065982346422970295,
0.024286381900310516,
0.060829803347587585,
-0.004518746864050627,
-0.08257915079593658,
-0.01197773590683937,
-0.02352016419172287,
0.08445872366428375,
-0.03434988483786583,
-0.022340115159749985,
-0.0404510460793972,
0.040379103273153305,
-0.03307768702507019,
-0.033005136996507645,
-0.015701496973633766,
-0.01498185284435749,
-0.04510222375392914,
-0.022820113226771355,
-0.012519286945462227,
-0.02878952957689762,
-0.029667675495147705,
-0.06983738392591476,
0.005930105224251747,
-0.04588822275400162,
-0.08093933016061783,
-0.010892366990447044,
0.05459515377879143,
-0.02093440480530262,
-0.05340576171875,
0.005343135911971331,
0.005841435864567757,
-0.11056603491306305,
-0.026756668463349342,
-0.015460331924259663,
-0.020693713799118996,
-0.009419865906238556,
0.02789844200015068,
0.0379396490752697,
-0.02071678824722767,
-0.04299287125468254,
0.01114017516374588,
0.013462531380355358,
0.01529166754335165,
-0.016063738614320755,
0.05503086373209953,
0.043066080659627914,
-0.037579745054244995,
0.005788217298686504,
0.049839869141578674,
-0.0012826232705265284,
-0.022069040685892105,
-0.014570570550858974,
0.03231602534651756,
0.00968750100582838,
-0.0130662452429533,
-0.025113731622695923,
-0.008691061288118362,
0.007164583075791597,
-0.016595102846622467,
-0.04591934755444527,
-0.005412892904132605,
0.004548565950244665,
0.01659962348639965,
0.0023815836757421494,
-0.041237179189920425,
0.016887566074728966,
0.034227099269628525,
0.018745873123407364,
0.025417709723114967,
-0.018446648493409157,
0.011791677214205265,
-0.056817710399627686,
-0.01277061179280281,
-0.014741593971848488,
-0.0038649539928883314,
0.05865055322647095,
0.014838363975286484,
-0.0034753484651446342,
-0.036373209208250046,
-0.004449771251529455,
-0.016376733779907227,
0.01137351244688034,
-0.07261312752962112,
-0.007326601073145866,
-0.030413765460252762,
-0.029718082398176193,
-0.002489957958459854,
0.024592336267232895,
-0.03580791875720024,
0.013517308048903942,
0.05515185371041298,
-0.02087385766208172,
0.006584641989320517,
-0.015624204650521278,
-0.08291961997747421,
-0.03580779209733009,
0.0024163599591702223,
0.013178190216422081,
-0.013186991214752197,
0.0450950488448143,
0.0002553042722865939,
0.028580492362380028,
0.03925279900431633,
0.009986801072955132,
-0.01987016759812832,
-0.02771132066845894,
0.04213466867804527,
0.013311995193362236,
-0.0018877984257414937,
-0.06075523421168327,
-0.00876794382929802,
-0.027572352439165115,
-0.027652427554130554,
-0.04203413426876068,
0.04027101397514343,
-0.019295012578368187,
-0.032607804983854294,
-0.0181433018296957,
0.015382645651698112,
-0.06653392314910889,
-0.013389600440859795,
-0.00718170078471303,
0.03916933760046959,
0.06309191137552261,
0.0008311332203447819,
0.0043723201379179955,
-0.0011683619813993573,
-0.0006897244602441788,
0.011717741377651691,
0.015642620623111725,
-0.05237795412540436,
-0.006344357039779425,
-0.006311942357569933,
0.02879251353442669,
0.004843604285269976,
0.008795480243861675,
0.04952964186668396,
0.013827956281602383,
0.006628870498389006,
-0.0291700828820467,
-0.007288410793989897,
0.05111943185329437,
0.045364536345005035,
0.03544051945209503,
-0.005719009321182966,
-0.015723131597042084,
0.006477076094597578,
-0.021031441166996956,
-0.0405135340988636,
0.015878504142165184,
-0.018448015674948692,
0.020171554759144783,
-0.03260600194334984,
-0.09152846783399582,
0.0677395612001419,
0.023371070623397827,
-0.006098137237131596,
0.009051000699400902,
-0.030507273972034454,
-0.013855128549039364,
-0.008212803862988949,
0.038977667689323425,
0.054689954966306686,
-0.053322818130254745,
-0.005240574013441801,
-0.007595709525048733,
0.013815369457006454,
-0.017501110211014748,
-0.027733581140637398,
-0.017148252576589584,
-0.021793220192193985,
-0.01819494739174843,
0.038574639707803726,
-0.06797470152378082,
-0.017709432169795036,
-0.03484461456537247,
0.03416277840733528,
0.015322502702474594,
-0.021846981719136238,
-0.01635654829442501,
-0.02143307961523533,
-0.018983904272317886,
-0.03986351937055588,
0.030398018658161163,
-0.04456109553575516,
0.003854477545246482,
0.003712931415066123,
-0.020352758467197418,
-0.02844567410647869,
-0.0432160347700119,
-0.0007521951920352876,
0.007077254354953766,
-0.016611136496067047,
0.00531756179407239,
-0.0034747240133583546,
-0.026337716728448868,
0.006465198006480932,
0.03544602915644646,
-0.033425889909267426,
-0.038685351610183716,
-0.020265059545636177,
-0.010212740860879421,
-0.051329102367162704,
0.005981307942420244,
-0.04794398322701454,
0.012148783542215824,
-0.0019618936348706484,
0.05697879567742348,
0.01700768619775772,
0.04893476143479347,
0.004260493908077478,
-0.027658747509121895,
0.0388680137693882,
-0.04096875712275505,
-0.0490548312664032,
-0.03664384409785271,
-0.06481976807117462,
-0.001633022679015994,
0.0014274973655119538,
0.0056508625857532024,
-0.037360139191150665,
0.04993918538093567,
0.019679119810461998,
0.020248794928193092,
0.02434927225112915,
-0.00405123783275485,
0.03268870338797569,
-0.06344368308782578,
-0.0072871302254498005,
-0.06712747365236282,
0.002659416990354657,
0.0012701792875304818,
0.011585205793380737,
0.008147699758410454,
0.0015959113370627165,
-0.05051164701581001,
0.060179904103279114,
-0.0811658427119255,
-0.009524546563625336,
0.04421048238873482,
0.012794076465070248,
-0.038877539336681366,
0.007897494360804558,
-0.08458318561315536,
0.0224582739174366,
0.010584013536572456,
-0.04888598993420601,
0.00030197916203178465,
-0.005606186110526323,
0.04316917061805725,
0.002168267033994198,
0.04154527932405472,
-0.049689747393131256,
-0.006927930749952793,
0.0819820836186409,
0.027146989479660988,
-0.028794463723897934,
0.06596755981445312,
-0.004600238054990768,
0.03974389657378197,
0.02480178140103817,
-0.0037820436991751194,
-0.02313349023461342,
0.03394915908575058,
-0.014729314483702183,
-0.04853114113211632,
0.043204352259635925,
-0.002912257332354784,
-0.012179690413177013,
-0.03824811056256294,
0.06064659729599953,
0.020654095336794853,
-0.03509052097797394,
-0.04772491008043289,
0.004026160109788179,
-0.0629536509513855,
0.0018268902786076069,
-0.029389169067144394,
-0.010173959657549858,
-0.05530183017253876,
0.03783771023154259,
-0.0009080375311896205,
0.030795356258749962,
0.08359955996274948,
0.004159983713179827,
-0.014284925535321236,
-0.007229621056467295,
0.0898144468665123,
0.06009240821003914,
0.06343654543161392,
-0.009506577625870705,
0.0574156790971756,
-0.0031386958435177803,
-0.04336494579911232,
-0.0022170301526784897,
-0.009121300652623177,
-0.02485615573823452,
-0.01160720270127058,
0.037214599549770355,
0.07697451114654541,
0.006804509554058313,
0.06691189855337143,
-0.008963346481323242,
-0.008583099581301212,
0.027160217985510826,
0.039780888706445694,
0.02052326872944832,
0.08368881791830063,
0.008312644436955452,
0.014702646993100643,
-0.007066792342811823,
-0.03242205083370209,
0.019895033910870552,
-0.05304565653204918,
-0.04100174456834793,
0.032375335693359375,
-0.0048927683383226395,
0.03833300620317459,
0.026069844141602516,
0.027356823906302452,
0.06580165773630142,
-0.04229078069329262,
0.015609526075422764,
-0.031135382130742073,
0.03401622176170349,
-0.021660830825567245,
0.02316613867878914,
-0.010676095262169838,
0.009559744037687778,
-0.00730670802295208,
-0.03324045240879059,
-0.049236737191677094,
-0.008307067677378654,
-0.01312668714672327,
0.017324384301900864,
-0.044532470405101776,
0.026833636686205864,
0.0357411727309227,
0.0020351936109364033,
-0.031932104378938675,
-0.060579705983400345,
-0.023636650294065475,
-0.02911395952105522,
-0.042740561068058014,
-0.027248907834291458,
0.03177843987941742,
-0.021798796951770782,
-0.022158881649374962,
0.007491163443773985,
-0.017628224566578865,
-0.044563181698322296,
0.05202600732445717,
-0.03835682570934296,
-0.012534592300653458,
0.0006384210428223014,
0.03264213353395462,
0.018017537891864777,
0.0003988207026850432,
0.06301040947437286,
-0.023004399612545967,
0.009843301959335804,
-0.009801045060157776,
0.027860689908266068,
0.020795410498976707,
0.00985779520124197,
0.006833732593804598,
-0.07039099931716919,
0.010665254667401314,
0.021607352420687675,
-0.01297058816999197,
-0.06392406672239304,
0.03035431168973446,
0.03201492875814438,
0.0007750078220851719,
0.04560356214642525,
-0.0018063579918816686,
0.009924981743097305,
-0.02473805472254753,
0.003222163300961256,
-0.01425132155418396,
0.005991081707179546,
0.04902801662683487,
-0.02221253514289856,
0.08090168237686157,
0.042115218937397,
0.0013257962418720126,
-0.03282526880502701,
0.003254338400438428,
0.007956796325743198,
0.0006483087199740112,
-0.028039248660206795,
-0.028115008026361465,
-0.03172037750482559,
-0.07094241678714752,
-0.03793448209762573,
0.005785440094769001,
-0.022415677085518837,
-0.0439397431910038,
0.03197244554758072,
0.022880394011735916,
-0.024864977225661278,
0.025727426633238792,
-0.050289615988731384,
0.04629073292016983,
-0.011455416679382324,
-0.01943383924663067,
0.000016511850844835863,
0.02394193410873413,
0.005472227931022644,
-0.025478502735495567,
0.03824124485254288,
-0.05006761476397514,
0.020959939807653427,
0.0033962938468903303,
0.005964798387140036,
0.04708664491772652,
0.025100456550717354,
-0.007350219879299402
] | [
-0.04142598435282707,
-0.008213160559535027,
-0.025781961157917976,
-0.024456903338432312,
0.03910984471440315,
-0.046841420233249664,
0.0017052487237378955,
0.005952285602688789,
-0.011606649495661259,
-0.023791946470737457,
0.018169673159718513,
-0.023130517452955246,
0.0027838421519845724,
-0.030465273186564445,
0.07754489034414291,
-0.0035700732842087746,
-0.021540874615311623,
-0.12820997834205627,
0.01301755290478468,
0.028305796906352043,
-0.024981757625937462,
-0.03080923669040203,
-0.03219020739197731,
-0.03530595451593399,
0.019738221541047096,
0.009498477913439274,
0.04462474584579468,
-0.016523919999599457,
0.009866024367511272,
-0.15986981987953186,
0.03278699517250061,
0.024392059072852135,
0.05788227170705795,
0.010832518339157104,
0.003923931159079075,
0.07463887333869934,
0.013754456304013729,
0.018551727756857872,
-0.01108507439494133,
0.02900421991944313,
0.02590181492269039,
0.010827356949448586,
-0.015311970375478268,
-0.027036288753151894,
0.00212084106169641,
-0.0001950348960235715,
0.0037172078154981136,
-0.04050944745540619,
-0.06748446822166443,
-0.0040566883981227875,
-0.04225456342101097,
-0.04399926960468292,
-0.008426787331700325,
-0.010833864100277424,
-0.013835083693265915,
0.022876063361763954,
0.02878071926534176,
0.06708162277936935,
-0.0071122064255177975,
0.03499089553952217,
0.029255209490656853,
-0.016100866720080376,
-0.14913855493068695,
0.08983881026506424,
0.05253586173057556,
0.027271803468465805,
-0.045907147228717804,
-0.01620781607925892,
-0.035577673465013504,
0.04541458189487457,
0.03147868067026138,
-0.008763294667005539,
-0.0077469926327466965,
0.01806153543293476,
0.05254526808857918,
0.019351623952388763,
-0.01764540933072567,
0.038017794489860535,
0.002121488330885768,
-0.04488964006304741,
-0.002094753086566925,
-0.01408885046839714,
-0.03997926786541939,
0.001231048023328185,
-0.05286211892962456,
0.022316990420222282,
0.004029307514429092,
0.06378073990345001,
0.027502750977873802,
0.034895382821559906,
0.05684725567698479,
0.03797317296266556,
0.005973121151328087,
-0.01718498021364212,
-0.06625977158546448,
-0.04277613386511803,
0.007626777049154043,
0.05453009530901909,
-0.04838919639587402,
0.4452403485774994,
-0.02250145934522152,
-0.019710339605808258,
0.09352808445692062,
0.04377130791544914,
-0.044857874512672424,
-0.00494972663000226,
-0.0005817114724777639,
-0.05279796943068504,
0.045989517122507095,
0.020874107256531715,
0.028480704873800278,
0.03944750875234604,
0.0304353516548872,
-0.04382938891649246,
0.0030668063554912806,
0.006773065309971571,
0.033991407603025436,
0.02064264938235283,
-0.01573515683412552,
-0.00985054299235344,
-0.0367465615272522,
0.03240543231368065,
-0.004996448289602995,
-0.012295016087591648,
-0.04413033649325371,
-0.03411678224802017,
0.028002560138702393,
0.029577651992440224,
0.040120769292116165,
-0.014345047995448112,
0.04831121861934662,
-0.04936615750193596,
-0.07720667123794556,
-0.00400112010538578,
-0.0013971496373414993,
0.011415066197514534,
0.05097247287631035,
-0.01769794523715973,
-0.020535478368401527,
0.06108646094799042,
0.047590091824531555,
-0.01162031665444374,
0.024740450084209442,
-0.04718932881951332,
-0.02334444597363472,
0.10090193152427673,
0.02688733860850334,
-0.04369344189763069,
0.010545484721660614,
-0.02776726335287094,
-0.009923363104462624,
0.018899306654930115,
-0.01863795332610607,
-0.03520641475915909,
0.05647227540612221,
-0.006609619595110416,
0.08529273420572281,
-0.01234176941215992,
-0.057460349053144455,
0.014535103924572468,
0.0066923764534294605,
-0.02075343206524849,
-0.03058307245373726,
0.06039964407682419,
0.08427904546260834,
-0.13639076054096222,
-0.03202493488788605,
-0.0022894833236932755,
0.039543572813272476,
-0.05440590903162956,
0.004483058582991362,
0.02591237612068653,
-0.0046182917430996895,
0.020469587296247482,
0.045856449753046036,
-0.04124152660369873,
-0.04400716349482536,
0.03828011080622673,
0.021332744508981705,
0.011872300878167152,
0.03534989058971405,
0.0120482686907053,
0.015430253930389881,
0.0017384446691721678,
-0.027836566790938377,
-0.08167681843042374,
-0.030371153727173805,
-0.014829612337052822,
-0.05751710757613182,
-0.030260473489761353,
-0.056295786052942276,
-0.015995284542441368,
-0.10904303938150406,
0.1163148432970047,
0.01053688582032919,
-0.038163892924785614,
0.030294591560959816,
-0.03982561081647873,
0.0006018516141921282,
-0.0022334165405482054,
-0.0493716225028038,
0.03837833181023598,
-0.05921441316604614,
0.02309119887650013,
-0.056725502014160156,
0.024829665198922157,
0.06584099680185318,
-0.01603860966861248,
0.057502347975969315,
0.0633450597524643,
-0.01002908032387495,
-0.03951950743794441,
0.06840744614601135,
0.045463357120752335,
0.003565823659300804,
-0.03552709147334099,
0.016323603689670563,
0.030111059546470642,
0.03374611213803291,
0.014967048540711403,
-0.01791628636419773,
0.03545409068465233,
-0.027768952772021294,
-0.34289851784706116,
-0.020311329513788223,
-0.02754957601428032,
0.002139895223081112,
0.026501234620809555,
-0.011808125302195549,
0.029371410608291626,
-0.011230836622416973,
0.036273494362831116,
0.016263220459222794,
0.07292775064706802,
-0.022447187453508377,
0.040212783962488174,
-0.027330512180924416,
0.03981906175613403,
0.006289604119956493,
-0.05033593624830246,
0.03637310862541199,
-0.005762009881436825,
-0.02750849723815918,
0.034064121544361115,
0.01342627964913845,
-0.041535764932632446,
-0.012328268960118294,
0.017081253230571747,
-0.05030706152319908,
0.10361704230308533,
-0.03535041585564613,
0.03499531373381615,
-0.04392758011817932,
0.00865164864808321,
0.01903335005044937,
0.041171278804540634,
-0.1531311571598053,
0.0030096727423369884,
-0.01999673992395401,
0.04511193558573723,
-0.05243857949972153,
-0.005816011223942041,
-0.005445034708827734,
-0.02455531805753708,
0.011613682843744755,
-0.07914628833532333,
-0.02683747000992298,
-0.07150305807590485,
0.009924812242388725,
-0.03815275430679321,
-0.025834478437900543,
-0.03984473645687103,
0.06503376364707947,
-0.019926708191633224,
-0.027482399716973305,
0.01970142126083374,
0.02734551765024662,
-0.00013982070959173143,
-0.042377084493637085,
-0.08333386480808258,
0.031228233128786087,
-0.0010084589011967182,
0.01547249685972929,
-0.0031674609053879976,
0.05816818028688431,
0.03538767993450165,
-0.043149642646312714,
0.00806025043129921,
0.02260148711502552,
0.002523125149309635,
0.056213270872831345,
0.006106236949563026,
-0.00037733290810137987,
-0.007161448244005442,
0.06221378594636917,
-0.005927258636802435,
-0.021064061671495438,
0.014778017066419125,
-0.0005411476595327258,
-0.015695465728640556,
0.0425117053091526,
0.029118670150637627,
0.002134808339178562,
0.039989035576581955,
-0.050198327749967575,
0.024227013811469078,
-0.023416267707943916,
-0.004943692125380039,
0.07331131398677826,
-0.005288278684020042,
-0.04285837337374687,
0.04801042377948761,
0.04035323113203049,
-0.0040123919025063515,
0.009207336232066154,
-0.020084533840417862,
-0.024407869204878807,
0.05965042859315872,
0.009607195854187012,
-0.2478184551000595,
0.006615326274186373,
0.036105915904045105,
-0.010502779856324196,
-0.02514619566500187,
0.02114955335855484,
0.02318999357521534,
-0.030868683010339737,
0.011886888183653355,
0.03561384975910187,
0.047042373567819595,
-0.008014592342078686,
0.004094491247087717,
-0.02553572878241539,
0.05063151568174362,
0.008992631919682026,
0.0278200451284647,
0.016056852415204048,
0.03558836504817009,
-0.033162083476781845,
-0.01939408667385578,
0.008773606270551682,
0.14407780766487122,
0.019723080098628998,
0.044905077666044235,
0.005329589359462261,
-0.026626652106642723,
0.0004858066386077553,
0.014022966846823692,
-0.01358981616795063,
0.013798991218209267,
-0.026999259367585182,
0.013256403617560863,
-0.012263725511729717,
-0.009380721487104893,
-0.07773210853338242,
-0.04928072169423103,
0.03782688081264496,
0.022807583212852478,
0.005416152998805046,
0.029492942616343498,
0.01669836789369583,
-0.020244112238287926,
0.029624268412590027,
0.059183117002248764,
0.003643749514594674,
-0.036850493401288986,
-0.04945985972881317,
-0.024316683411598206,
-0.023573508486151695,
-0.03563832491636276,
-0.06012348830699921,
0.02568753995001316,
-0.015530457720160484,
-0.00041734203114174306,
0.06709332019090652,
0.0055956486612558365,
-0.07624562084674835,
-0.025357214733958244,
-0.020651137456297874,
-0.015200219117105007,
-0.030940528959035873,
0.07453137636184692,
-0.01009721402078867,
0.014514487236738205
] | [
0.009554860182106495,
0.002188278129324317,
0.01868852600455284,
-0.0030081872828304768,
-0.005306086037307978,
-0.008195560425519943,
-0.01967136561870575,
-0.007112288381904364,
-0.016919489949941635,
-0.018568621948361397,
-0.012370919808745384,
-0.012014779262244701,
0.01012729573994875,
-0.008113319985568523,
0.023798951879143715,
-0.006346431095153093,
0.027235938236117363,
-0.0371253676712513,
0.04847053810954094,
0.025888284668326378,
-0.00898326002061367,
0.02910085953772068,
-0.03313151374459267,
-0.038269490003585815,
0.01431027427315712,
0.03194215148687363,
0.00609988858923316,
-0.0005391616141423583,
0.019756928086280823,
-0.12910614907741547,
-0.008415458723902702,
0.01124110259115696,
-0.0176039170473814,
0.016103072091937065,
0.005994738545268774,
-0.01312495581805706,
-0.019856072962284088,
0.039695605635643005,
0.02935967594385147,
-0.01734190061688423,
0.012935205362737179,
-0.012806713581085205,
0.025924336165189743,
0.01449042372405529,
-0.017249884083867073,
-0.0015169776743277907,
0.017750760540366173,
-0.03878820687532425,
-0.00316067598760128,
-0.003830332774668932,
-0.04967835918068886,
-0.05042631924152374,
-0.017143258824944496,
0.01038259919732809,
0.02163069136440754,
-0.033216509968042374,
0.037819504737854004,
0.030996792018413544,
0.005538747645914555,
0.008305740542709827,
0.03789104148745537,
-0.012894839979708195,
-0.03348733112215996,
-0.020313598215579987,
-0.005916166584938765,
-0.010130497626960278,
-0.011917528696358204,
0.012262293137609959,
-0.0349121131002903,
0.013900171034038067,
-0.01835251785814762,
0.040453456342220306,
-0.015404044650495052,
-0.04417656362056732,
0.025466211140155792,
0.008640632964670658,
-0.018886147066950798,
0.004294260870665312,
0.004452994558960199,
0.005422418005764484,
-0.023808976635336876,
0.031605273485183716,
-0.013350310735404491,
0.00033413106575608253,
-0.021454384550452232,
-0.020428910851478577,
0.04433951526880264,
0.002485761186107993,
0.0049763815477490425,
0.010123358108103275,
-0.015562551096081734,
0.024546798318624496,
-0.02946721389889717,
0.013940993696451187,
-0.109935462474823,
-0.014181298203766346,
-0.038467004895210266,
-0.0008064736612141132,
0.003107743803411722,
0.8359694480895996,
-0.05313129350543022,
-0.0017045437125489116,
0.0036751828156411648,
0.001950182719156146,
-0.05267266929149628,
0.0050841751508414745,
0.0014192014932632446,
-0.015688220039010048,
0.0012788570020347834,
-0.04104261472821236,
-0.0035512906033545732,
0.030795589089393616,
0.01311514526605606,
0.011234864592552185,
-0.0032151457853615284,
0.009644975885748863,
0.025290988385677338,
0.013795319013297558,
-0.010171916335821152,
-0.01783617027103901,
0.0036583731416612864,
0.00046567682875320315,
0.013124760240316391,
-0.0007391279214061797,
0.009918942116200924,
-0.16835448145866394,
-0.009483076632022858,
-7.567018600755943e-33,
0.017105991020798683,
-0.0013962402008473873,
0.011113054119050503,
-0.0035745094064623117,
0.0077247582376003265,
-0.047398678958415985,
0.0013903140788897872,
0.013858173042535782,
-0.006631223019212484,
-0.015582183375954628,
-0.011166814714670181,
0.008836079388856888,
0.026219161227345467,
-0.02365465834736824,
0.01186868641525507,
-0.03360927104949951,
0.005052249878644943,
0.01709858700633049,
-0.009982346557080746,
0.008083187974989414,
0.020538270473480225,
0.006648319307714701,
-0.0063014947809278965,
0.02596423588693142,
0.0071168625727295876,
0.013066762126982212,
0.06584754586219788,
-0.015423967503011227,
0.03610989823937416,
-0.033535100519657135,
-0.016278095543384552,
0.012605146504938602,
-0.011695748195052147,
0.0021412502974271774,
0.002806801814585924,
-0.013068421743810177,
-0.0451839417219162,
-0.004394278861582279,
-0.013171237893402576,
-0.04776116833090782,
-0.03086663782596588,
0.00272640329785645,
-0.04171246662735939,
-0.006940660532563925,
-0.017501527443528175,
0.011623126454651356,
0.00042148801730945706,
0.028148191049695015,
-0.004490331746637821,
-0.0185211431235075,
0.0048781996592879295,
-0.010302899405360222,
-0.016432147473096848,
0.052962955087423325,
0.013042550534009933,
0.015142795629799366,
0.0021898651029914618,
0.010930699296295643,
0.0030845131259411573,
0.030428528785705566,
-0.013460705056786537,
-0.029910117387771606,
-0.02543601579964161,
0.02416149154305458,
-0.021702393889427185,
0.025287242606282234,
0.014651576057076454,
-0.021503886207938194,
0.04356427118182182,
-0.04013369232416153,
-0.03031463921070099,
0.0166229996830225,
0.015181888826191425,
0.009354417212307453,
-0.024654045701026917,
0.03232644498348236,
-0.012112390249967575,
0.02783813327550888,
-0.02266887202858925,
0.025067279115319252,
-0.014478860422968864,
0.01863318681716919,
-0.024594435468316078,
-0.06606316566467285,
0.02725464105606079,
0.00428264494985342,
0.005100015085190535,
-0.020907705649733543,
0.004577319137752056,
0.04946262016892433,
0.019529886543750763,
0.014491255395114422,
0.031044278293848038,
0.00948883406817913,
-0.041998423635959625,
8.203243163194997e-33,
-0.0038642375729978085,
-0.023430008441209793,
-0.040173690766096115,
-0.02022797241806984,
0.029668862000107765,
0.025104982778429985,
0.03359656408429146,
0.0017568073235452175,
-0.05378222465515137,
0.03242000192403793,
-0.04174836352467537,
0.0026922624092549086,
-0.004276564810425043,
0.02144402451813221,
0.04749170318245888,
-0.05089027062058449,
0.06165975332260132,
-0.060436319559812546,
0.0003758877865038812,
0.01917748712003231,
0.010548960417509079,
0.006019933149218559,
0.020648371428251266,
0.013448729179799557,
0.02981356531381607,
0.08400651067495346,
-0.025581208989024162,
0.02605544775724411,
-0.020157936960458755,
0.022360870614647865,
-0.012003719806671143,
0.001206619548611343,
0.00786635186523199,
0.0314653106033802,
-0.03852356597781181,
0.027751710265874863,
-0.022604933008551598,
-0.007936697453260422,
0.0126419672742486,
0.04471791163086891,
-0.018460020422935486,
0.012634939514100552,
-0.0013143169926479459,
0.020211022347211838,
-0.005438352003693581,
0.00966585148125887,
-0.01174458023160696,
-0.006156293675303459,
-0.043789949268102646,
-0.002792134415358305,
0.0073375338688492775,
0.03453630954027176,
-0.021007219329476357,
-0.014820677228271961,
0.010452941991388798,
-0.009158097207546234,
-0.01986571215093136,
-0.0025760154239833355,
0.006713370326906443,
0.009457145817577839,
0.0029262222815304995,
-0.028419679030776024,
-0.01736527681350708,
0.011349196545779705,
-0.02984984591603279,
0.04522491618990898,
0.05622350051999092,
-0.024542439728975296,
0.00569436838850379,
-0.004214640241116285,
0.0031496500596404076,
0.018536610528826714,
-0.01406071987003088,
0.059818822890520096,
0.03267053887248039,
-0.02421829290688038,
-0.046807676553726196,
0.011879125609993935,
-0.035292550921440125,
0.021504366770386696,
-0.010487612336874008,
0.039909400045871735,
-0.012556740082800388,
0.0005751983262598515,
0.002119408454746008,
0.022556835785508156,
-0.021898383274674416,
0.026221944019198418,
0.012350139208137989,
-0.022202879190444946,
-0.0041956850327551365,
0.01683739386498928,
-0.013148000463843346,
0.017151178792119026,
0.04496120288968086,
-1.3199392689955403e-8,
-0.017863649874925613,
-0.008880926296114922,
-0.0007011370034888387,
-0.007387788500636816,
0.0005860842065885663,
-0.024089673534035683,
0.005601926241070032,
0.0420621894299984,
0.00007674565858906135,
0.03386574983596802,
0.04708746075630188,
-0.06394189596176147,
-0.010505842976272106,
0.02719619870185852,
0.02838117443025112,
-0.03383181244134903,
0.02071305364370346,
-0.023327456787228584,
0.020166810601949692,
-0.026010027155280113,
0.0579034760594368,
0.04240865632891655,
-0.026301123201847076,
0.04516329616308212,
-0.012830838561058044,
-0.009176929481327534,
-0.03161514177918434,
-0.08337654173374176,
-0.01204315759241581,
-0.00014862108218949288,
0.007680388633161783,
-0.010353087447583675,
-0.0320284366607666,
0.009862790815532207,
-0.04217938706278801,
-0.01967081055045128,
0.0592326819896698,
0.012374593876302242,
0.044000498950481415,
0.021164333447813988,
-0.02698897011578083,
0.02990357205271721,
-0.013878786005079746,
-0.03474707156419754,
-0.013021059334278107,
0.04301381856203079,
-0.009097523055970669,
-0.0187436044216156,
0.000031120842322707176,
-0.032344698905944824,
0.01154295913875103,
0.02481680177152157,
0.007474531419575214,
0.054706402122974396,
-0.018810054287314415,
0.014982041902840137,
-0.03299283608794212,
-0.0018266992410644889,
-0.047592729330062866,
0.018479691818356514,
0.03334098681807518,
0.021855222061276436,
-0.03485136106610298,
-0.01956477202475071
] | why-am-i-working-in-india | https://markhneedham.com/blog/2010/12/10/why-am-i-working-in-india |
false | 2010-12-26 00:04:54 | Theory of Constraints: Blaming the bottleneck | [
"software-development"
] | [
"Software Development"
] | I've been reading http://www.amazon.com/Goal-Process-Ongoing-Improvement/dp/0884271781/ref=sr_1_1?ie=UTF8&qid=1293318612&sr=8-1[The Goal] over the last week or so where Eliyahu Goldratt describes the http://en.wikipedia.org/wiki/Theory_of_Constraints[theory of constraints] as a philosophy for allowing organisations to continually achieve their goal.
Goldratt goes on to describe http://en.wikipedia.org/wiki/Bottleneck[bottlenecks] - resources which have a capacity less than the capacity being demanded of the system.
The capacity of the system cannot be higher than that of the bottleneck which means that we need to find a way to optimise the bottlenecks in any system.
In a software context I think an agile/lean approach to delivery is quite effective for allowing us to quickly see where the bottlenecks are - this will typically be where the cards are piling up on the wall.
The problem with this is that we can frequently end up blaming the people working in the role where the bottleneck seems to be.
On the projects I've worked on stories tend to get stuck in QA since there are significantly less testers than developers on any team.
Since blaming isn't particularly useful Goldratt suggests two ways to optimise bottlenecks:
. Don't waste time of the bottleneck
** Processing defective parts
** Sitting idle
** Work on unnecessary parts
. Take load off the bottleneck
The bottleneck ends up sitting idle when we wait until we've completely finished a story before showcasing what we've done to the testers.
It's frequently the case that we can QA test a piece of functionality before the whole thing is complete.
We can avoid processing defective parts in this case by talking through a story with a tester before we start and thinking of the bugs we might create in development. Unit testing can also be useful for reducing defects.
I'm not sure how working on unnecessary parts would work most of the time - perhaps testing features which aren't required for the next release would be an example of this.
We can achieve the second to an extent by ensuring that we have more scenarios automated so that a tester doesn't need to manually cover them each time.
We could also get developers to temporarily take on the role of a tester to increase capacity but from my experience that doesn't seem to work out as well in practice as it seems like it should. | null | null | [
0.02799571491777897,
0.008692892268300056,
-0.02099323272705078,
0.040357090532779694,
0.08823005855083466,
0.030628759413957596,
0.022236887365579605,
0.03185709938406944,
0.015216522850096226,
-0.024082709103822708,
-0.022496193647384644,
-0.010810007341206074,
-0.053345147520303726,
0.03372567519545555,
-0.04870815575122833,
0.06712263822555542,
0.07652897387742996,
-0.0028772142250090837,
0.03384138271212578,
0.014668582007288933,
0.04685288295149803,
0.07142341881990433,
0.030062565580010414,
0.04735833778977394,
0.04274481534957886,
0.01579967886209488,
0.0033121732994914055,
0.0033282567746937275,
-0.0558350495994091,
-0.016620546579360962,
0.05774366483092308,
-0.017994651570916176,
-0.0009916613344103098,
-0.02246256358921528,
0.00714454147964716,
-0.01466447114944458,
-0.034033358097076416,
0.04929342493414879,
0.00998050719499588,
-0.01449268776923418,
-0.07447029650211334,
0.0558292381465435,
-0.023883242160081863,
-0.0013277230318635702,
-0.05405491590499878,
0.01065188366919756,
-0.04593931511044502,
-0.007180545013397932,
-0.004292902536690235,
-0.02636648900806904,
-0.08187142759561539,
0.044882308691740036,
-0.03081357106566429,
-0.016102872788906097,
0.0019714345689862967,
0.03333396837115288,
0.0005396712222136557,
-0.06814026832580566,
0.0033073462545871735,
-0.044070933014154434,
0.0016353253740817308,
-0.030059251934289932,
-0.016107570379972458,
0.04232650622725487,
0.05469642952084541,
-0.04698445647954941,
0.015088954009115696,
0.040882620960474014,
-0.02723054774105549,
0.021058574318885803,
-0.031049642711877823,
0.02415170893073082,
-0.01568668521940708,
-0.006531510967761278,
0.012866543605923653,
-0.03746475651860237,
0.010550345294177532,
0.0484398677945137,
0.038946788758039474,
0.04924306273460388,
-0.015115724876523018,
0.019909610971808434,
0.0189557783305645,
0.026501137763261795,
-0.020713133737444878,
-0.028058141469955444,
0.0076535469852387905,
-0.027297524735331535,
-0.06831726431846619,
0.08611311763525009,
0.026318741962313652,
-0.04982169345021248,
0.018567970022559166,
0.028382036834955215,
-0.030222691595554352,
0.011692557483911514,
0.033348340541124344,
0.01964539848268032,
-0.009841673076152802,
-0.00573433842509985,
-0.017386147752404213,
-0.03387359529733658,
-0.006745791062712669,
0.011658037081360817,
-0.06920383870601654,
-0.002331380033865571,
-0.007435422856360674,
-0.0064158071763813496,
-0.027130313217639923,
0.011272938922047615,
-0.01151831541210413,
0.021199064329266548,
-0.02711828239262104,
0.025615882128477097,
-0.08464231342077255,
0.06979472190141678,
-0.000609551090747118,
-0.04227668419480324,
0.006141838617622852,
0.017746396362781525,
0.05395619943737984,
0.03625248372554779,
0.01092762965708971,
0.0705237090587616,
-0.005686769261956215,
0.03155884891748428,
-0.015482899732887745,
0.04024520143866539,
-0.010627884417772293,
-0.05773290991783142,
0.007864228449761868,
0.05860369652509689,
-0.029690369963645935,
-0.01582973450422287,
-0.011028612963855267,
-0.015198571607470512,
0.02326422743499279,
0.016300637274980545,
0.012599606066942215,
0.03568712994456291,
-0.020719675347208977,
-0.02884584851562977,
0.024359460920095444,
0.023310700431466103,
0.024632999673485756,
-0.0015532425604760647,
0.00031283198040910065,
-0.025386324152350426,
-0.029929514974355698,
-0.0035472093150019646,
0.00515796197578311,
0.019832592457532883,
0.029271958395838737,
-0.03980711102485657,
0.051088739186525345,
0.07190568745136261,
0.010648860596120358,
0.0011677495203912258,
-0.019776519387960434,
0.02360285073518753,
0.02046044170856476,
0.03542904928326607,
0.01498459093272686,
0.012299281544983387,
0.01567571796476841,
-0.006459096912294626,
0.005819115787744522,
0.042075663805007935,
-0.007627504877746105,
-0.004667086061090231,
-0.06702161580324173,
-0.05381590127944946,
0.05935598164796829,
-0.04296370968222618,
-0.014455814845860004,
0.052095647901296616,
0.09180088341236115,
0.0380980558693409,
0.012102513574063778,
0.0024897039402276278,
-0.0767488181591034,
0.029323073104023933,
0.016624514013528824,
0.01679084450006485,
0.01786789484322071,
-0.03558991476893425,
0.0698654055595398,
0.030300689861178398,
-0.0059480126947164536,
0.01800692267715931,
-0.08421359211206436,
-0.08621048927307129,
-0.009036285802721977,
-0.011236933059990406,
0.04727593809366226,
-0.033527012914419174,
0.00562910595908761,
0.07221584767103195,
-0.004055032506585121,
0.05479709804058075,
0.03427760303020477,
0.004348952788859606,
0.01402137242257595,
-0.07155755162239075,
-0.05651496350765228,
0.07067602872848511,
0.03482403978705406,
-0.014631684869527817,
-0.056507036089897156,
0.011462251655757427,
0.0014018858782947063,
0.0023892647586762905,
0.040472909808158875,
-0.013911132700741291,
0.034110017120838165,
0.013217359781265259,
0.05731591954827309,
-0.04186640679836273,
0.059621334075927734,
-0.05507296323776245,
0.017274122685194016,
0.0010035349987447262,
-0.011029437184333801,
0.011282159946858883,
0.0002587497001513839,
0.10183752328157425,
0.0656861960887909,
-0.03565959259867668,
-0.06129920855164528,
0.03392140567302704,
0.00922784861177206,
-0.039558179676532745,
-0.011659879237413406,
-0.012064927257597446,
0.000528323813341558,
-0.0008169962675310671,
-0.06106650456786156,
-0.025877729058265686,
0.024107113480567932,
-0.047959793359041214,
-0.0019231302430853248,
0.05195372924208641,
-0.028436213731765747,
0.06161424145102501,
0.02718103490769863,
-0.0125087546184659,
0.011293255724012852,
-0.011548850685358047,
-0.07683344930410385,
0.003150399075821042,
0.0028865390922874212,
-0.012289401143789291,
0.03763910010457039,
-0.008769607171416283,
-0.02640935778617859,
-0.03743807598948479,
-0.029363704845309258,
0.03133811801671982,
0.06717711687088013,
0.07849998027086258,
-0.03958781808614731,
0.05371026694774628,
-0.00559425400570035,
0.03424307331442833,
0.018576975911855698,
-0.040156979113817215,
-0.044738300144672394,
-0.044966015964746475,
-0.007521438412368298,
0.02143915370106697,
0.010522804223001003,
0.007129420060664415,
0.01047602016478777,
0.0020873951725661755,
-0.02008971944451332,
-0.013968294486403465,
0.025539066642522812,
0.022931233048439026,
-0.0017791345017030835,
-0.018933115527033806,
-0.004818708635866642,
0.05003559961915016,
-0.04425453767180443,
-0.0037704692222177982,
0.005580641329288483,
-0.0845833271741867,
0.0496777668595314,
-0.07412154972553253,
-0.035639192909002304,
-0.02122798189520836,
0.02113931067287922,
0.04282285273075104,
0.01007953193038702,
0.006811737548559904,
0.057655349373817444,
0.02347477339208126,
0.01848585717380047,
-0.006862829439342022,
0.028698308393359184,
0.030275728553533554,
0.016880540177226067,
-0.003939398564398289,
0.03382226452231407,
0.009394316002726555,
-0.01831338182091713,
-0.045306798070669174,
0.045674484223127365,
-0.044931620359420776,
-0.2797856032848358,
0.03833508491516113,
0.014394179917871952,
-0.04225178807973862,
0.021770305931568146,
-0.008719325065612793,
-0.008650865405797958,
-0.04248049110174179,
-0.020236823707818985,
0.008248163387179375,
-0.02664352022111416,
-0.025003379210829735,
-0.01106906495988369,
0.06226402521133423,
0.00425951462239027,
0.02895035780966282,
0.03963765501976013,
-0.03436741232872009,
0.005931939464062452,
0.04690758138895035,
0.004343363456428051,
-0.08407233655452728,
-0.004367309156805277,
0.021684125065803528,
0.059774912893772125,
0.03390326350927353,
-0.08808901906013489,
0.047204989939928055,
-0.05723649635910988,
-0.007697184570133686,
0.003250651992857456,
0.010025550611317158,
0.0029634914826601744,
-0.03621615469455719,
0.0007841865299269557,
-0.018847811967134476,
0.037667252123355865,
0.0015082239406183362,
0.02500578761100769,
0.015713246539235115,
-0.006176683586090803,
-0.039369694888591766,
0.00619441457092762,
0.016191281378269196,
0.06096470728516579,
0.009414552710950375,
-0.07202086597681046,
-0.01571343094110489,
-0.01624615304172039,
0.07764369994401932,
-0.030056703835725784,
-0.026593755930662155,
-0.006189367733895779,
0.04078193008899689,
-0.024608638137578964,
-0.012139714322984219,
-0.0054567432962358,
-0.021884378045797348,
-0.03264497593045235,
-0.037955142557621,
-0.03705093264579773,
-0.02622837945818901,
-0.011981109157204628,
-0.038054756820201874,
-0.008301900699734688,
-0.05196990817785263,
-0.0421675369143486,
-0.014814925380051136,
0.046437278389930725,
-0.0002477571542840451,
-0.020917251706123352,
0.004516871180385351,
-0.008016715757548809,
-0.1035827249288559,
-0.02267272211611271,
-0.016649579629302025,
-0.04109746962785721,
0.0216534323990345,
0.010118653997778893,
0.030287429690361023,
-0.03351561352610588,
-0.07112690061330795,
0.022905033081769943,
0.004984768573194742,
0.04434223473072052,
-0.023837490007281303,
0.027161484584212303,
0.009560661390423775,
-0.0058662076480686665,
0.022047724574804306,
0.06292907148599625,
-0.0040333145298063755,
-0.024150772020220757,
-0.04079575091600418,
0.018559854477643967,
-0.012796459719538689,
0.02426457777619362,
0.014208762906491756,
0.004801857750862837,
0.043486014008522034,
-0.021182555705308914,
-0.054887834936380386,
0.01418596226722002,
0.0022743153385818005,
-0.0229497067630291,
-0.005187783855944872,
-0.055005576461553574,
0.024937011301517487,
0.06040056049823761,
0.03836382180452347,
0.0023114895448088646,
-0.02600242756307125,
0.036827415227890015,
-0.04440135136246681,
-0.039292123168706894,
-0.016789596527814865,
0.008426315151154995,
0.04454133287072182,
-0.027641164138913155,
-0.0008523980504833162,
-0.05516740679740906,
0.02929927036166191,
-0.014237753115594387,
-0.0063897655345499516,
-0.049669794738292694,
-0.0026975367218255997,
-0.005681198090314865,
-0.027820102870464325,
0.010127869434654713,
0.011477121151983738,
-0.017242198809981346,
0.03773217275738716,
0.020226094871759415,
-0.04293721914291382,
-0.005698868539184332,
-0.043133445084095,
-0.057890694588422775,
-0.020656252279877663,
-0.0012662357185035944,
-0.0011734378058463335,
-0.005329574458301067,
0.007823722437024117,
0.016517003998160362,
0.01004484761506319,
0.03640134260058403,
0.03083740547299385,
0.03698426112532616,
-0.02273983508348465,
0.01863282360136509,
0.009281709790229797,
0.013643909245729446,
-0.057444002479314804,
0.020285265520215034,
-0.04576705023646355,
-0.02881237305700779,
-0.04091991111636162,
0.03484711796045303,
-0.022017579525709152,
-0.027294041588902473,
-0.017588255926966667,
0.0009322567493654788,
-0.03939053788781166,
-0.03406225144863129,
-0.039434947073459625,
0.02384435571730137,
0.058027930557727814,
-0.006190166343003511,
0.004059659782797098,
-0.019018126651644707,
-0.007252810522913933,
-0.002314320532605052,
0.010295421816408634,
-0.05018207058310509,
-0.008223900571465492,
0.021857663989067078,
0.012184102088212967,
0.01321316696703434,
-0.01859266124665737,
0.0532197579741478,
-0.007859532721340656,
-0.010384006425738335,
-0.015530068427324295,
0.026362715288996696,
0.018303247168660164,
0.019060567021369934,
0.007266813889145851,
-0.005055082496255636,
0.019339220598340034,
-0.020091285929083824,
-0.024876167997717857,
-0.017925428226590157,
-0.0054957084357738495,
0.004848741460591555,
0.01051295269280672,
-0.03215625137090683,
-0.06835050880908966,
0.0485687255859375,
0.01361958310008049,
0.01635410077869892,
0.015170074999332428,
-0.0014812175650149584,
0.00987282209098339,
-0.03189876675605774,
0.004713275004178286,
0.07765398174524307,
-0.06695064157247543,
-0.007751171942800283,
0.014439904130995274,
0.015272039920091629,
0.029439469799399376,
-0.018313540145754814,
-0.030387409031391144,
-0.019274502992630005,
-0.0010875108418986201,
-0.00030063942540436983,
-0.05485273897647858,
-0.030270064249634743,
-0.010357280261814594,
0.01597261242568493,
-0.012968122027814388,
-0.007861115969717503,
-0.032963961362838745,
-0.01684938557446003,
-0.01633347198367119,
-0.029433518648147583,
0.0016520678764209151,
-0.010887620970606804,
-0.014970841817557812,
0.028309499844908714,
-0.033615592867136,
-0.02253514528274536,
-0.04091806337237358,
0.02206851728260517,
0.009381970390677452,
-0.030899260193109512,
-0.0007150484016165137,
-0.025862587615847588,
0.007689544465392828,
0.0018494402756914496,
0.014836637303233147,
-0.015185522846877575,
-0.025223344564437866,
-0.027451708912849426,
0.0062852902337908745,
-0.05728943645954132,
-0.000925100059248507,
-0.010010430589318275,
-0.009666629135608673,
0.01982196792960167,
0.06664896011352539,
-0.010449850000441074,
0.038086019456386566,
-0.003922304604202509,
-0.014630596153438091,
0.0307480338960886,
-0.07661303877830505,
-0.023707233369350433,
-0.022457728162407875,
-0.05239863321185112,
0.010012057609856129,
0.0023891543969511986,
0.011289604939520359,
-0.04907885193824768,
0.022216446697711945,
0.016561971977353096,
0.042883459478616714,
0.026263527572155,
-0.0007737915148027241,
0.02978435344994068,
-0.04570213705301285,
-0.008513613604009151,
-0.0778079479932785,
-0.0014991483185440302,
0.02248840592801571,
-0.006749533582478762,
-0.00532400980591774,
0.003468212904408574,
-0.033393729478120804,
0.04735027253627777,
-0.0481635183095932,
-0.008307118900120258,
0.052574023604393005,
-0.013173704966902733,
-0.0112571120262146,
0.02959277108311653,
-0.06275652348995209,
0.03807908296585083,
0.012915621511638165,
-0.04682627320289612,
-0.017822150141000748,
0.004304732196033001,
0.05059274658560753,
0.0186445489525795,
0.01227341778576374,
-0.04767439514398575,
-0.021071549504995346,
0.07906381785869598,
0.019604571163654327,
0.01005783211439848,
0.030571255832910538,
-0.034009769558906555,
0.03246993198990822,
0.05298392102122307,
0.031166644766926765,
-0.017555968835949898,
0.03068893775343895,
-0.018319180235266685,
-0.038306452333927155,
0.04290895536541939,
-0.012921974994242191,
-0.007148728705942631,
-0.027528563514351845,
0.060566145926713943,
0.024576736614108086,
-0.028070146217942238,
-0.06742319464683533,
0.0024213974829763174,
-0.06434281915426254,
-0.00988119188696146,
-0.013262555934488773,
-0.006361371837556362,
-0.06177252158522606,
0.043787162750959396,
-0.011968237347900867,
0.018007254227995872,
0.06869204342365265,
0.003845068858936429,
-0.020081782713532448,
-0.01205857377499342,
0.09284527599811554,
0.08589888364076614,
0.04619740694761276,
0.013250350952148438,
0.0725967288017273,
-0.007495052646845579,
-0.03343196585774422,
0.01359025202691555,
-0.020289346575737,
-0.02648911438882351,
-0.03790257126092911,
0.023052183911204338,
0.04242032393813133,
-0.011074267327785492,
0.0704953670501709,
-0.01929672248661518,
-0.005149542819708586,
0.016990244388580322,
0.04343591630458832,
0.012325809337198734,
0.09622319042682648,
-0.007118444424122572,
0.020945955067873,
-0.012015399523079395,
-0.035992614924907684,
0.003048497484996915,
-0.030523765832185745,
-0.02441486530005932,
0.042057011276483536,
-0.006527629680931568,
0.018525734543800354,
0.022602342069149017,
0.030464496463537216,
0.07738688588142395,
-0.045768313109874725,
0.017864713445305824,
-0.0066034551709890366,
0.042689062654972076,
-0.02143060229718685,
0.003810339840129018,
-0.024743305519223213,
-0.03938588872551918,
-0.019116578623652458,
-0.013082937337458134,
-0.004091622307896614,
-0.006204030942171812,
-0.011200987733900547,
0.04658918082714081,
-0.019873183220624924,
0.013610098510980606,
0.042318571358919144,
-0.0007534530595876276,
-0.04668687656521797,
-0.047219421714544296,
-0.04979395121335983,
-0.05003567785024643,
-0.028384460136294365,
-0.007861608639359474,
0.027207719162106514,
0.003408545395359397,
-0.042203791439533234,
-0.03945918753743172,
-0.00335504743270576,
-0.037902478128671646,
0.02951342985033989,
-0.07305709272623062,
-0.04402639716863632,
0.009432763792574406,
0.004689162131398916,
0.015105938538908958,
0.006105172447860241,
0.06537356972694397,
-0.000643510720692575,
0.0052561950869858265,
-0.0033737251069396734,
0.029401160776615143,
0.011413153260946274,
0.003784614149481058,
0.03200618922710419,
-0.08771524578332901,
0.0037632370367646217,
0.027758771553635597,
-0.03964994102716446,
-0.06668199598789215,
0.04183701425790787,
0.011231808923184872,
-0.026640309020876884,
0.057139649987220764,
-0.02713387832045555,
0.034156449139118195,
-0.06486301124095917,
-0.007539282087236643,
-0.018198827281594276,
-0.002508455188944936,
0.022484203800559044,
-0.02981867454946041,
0.08713137358427048,
0.019686177372932434,
-0.003843446960672736,
-0.047614555805921555,
0.005159262102097273,
-0.009961836040019989,
0.011177579872310162,
-0.014349517412483692,
-0.027360746636986732,
-0.030248431488871574,
-0.09952172636985779,
-0.025733008980751038,
-0.0015878465492278337,
-0.031214358285069466,
-0.021864471957087517,
0.03587404638528824,
0.019439511001110077,
-0.03945925459265709,
0.02208068035542965,
-0.03400455787777901,
0.02967359870672226,
-0.04373113811016083,
-0.016383010894060135,
0.02299719862639904,
0.02313303016126156,
-0.008280464448034763,
0.005127413664013147,
0.01917937770485878,
-0.04431596025824547,
0.006291302852332592,
0.007648608181625605,
0.038830168545246124,
0.03773459792137146,
0.013436620123684406,
-0.01289424765855074
] | [
-0.09538653492927551,
-0.008280029520392418,
-0.0036400784738361835,
-0.028110813349485397,
0.04679454118013382,
-0.032234787940979004,
-0.034051913768053055,
0.030217377468943596,
-0.027085425332188606,
-0.015239626169204712,
-0.003455311758443713,
-0.03056974709033966,
-0.00861242413520813,
-0.032241832464933395,
0.07397975772619247,
-0.0016262197168543935,
-0.006754424422979355,
-0.05392502248287201,
0.012552249245345592,
0.024997854605317116,
-0.019426461309194565,
-0.04164983332157135,
-0.02960021048784256,
-0.04089496284723282,
0.027342073619365692,
0.01717560738325119,
0.01910916529595852,
-0.05859502777457237,
0.0034553254954516888,
-0.19938924908638,
0.022092493250966072,
0.025579918175935745,
0.012125418521463871,
-0.02754075638949871,
0.007031198125332594,
0.05697663128376007,
0.03677445650100708,
0.026871543377637863,
0.01584760658442974,
0.02707730419933796,
0.031489115208387375,
0.06245758756995201,
-0.07682659476995468,
-0.05013206601142883,
0.012395656667649746,
0.0287134051322937,
0.004400499165058136,
-0.030743718147277832,
-0.031001465395092964,
0.019857635721564293,
-0.04866943880915642,
-0.015384359285235405,
-0.032823361456394196,
-0.028936434537172318,
-0.010796131566166878,
0.03869844228029251,
0.034161947667598724,
0.0636044442653656,
0.012861932627856731,
0.0015001501888036728,
-0.001675002626143396,
-0.059067901223897934,
-0.14932192862033844,
0.05774744600057602,
0.08841678500175476,
0.049930695444345474,
-0.03750842437148094,
-0.0032250741496682167,
-0.040433283895254135,
0.12226875126361847,
0.00601637177169323,
-0.022573722526431084,
-0.015603515319526196,
0.055833447724580765,
0.025882896035909653,
0.016908567398786545,
0.0011502956040203571,
0.010151892900466919,
0.05605023354291916,
-0.03436051309108734,
-0.01036343164741993,
-0.004698730073869228,
-0.006773028057068586,
-0.004979431629180908,
-0.05577665939927101,
-0.013038388453423977,
0.0037934831343591213,
0.058884624391794205,
0.049272820353507996,
0.02554294839501381,
0.041913267225027084,
-0.014033345505595207,
0.053046613931655884,
0.027246808633208275,
-0.04425383731722832,
-0.008269671350717545,
-0.0018751454772427678,
0.003719851840287447,
-0.05339663475751877,
0.40216243267059326,
-0.0003870235232170671,
-0.009313154965639114,
0.047756798565387726,
0.04227544367313385,
0.0045175133273005486,
0.00990868080407381,
0.014358256943523884,
-0.01344879250973463,
-0.0014841299271211028,
-0.01686212234199047,
0.04841303080320358,
0.047545887529850006,
0.05788004398345947,
-0.046492286026477814,
0.021786052733659744,
0.010013783350586891,
-0.03725138679146767,
0.006729672662913799,
-0.016925198957324028,
0.0034765119198709726,
-0.024620771408081055,
0.01818503625690937,
0.026376575231552124,
0.00021580772590823472,
-0.02904665656387806,
-0.03403657674789429,
0.033730022609233856,
0.0544704906642437,
0.0036883053835481405,
-0.01268512662500143,
0.0377410426735878,
-0.07219570130109787,
-0.06843999773263931,
0.03683280199766159,
0.0011845583794638515,
0.003258853917941451,
0.03301052749156952,
-0.02548171579837799,
-0.019710559397935867,
0.05938433110713959,
-0.00688629737123847,
0.026029055938124657,
0.027024349197745323,
-0.06378556787967682,
-0.056638747453689575,
0.13322468101978302,
0.03243711218237877,
-0.017132556065917015,
-0.021484294906258583,
-0.05829661339521408,
0.008571194484829903,
0.007471273187547922,
0.015995971858501434,
-0.05309133976697922,
0.014983166009187698,
0.0000370283960364759,
0.059846170246601105,
0.0010354745900258422,
-0.06927093863487244,
0.0015515132108703256,
-0.02624780498445034,
-0.01902775838971138,
-0.07106709480285645,
0.030880006030201912,
0.040886327624320984,
-0.09699279814958572,
0.0007614665082655847,
0.002647744957357645,
0.03937968239188194,
-0.054707929491996765,
-0.01640341989696026,
0.036220747977495193,
-0.04418642073869705,
-0.0019486160017549992,
0.05481671914458275,
-0.04759491607546806,
-0.062505804002285,
0.020709684118628502,
0.02040979452431202,
0.028498219326138496,
0.02993645705282688,
0.024455677717924118,
0.0023817848414182663,
-0.025391140952706337,
-0.004039843566715717,
-0.08051631599664688,
-0.006956601981073618,
0.0034822907764464617,
-0.020701611414551735,
-0.028901053592562675,
-0.03627467527985573,
-0.021792471408843994,
-0.06947097927331924,
0.10451898723840714,
-0.01153353601694107,
-0.02191818132996559,
0.017233235761523247,
0.01764282025396824,
-0.03372451663017273,
-0.02758091688156128,
-0.06588135659694672,
0.04276654124259949,
-0.0340227410197258,
0.043975718319416046,
-0.042471595108509064,
0.07029332220554352,
0.011392478831112385,
-0.08480239659547806,
0.07174130529165268,
0.0615830197930336,
-0.037474289536476135,
-0.04662686586380005,
0.004416691605001688,
0.04416496306657791,
-0.016038602218031883,
-0.0007149321609176695,
0.03510028123855591,
0.021204881370067596,
-0.02848297543823719,
0.025344621390104294,
0.009614231996238232,
0.02001286670565605,
-0.024610409513115883,
-0.354543536901474,
-0.03928765654563904,
-0.052389781922101974,
0.011182142421603203,
0.02566293440759182,
-0.021817494183778763,
-0.0022493370342999697,
0.0012003026204183698,
-0.056625645607709885,
-0.007302680052816868,
0.08535303920507431,
-0.055003877729177475,
-0.010165194049477577,
-0.09772541373968124,
0.011979945003986359,
0.0006203875527717173,
-0.061071306467056274,
-0.046882499009370804,
-0.0498453825712204,
-0.0021102633327245712,
0.007995151914656162,
0.037471480667591095,
-0.020089007914066315,
-0.06454138457775116,
-0.012591112405061722,
-0.05076180770993233,
0.10687312483787537,
-0.05382395163178444,
0.08209889382123947,
-0.01054406724870205,
0.011496331542730331,
0.036405544728040695,
-0.0012659762287512422,
-0.0634651780128479,
0.001300950301811099,
0.0039467886090278625,
-0.0014159769052639604,
-0.02109718509018421,
0.006240186747163534,
0.002618436235934496,
-0.06342911720275879,
0.031726401299238205,
-0.06978735327720642,
-0.04152969270944595,
-0.047408439218997955,
0.022129051387310028,
-0.011749268509447575,
0.022820519283413887,
-0.05246686190366745,
0.04629738628864288,
-0.017266077920794487,
-0.004231831058859825,
0.004812686704099178,
0.020146798342466354,
0.034005362540483475,
-0.03920673951506615,
-0.07899762690067291,
0.046808380633592606,
-0.01759948953986168,
-0.01216750405728817,
0.02644565887749195,
0.060958415269851685,
0.005307574290782213,
-0.019157670438289642,
0.01323873084038496,
-0.023611167445778847,
-0.006033678539097309,
-0.007489852607250214,
0.04437515512108803,
0.011804251000285149,
0.004175175912678242,
0.11795184016227722,
-0.027851546183228493,
-0.01843641698360443,
0.05689327046275139,
0.01970677450299263,
0.009650115855038166,
-0.014293480664491653,
0.015998631715774536,
-0.055276304483413696,
0.003955068998038769,
-0.024448886513710022,
0.010195709764957428,
-0.004707392305135727,
0.01579163782298565,
0.024822592735290527,
-0.026113444939255714,
-0.016712797805666924,
0.05423281714320183,
0.03572477400302887,
-0.04712755233049393,
0.004186600912362337,
-0.04196569696068764,
-0.04709623381495476,
0.07892370223999023,
-0.007856996729969978,
-0.21832342445850372,
0.003562700469046831,
0.0686684176325798,
0.024012567475438118,
-0.008461222983896732,
0.02743564173579216,
0.03947184607386589,
-0.04346277564764023,
0.039434000849723816,
0.04535873979330063,
0.0013506639515981078,
0.03124818205833435,
0.0025247051380574703,
-0.0025037412997335196,
0.038863491266965866,
-0.0031570191495120525,
0.08940214663743973,
-0.029417533427476883,
0.04937323182821274,
-0.010503001511096954,
-0.006393267307430506,
-0.017954261973500252,
0.17277556657791138,
-0.027161315083503723,
0.006651770789176226,
0.026743853464722633,
0.0001977625652216375,
0.031436484307050705,
0.06922154128551483,
0.011272642761468887,
0.025676682591438293,
-0.011801512911915779,
0.037028346210718155,
0.0038220155984163284,
-0.020399104803800583,
-0.04558559134602547,
-0.0007474530139006674,
0.046175263822078705,
0.04177095368504524,
0.015545221045613289,
0.014750545844435692,
-0.007949779741466045,
0.02005460299551487,
0.01653328165411949,
0.08302445709705353,
-0.011188991367816925,
-0.017685983330011368,
-0.08174027502536774,
-0.04190295562148094,
0.0009995702421292663,
-0.025047017261385918,
-0.03321286663413048,
0.04059572145342827,
-0.017430344596505165,
0.03231832757592201,
0.0750466138124466,
0.014046909287571907,
-0.035890184342861176,
0.0176641047000885,
0.0003043737669941038,
0.010173668153584003,
-0.028469210490584373,
0.0808149203658104,
0.04464998468756676,
0.024929674342274666
] | [
0.009602372534573078,
0.008703181520104408,
-0.007015160284936428,
0.029238838702440262,
0.013575068674981594,
-0.018240319564938545,
0.005182563792914152,
0.03738062456250191,
-0.019438862800598145,
-0.003552327398210764,
-0.029908740893006325,
0.013594724237918854,
-0.0052803694270551205,
0.025449728593230247,
0.027281301096081734,
-0.016957048326730728,
0.007829506881535053,
-0.03216326981782913,
0.025370970368385315,
-0.015465697273612022,
0.0027040308341383934,
-0.0025623522233217955,
-0.027438415214419365,
0.015525709837675095,
-0.03553018346428871,
0.03168921172618866,
-0.03660577908158302,
0.02478542923927307,
0.027639241889119148,
-0.1436029076576233,
-0.016734929755330086,
-0.02885204739868641,
0.005951221566647291,
-0.034607529640197754,
0.025765761733055115,
-0.006070103961974382,
0.018778175115585327,
0.02698640525341034,
-0.0010641376720741391,
0.00025180456577800214,
0.030905794352293015,
-0.00019289620104245842,
-0.028899777680635452,
0.00896487757563591,
0.026687730103731155,
-0.018578797578811646,
-0.00787839200347662,
0.0013988482533022761,
-0.022225935012102127,
-0.015576912090182304,
-0.039035022258758545,
0.005949482787400484,
-0.012748459354043007,
-0.003275500610470772,
0.03366159275174141,
0.00787088368088007,
0.056785862892866135,
-0.04862511157989502,
0.00926040206104517,
-0.012094995938241482,
0.00802021287381649,
-0.01974724978208542,
-0.03205520287156105,
-0.011059511452913284,
-0.009145481511950493,
-0.0036497269757092,
-0.007049176841974258,
0.01943846419453621,
-0.03335988149046898,
0.014472109265625477,
-0.009961694478988647,
-0.011865966953337193,
-0.044505223631858826,
-0.006609545089304447,
0.034676503390073776,
0.0486784502863884,
0.02026902697980404,
-0.0021049377974122763,
0.010368719696998596,
0.021352963522076607,
-0.046014271676540375,
0.01937010884284973,
-0.003471140284091234,
-0.017541663721203804,
-0.024709787219762802,
-0.023452984169125557,
0.009344350546598434,
-0.017846331000328064,
0.015635399147868156,
-0.025766858831048012,
-0.02139265276491642,
0.011866260319948196,
-0.00807935930788517,
-0.008123083040118217,
-0.07226839661598206,
-0.044090867042541504,
0.004180679563432932,
-0.026632793247699738,
0.004708512686192989,
0.8538877964019775,
0.019602108746767044,
-0.0028900501783937216,
0.016065075993537903,
0.019129138439893723,
-0.0036752221640199423,
0.002995326416566968,
-0.025541111826896667,
0.03586049750447273,
-0.004518159665167332,
-0.055168528109788895,
0.007829033769667149,
0.022648386657238007,
0.028716344386339188,
0.009206215851008892,
0.029972994700074196,
0.014955963008105755,
-0.0356186218559742,
0.009038102813065052,
-0.028938069939613342,
0.01862085610628128,
0.05202178657054901,
0.011839032173156738,
0.002390049397945404,
-0.01647670567035675,
0.017191316932439804,
-0.17983999848365784,
-0.012107481248676777,
-8.602757693524999e-33,
0.06591590493917465,
-0.016501903533935547,
-0.00013736760593019426,
-0.011705799959599972,
0.02515995502471924,
0.015943050384521484,
0.0070415581576526165,
0.019590560346841812,
0.035532936453819275,
-0.012308900244534016,
-0.01327745895832777,
-0.03039427660405636,
-0.015940876677632332,
-0.048899080604314804,
0.0037536381278187037,
0.0006817943067289889,
-0.020249586552381516,
0.022250598296523094,
-0.012253843247890472,
0.04321194067597389,
0.024557938799262047,
0.015054385177791119,
-0.03076789900660515,
0.0025881044566631317,
0.0099256606772542,
0.021661126986145973,
0.02784411609172821,
-0.001313642831519246,
0.004499643575400114,
-0.03766120597720146,
-0.020279591903090477,
0.037703774869441986,
-0.011561828665435314,
0.0061655850149691105,
-0.016049381345510483,
-0.05115596204996109,
-0.046218618750572205,
0.004659519996494055,
-0.006138327065855265,
-0.0071069467812776566,
-0.013444838114082813,
-0.012777021154761314,
-0.014152707532048225,
0.0038825832307338715,
-0.00828568171709776,
0.015062934719026089,
0.024698661640286446,
0.018939755856990814,
0.008864632807672024,
-0.02643273025751114,
-0.014061970636248589,
-0.006306385155767202,
0.027997957542538643,
0.01627594418823719,
-0.015978701412677765,
0.015392736531794071,
0.020021837204694748,
-0.022458123043179512,
-0.0032406284008175135,
0.027605272829532623,
0.03027387335896492,
-0.013418357819318771,
-0.04272260144352913,
0.017177976667881012,
-0.013573265634477139,
0.0047599440440535545,
0.03237368166446686,
0.002665493870154023,
0.00500636687502265,
-0.014097489416599274,
-0.05024843290448189,
0.005485488101840019,
0.0128365159034729,
0.027754254639148712,
0.025536853820085526,
-0.013719707727432251,
0.01126675121486187,
0.04564768821001053,
-0.0391659252345562,
0.03300517052412033,
-0.02151317521929741,
0.02372749336063862,
-0.011276616714894772,
-0.0293223038315773,
-0.0073434836231172085,
-0.021246373653411865,
0.0051760319620370865,
-0.0061225504614412785,
-0.008472827263176441,
-0.025275571271777153,
0.018451690673828125,
0.010223418474197388,
-0.013845890760421753,
-0.021695366129279137,
-0.008493355475366116,
9.154718412793297e-33,
0.005575548391789198,
-0.026181627064943314,
-0.004498934838920832,
0.014088869094848633,
0.048255402594804764,
-0.025485718622803688,
0.028195872902870178,
-0.005070796702057123,
-0.04148204252123833,
0.013050979003310204,
-0.031961098313331604,
-0.01679152622818947,
-0.03739733248949051,
0.03242354094982147,
0.024122079834342003,
-0.008059500716626644,
0.023186638951301575,
-0.029899315908551216,
0.01686057448387146,
0.01555969100445509,
0.03078405372798443,
-0.005018395837396383,
0.01641085185110569,
-0.008561818860471249,
0.01951727084815502,
0.030349859967827797,
-0.04214373230934143,
-0.0030350172892212868,
0.017306126654148102,
-0.004567389842122793,
0.004208760801702738,
-0.003113596001639962,
-0.008423909544944763,
-0.011321218684315681,
-0.038271188735961914,
0.012097060680389404,
-0.005662815645337105,
0.0028112728614360094,
0.0023631977383047342,
0.010648452676832676,
0.03585253655910492,
-0.01037672720849514,
0.00906431581825018,
0.03350812569260597,
0.023932484909892082,
0.05844353511929512,
-0.0016688528703525662,
-0.03212105110287666,
-0.0142962746322155,
0.03691502660512924,
-0.00804988481104374,
0.03081795759499073,
0.002910056384280324,
0.03440193459391594,
-0.00778956338763237,
-0.025044482201337814,
-0.01207257341593504,
0.007739265915006399,
0.025270557031035423,
0.035171087831258774,
0.028025664389133453,
0.029337825253605843,
-0.021638162434101105,
-0.028698133304715157,
-0.03653891757130623,
-0.016089260578155518,
0.01686716638505459,
0.019015030935406685,
0.005818859674036503,
-0.0007550179725512862,
-0.02470245398581028,
0.0029516101349145174,
-0.013320405036211014,
0.07453642785549164,
0.01700751855969429,
-0.0028981466311961412,
-0.06997592002153397,
-0.02600090205669403,
-0.005299920681864023,
0.010657824575901031,
0.0106793362647295,
0.006430324167013168,
0.005642955657094717,
0.027708493173122406,
-0.005528354551643133,
0.03949209302663803,
0.006530711427330971,
0.003544451203197241,
-0.007163550239056349,
0.006936873309314251,
-0.013561689294874668,
-0.019198544323444366,
-0.005877435207366943,
0.0019104216480627656,
-0.027215197682380676,
-1.4059166275615098e-8,
0.024354062974452972,
-0.0038863574154675007,
-0.01550751831382513,
0.0027187985833734274,
0.016237400472164154,
-0.003272969275712967,
-0.017069527879357338,
0.04132095351815224,
-0.01613679714500904,
0.008329305797815323,
0.04811546579003334,
-0.0017103985883295536,
-0.028167005628347397,
0.019568011164665222,
-0.018053729087114334,
-0.028470885008573532,
-0.004830446559935808,
0.012920410372316837,
0.03747309744358063,
-0.0036571708042174578,
0.036400001496076584,
0.06812801212072372,
-0.022307654842734337,
0.004835551604628563,
0.02104567363858223,
-0.009820784442126751,
-0.005416520871222019,
-0.05300092324614525,
0.023302091285586357,
-0.010018077678978443,
0.016783583909273148,
-0.023827487602829933,
-0.011512856930494308,
0.004760225769132376,
-0.0004241584101691842,
-0.017404286190867424,
-0.007656780071556568,
0.029187532141804695,
0.009669680148363113,
-0.005549273919314146,
-0.020962519571185112,
0.0034795633982867002,
-0.0023444804828613997,
-0.01549226138740778,
0.009077143855392933,
-0.005869576707482338,
-0.0766516625881195,
-0.01848738268017769,
-0.006791421212255955,
-0.05803310126066208,
0.016542404890060425,
-0.021436301991343498,
0.034394439309835434,
0.03405106067657471,
0.01526265311986208,
0.003981908783316612,
0.010352564975619316,
-0.047703079879283905,
-0.02435384690761566,
0.02154133841395378,
0.02454899065196514,
0.014981088228523731,
0.026392290368676186,
-0.0343758799135685
] | theory-of-constraints-blaming-the-bottleneck | https://markhneedham.com/blog/2010/12/26/theory-of-constraints-blaming-the-bottleneck |
false | 2010-12-07 05:01:44 | Ruby: One method, two parameter types | [
"ruby"
] | [
"Ruby"
] | One interesting thing that I've noticed while coding in Ruby is that due to the dynamicness of the language it's possible to pass values of different types into a given method as parameters.
For example, I've recently come across a few examples of methods designed like this:
[source,ruby]
----
def calculate_foo_prices(foos)
...
[foos].flatten.each do |foo|
# do something
end
end
----
This allows us to use the method like this:
[source,ruby]
----
# foos would come in as an array from the UI
foos = [Foo.new, Foo.new, Foo.new]
calculate_foo_prices(foos)
----
Or like this:
[source,ruby]
----
calculate_foo_prices(Foo.new)
----
It becomes quite confusing to understand why what is supposedly already a collection is being put inside an array on line 3 of the first example when you first read it.
An alternative would be to pull out a different method for calculating the price of the single Foo:
[source,ruby]
----
def calculate_foo_price(foo)
calculate_foo_prices([foo])
end
----
And then simplify the original method:
[source,ruby]
----
def calculate_foo_prices(foos)
...
foos.each do |foo|
# do something
end
end
----
While writing this I was thinking that another way could be to change the original method to look like this by using the splat operator:
[source,ruby]
----
def calculate_foo_prices(*foos)
...
foos.each do |foo|
# do something
end
end
----
Which means that we can use the same method for both situations:
[source,ruby]
----
calculate_foo_prices(Foo.new)
----
[source,ruby]
----
# foos would come in as an array from the UI
foos = [Foo.new, Foo.new, Foo.new]
calculate_foo_prices(*foos)
----
I'm guessing the latter is more idiomatic Ruby or perhaps there's another way I'm not aware of yet? | null | null | [
0.016172900795936584,
0.018810156732797623,
-0.041048694401979446,
0.014134390279650688,
0.05220813676714897,
0.04489430785179138,
0.034225717186927795,
-0.03474423289299011,
0.021133076399564743,
-0.016884852200746536,
-0.021657872945070267,
-0.009880563244223595,
-0.0809343084692955,
0.03145185858011246,
-0.00025719168479554355,
0.08022148907184601,
0.06579616665840149,
-0.04134443774819374,
-0.007748348638415337,
-0.0024403207935392857,
0.015120628289878368,
0.07490045577287674,
0.020523421466350555,
-0.0007338838768191636,
0.029237428680062294,
-0.0007236187229864299,
-0.004558398388326168,
-0.010723373852670193,
-0.06581899523735046,
-0.004618906415998936,
0.021505948156118393,
0.034676507115364075,
0.005466665606945753,
0.021740926429629326,
0.011058726347982883,
-0.015044697560369968,
0.00035406139795668423,
-0.01552226860076189,
-0.00968137662857771,
0.009339826181530952,
-0.007775547914206982,
0.05227522924542427,
0.00578237883746624,
0.02844548597931862,
-0.04859898239374161,
-0.02012430876493454,
-0.04009135812520981,
0.004280206747353077,
-0.024522487074136734,
0.008865374140441418,
-0.06744638830423355,
0.013595839962363243,
0.0013184057315811515,
-0.036733534187078476,
-0.012091252021491528,
0.06004762277007103,
-0.004359190817922354,
-0.06505324691534042,
0.03346696123480797,
-0.05129147693514824,
-0.008431543596088886,
0.017282722517848015,
0.01826564595103264,
0.03925821930170059,
0.04606485739350319,
-0.0032873007003217936,
-0.01568242721259594,
0.04849490150809288,
-0.057264018803834915,
-0.038574595004320145,
-0.03765454515814781,
-0.01782597228884697,
-0.008361087180674076,
-0.03098042495548725,
0.011028444394469261,
-0.02221458964049816,
-0.01294801663607359,
0.0749400407075882,
-0.017205992713570595,
0.04405631497502327,
-0.03436458483338356,
0.007902375422418118,
0.01744343340396881,
0.007814975455403328,
0.05328695476055145,
-0.04386543482542038,
-0.06327223777770996,
0.009398218244314194,
-0.033345844596624374,
0.0699942484498024,
0.014888235367834568,
-0.052977968007326126,
0.01910310983657837,
0.007490899413824081,
-0.010256875306367874,
0.00718157971277833,
-0.03282863646745682,
-0.02269374579191208,
-0.01670483872294426,
0.0037137633189558983,
-0.04215437173843384,
-0.02838766761124134,
0.043396878987550735,
-0.012851578183472157,
-0.07186304032802582,
-0.0032621438149362803,
-0.027973614633083344,
-0.007985180243849754,
0.011850513517856598,
-0.005123606882989407,
-0.059080686420202255,
0.0014595871325582266,
-0.031829651445150375,
0.007999377325177193,
-0.04088869318366051,
0.021114550530910492,
-0.004441983066499233,
-0.0071694026701152325,
-0.05029267817735672,
0.027316322550177574,
0.05234235152602196,
0.006967832800000906,
0.014852861873805523,
0.08038964867591858,
0.01103245373815298,
-0.01648729294538498,
0.0013071210123598576,
0.083993099629879,
-0.029161715880036354,
-0.04161174222826958,
-0.028917405754327774,
0.038927920162677765,
0.01045298483222723,
-0.009970525279641151,
-0.03193546459078789,
-0.012081890366971493,
-0.049897201359272,
0.002005096757784486,
0.02126254513859749,
0.041002608835697174,
-0.021962644532322884,
-0.03262694552540779,
-0.004660853650420904,
-0.024210486561059952,
0.00038516908534802496,
0.019692791625857353,
0.03183414041996002,
-0.00803289283066988,
-0.002733742818236351,
0.03591834008693695,
-0.0033521519508212805,
0.05146341398358345,
0.07098834961652756,
-0.03939100354909897,
0.03146357089281082,
0.05503682419657707,
-0.00503483647480607,
0.03790919855237007,
-0.00903675053268671,
0.010962389409542084,
0.038369935005903244,
0.03616425395011902,
0.029698781669139862,
0.03536325693130493,
0.012478459626436234,
0.020464951172471046,
0.00036274970625527203,
0.079402394592762,
-0.00295471865683794,
-0.03705791383981705,
-0.04890209063887596,
-0.0017432920867577195,
0.08252178132534027,
-0.05202392116189003,
0.017205318436026573,
0.004178458359092474,
0.050220757722854614,
0.0329548679292202,
0.06091878563165665,
-0.0253133587539196,
-0.07469779998064041,
0.011037389747798443,
-0.019817916676402092,
0.024417344480752945,
0.035468939691782,
-0.02176567167043686,
0.08375696837902069,
0.027459759265184402,
0.008057326078414917,
0.013804693706333637,
-0.06555158644914627,
-0.07436174154281616,
-0.02990696206688881,
-0.0383143424987793,
0.0841030552983284,
-0.021520841866731644,
-0.02772749587893486,
0.024542884901165962,
0.007294062525033951,
0.04319796338677406,
0.03687154874205589,
-0.02715972065925598,
-0.013566815294325352,
-0.015598555095493793,
-0.0037337231915444136,
0.02516823820769787,
0.05057327449321747,
-0.02861672267317772,
-0.035742972046136856,
0.0341235026717186,
-0.008242328651249409,
-0.019599640741944313,
0.021427147090435028,
-0.0006845110328868032,
0.039729807525873184,
0.06438816338777542,
0.02752186730504036,
-0.02402007021009922,
0.031205743551254272,
-0.062427274882793427,
0.025406118482351303,
0.023399369791150093,
-0.0037460688035935163,
-0.03295884653925896,
0.011059053242206573,
0.1272069215774536,
0.03351101651787758,
-0.00955515168607235,
-0.04270947352051735,
-0.04791942611336708,
0.01864866353571415,
-0.04520620405673981,
0.01365797221660614,
-0.026502177119255066,
0.01123812235891819,
0.004766537807881832,
-0.05400572717189789,
-0.0034963861107826233,
-0.001142985769547522,
-0.028365543112158775,
-0.03664909675717354,
0.08920128643512726,
-0.022254563868045807,
0.04224858060479164,
0.022412318736314774,
-0.007299188524484634,
0.0016062826616689563,
-0.04581750929355621,
-0.06706040352582932,
0.035583000630140305,
0.020316757261753082,
-0.013448062352836132,
0.03340191766619682,
-0.015607710927724838,
-0.024159042164683342,
-0.013271216303110123,
-0.02639154903590679,
-0.003290746361017227,
0.03642107546329498,
0.04342858865857124,
-0.01684989593923092,
0.055418144911527634,
-0.0054657054133713245,
-0.02639416605234146,
-0.0302059818059206,
-0.06690510362386703,
-0.010051809251308441,
0.03606494888663292,
0.00877083744853735,
0.04135677590966225,
0.0193275548517704,
0.04171643406152725,
0.0036989643704146147,
0.011951446533203125,
-0.028554493561387062,
0.005622227676212788,
0.025182219222187996,
-0.01368346530944109,
-0.024117186665534973,
-0.03564213588833809,
-0.04992646351456642,
0.0453227199614048,
-0.05283280834555626,
-0.0392301045358181,
-0.0077288709580898285,
-0.056273892521858215,
0.042366284877061844,
-0.08452729135751724,
-0.05819125100970268,
-0.02603480964899063,
0.03802734240889549,
0.06100156903266907,
-0.017282959073781967,
0.026791837066411972,
0.0813353881239891,
0.009161971509456635,
0.027103370055556297,
0.021947726607322693,
0.018811270594596863,
0.024886995553970337,
-0.005387712735682726,
-0.0012828041799366474,
0.03670431300997734,
0.009331106208264828,
-0.017740825191140175,
-0.04768798127770424,
-0.005494751501828432,
0.021738313138484955,
-0.2315441370010376,
0.007335887756198645,
-0.07430458813905716,
-0.04190537706017494,
0.023108918219804764,
-0.034312546253204346,
0.01662379503250122,
-0.028445815667510033,
0.0037841517478227615,
0.036886341869831085,
-0.020068703219294548,
-0.052025601267814636,
-0.046444159001111984,
0.05006711557507515,
0.006170981097966433,
-0.015355505980551243,
-0.026941463351249695,
-0.024936001747846603,
-0.0018327529542148113,
0.03656541183590889,
0.006752055138349533,
-0.07245776802301407,
0.004045478068292141,
0.10123589634895325,
0.015067009255290031,
0.05853445455431938,
-0.0715288370847702,
0.028180884197354317,
-0.03646776080131531,
-0.01905427686870098,
-0.005370914936065674,
-0.03839685767889023,
-0.0023069395683705807,
-0.04867730289697647,
-0.015889208763837814,
-0.051138557493686676,
0.03539514169096947,
0.006973993498831987,
0.03624650090932846,
0.0440814308822155,
-0.05683768168091774,
-0.029106540605425835,
-0.01853390596807003,
-0.026143528521060944,
0.07698836177587509,
-0.014169523492455482,
-0.04571976512670517,
-0.018811890855431557,
-0.06034372001886368,
0.05683646351099014,
-0.009129907004535198,
-0.040166616439819336,
0.013453284278512001,
0.030995147302746773,
-0.012718853540718555,
-0.027383286505937576,
0.018553465604782104,
-0.002937364624813199,
-0.027861567214131355,
-0.006694059818983078,
-0.01647421345114708,
-0.04740128666162491,
-0.013607311062514782,
-0.04373936727643013,
-0.01777958869934082,
-0.049776092171669006,
-0.03999248519539833,
0.023028535768389702,
0.05829901993274689,
0.03646035119891167,
-0.01748388260602951,
-0.004589284770190716,
-0.02464333176612854,
-0.09935913980007172,
0.0045775482431054115,
-0.0097590871155262,
0.0006980955367907882,
-0.013617711141705513,
0.01342734880745411,
0.019771551713347435,
-0.05373165011405945,
-0.04042285680770874,
0.043426528573036194,
0.01120002567768097,
0.024418292567133904,
-0.014655526727437973,
-0.02613091468811035,
-0.023047305643558502,
-0.007603409234434366,
-0.006078914739191532,
0.06816784292459488,
-0.002427877625450492,
-0.01363800186663866,
-0.00832989253103733,
0.020747020840644836,
0.04868738725781441,
0.05820675566792488,
-0.015598496422171593,
0.050645213574171066,
0.032764703035354614,
0.03983919695019722,
-0.06909982115030289,
0.014077994041144848,
-0.012846694327890873,
-0.010297320783138275,
0.00982872024178505,
-0.06636171042919159,
0.03607015684247017,
0.012142273597419262,
-0.015605967491865158,
-0.018655553460121155,
-0.03279256075620651,
-0.0049986145459115505,
-0.03912973403930664,
-0.047347813844680786,
-0.02766966074705124,
0.002237569773569703,
0.005326056852936745,
0.0029381876811385155,
0.020718889310956,
-0.07389426231384277,
-0.025521522387862206,
0.029996395111083984,
-0.005705110263079405,
-0.08151082694530487,
-0.05302394554018974,
-0.008695566095411777,
-0.0026043462567031384,
0.004898836370557547,
0.01769220642745495,
0.00755901588127017,
-0.010842290706932545,
-0.014089671894907951,
-0.041805729269981384,
0.0032399925403296947,
0.006960620637983084,
-0.014681712724268436,
-0.03632374480366707,
-0.04270784184336662,
-0.015138087794184685,
0.03145543113350868,
-0.021967219188809395,
0.005093410145491362,
0.020362189039587975,
0.008874610997736454,
0.021328890696167946,
0.03412547707557678,
0.03423357009887695,
0.0021336383651942015,
0.01997692883014679,
-0.004261042922735214,
-0.05549006536602974,
0.01454088930040598,
-0.0359627939760685,
-0.011544815264642239,
-0.02113284356892109,
0.022490527480840683,
-0.043229471892118454,
-0.039395369589328766,
-0.015382380224764347,
0.047714509069919586,
-0.0057976688258349895,
-0.03327524662017822,
-0.016504131257534027,
-0.014440981671214104,
0.049321163445711136,
-0.03983084484934807,
0.03834071010351181,
-0.02783346362411976,
0.019079435616731644,
0.007136010564863682,
0.01752980425953865,
-0.027883876115083694,
0.04357042908668518,
0.03094637766480446,
-0.03922172263264656,
0.0004675729142036289,
0.027944637462496758,
0.04441234841942787,
0.024885812774300575,
0.02987627498805523,
-0.014567478559911251,
0.03128630667924881,
0.039345696568489075,
0.02908407524228096,
-0.013747481629252434,
-0.021104050800204277,
0.012401724234223366,
-0.028727490454912186,
-0.0010780650191009045,
-0.044659968465566635,
-0.011716809123754501,
-0.02232253924012184,
0.026150217279791832,
-0.04508442431688309,
-0.060098063200712204,
0.0004150328750256449,
0.05757400766015053,
-0.0026234756223857403,
0.0011855533812195063,
0.012266039848327637,
0.018769385293126106,
-0.030140768736600876,
-0.030083157122135162,
0.0590243861079216,
-0.05864774435758591,
0.014358595944941044,
0.018184807151556015,
-0.003580170450732112,
0.047762807458639145,
0.039200376719236374,
-0.050294745713472366,
-0.007244716864079237,
0.019010180607438087,
-0.012175253592431545,
-0.03391658142209053,
-0.02775559574365616,
-0.02029363252222538,
-0.020297640934586525,
-0.04105452448129654,
0.02654053084552288,
-0.01377025805413723,
0.01894119381904602,
-0.008388947695493698,
-0.03513297811150551,
-0.012049801647663116,
-0.05150330811738968,
0.012777301482856274,
0.010496064089238644,
-0.026936249807476997,
0.030905961990356445,
-0.029579803347587585,
0.04291423410177231,
0.04187218099832535,
0.01933496631681919,
-0.0009236896876245737,
-0.05905317887663841,
0.025485809892416,
-0.050640664994716644,
0.01859680749475956,
-0.021066216751933098,
-0.021927496418356895,
-0.021957652643322945,
-0.01048243883997202,
-0.04115396738052368,
-0.020436469465494156,
-0.025393612682819366,
-0.0432097502052784,
0.006624297238886356,
0.023232337087392807,
-0.019684288650751114,
0.03655930608510971,
0.015391401015222073,
0.0005640063900500536,
0.04307692497968674,
-0.027669427916407585,
-0.015919530764222145,
-0.026776926591992378,
-0.05812599137425423,
0.021674642339348793,
0.016423238441348076,
0.03794608637690544,
-0.04345757141709328,
0.0682455524802208,
0.043538130819797516,
0.04638708010315895,
0.057275302708148956,
-0.012165011838078499,
0.02938004583120346,
-0.020599737763404846,
0.040577806532382965,
-0.07872310280799866,
0.021524282172322273,
0.03696204721927643,
0.04606620594859123,
-0.028035137802362442,
-0.05587167292833328,
-0.016614442691206932,
0.026576148346066475,
-0.04438719153404236,
-0.015784630551934242,
0.023014696314930916,
0.005343304947018623,
0.0007443998474627733,
0.01877462863922119,
-0.06021163612604141,
0.01235457044094801,
0.019670967012643814,
-0.030058346688747406,
-0.018084656447172165,
-0.02262624353170395,
0.04660236835479736,
0.026049219071865082,
0.043880101293325424,
-0.01533432025462389,
-0.0030738995410501957,
0.0742761418223381,
0.01805797405540943,
0.023216070607304573,
0.050921812653541565,
-0.024669749662280083,
0.03764977678656578,
-0.000007952286978252232,
-0.01489077229052782,
0.005318112671375275,
0.021093405783176422,
0.015725120902061462,
-0.054426178336143494,
0.029932254925370216,
0.0037812807131558657,
-0.04778515174984932,
-0.03220061957836151,
0.07584188878536224,
0.0029711290262639523,
-0.016628706827759743,
-0.07538588345050812,
0.0393182709813118,
-0.04675104469060898,
-0.01783905364573002,
-0.015416236594319344,
-0.0015318073565140367,
-0.051534783095121384,
0.07184941321611404,
0.005242707673460245,
-0.013853361830115318,
0.03443501144647598,
0.02273409813642502,
-0.012681682594120502,
-0.030048178508877754,
0.0774824470281601,
0.09535335004329681,
0.07936936616897583,
0.011745616793632507,
0.02966599352657795,
-0.008141622878611088,
-0.04766063392162323,
0.0002984192979056388,
-0.011916011571884155,
0.0061513339169323444,
0.017553962767124176,
0.015611081384122372,
0.06488441675901413,
-0.004357021767646074,
0.02905237302184105,
-0.04642127826809883,
0.010984518565237522,
-0.0036738747730851173,
0.0213147085160017,
0.010134603828191757,
0.07058018445968628,
0.03545766323804855,
0.055969685316085815,
0.014277228154242039,
-0.0655926838517189,
0.04529128223657608,
-0.01730247773230076,
-0.017291894182562828,
0.034557294100522995,
0.016382113099098206,
0.013422257266938686,
0.03074595145881176,
0.03305034711956978,
0.05613153800368309,
-0.049198076128959656,
-0.04258216544985771,
-0.005811710376292467,
0.018448878079652786,
-0.007637316361069679,
-0.028790974989533424,
-0.008372739888727665,
-0.02779926359653473,
-0.021028771996498108,
-0.0292271226644516,
-0.02507975324988365,
-0.008939669467508793,
-0.0018240809440612793,
0.07357154041528702,
0.003469239454716444,
0.019049834460020065,
0.0456264354288578,
0.022611746564507484,
-0.010280106216669083,
-0.04152346029877663,
-0.06658845394849777,
-0.05696846917271614,
-0.048094119876623154,
0.019290851429104805,
0.06316127628087997,
-0.007992595434188843,
-0.02469232678413391,
0.0009373787906952202,
0.0022259182296693325,
0.000050462447688914835,
0.06014329940080643,
-0.02990926057100296,
-0.06289750337600708,
-0.014733330346643925,
0.018859080970287323,
0.060679856687784195,
0.03390032798051834,
0.03400985896587372,
-0.014642181806266308,
-0.012265034019947052,
-0.012159086763858795,
-0.03002047911286354,
0.06028787046670914,
0.014052310958504677,
0.00010738137643784285,
-0.06352818012237549,
0.0024845150765031576,
0.051251865923404694,
-0.007500397972762585,
-0.05067168176174164,
-0.0017901734681800008,
-0.023533890023827553,
0.009459500201046467,
0.046801649034023285,
-0.02619677409529686,
-0.012962395325303078,
-0.012580735608935356,
-0.02438100427389145,
0.005629073362797499,
0.018503693863749504,
0.030574368312954903,
-0.032580193132162094,
0.08427277952432632,
0.007939781993627548,
-0.02257823944091797,
-0.0008254585554823279,
-0.022902756929397583,
-0.01319254469126463,
-0.0016335499240085483,
-0.011692967265844345,
-0.02976129576563835,
-0.022319044917821884,
-0.058780595660209656,
-0.0287700854241848,
0.00252528116106987,
-0.017974484711885452,
-0.05324020981788635,
0.006891317665576935,
0.06904909759759903,
-0.007639119401574135,
0.047953322529792786,
-0.044088609516620636,
0.05857785791158676,
-0.046946920454502106,
-0.01648840680718422,
0.0007363211479969323,
0.040966734290122986,
-0.02160034142434597,
-0.00009650504944147542,
-0.00014433477190323174,
0.008850093930959702,
-0.018473539501428604,
-0.024379532784223557,
0.019686687737703323,
0.020302392542362213,
-0.04036387801170349,
0.01689775474369526
] | [
-0.05387837439775467,
-0.013275275938212872,
-0.05339433625340462,
-0.006987284403294325,
0.033412866294384,
-0.06877031177282333,
0.03346197307109833,
0.010226050391793251,
0.01936221495270729,
-0.028873886913061142,
-0.013958954252302647,
-0.052560724318027496,
-0.004613114055246115,
-0.01092041190713644,
0.05701053515076637,
-0.012306471355259418,
-0.033961325883865356,
-0.03075563721358776,
-0.04232938215136528,
0.02466261386871338,
0.05607454106211662,
-0.012378201819956303,
-0.023908132687211037,
-0.04008406028151512,
0.032442133873701096,
0.04793807119131088,
-0.0021272285375744104,
-0.023219283670186996,
-0.010214537382125854,
-0.20310865342617035,
0.023163095116615295,
-0.0004847949312534183,
0.030394239351153374,
-0.03284800052642822,
-0.02571077086031437,
0.027566110715270042,
0.0273289754986763,
0.02396867237985134,
0.008525175042450428,
0.09524969011545181,
0.036772239953279495,
0.022911610081791878,
-0.04152533784508705,
-0.019887788221240044,
0.008425348438322544,
0.037017788738012314,
-0.03715987876057625,
-0.008146441541612148,
-0.01584251970052719,
0.005601718556135893,
-0.04920381307601929,
0.015263846144080162,
-0.01768936775624752,
-0.05234992504119873,
-0.0001752874959493056,
0.014201545156538486,
0.0437147356569767,
0.07936524599790573,
0.0184013769030571,
0.003735512727871537,
0.022007210180163383,
-0.007991245947778225,
-0.13731910288333893,
0.04960431903600693,
0.042093344032764435,
0.03390529751777649,
-0.03662710636854172,
-0.02186223678290844,
-0.02494669146835804,
0.08860481530427933,
0.006404224317520857,
-0.006533375941216946,
-0.009735812433063984,
0.055030494928359985,
-0.0033820734824985266,
-0.03442566841840744,
-0.012312579900026321,
-0.0007845070213079453,
0.045376986265182495,
-0.0346975140273571,
-0.06076763570308685,
-0.042027316987514496,
-0.005271535832434893,
-0.008882325142621994,
-0.024487851187586784,
0.005623041186481714,
-0.006674916949123144,
0.04537828639149666,
0.06309927999973297,
0.021653879433870316,
0.013554121367633343,
0.005390406586229801,
-0.012305207550525665,
0.024635670706629753,
-0.05071427300572395,
-0.013992715626955032,
0.020020553842186928,
0.005480382591485977,
-0.03375165909528732,
0.40232861042022705,
-0.013184035196900368,
-0.041497521102428436,
0.059799712151288986,
-0.004710238426923752,
-0.06374313682317734,
-0.010189907625317574,
-0.026108434423804283,
-0.07128895819187164,
0.0002725970698520541,
-0.043683771044015884,
0.0006382452556863427,
-0.009997124783694744,
0.0525122731924057,
-0.08355765789747238,
-0.003808033186942339,
0.023507509380578995,
0.014925426803529263,
0.011942952871322632,
0.017024239525198936,
-0.018854038789868355,
-0.031003504991531372,
0.0039358483627438545,
0.01904447376728058,
0.029885493218898773,
-0.011477370746433735,
0.02374245785176754,
0.03635941445827484,
0.09154272824525833,
0.020469224080443382,
0.04830776900053024,
0.04795142635703087,
-0.027185002341866493,
-0.1197802871465683,
-0.008039398118853569,
-0.01828806847333908,
0.039139486849308014,
0.06782685965299606,
-0.000728142389561981,
0.038868941366672516,
0.051393698900938034,
-0.0241521205753088,
-0.007409673184156418,
0.011419505812227726,
-0.00027307082200422883,
-0.02936151996254921,
0.11756785213947296,
-0.03257794678211212,
-0.033774103969335556,
-0.01800236850976944,
-0.04819149896502495,
-0.0374828465282917,
0.031601566821336746,
-0.011472244746983051,
-0.05765928328037262,
-0.011733912862837315,
0.003577561816200614,
0.04993981495499611,
-0.04803777486085892,
-0.04857935756444931,
-0.003472809446975589,
-0.07936134934425354,
-0.016749488189816475,
-0.03990989178419113,
0.03235877305269241,
0.010759258642792702,
-0.07457268983125687,
-0.009677320718765259,
-0.006756017450243235,
0.0075411126017570496,
-0.09583593904972076,
0.005234417971223593,
0.026730474084615707,
-0.046723563224077225,
0.002532439772039652,
0.059735700488090515,
-0.009244341403245926,
-0.018142955377697945,
-0.009429661557078362,
0.046597350388765335,
-0.0073980060406029224,
0.050204917788505554,
0.047539569437503815,
-0.046417370438575745,
0.016883622854948044,
-0.03773757442831993,
-0.06280935555696487,
-0.07664000988006592,
-0.03625288978219032,
-0.03696512430906296,
0.011624888516962528,
-0.05560717731714249,
-0.004560490138828754,
-0.07136479765176773,
0.043746501207351685,
-0.016537342220544815,
-0.01274706982076168,
0.025325311347842216,
0.005260197911411524,
-0.011072310619056225,
0.03198457509279251,
-0.02158447355031967,
0.05911017954349518,
0.001391574856825173,
0.014438719488680363,
-0.05972001329064369,
0.01142740249633789,
0.0595402866601944,
-0.03055877611041069,
0.0492793433368206,
0.036220449954271317,
-0.04049505293369293,
-0.00997697189450264,
-0.01590016484260559,
0.05921320244669914,
-0.04529187083244324,
-0.02953295037150383,
-0.0015627422835677862,
0.01950247213244438,
-0.005401168949902058,
0.008080984465777874,
-0.05356369912624359,
-0.09058889746665955,
0.03105996549129486,
-0.3583333492279053,
-0.011385657824575901,
0.026669463142752647,
-0.03106711618602276,
0.04581310600042343,
-0.05814611539244652,
0.01780492439866066,
-0.037787944078445435,
-0.06396468728780746,
0.03699921444058418,
0.0676850751042366,
-0.02162514068186283,
-0.011674740351736546,
-0.07836753875017166,
0.00015531059761997312,
0.0343807078897953,
-0.07866369932889938,
-0.04835689440369606,
-0.02810528315603733,
0.05889292433857918,
-0.013279983773827553,
-0.030168866738677025,
0.033215854316949844,
-0.06997976452112198,
-0.015345540829002857,
-0.05888763815164566,
0.09830018877983093,
-0.027720868587493896,
0.09309900552034378,
-0.030279599130153656,
0.035968903452157974,
-0.02728898823261261,
-0.026989424601197243,
-0.026165109127759933,
-0.016564866527915,
-0.043785855174064636,
0.0037350310012698174,
0.033865831792354584,
0.04743537679314613,
-0.00260571064427495,
0.0012461761943995953,
0.0113636814057827,
-0.03619062155485153,
-0.02620025910437107,
-0.003227971727028489,
0.05800493806600571,
-0.007786872331053019,
-0.04825955256819725,
0.023528307676315308,
0.04475855454802513,
0.024281183257699013,
-0.005666621960699558,
0.04128829762339592,
-0.010367028415203094,
0.007731138728559017,
-0.044785596430301666,
-0.0810876339673996,
-0.0011580680729821324,
-0.004146628547459841,
0.008029179647564888,
0.02336704358458519,
0.05207284912467003,
0.049955204129219055,
-0.04120354354381561,
0.007452382240444422,
-0.019918348640203476,
0.029566043987870216,
-0.005701397079974413,
-0.008546511642634869,
-0.020505880936980247,
0.008345548994839191,
0.1132153645157814,
0.026921555399894714,
-0.0033844709396362305,
0.02209986187517643,
0.08381514996290207,
-0.0027563858311623335,
0.052539318799972534,
0.010030536912381649,
0.04933695122599602,
0.02254796214401722,
0.010417580604553223,
0.04522810876369476,
0.01726377382874489,
0.009836547076702118,
0.013676761649549007,
0.01500057615339756,
-0.013715355657041073,
0.05944430083036423,
-0.0029317939188331366,
-0.04308178275823593,
-0.01701178587973118,
-0.003771622432395816,
0.006730781402438879,
0.05531974509358406,
-0.0013763015158474445,
-0.25335893034935,
0.032095640897750854,
0.06522147357463837,
0.02388584613800049,
0.015639813616871834,
0.039628028869628906,
0.024873552843928337,
-0.05289386585354805,
-0.016030536964535713,
-0.021533086895942688,
0.01860116980969906,
0.033684827387332916,
0.03902729973196983,
0.004530427977442741,
0.03997553139925003,
-0.022616833448410034,
0.0831996351480484,
-0.0372372642159462,
0.008404453285038471,
0.026947885751724243,
0.04547254368662834,
0.009793190285563469,
0.17154113948345184,
-0.01706443540751934,
0.057205747812986374,
0.004751297179609537,
0.0027989824302494526,
0.005548201035708189,
0.08886390924453735,
0.025969834998250008,
0.02107725478708744,
-0.02407088316977024,
0.08406567573547363,
0.005941922310739756,
0.0407416969537735,
-0.028844160959124565,
-0.00536847161129117,
0.003186966059729457,
0.0349450446665287,
-0.0306475218385458,
-0.012267876416444778,
0.014565186575055122,
-0.0691337063908577,
0.03396769240498543,
0.05914434790611267,
0.009691090323030949,
-0.018945757299661636,
-0.06546371430158615,
-0.028466839343309402,
0.004447146784514189,
-0.026192596182227135,
-0.022710492834448814,
-0.0029925184790045023,
-0.006957848556339741,
0.028918908908963203,
0.04937463626265526,
0.004795695189386606,
0.0006496317218989134,
-0.029492823407053947,
0.006399267353117466,
0.0005054064677096903,
-0.006430321838706732,
0.08852440118789673,
0.026435568928718567,
0.03371001034975052
] | [
-0.02488490380346775,
0.004063982516527176,
-0.04864940792322159,
0.06318259239196777,
-0.04573345556855202,
-0.007991227321326733,
-0.021729376167058945,
0.019896281883120537,
-0.008104992099106312,
-0.0043131038546562195,
-0.02186829224228859,
0.011757031083106995,
-0.015560748055577278,
-0.025161419063806534,
0.00487668439745903,
-0.009115027263760567,
-0.009412110783159733,
-0.011484612710773945,
0.03918946906924248,
0.012210036627948284,
-0.003669522935524583,
0.03232506290078163,
0.018383309245109558,
0.016477128490805626,
0.024075651541352272,
0.0068621644750237465,
-0.008725310675799847,
-0.00946768932044506,
0.03605346754193306,
-0.12923762202262878,
-0.026501908898353577,
-0.0014938972890377045,
0.02706132084131241,
0.029613347724080086,
-0.010703790001571178,
-0.027480952441692352,
0.020076731219887733,
-0.0036484466399997473,
0.015199699439108372,
0.0010207203449681401,
0.0012850428465753794,
0.027886759489774704,
-0.057305533438920975,
-0.0035125629510730505,
-0.016433073207736015,
-0.00007783293403917924,
0.042408302426338196,
0.0025060775224119425,
0.01927306316792965,
-0.011650476604700089,
-0.03498758375644684,
0.029133839532732964,
0.0029905664268881083,
-0.0182498749345541,
0.03726644068956375,
-0.013464740477502346,
0.011232709512114525,
-0.04567733034491539,
0.037329863756895065,
-0.0008488841122016311,
-0.007997795008122921,
0.019170930609107018,
-0.05226133018732071,
-0.029945041984319687,
0.01890096813440323,
-0.01702367514371872,
-0.05059051141142845,
0.029034364968538284,
-0.005883959122002125,
-0.027974676340818405,
0.021315352991223335,
-0.00697450852021575,
-0.011345448903739452,
-0.03325468674302101,
0.00899279210716486,
-0.014823082834482193,
0.033170610666275024,
-0.04687715694308281,
-0.003967748023569584,
0.02581695094704628,
-0.05003432556986809,
-0.01152633037418127,
-0.025757409632205963,
-0.027011020109057426,
0.007308864034712315,
-0.011067565530538559,
-0.011048358865082264,
0.015225156210362911,
0.05312761664390564,
-0.006791654042899609,
-0.019487906247377396,
0.0015137254958972335,
0.003987113945186138,
0.04522142559289932,
-0.05914195626974106,
0.012534935027360916,
0.02659461461007595,
-0.01418326236307621,
0.03160649910569191,
0.7744067907333374,
0.01755957305431366,
0.029842227697372437,
0.03384505212306976,
0.010005885735154152,
-0.02708522044122219,
0.009864804334938526,
0.007801632396876812,
0.030971908941864967,
0.01844869740307331,
-0.02267715521156788,
0.049310360103845596,
-0.030099378898739815,
0.042787570506334305,
0.025059305131435394,
0.0017852589953690767,
0.041866566985845566,
0.02508644014596939,
0.005892142187803984,
0.005406298208981752,
0.009957405738532543,
0.07370545715093613,
0.05373173579573631,
0.01698850654065609,
0.000502561975736171,
0.018632233142852783,
-0.16369114816188812,
-0.00011233382247155532,
-8.499619819183852e-33,
0.007780638989061117,
-0.04015582427382469,
-0.05062653869390488,
0.01619727909564972,
-0.03712921962141991,
0.07643377780914307,
-0.013258656486868858,
0.02222415991127491,
0.02493984065949917,
0.007003115490078926,
0.011824892833828926,
0.013247239403426647,
-0.06674358248710632,
-0.033697713166475296,
0.028355298563838005,
-0.01930684596300125,
0.0005107903853058815,
0.042313870042562485,
0.05065591633319855,
0.040477458387613297,
0.020794445648789406,
0.0007428870885632932,
0.00443250872194767,
0.008946231566369534,
-0.02622148022055626,
0.01638338528573513,
0.06221041828393936,
-0.04940839856863022,
0.010189548134803772,
-0.04134267941117287,
0.020267007872462273,
0.049440644681453705,
0.02132902480661869,
-0.05382038652896881,
0.011531545780599117,
-0.03818703442811966,
-0.01607477478682995,
0.013773268088698387,
-0.013988480903208256,
-0.016682574525475502,
0.004833986982703209,
-0.036283232271671295,
-0.007534082978963852,
0.021125251427292824,
-0.030920404940843582,
0.03688758984208107,
-0.010621173307299614,
0.06049569323658943,
0.02605646848678589,
0.03686907887458801,
-0.04870348423719406,
-0.0016423898050561547,
0.01971171610057354,
0.01005127839744091,
-0.01016808021813631,
-0.03217963129281998,
-0.04849226772785187,
-0.04205363243818283,
0.009188931435346603,
-0.031290244311094284,
-0.0156210046261549,
0.003106034593656659,
-0.014763894490897655,
0.04879191890358925,
-0.06477808952331543,
-0.012085472233593464,
0.016321778297424316,
0.03977452963590622,
0.007946102879941463,
0.038800980895757675,
-0.0534474216401577,
0.04584655538201332,
-0.01934586651623249,
0.008354238234460354,
-0.011089331470429897,
-0.07803566008806229,
0.0019183821277692914,
0.02149299718439579,
0.02547266148030758,
0.039488185197114944,
0.039005693048238754,
0.007033300120383501,
-0.026300806552171707,
0.029071306809782982,
-0.0034536030143499374,
0.02181098237633705,
-0.00040286374860443175,
-0.012022200971841812,
-0.003713821992278099,
-0.021009858697652817,
0.0054585374891757965,
0.018932010978460312,
-0.03636133670806885,
-0.06105683743953705,
0.010479462333023548,
8.105062201594474e-33,
-0.002413662848994136,
-0.0462014302611351,
-0.021671202033758163,
0.006971416994929314,
-0.0031050988472998142,
-0.052282992750406265,
0.04359244182705879,
-0.02387348748743534,
0.0011853305622935295,
0.03315269574522972,
-0.0702996477484703,
-0.00029705063207075,
-0.0287418682128191,
-0.002895877230912447,
0.04768023639917374,
-0.03673289716243744,
-0.0014122959692031145,
-0.050357792526483536,
0.043134912848472595,
-0.017154516652226448,
-0.07550329715013504,
0.013109351508319378,
0.024033522233366966,
0.031138576567173004,
-0.029275674372911453,
0.028337104246020317,
-0.057057369500398636,
0.017621152102947235,
0.008260180242359638,
-0.002345240907743573,
0.018613243475556374,
-0.015502342022955418,
0.03641756251454353,
-0.030368255451321602,
-0.0646706223487854,
0.04738935828208923,
0.02693764679133892,
-0.03340530768036842,
0.0008104711887426674,
-0.019411586225032806,
0.07033738493919373,
-0.010433025658130646,
0.006610967684537172,
-0.021195096895098686,
0.009251589886844158,
0.0006714704213663936,
0.016046561300754547,
-0.03552187234163284,
0.06754329800605774,
0.0038652331568300724,
0.019391369074583054,
0.028401104733347893,
-0.046700961887836456,
-0.0029284160118550062,
0.003063643118366599,
-0.027262018993496895,
-0.022577201947569847,
-0.013164574280381203,
-0.010077650658786297,
0.020375041291117668,
-0.02845798246562481,
0.02377278357744217,
0.015945933759212494,
0.041706591844558716,
-0.05271022766828537,
-0.003050667466595769,
0.010202462784945965,
-0.06154374033212662,
0.02829255536198616,
-0.020824475213885307,
-0.001421630848199129,
-0.01813962496817112,
-0.002993927337229252,
0.017126476392149925,
-0.009205954149365425,
-0.014321817085146904,
-0.041687820106744766,
0.000013617290278489236,
0.008504826575517654,
0.0037234823685139418,
0.009180506691336632,
-0.013717221096158028,
0.010967553593218327,
0.04105203226208687,
0.016710344702005386,
0.012773962691426277,
-0.015042019076645374,
0.018713872879743576,
0.005764517467468977,
0.020871546119451523,
0.004135951865464449,
-0.009248561225831509,
0.006836600136011839,
-0.011637835763394833,
-0.06911561638116837,
-1.337791033506619e-8,
-0.023188700899481773,
0.0325472429394722,
-0.019566569477319717,
0.06007160246372223,
0.015364227816462517,
-0.00270827510394156,
0.01760731264948845,
-0.025649091228842735,
-0.019011767581105232,
-0.007451165933161974,
0.02783331461250782,
0.03202052786946297,
-0.01174973975867033,
0.0592171736061573,
0.019104378297924995,
-0.03962553292512894,
-0.03690159693360329,
-0.00654955767095089,
0.020114034414291382,
0.018983053043484688,
0.019077075645327568,
0.07239770144224167,
-0.00692451698705554,
-0.002418474294245243,
-0.013026882894337177,
0.005522845778614283,
-0.029093625023961067,
-0.04722149670124054,
0.05557066947221756,
-0.0023104704450815916,
0.08376514911651611,
-0.008775350637733936,
-0.001090580248273909,
0.009808767586946487,
-0.003159143729135394,
-0.04650698974728584,
0.020617211237549782,
0.0594143345952034,
0.0150090791285038,
0.018769441172480583,
-0.03730980306863785,
-0.017891157418489456,
-0.013949621468782425,
-0.029668156057596207,
-0.03099661134183407,
-0.08006524294614792,
-0.07362108677625656,
-0.004376286640763283,
0.07780501991510391,
-0.037735696882009506,
0.004982250742614269,
0.02719235047698021,
0.0012870569480583072,
0.00349261867813766,
0.025295928120613098,
-0.013379491865634918,
0.006521993782371283,
-0.07385581731796265,
-0.033426959067583084,
-0.027744758874177933,
0.04291730001568794,
-0.05625986307859421,
-0.05765994265675545,
0.01378562394529581
] | ruby-one-method-two-parameter-types | https://markhneedham.com/blog/2010/12/07/ruby-one-method-two-parameter-types |
false | 2010-12-01 17:56:51 | Ruby: Exiting a 'loop' early | [
"ruby"
] | [
"Ruby"
] | We recently had a problem to solve which at its core required us to iterate through a collection, look up a value for each key and then exit as soon as we'd found a value.
The original solution looped through the collection and then explicitly returned once a value had been found:
[source,ruby]
----
def iterative_version
v = nil
[1,2,3,4,5].each do |i|
v = long_running_method i
return v unless v.nil?
end
v
end
----
[source,ruby]
----
def long_running_method(value)
puts "inside the long running method with #{value}"
return nil if value > 3
value
end
----
Which we run like so:
[source,ruby]
----
p "iterative value is #{iterative_version.to_s}"
----
This prints the following when we run it:
[source,text]
----
inside the long running method with 1
"iterative value is 1"
----
I figured there must be a more functional way to solve the problem and I eventually came up with this:
[source,ruby]
----
def functional_version
[1,2,3,4,5].map {|i| long_running_method i }.find { |i| !i.nil? }
end
----
Which prints the following when we run it:
[source,ruby]
----
inside the long running method with 1
inside the long running method with 2
inside the long running method with 3
inside the long running method with 4
inside the long running method with 5
"functional value is 1"
----
The problem is that collections in Ruby are eager evaluated so we evaluate every single item in the collection before we get the first non nil value.
Luckily the http://flori.github.com/lazylist/[lazylist] gem comes to our rescue and allows us to solve the problem in a functional way:
[source,ruby]
----
require 'lazylist'
def lazy_version
lazy_list([1,2,3,4,5]).find { |i| !i.nil? }
end
def lazy_list(values)
list(long_running_method(values.first)) { lazy_list(values - [values.first]) }
end
----
Running that gives us this:
[source,text]
----
inside the long running method with 1
"lazy value is 1"
----
I've never come across a problem where I needed to use a lazy list but finally I have and I think the version which uses it is pretty neat. | null | null | [
-0.02097184769809246,
-0.039737507700920105,
-0.026829756796360016,
0.025645889341831207,
0.07413027435541153,
0.00829934049397707,
0.028483083471655846,
-0.012098047882318497,
0.009550543501973152,
-0.013338468968868256,
-0.03994419798254967,
-0.0011585463071241975,
-0.07396553456783295,
0.03165414556860924,
-0.012758249416947365,
0.07222173362970352,
0.05995340645313263,
-0.022598642855882645,
0.0019143810495734215,
-0.004365971777588129,
0.020122334361076355,
0.09056750684976578,
0.006588434334844351,
0.01701991632580757,
0.03776423633098602,
0.008604905568063259,
0.0018895475659519434,
0.0057100215926766396,
-0.0642138347029686,
0.0045532407239079475,
0.015030661597847939,
-0.027960417792201042,
0.0030506777111440897,
0.01951979286968708,
0.03502864018082619,
-0.006781218573451042,
0.012267881073057652,
-0.023294629529118538,
-0.0252220556139946,
-0.0032849437557160854,
-0.00006796183151891455,
0.03081122599542141,
-0.010589239187538624,
0.005201748572289944,
-0.035923343151807785,
0.029534563422203064,
-0.03533102199435234,
0.0037120177876204252,
0.0019126314437016845,
-0.022892843931913376,
-0.05130476504564285,
0.008264768868684769,
0.004849673248827457,
-0.02147783897817135,
0.0024449508637189865,
0.05492636188864708,
-0.02089175209403038,
-0.073176808655262,
0.030567897483706474,
-0.03815041109919548,
-0.0013648816384375095,
-0.01698758453130722,
0.011011272668838501,
0.03546181321144104,
0.039385899901390076,
-0.012925702147185802,
-0.0077316793613135815,
0.058105770498514175,
-0.045198824256658554,
-0.03014932945370674,
-0.041140154004096985,
-0.013141902163624763,
-0.034266162663698196,
-0.005443509668111801,
-0.006788315717130899,
-0.03972294181585312,
-0.019938189536333084,
0.06302332878112793,
0.002060441765934229,
0.05422240495681763,
-0.015112983994185925,
0.0167120061814785,
0.029633475467562675,
0.025540146976709366,
0.010963118635118008,
-0.020865725353360176,
-0.02470274828374386,
-0.022091148421168327,
-0.01911953091621399,
0.06006913259625435,
0.04802904278039932,
-0.05911165848374367,
-0.00005358152338885702,
0.0027416388038545847,
-0.028620600700378418,
-0.008478146977722645,
-0.019957739859819412,
0.0029021059162914753,
-0.025076521560549736,
0.034996483474969864,
-0.022131403908133507,
-0.039185114204883575,
-0.0008117161341942847,
-0.009502235800027847,
-0.062310606241226196,
-0.019928663969039917,
-0.007137233857065439,
-0.005348555278033018,
0.011673027649521828,
-0.02524459734559059,
-0.07130396366119385,
0.03526538610458374,
-0.05021551251411438,
0.013963958248496056,
-0.07299724221229553,
0.032480549067258835,
0.012257028371095657,
-0.016892611980438232,
-0.03884071856737137,
0.027844738215208054,
0.06287132203578949,
0.037985604256391525,
0.006022870074957609,
0.0630645826458931,
0.003954422660171986,
0.018366344273090363,
0.0014213577378541231,
0.056360602378845215,
0.0034161736257374287,
-0.05677139386534691,
-0.010424794629216194,
0.03340880945324898,
-0.00942916888743639,
-0.017500154674053192,
-0.03035895898938179,
-0.008820697665214539,
-0.0290377177298069,
0.012647834606468678,
0.05909092724323273,
0.018928909674286842,
-0.01535339467227459,
-0.018122320994734764,
0.004683365114033222,
-0.02983819879591465,
0.01902688853442669,
0.006109866313636303,
-0.006397912744432688,
-0.005785523913800716,
0.005803650710731745,
0.019132543355226517,
0.009512844495475292,
0.05043286457657814,
0.051978062838315964,
-0.013509566895663738,
0.003195755882188678,
0.06586813181638718,
-0.02888656221330166,
0.03756333142518997,
0.0022143337409943342,
0.00856446661055088,
0.044473156332969666,
0.02683192491531372,
0.001062373397871852,
0.05693943798542023,
0.036861978471279144,
0.005414098966866732,
0.012572181411087513,
0.06558777391910553,
-0.006212592590600252,
-0.013416442088782787,
-0.06173080950975418,
-0.025606438517570496,
0.07559860497713089,
-0.035876043140888214,
-0.031566835939884186,
0.014638788998126984,
0.06431436538696289,
-0.014361977577209473,
0.04083147644996643,
-0.022505981847643852,
-0.06704296916723251,
0.00015069509390741587,
-0.022443410009145737,
0.0070693776942789555,
0.008323240093886852,
-0.014426663517951965,
0.08397948741912842,
0.04283631965517998,
0.017262602224946022,
-0.007341583259403706,
-0.08943953365087509,
-0.055469438433647156,
-0.018487796187400818,
-0.047187063843011856,
0.0736556425690651,
-0.0271871630102396,
-0.04870987683534622,
0.022217972204089165,
-0.005710533354431391,
0.033396728336811066,
0.059350188821554184,
-0.03768331557512283,
-0.0015259208157658577,
-0.0425415076315403,
-0.02334423176944256,
0.04806532338261604,
0.053025465458631516,
-0.01156095415353775,
-0.036684125661849976,
0.03086528740823269,
-0.019167698919773102,
0.004835326224565506,
0.03344104439020157,
0.001330829574726522,
0.06054621562361717,
0.03279799222946167,
0.013800817541778088,
-0.03698592260479927,
0.058671582490205765,
-0.05316756293177605,
0.048199672251939774,
0.036597270518541336,
0.004752907436341047,
-0.013854075223207474,
0.0011217603459954262,
0.09248332679271698,
0.051449839025735855,
-0.012279598042368889,
-0.052892278879880905,
0.014479577541351318,
0.029932823032140732,
-0.03635860234498978,
0.00031419540755450726,
-0.052582427859306335,
0.010655378922820091,
0.008474696427583694,
-0.018245436251163483,
0.0012798605021089315,
0.031698551028966904,
-0.035391949117183685,
-0.0451604425907135,
0.05243968591094017,
-0.006002337671816349,
0.04855906963348389,
0.033580414950847626,
-0.042773596942424774,
-0.0001225039886776358,
-0.02373347245156765,
-0.1060820072889328,
0.00764345983043313,
0.02950187772512436,
-0.003633143613114953,
0.042665474116802216,
-0.037343237549066544,
0.006108222994953394,
-0.011447756551206112,
-0.04126160591840744,
0.012053155340254307,
0.02800365909934044,
0.07070969045162201,
-0.04403906315565109,
0.06646203249692917,
-0.008306183852255344,
-0.04954209551215172,
-0.01785082183778286,
-0.057990942150354385,
-0.008283130824565887,
0.005305419210344553,
0.0100929643958807,
0.01671462506055832,
0.01546358410269022,
-0.0003393569786567241,
0.021777382120490074,
0.005966659169644117,
-0.02512660063803196,
0.021898888051509857,
0.04664022848010063,
0.01372543815523386,
-0.02808225527405739,
-0.027228116989135742,
-0.034031860530376434,
0.0563979409635067,
-0.03283882886171341,
-0.04203107953071594,
-0.025886934250593185,
-0.06239059194922447,
0.05010278895497322,
-0.046248506754636765,
-0.03103584237396717,
-0.00455652317032218,
0.02247440628707409,
0.01947535015642643,
-0.021134348586201668,
0.03387538716197014,
0.0530133992433548,
0.028680313378572464,
0.00672621326521039,
0.03194942697882652,
0.008997110649943352,
0.009778010658919811,
-0.04342368245124817,
-0.03277205303311348,
0.06385393440723419,
0.024931374937295914,
0.011126399040222168,
-0.02450323849916458,
0.007986774668097496,
0.0067143868654966354,
-0.26172685623168945,
0.024268383160233498,
-0.04586977884173393,
-0.056282173842191696,
0.007848693989217281,
-0.02702680043876171,
-0.011246005073189735,
-0.02881922386586666,
0.008854972198605537,
0.0446794219315052,
-0.01953832618892193,
-0.007483563385903835,
-0.029514405876398087,
0.057100407779216766,
-0.0020748283714056015,
-0.00004425751103553921,
0.0016842567129060626,
-0.018616685643792152,
-0.020801803097128868,
0.029218588024377823,
0.015705913305282593,
-0.09444145113229752,
-0.015002677217125893,
0.07420340180397034,
0.010044462978839874,
0.07556886225938797,
-0.06638685613870621,
0.02984567917883396,
-0.046442605555057526,
-0.016063179820775986,
-0.000026627925763023086,
-0.038431864231824875,
0.014010346494615078,
-0.037511907517910004,
-0.024317078292369843,
-0.02254468761384487,
0.0294598750770092,
0.013937754556536674,
0.03777286037802696,
0.04336913302540779,
-0.04655848443508148,
-0.04498089477419853,
-0.02382953278720379,
0.03409193083643913,
0.07221097499132156,
-0.01401567179709673,
-0.06633109599351883,
-0.03650182485580444,
-0.037841808050870895,
0.07371511310338974,
-0.004167329519987106,
-0.0588354729115963,
-0.01052152831107378,
0.048179417848587036,
0.013401123695075512,
-0.017165059223771095,
-0.01907610148191452,
-0.009669426828622818,
-0.04983492195606232,
-0.012089441530406475,
-0.028058551251888275,
-0.05344200134277344,
-0.005449844058603048,
-0.023157909512519836,
-0.07010336220264435,
-0.03524933010339737,
-0.04317396879196167,
0.01252714078873396,
0.04149043560028076,
0.03264327347278595,
-0.018792444840073586,
-0.0022287589963525534,
-0.02990296483039856,
-0.10457424819469452,
-0.05857868865132332,
0.0016854768618941307,
-0.018144382163882256,
-0.024241263046860695,
0.000021695546820410527,
0.051378197968006134,
-0.06560184061527252,
-0.06095027178525925,
0.018321732059121132,
0.050240613520145416,
0.025815794244408607,
-0.01415774505585432,
-0.0199121106415987,
-0.053859464824199677,
-0.0001996087230509147,
0.008507280610501766,
0.07312832027673721,
0.015991298481822014,
-0.023938268423080444,
-0.010458099655807018,
0.01933278702199459,
0.0727173388004303,
0.055492009967565536,
-0.00754278339445591,
0.03129729628562927,
0.03283706679940224,
0.04794595018029213,
-0.06186160072684288,
0.04307030886411667,
-0.00036329939030110836,
-0.018067538738250732,
0.0008186933700926602,
-0.05814075097441673,
0.018335791304707527,
0.014042732305824757,
0.007809952367097139,
-0.02801814116537571,
-0.013189299032092094,
0.013662636280059814,
-0.051405467092990875,
-0.001862049219198525,
-0.010819652117788792,
0.01126837357878685,
0.042488571256399155,
0.03306172043085098,
0.022112248465418816,
-0.08598387241363525,
0.011923084035515785,
0.028505904600024223,
0.0003907560894731432,
-0.06721532344818115,
-0.02832232229411602,
0.006187015678733587,
-0.009935210458934307,
-0.025934334844350815,
0.023761678487062454,
-0.018946193158626556,
-0.009166267700493336,
-0.006327325012534857,
-0.020807776600122452,
0.023869503289461136,
0.0005389612051658332,
-0.013207108713686466,
-0.033533308655023575,
-0.02636360190808773,
-0.029667550697922707,
0.020757099613547325,
-0.04497256502509117,
0.0023070676252245903,
0.04597450792789459,
0.01461720746010542,
0.022387400269508362,
0.02459847182035446,
0.01752324216067791,
-0.01180263515561819,
0.030244531109929085,
-0.019841575995087624,
-0.034709613770246506,
0.0212662685662508,
-0.033675502985715866,
-0.0035982737317681313,
-0.015797948464751244,
0.011524113826453686,
-0.033702343702316284,
-0.06279093772172928,
-0.043477967381477356,
0.046740151941776276,
-0.0368521586060524,
0.00835272204130888,
-0.008313823491334915,
-0.02093745395541191,
0.05188698694109917,
-0.04110599309206009,
0.03556752949953079,
-0.006446091923862696,
0.014308963902294636,
-0.0011186703341081738,
0.00452698627486825,
0.019907936453819275,
0.024716325104236603,
0.02415696159005165,
-0.024939971044659615,
-0.00820597168058157,
0.03638838976621628,
0.0088779516518116,
0.014093407429754734,
-0.018096445128321648,
0.0039849551394581795,
0.04365020617842674,
0.01742168515920639,
0.03008745238184929,
0.009246849454939365,
-0.020983519032597542,
0.0012782517587766051,
-0.02229892462491989,
-0.03240922838449478,
-0.03366333246231079,
-0.004112421069294214,
-0.00891087669879198,
0.011676608584821224,
-0.02806823141872883,
-0.08800074458122253,
0.03420480713248253,
0.021046755835413933,
-0.00957510992884636,
0.013545901514589787,
0.028240298852324486,
-0.02530583366751671,
-0.029427506029605865,
-0.050833091139793396,
0.07198287546634674,
-0.0421375036239624,
0.004546469543129206,
0.001177462050691247,
0.024326888844370842,
0.03542296588420868,
0.014577193185687065,
-0.054175954312086105,
0.003931984305381775,
0.045611340552568436,
-0.0010250381892547011,
0.009218034334480762,
-0.0011248319642618299,
0.0008375734323635697,
0.003544533159583807,
-0.021628964692354202,
0.010556881316006184,
0.0019641995895653963,
0.008906926959753036,
-0.007858396507799625,
-0.005330628715455532,
-0.016043366864323616,
-0.022713087499141693,
-0.03297042101621628,
0.0021816925145685673,
-0.049283217638731,
0.035218868404626846,
-0.03935779258608818,
0.07573240995407104,
0.006885567680001259,
-0.00855706725269556,
0.025276239961385727,
-0.01874528080224991,
0.03884102404117584,
-0.022633956745266914,
0.011350588873028755,
-0.03697597607970238,
-0.0076592303812503815,
0.006251966580748558,
0.014594041742384434,
-0.01957974024116993,
-0.014055169187486172,
-0.00731379259377718,
-0.031069787219166756,
0.0009926592465490103,
0.03353618085384369,
-0.006776165682822466,
0.05447610840201378,
0.03819863870739937,
-0.025101006031036377,
0.05928056314587593,
-0.06411217153072357,
-0.02009454183280468,
-0.013981620781123638,
-0.05056490749120712,
0.024770628660917282,
0.025107458233833313,
0.028092430904507637,
-0.028208240866661072,
0.017126131802797318,
0.06588351726531982,
0.034846141934394836,
0.043567147105932236,
-0.022943580523133278,
0.05604511871933937,
-0.01441834308207035,
0.008295055478811264,
-0.07728215306997299,
0.010990282520651817,
0.025407379493117332,
-0.019617710262537003,
-0.008496798574924469,
-0.03717977926135063,
-0.033098939806222916,
0.007497255224734545,
-0.03303632140159607,
-0.009670661762356758,
0.027852466329932213,
-0.030296657234430313,
-0.010029160417616367,
0.02383865974843502,
-0.06195712834596634,
0.03490680456161499,
0.0343254990875721,
-0.009294634684920311,
-0.024524850770831108,
-0.02808818593621254,
0.05582035705447197,
-0.012350819073617458,
0.0033048042096197605,
-0.02189767174422741,
0.027346765622496605,
0.039558764547109604,
0.032861776649951935,
0.02837757207453251,
0.05263543501496315,
-0.04973610118031502,
0.0293258186429739,
0.009964064694941044,
-0.016238577663898468,
-0.0101992292329669,
0.009307480417191982,
0.008878604508936405,
-0.05171102285385132,
0.025528650730848312,
-0.03499707207083702,
-0.010762583464384079,
-0.017815588042140007,
0.05612892284989357,
0.029115285724401474,
-0.008908073417842388,
-0.06660918891429901,
0.005868139211088419,
-0.06591176986694336,
-0.02159757912158966,
-0.025636272504925728,
0.00808796752244234,
-0.057596467435359955,
0.07610660791397095,
0.007799184415489435,
0.0004059643251821399,
0.05398912727832794,
0.022618070244789124,
-0.00015708123100921512,
0.017507534474134445,
0.07950889319181442,
0.08456280082464218,
0.06012061610817909,
-0.025465434417128563,
0.07194709032773972,
-0.019669203087687492,
-0.04041612148284912,
-0.005999202840030193,
-0.023272821679711342,
0.006081085652112961,
-0.005942053627222776,
0.029740408062934875,
0.07293916493654251,
-0.022841500118374825,
0.0466647706925869,
-0.03214721009135246,
0.01567220315337181,
0.014280229806900024,
-0.020587705075740814,
0.03583073243498802,
0.07666627317667007,
0.030141916126012802,
0.050729021430015564,
-0.017172344028949738,
-0.04893344268202782,
0.048082489520311356,
-0.02865983173251152,
-0.031881604343652725,
0.043905697762966156,
-0.01916489563882351,
-0.01605052873492241,
0.035745661705732346,
0.03484410420060158,
0.039061758667230606,
-0.03013927862048149,
-0.024957090616226196,
-0.04178410395979881,
0.0230393186211586,
-0.020503532141447067,
-0.024141114205121994,
-0.007635500747710466,
-0.027318855747580528,
0.01569209434092045,
-0.005071268882602453,
-0.037942949682474136,
0.0019433434354141355,
-0.012670564465224743,
0.03429557755589485,
-0.01629714109003544,
0.010432789102196693,
0.05098031461238861,
-0.005574212875217199,
-0.016275756061077118,
-0.023868480697274208,
-0.05596068501472473,
-0.07109075039625168,
-0.04805806279182434,
0.041075825691223145,
0.003542744554579258,
0.005340649746358395,
-0.0395299457013607,
-0.015054854564368725,
0.023580113425850868,
-0.005903228651732206,
0.042255088686943054,
-0.027863288298249245,
-0.04226243495941162,
0.013010842725634575,
-0.013970685191452503,
0.05873994529247284,
0.026793818920850754,
0.04849667102098465,
-0.020331159234046936,
0.008191614411771297,
0.010582584887742996,
-0.009293099865317345,
0.07108305394649506,
0.0031746020540595055,
-0.023727459833025932,
-0.07831787317991257,
0.018136581405997276,
0.0658453106880188,
-0.008278471417725086,
-0.05796672776341438,
-0.007365346886217594,
0.013518347404897213,
-0.017799407243728638,
0.026883728802204132,
-0.025067487731575966,
0.007543748244643211,
-0.06018669903278351,
-0.005327939987182617,
0.03467115759849548,
0.029733147472143173,
0.03233305364847183,
-0.03523078188300133,
0.07553933560848236,
0.0017114562215283513,
-0.02542208880186081,
-0.03878024220466614,
0.0008839117945171893,
-0.041699036955833435,
-0.020630601793527603,
-0.03381051868200302,
-0.027097931131720543,
-0.060743413865566254,
-0.052334681153297424,
-0.029494667425751686,
0.006232890300452709,
-0.023261763155460358,
-0.05417206138372421,
0.005974962841719389,
0.054506536573171616,
-0.012971390970051289,
0.08321116119623184,
-0.03567890822887421,
0.0638498067855835,
-0.04092785343527794,
-0.018346652388572693,
0.020907150581479073,
0.001300507690757513,
-0.004027077928185463,
0.002823895774781704,
0.024427205324172974,
-0.002406962448731065,
-0.002289330353960395,
-0.02747383713722229,
0.03960821032524109,
-0.0058570969849824905,
-0.02495235949754715,
0.017885958775877953
] | [
-0.08866924792528152,
-0.00753177423030138,
-0.04176914319396019,
-0.0032592331990599632,
0.035439178347587585,
-0.05130717530846596,
0.003230817150324583,
0.002501910552382469,
0.013317234814167023,
-0.011437649838626385,
0.004273135215044022,
-0.04270866513252258,
0.002957451157271862,
-0.00238514831289649,
0.039802953600883484,
-0.012767261825501919,
-0.020697759464383125,
-0.03558061271905899,
-0.0347844660282135,
0.025506122037768364,
0.041519589722156525,
-0.029956506565213203,
-0.026941964402794838,
-0.02788468450307846,
0.03491147235035896,
0.05279253050684929,
0.015969257801771164,
-0.026086734607815742,
-0.022134261205792427,
-0.21816082298755646,
0.03030630387365818,
-0.015917696058750153,
0.043689459562301636,
-0.019736627116799355,
0.0061109610833227634,
0.0409528985619545,
0.018882380798459053,
0.03730938583612442,
-0.003043540520593524,
0.08696453273296356,
0.03933698683977127,
0.02866222895681858,
-0.07742716372013092,
-0.02830299735069275,
0.022395605221390724,
0.022062422707676888,
-0.0277703870087862,
-0.028714623302221298,
0.01730780303478241,
-0.00006809223850723356,
-0.08020147681236267,
0.018553856760263443,
-0.005943686235696077,
-0.034605905413627625,
-0.015189413912594318,
0.029960796236991882,
0.06018143519759178,
0.06397178024053574,
0.021350666880607605,
0.005029788240790367,
0.03818580508232117,
-0.009195555932819843,
-0.13557252287864685,
0.0469684973359108,
0.05144181475043297,
0.05432279780507088,
-0.02117004618048668,
-0.043723754584789276,
-0.031430769711732864,
0.07423385977745056,
0.02544078230857849,
0.006988253444433212,
-0.008088304661214352,
0.06155102699995041,
0.0012319348752498627,
-0.02236555702984333,
0.01172264851629734,
0.010346068069338799,
0.0287096556276083,
-0.043989017605781555,
-0.06962376087903976,
-0.02360503003001213,
-0.01069306954741478,
-0.0016600656090304255,
0.0013120861258357763,
-0.013145306147634983,
-0.03371115028858185,
0.051437366753816605,
0.05573249235749245,
0.038230735808610916,
0.03483583405613899,
-0.0006629354320466518,
0.016936447471380234,
0.048613522201776505,
-0.08500871062278748,
-0.02300640568137169,
0.00018765745335258543,
0.022040463984012604,
-0.03559516742825508,
0.4485931694507599,
-0.014753441326320171,
0.005475845653563738,
0.026048097759485245,
0.026990646496415138,
-0.028215104714035988,
-0.0007707851473242044,
-0.00747121125459671,
-0.0590934194624424,
-0.021089918911457062,
-0.06097762659192085,
0.03656041994690895,
-0.0128546841442585,
0.0881693959236145,
-0.08197217434644699,
0.005921534262597561,
0.012446488253772259,
0.02196536771953106,
0.01330320630222559,
-0.0014295644359663129,
0.024406755343079567,
-0.026211688295006752,
0.005262572783976793,
0.04326675087213516,
0.016493940725922585,
-0.001519042532891035,
-0.008629743941128254,
0.04088148474693298,
0.08055588603019714,
0.025331012904644012,
0.0316835381090641,
0.02791019342839718,
-0.04186658561229706,
-0.11066659539937973,
0.006693387869745493,
-0.03835783526301384,
0.04244498535990715,
0.05927026644349098,
-0.016143430024385452,
0.05436429753899574,
0.012414219789206982,
-0.021457064896821976,
-0.026957865804433823,
0.01840359903872013,
-0.022283844649791718,
-0.043923769146203995,
0.10518249869346619,
0.0033245161175727844,
-0.034467730671167374,
-0.03246224671602249,
-0.05249621346592903,
-0.015735404565930367,
0.035442475229501724,
0.004550248850136995,
-0.07960209250450134,
-0.011782847344875336,
-0.0041201235726475716,
0.04882928729057312,
-0.017437374219298363,
-0.05553638935089111,
0.002176976529881358,
-0.05267763510346413,
-0.04481802508234978,
-0.061592947691679,
0.03094080649316311,
0.026560025289654732,
-0.07823778688907623,
-0.010877330787479877,
-0.031079869717359543,
-0.008824869059026241,
-0.06682799011468887,
0.0016641471302136779,
0.02400709129869938,
-0.03927864879369736,
-0.003923752810806036,
0.057948533445596695,
-0.016163231804966927,
-0.01445208489894867,
0.0043191369622945786,
0.02340695820748806,
0.002761988900601864,
-0.009524950757622719,
0.033958159387111664,
-0.04601212590932846,
0.00622008740901947,
-0.01903534308075905,
-0.05014294013381004,
-0.0644238144159317,
-0.002410722663626075,
-0.017851697281003,
0.012318309396505356,
-0.045245856046676636,
-0.02680334448814392,
-0.06234455853700638,
0.044467344880104065,
-0.015028475783765316,
-0.037225108593702316,
0.009450090117752552,
0.030983181670308113,
-0.010254431515932083,
0.016807135194540024,
-0.0010110881412401795,
0.03662766143679619,
0.0020899048540741205,
0.0341610424220562,
-0.05474536865949631,
0.004103432409465313,
0.026227325201034546,
-0.03844573348760605,
0.06065193936228752,
0.03937309607863426,
-0.024924827739596367,
-0.01405680738389492,
-0.012847542762756348,
0.0455351248383522,
-0.03704747185111046,
-0.048206474632024765,
-0.01966964080929756,
0.0033419893588870764,
0.003823822597041726,
0.027720073238015175,
-0.031235985457897186,
-0.050059974193573,
0.018100863322615623,
-0.35515519976615906,
-0.021106844767928123,
0.0009643862722441554,
-0.017191486433148384,
0.027135929092764854,
-0.07114294171333313,
0.01607445813715458,
-0.056217242032289505,
-0.056194841861724854,
-0.00018915414693765342,
0.04948657751083374,
-0.0353531688451767,
-0.01734875701367855,
-0.05493918061256409,
-0.006203759927302599,
0.029055478051304817,
-0.05510643124580383,
-0.04079068452119827,
-0.006228944752365351,
0.06493322551250458,
0.007879299111664295,
-0.04667281359434128,
0.021914208307862282,
-0.06182364374399185,
-0.019288381561636925,
-0.05246764421463013,
0.11247085779905319,
-0.00801435112953186,
0.05631145462393761,
-0.02683928795158863,
0.02832156978547573,
0.0043206592090427876,
-0.021521100774407387,
-0.04539381340146065,
-0.010208782739937305,
-0.04812585189938545,
0.002665509469807148,
0.01981661096215248,
0.034657906740903854,
-0.02232612483203411,
-0.005076194182038307,
0.03007296845316887,
-0.03989485278725624,
-0.044845014810562134,
-0.0258630383759737,
0.0398748554289341,
0.005112779326736927,
-0.056376729160547256,
0.03521180525422096,
0.07982024550437927,
0.04522133246064186,
0.006414282135665417,
0.04532667621970177,
0.003942153882235289,
0.030164498835802078,
-0.04417536035180092,
-0.07485534995794296,
-0.008040663786232471,
-0.014402107335627079,
0.0030740504153072834,
0.01715257205069065,
0.062244389206171036,
0.027566682547330856,
-0.03551380708813667,
0.015030603855848312,
-0.008125641383230686,
-0.006672565825283527,
0.015860989689826965,
0.0009999702451750636,
-0.03576723486185074,
0.004190652631223202,
0.0984073355793953,
0.005238812882453203,
-0.005443500820547342,
0.007572017144411802,
0.08615653216838837,
-0.0136028490960598,
0.043919969350099564,
0.019304756075143814,
0.03899434953927994,
0.02571755088865757,
0.00041578125092200935,
0.03674536943435669,
0.0012168760877102613,
-0.013910542242228985,
0.020376579836010933,
-0.007563246879726648,
-0.01216556504368782,
0.06284481287002563,
-0.01940162293612957,
-0.0261381845921278,
-0.00720492098480463,
-0.011818887665867805,
-0.03720495104789734,
0.07175672054290771,
-0.000009622620382288005,
-0.24943412840366364,
0.029240138828754425,
0.05586490035057068,
0.060639411211013794,
0.008699708618223667,
0.051004715263843536,
0.023576071485877037,
-0.027309099212288857,
-0.004329268354922533,
-0.0050467331893742085,
0.0024577698204666376,
0.05427313968539238,
0.002063694642856717,
-0.0214675385504961,
0.023275773972272873,
-0.03072352521121502,
0.06531177461147308,
-0.05108214542269707,
0.011648403480648994,
0.01002216711640358,
0.031119955703616142,
0.02252686768770218,
0.15535415709018707,
0.005313022527843714,
0.02147827111184597,
0.0127002764493227,
-0.012470557354390621,
0.006090126000344753,
0.06877315044403076,
0.02801964245736599,
0.006813696585595608,
-0.027131887152791023,
0.04978063330054283,
0.023282529786229134,
0.03467054292559624,
-0.03903208673000336,
-0.016733508557081223,
0.010273116640746593,
0.030238304287195206,
-0.0030281206127256155,
-0.013893057592213154,
0.03119100257754326,
-0.07434767484664917,
0.01589721255004406,
0.0659368559718132,
0.012681032530963421,
-0.013786625117063522,
-0.018791118636727333,
-0.0252214428037405,
-0.004173710010945797,
-0.01038594450801611,
-0.035170309245586395,
0.0027026135940104723,
0.008808128535747528,
0.03151976317167282,
0.08577805757522583,
0.01367069873958826,
0.002284619025886059,
-0.029436061158776283,
0.008766467683017254,
-0.03368836268782616,
-0.004439047072082758,
0.11859702318906784,
0.023073749616742134,
0.0068572694435715675
] | [
-0.02022150531411171,
0.04690231755375862,
-0.051021382212638855,
0.039786446839571,
-0.009141027927398682,
-0.015461592003703117,
-0.03594890981912613,
0.016700414940714836,
-0.03960194066166878,
-0.009031717665493488,
-0.031933385878801346,
0.03561091050505638,
-0.021007375791668892,
-0.020383602008223534,
0.02380862645804882,
0.011403064243495464,
0.03230690211057663,
0.02338072843849659,
0.03793029487133026,
-0.014417906291782856,
-0.022799568250775337,
0.06648001819849014,
0.03262166678905487,
0.0214399341493845,
-0.029516136273741722,
0.02358369342982769,
-0.03992123529314995,
-0.02464102953672409,
0.026030994951725006,
-0.14872629940509796,
-0.031543534249067307,
-0.009318535216152668,
0.006660003215074539,
0.020942797884345055,
-0.0008345569367520511,
0.0037196895573288202,
-0.012439720332622528,
0.009800497442483902,
-0.019244667142629623,
0.00969220232218504,
0.0042745997197926044,
0.0031073070131242275,
-0.031733438372612,
0.004185865167528391,
0.0007998200599104166,
0.01566375605762005,
-0.0021516529377549887,
-0.01432731468230486,
0.000050784656195901334,
-0.024985359981656075,
-0.027560755610466003,
0.008954491466283798,
-0.011344785802066326,
-0.0000035560581181925954,
0.03174594044685364,
-0.037280477583408356,
0.02343808114528656,
-0.05270038917660713,
-0.005677015520632267,
-0.0019773608073592186,
0.03275080770254135,
0.017277279868721962,
-0.05098835751414299,
-0.038152217864990234,
-0.006184305064380169,
-0.019835736602544785,
0.013617563992738724,
-0.004070695023983717,
-0.004247809760272503,
-0.023618724197149277,
0.009999461472034454,
-0.007096548099070787,
-0.019037941470742226,
-0.047372765839099884,
0.0017883930122479796,
0.010898827575147152,
0.04382631182670593,
-0.06482285261154175,
-0.010852194391191006,
-0.01985025964677334,
-0.05751486495137215,
0.00024317402858287096,
-0.010763785801827908,
0.019294999539852142,
0.00048488224274478853,
-0.030500395223498344,
0.0183463916182518,
-0.001713328412733972,
0.049488455057144165,
0.002921049017459154,
-0.027742784470319748,
-0.02220618538558483,
0.014258423820137978,
0.020468909293413162,
-0.058109916746616364,
0.034193530678749084,
0.03500797227025032,
-0.022734858095645905,
-0.026354335248470306,
0.7979331612586975,
0.019932260736823082,
0.04253503307700157,
0.03788364306092262,
-0.0029044682160019875,
-0.006400293670594692,
0.03814438357949257,
0.005686361342668533,
0.0032164854928851128,
-0.01826479844748974,
-0.05269010737538338,
0.04765329137444496,
-0.025748830288648605,
0.04586232081055641,
0.03436146304011345,
0.038586098700761795,
0.0035980246029794216,
0.03878912329673767,
0.028170377016067505,
0.024084217846393585,
0.02836725488305092,
0.06427516788244247,
0.011613842099905014,
0.034082695841789246,
0.014257603324949741,
0.002433421555906534,
-0.19188866019248962,
-0.02149301767349243,
-6.710171381082807e-33,
0.028085436671972275,
-0.018263079226017,
0.004060073290020227,
0.011306517757475376,
-0.03338588774204254,
0.024115754291415215,
0.0009966930374503136,
-0.009024728089571,
0.006142400670796633,
-0.0019530040444806218,
0.06185015290975571,
0.009959247894585133,
-0.011511620134115219,
0.00010965337423840538,
0.03905149921774864,
-0.015533367171883583,
-0.0009945505298674107,
0.032037824392318726,
-0.0015806294977664948,
0.026236047968268394,
0.033548105508089066,
0.0010369899682700634,
-0.02071121148765087,
-0.0057516214437782764,
0.029668528586626053,
-0.0064097619615495205,
0.009311213158071041,
-0.020577186718583107,
-0.008724561892449856,
-0.04249381646513939,
-0.020845765247941017,
0.021004002541303635,
0.03094523958861828,
-0.006723078899085522,
0.0315047949552536,
-0.036865923553705215,
0.03608591854572296,
0.005502726417034864,
-0.02312742918729782,
-0.04647888243198395,
0.004794581327587366,
0.010987648740410805,
-0.03064882382750511,
-0.026487434282898903,
-0.016150908544659615,
-0.009305409155786037,
0.007320770062506199,
0.07647071778774261,
0.03456728532910347,
0.008012979291379452,
0.02011829987168312,
-0.004342255182564259,
-0.012156562879681587,
-0.003422004636377096,
-0.017305471003055573,
-0.004154975526034832,
0.012222545221447945,
0.016034409403800964,
0.02277359552681446,
0.03188691288232803,
-0.02527041919529438,
0.016393503174185753,
-0.0024906571488827467,
0.04379139468073845,
-0.02206634171307087,
-0.04377886652946472,
-0.001400677254423499,
0.0017763811629265547,
0.030581172555685043,
0.05008545145392418,
-0.05666658654808998,
0.03134654462337494,
-0.014702367596328259,
-0.0011554998345673084,
-0.017405999824404716,
-0.08202851563692093,
-0.0008954053046181798,
-0.051221683621406555,
-0.02848917245864868,
0.02926299348473549,
0.021738838404417038,
-0.01187987718731165,
-0.05855495110154152,
-0.012549696490168571,
-0.008426236920058727,
0.0013542049564421177,
0.017613813281059265,
-0.009283369407057762,
-0.018790826201438904,
-0.023254020139575005,
0.0016748264897614717,
0.012352095916867256,
-0.004415686707943678,
-0.018177926540374756,
-0.011148839257657528,
6.737343667686033e-33,
0.011848126538097858,
-0.06329189985990524,
0.00020404554379638284,
0.03032955527305603,
0.043778061866760254,
-0.03880041837692261,
0.05061465501785278,
-0.02043968252837658,
-0.03618388622999191,
0.015035877004265785,
-0.0484083816409111,
-0.036148376762866974,
-0.0127848656848073,
0.023963864892721176,
0.08123639225959778,
-0.006905379239469767,
0.023351334035396576,
-0.03990400210022926,
0.035723038017749786,
0.020710013806819916,
-0.041340313851833344,
0.020422205328941345,
0.02956651709973812,
0.0025823020841926336,
0.022205350920557976,
0.026931801810860634,
-0.043123893439769745,
-0.0075280936434865,
-0.007465462200343609,
-0.004081864841282368,
0.03867064416408539,
-0.013713867403566837,
0.02942984737455845,
-0.041094791144132614,
-0.050082553178071976,
0.04546644538640976,
0.015766283497214317,
-0.014783704653382301,
0.014406969770789146,
-0.010502917692065239,
0.053553421050310135,
0.008083369582891464,
-0.012827099300920963,
-0.0004567418072838336,
0.005329716484993696,
0.008863434195518494,
0.0077544767409563065,
0.010115806944668293,
0.03351988643407822,
0.014548130333423615,
0.05945684015750885,
-0.003723067929968238,
-0.04198351129889488,
0.044109657406806946,
0.004561419133096933,
-0.022492822259664536,
-0.04033359885215759,
-0.004846880678087473,
0.002688395092263818,
-0.0001727123890304938,
-0.019971022382378578,
0.014215856790542603,
0.037237636744976044,
-0.008933523669838905,
-0.016275206580758095,
-0.013566533103585243,
0.00306821521371603,
-0.03539131209254265,
0.0013963003875687718,
-0.0029374156147241592,
-0.03469889238476753,
-0.0009400960989296436,
-0.019762832671403885,
0.0397612564265728,
-0.005436556413769722,
-0.0075116814114153385,
-0.012495076283812523,
-0.0016589787555858493,
-0.0002925892476923764,
-0.015344719402492046,
0.010497651994228363,
-0.03401899337768555,
-0.016493719071149826,
-0.014697836712002754,
-0.0367133766412735,
0.001931846491061151,
0.011726614087820053,
0.037729695439338684,
0.03568362817168236,
0.0040901778265833855,
0.02493564411997795,
-0.03394428268074989,
0.0016856808215379715,
0.008712485432624817,
-0.029853614047169685,
-1.2456125908499871e-8,
-0.01586950197815895,
0.015101591125130653,
-0.0005656583234667778,
0.06862938404083252,
0.04007255658507347,
0.011724388226866722,
0.022825317457318306,
0.0007632559863850474,
0.009890377521514893,
0.006014627404510975,
0.029243212193250656,
-0.006799798924475908,
0.011388811282813549,
0.011434055864810944,
0.061290401965379715,
-0.011125226505100727,
0.002457088092342019,
0.010609610937535763,
0.025918394327163696,
0.025204630568623543,
0.006200756877660751,
0.0076303682290017605,
-0.05011198669672012,
-0.004292244557291269,
-0.045686330646276474,
0.010035170242190361,
0.010649425908923149,
-0.09914220869541168,
0.021749643608927727,
-0.024941736832261086,
0.049213480204343796,
-0.010814511217176914,
0.013086104765534401,
-0.0068380520679056644,
-0.01606127619743347,
-0.035661160945892334,
0.01701832003891468,
0.02479556016623974,
0.009892873466014862,
0.016105644404888153,
-0.03722843900322914,
-0.0014017676003277302,
-0.004983521066606045,
-0.03840342164039612,
-0.03533491492271423,
-0.062330108135938644,
-0.04333539679646492,
-0.019989624619483948,
0.02024863101541996,
-0.01636073924601078,
-0.01651029847562313,
0.0021090477239340544,
0.014696001075208187,
0.011674339883029461,
0.00670816982164979,
0.03694535419344902,
0.06313853710889816,
-0.05420202016830444,
-0.064532570540905,
-0.01745530031621456,
0.023853546008467674,
-0.07010022550821304,
-0.025552824139595032,
0.01248928066343069
] | ruby-exiting-a-loop-early | https://markhneedham.com/blog/2010/12/01/ruby-exiting-a-loop-early |
false | 2010-12-24 18:12:51 | India Cultural Differences: Language | [
"distributed-agile-2"
] | [
"Distributed Agile"
] | For the majority of the time that I've spent in Pune so far language hasn't been a big deal at all but there are a couple of differences that I didn't initially anticipate.
== The local language
While the official office language is English my colleagues seem more comfortable talking to each other in Hindi so quite frequently the conversation will move into Hindi if someone isn't directly speaking to me.
I initially found it tremendously frustrating that I couldn't understand what was going on in group discussions and while I did point it out people don't realise when they're switching into Hindi so it's a difficult problem to fix.
My brain now seems to zone out when people stop speaking in English so I don't even notice that it's happened unless I observe myself becoming much more aware of my surroundings because I've tuned out and started looking around the room.
An interesting side effect is that I don't pick up as much information from http://alistair.cockburn.us/Osmotic+communication[osmotic communication] as I have done when working in the UK/Australia because conversations between my colleagues have a 50/50 chance of being in Hindi.
I guess the easiest way for me to fix the problem would be to take lessons in Hindi but I've never got around to that.
Another interesting thing to note is that it's not only me who doesn't understand Hindi but also people from the Chennai office.
== Swearing
Swearing in India is a bit of a taboo which is quite strange for me because in the UK/Australia there's not really any stigma attached to the majority of words.
There are a few people who are more easily offended so you have to be a bit more careful about word selection when speaking with them.
Having said that, with the majority of people that I've worked with the language that I use makes no difference at all. | null | null | [
0.015064484439790249,
0.01579800806939602,
-0.00521722249686718,
0.022325890138745308,
0.048817384988069534,
0.039394233375787735,
0.04663597047328949,
0.06816156208515167,
0.02801942452788353,
-0.00022638955852016807,
-0.042258068919181824,
0.013747306540608406,
-0.05522426962852478,
0.025424063205718994,
0.022336198017001152,
0.08195226639509201,
0.06066456809639931,
0.018943510949611664,
-0.0033470920752733946,
-0.007715429645031691,
0.06418780237436295,
0.05979510769248009,
0.06418246775865555,
0.04685879498720169,
0.03746281564235687,
-0.0046286312863230705,
0.04508579894900322,
-0.002832579193636775,
-0.059251654893159866,
-0.030294209718704224,
0.019955219700932503,
-0.01225370168685913,
-0.005148501135408878,
0.03730034828186035,
0.04179665818810463,
-0.039728209376335144,
-0.026883654296398163,
0.023614967241883278,
0.019183598458766937,
0.00788412056863308,
-0.05968869850039482,
0.02541463077068329,
0.018210044130682945,
-0.004748987499624491,
-0.055661652237176895,
0.01065060030668974,
-0.041182659566402435,
0.02107255905866623,
0.004256818909198046,
-0.016358530148863792,
-0.04003068432211876,
0.0161379873752594,
0.020777929574251175,
-0.0026190655771642923,
-0.012237007729709148,
0.038510408252477646,
-0.017597846686840057,
-0.05747970938682556,
0.013904671184718609,
-0.0275204386562109,
0.022353842854499817,
-0.014026128686964512,
-0.016046248376369476,
0.01720087230205536,
0.03730412572622299,
0.003968743607401848,
-0.008721165359020233,
0.01263642217963934,
-0.022289376705884933,
0.010774579830467701,
-0.032255370169878006,
0.01725715957581997,
-0.010280982591211796,
0.02265053614974022,
-0.0046752565540373325,
-0.060052290558815,
-0.007470293436199427,
0.05493876338005066,
-0.0016479066107422113,
0.02590528130531311,
-0.03147657960653305,
-0.004876292776316404,
0.017682354897260666,
0.02985505945980549,
-0.011091213673353195,
-0.06252344697713852,
-0.009896553121507168,
-0.0277745109051466,
-0.04589010030031204,
0.03691432252526283,
0.001502980012446642,
-0.04035400226712227,
0.020888404920697212,
0.03161931782960892,
-0.0006455943803302944,
-0.002365855034440756,
0.03145744651556015,
-0.033230971544981,
-0.010774359107017517,
-0.02287057600915432,
-0.022812198847532272,
-0.0412384495139122,
-0.009385635145008564,
0.04415830224752426,
-0.0776367262005806,
-0.011052061803638935,
-0.0047677685506641865,
0.047021497040987015,
-0.0041804383508861065,
0.015416406095027924,
-0.020596574991941452,
0.026376167312264442,
0.02952788956463337,
-0.012680990621447563,
-0.08060450851917267,
0.06096811220049858,
0.005861829966306686,
-0.007263639010488987,
-0.033158592879772186,
-0.012399012222886086,
0.024695273488759995,
0.02377329207956791,
-0.0018025405006483197,
0.07775424420833588,
-0.011703306809067726,
0.02060657925903797,
-0.05797155573964119,
0.0481150820851326,
0.003667316632345319,
-0.04874701052904129,
-0.016766753047704697,
0.046890728175640106,
-0.009946859441697598,
0.01811748556792736,
-0.01468638051301241,
-0.04633469134569168,
0.00984667707234621,
-0.015465742908418179,
0.04166960343718529,
0.03671962395310402,
0.003044407581910491,
-0.002250127727165818,
-0.005972835700958967,
0.059765350073575974,
0.030683297663927078,
0.022047528997063637,
-0.026411373168230057,
-0.04221080243587494,
-0.02553323283791542,
-0.05087503790855408,
0.004591308068484068,
0.00046057990402914584,
0.04102564975619316,
-0.02705542929470539,
-0.003060822142288089,
0.07883023470640182,
0.02596232481300831,
0.0066836378537118435,
-0.004549271892756224,
0.004336605779826641,
0.0055634211748838425,
0.02449454739689827,
0.009348648600280285,
-0.0016241219127550721,
-0.000052330808102851734,
-0.013473404571413994,
-0.012267112731933594,
0.03347207233309746,
-0.0002685353683773428,
0.046014074236154556,
-0.0634811520576477,
-0.033178653568029404,
0.0462433286011219,
-0.05177393928170204,
-0.07248283922672272,
0.041453827172517776,
0.05089593678712845,
0.05409260839223862,
0.024500682950019836,
-0.01778646931052208,
-0.08423719555139542,
0.030463188886642456,
0.016792554408311844,
0.0437149703502655,
0.04690432548522949,
0.0009797197999432683,
0.04045320674777031,
0.03677183762192726,
-0.013892784714698792,
0.03239501267671585,
-0.028786417096853256,
-0.056930288672447205,
-0.008711009286344051,
0.009089016355574131,
0.04453988000750542,
-0.030110690742731094,
0.02591123804450035,
0.06382060796022415,
0.03941718116402626,
0.040708187967538834,
0.024738894775509834,
0.015348327346146107,
0.021036051213741302,
-0.031591691076755524,
-0.04877651855349541,
0.07872892171144485,
0.014935004524886608,
0.02341109700500965,
-0.006394038908183575,
0.019115248695015907,
-0.014613693580031395,
-0.03208068013191223,
0.045969028025865555,
-0.014793451875448227,
0.03427337855100632,
-0.030979681760072708,
0.05342629924416542,
-0.04975734278559685,
0.05419100448489189,
-0.03609711304306984,
0.02884046360850334,
0.0048097106628119946,
-0.011306632310152054,
0.01184366550296545,
-0.008019319735467434,
0.11966625601053238,
0.0689365491271019,
-0.02522202394902706,
-0.052803706377744675,
0.004291124176234007,
0.013950084336102009,
-0.0720776841044426,
0.01219211146235466,
0.02236327715218067,
-0.003349297447130084,
-0.010693340562283993,
-0.06680084019899368,
-0.04192425683140755,
0.022170236334204674,
-0.04496768116950989,
-0.02613196335732937,
0.0529828742146492,
-0.006328213959932327,
0.04452560096979141,
-0.035053469240665436,
-0.017645813524723053,
0.009092390537261963,
-0.0235817302018404,
0.001517983735539019,
0.01392306573688984,
0.03445284813642502,
-0.0063425214029848576,
0.00917381513863802,
-0.00018974380509462208,
-0.0026477104984223843,
-0.023548325523734093,
-0.015327785164117813,
0.000043434771214379,
0.07048198580741882,
0.05881786718964577,
-0.011734439060091972,
0.07268603146076202,
-0.013233151286840439,
0.002663276856765151,
-0.012338600121438503,
-0.03248012065887451,
-0.008684685453772545,
-0.015048166736960411,
-0.019722573459148407,
0.004366710316389799,
0.008562455885112286,
-0.006053910590708256,
0.00029477663338184357,
0.028696654364466667,
0.012313620187342167,
0.007772222626954317,
0.0013246730668470263,
-0.00039335264591500163,
-0.0145900072529912,
0.0036314004100859165,
-0.008816047571599483,
0.03661319613456726,
-0.03433000668883324,
-0.023018235340714455,
0.01165572926402092,
-0.07523281127214432,
-0.0016534728929400444,
-0.07360339909791946,
-0.03356137126684189,
-0.0012511196546256542,
0.02965638041496277,
0.033346403390169144,
0.027788499370217323,
-0.028875092044472694,
0.021801579743623734,
-0.03186456114053726,
0.020177064463496208,
0.03311632573604584,
-0.016889851540327072,
0.019591473042964935,
0.00506582809612155,
0.024636810645461082,
0.0015687496634200215,
0.011790145188570023,
-0.007447673939168453,
-0.052296873182058334,
0.020236965268850327,
-0.07394945621490479,
-0.30728140473365784,
0.03144128993153572,
0.020072976127266884,
-0.010611430741846561,
0.024272356182336807,
-0.020259547978639603,
0.014178983867168427,
-0.059312980622053146,
-0.018078695982694626,
0.045569077134132385,
-0.02704007364809513,
-0.04744430631399155,
-0.042427241802215576,
0.02946953848004341,
0.01903681643307209,
0.014737986959517002,
-0.012392589822411537,
-0.026036201044917107,
0.0016054072184488177,
0.04635180905461311,
-0.012679897248744965,
-0.0351664274930954,
0.019040614366531372,
0.04623393714427948,
0.04793480783700943,
0.06584703177213669,
-0.05652060732245445,
0.03180021047592163,
-0.04715409129858017,
0.002167514292523265,
-0.01442771777510643,
-0.006207372527569532,
0.05364203453063965,
0.002486648503690958,
-0.02113937772810459,
-0.011234116740524769,
0.03866733983159065,
0.003756530350074172,
0.01233817171305418,
0.005250112619251013,
-0.02891024947166443,
-0.050861578434705734,
0.007889773696660995,
0.005405600648373365,
0.05158001184463501,
-0.006566294003278017,
-0.08753486722707748,
-0.008581637404859066,
-0.026481200009584427,
0.08004657179117203,
-0.045846741646528244,
-0.044198133051395416,
-0.04368055239319801,
0.05656677111983299,
-0.016845034435391426,
-0.005023414734750986,
-0.005558697506785393,
-0.004599791951477528,
-0.04427347704768181,
-0.041516635566949844,
-0.015491417609155178,
-0.022700998932123184,
-0.050544146448373795,
-0.06746180355548859,
-0.004483820404857397,
-0.046290136873722076,
-0.07479320466518402,
-0.020737329497933388,
0.06201605871319771,
-0.015593108721077442,
-0.07511970400810242,
0.013469377532601357,
0.01510145515203476,
-0.08827542513608932,
-0.03228243812918663,
-0.028304677456617355,
-0.044220685958862305,
-0.0006053669494576752,
0.0049499631859362125,
0.03291412442922592,
-0.03313127160072327,
-0.03768278285861015,
0.03805433586239815,
0.006033712532371283,
0.02041439525783062,
-0.007305162958800793,
0.04611052945256233,
0.03245467692613602,
-0.007747818250209093,
-0.01611488126218319,
0.0643756240606308,
0.002029221737757325,
-0.03923274576663971,
0.0060256593860685825,
0.03172961622476578,
-0.0024349349550902843,
-0.026837922632694244,
-0.017937982454895973,
-0.006121411453932524,
-0.00474598677828908,
-0.025921382009983063,
-0.07145468890666962,
-0.004762810654938221,
0.029828155413269997,
0.02508765272796154,
0.015211840160191059,
-0.057727232575416565,
0.0024154691491276026,
0.03531038761138916,
-0.026598304510116577,
0.014719043858349323,
-0.013875113800168037,
0.01721256412565708,
-0.022101106122136116,
-0.016733676195144653,
-0.015830300748348236,
0.01904822699725628,
0.04532689228653908,
0.0040975166484713554,
0.009364043362438679,
-0.03012770228087902,
-0.0020061079412698746,
-0.024274388328194618,
0.001817310811020434,
-0.06021662428975105,
-0.016471778973937035,
-0.028437497094273567,
-0.030395831912755966,
-0.03618459776043892,
0.024853849783539772,
-0.02795313112437725,
0.010091695934534073,
0.06276334077119827,
-0.046392180025577545,
0.0304060410708189,
-0.003291762201115489,
-0.0462590791285038,
-0.029774000868201256,
-0.009062843397259712,
0.0018853428773581982,
-0.006753189489245415,
0.024828311055898666,
-0.0029755125287920237,
0.03515349328517914,
0.03294457122683525,
-0.008874475955963135,
-0.010807440616190434,
-0.03967980667948723,
0.02832787297666073,
0.0266339760273695,
0.02352750301361084,
-0.05829649046063423,
-0.002245672047138214,
-0.0025433471892029047,
-0.04074220731854439,
-0.019532842561602592,
0.03804532811045647,
0.01270630955696106,
-0.039112553000450134,
-0.016106463968753815,
0.030671756714582443,
-0.0730585977435112,
-0.025907523930072784,
-0.0092279938980937,
0.04230782762169838,
0.05467189848423004,
-0.01618409901857376,
0.007140049710869789,
0.029243770986795425,
0.01814405247569084,
0.030201857909560204,
0.02522091753780842,
-0.04017489403486252,
0.007123454939574003,
0.010387087240815163,
0.005329392850399017,
-0.021222533658146858,
0.009383579716086388,
0.06867619603872299,
0.01825706847012043,
0.013154669664800167,
-0.04194217547774315,
-0.008354767225682735,
0.04224778711795807,
0.06648896634578705,
0.032086972147226334,
0.007032294292002916,
-0.0410136841237545,
0.010981790721416473,
-0.020579617470502853,
-0.042750850319862366,
0.010843629017472267,
-0.025321492925286293,
0.01479592826217413,
-0.04337742179632187,
-0.0962267518043518,
0.0493631511926651,
0.022831110283732414,
-0.009938654489815235,
0.016375403851270676,
-0.0009609460830688477,
-0.013593440875411034,
-0.0026877857744693756,
0.01836819015443325,
0.0449487641453743,
-0.06191709637641907,
-0.01910717599093914,
-0.00526254391297698,
-0.015918318182229996,
-0.011395690962672234,
-0.013414331711828709,
-0.017331518232822418,
-0.0421205572783947,
-0.05507201701402664,
0.03299597650766373,
-0.057807207107543945,
-0.061632171273231506,
-0.037588831037282944,
0.05111679807305336,
0.012714837677776814,
-0.03319234773516655,
-0.0169860627502203,
-0.015933990478515625,
-0.009610112756490707,
-0.03502125293016434,
0.04554276168346405,
-0.0521920770406723,
0.02175864204764366,
0.02877054549753666,
-0.028332078829407692,
-0.0016171723837032914,
-0.043096985667943954,
0.02093973569571972,
0.04024048149585724,
-0.010678252205252647,
-0.025301696732640266,
-0.02708178572356701,
-0.04095766693353653,
0.009561278857290745,
0.05104350671172142,
-0.005443892907351255,
-0.024777689948678017,
-0.0154689596965909,
-0.018857145681977272,
-0.05158645659685135,
0.030042050406336784,
-0.015232030302286148,
-0.028134670108556747,
-0.013387049548327923,
0.05147919803857803,
0.02439526654779911,
0.02363591641187668,
-0.006197854410856962,
-0.02035437896847725,
0.021121498197317123,
-0.05031764134764671,
-0.029791001230478287,
-0.0018947992939502,
-0.05820143595337868,
0.029613684862852097,
0.002719266340136528,
-0.034935977309942245,
-0.013601166196167469,
0.04658157750964165,
0.0014612788800150156,
0.013076204806566238,
0.03226049616932869,
-0.002775766421109438,
0.0462314710021019,
-0.0401880219578743,
-0.011426624841988087,
-0.10175780206918716,
-0.000025313707737950608,
-0.025955164805054665,
0.02002643793821335,
-0.02144811488687992,
-0.031314585357904434,
-0.04130522161722183,
0.04110139608383179,
-0.07182306051254272,
0.012141173705458641,
0.005810955539345741,
0.006905016954988241,
-0.037211351096630096,
0.009179954417049885,
-0.0893767848610878,
0.0015659634955227375,
0.006413497496396303,
-0.06305541098117828,
-0.0023455587215721607,
-0.0028269290924072266,
0.06960982084274292,
-0.004901691805571318,
0.038170866668224335,
-0.02854246459901333,
0.0048112161457538605,
0.07246161997318268,
0.05767069011926651,
-0.017532464116811752,
0.041003625839948654,
0.0003055115812458098,
0.043318916112184525,
0.022594502195715904,
0.008745473809540272,
-0.021267754957079887,
0.03616330400109291,
-0.01965017430484295,
-0.06733846664428711,
0.05555449426174164,
-0.0068678162060678005,
0.003625196171924472,
-0.02149087004363537,
0.06941956281661987,
0.016170725226402283,
-0.039494894444942474,
-0.04598904401063919,
0.01629425399005413,
-0.05522296950221062,
-0.017723586410284042,
-0.030383918434381485,
0.0076208095997571945,
-0.051187530159950256,
0.04875432699918747,
0.0075257024727761745,
0.014944377355277538,
0.0845915749669075,
0.0057534161023795605,
-0.011611091904342175,
-0.0008588175987824798,
0.10430508106946945,
0.06274469941854477,
0.044050805270671844,
-0.00439849030226469,
0.04520488157868385,
-0.01213502325117588,
-0.04712210223078728,
0.028630970045924187,
-0.0011571635259315372,
-0.022656112909317017,
-0.009964980185031891,
0.03352998197078705,
0.06813701242208481,
-0.037581320852041245,
0.06503643095493317,
-0.012271399609744549,
0.011530994437634945,
0.026215074583888054,
0.044583313167095184,
-0.005609392654150724,
0.07261486351490021,
0.009290089830756187,
0.02819051407277584,
-0.01083338912576437,
-0.030686063691973686,
0.03637279197573662,
-0.01972317136824131,
-0.029487693682312965,
-0.01054493896663189,
-0.01732746511697769,
0.03154938668012619,
0.023782948032021523,
0.027517244219779968,
0.07474339008331299,
-0.008141061291098595,
0.007956561632454395,
-0.007046449929475784,
0.030716411769390106,
0.010775597766041756,
0.04746071621775627,
-0.023393742740154266,
0.004187778104096651,
-0.011615891009569168,
-0.04063044488430023,
-0.055907007306814194,
-0.0071445913054049015,
-0.016530383378267288,
0.005738765001296997,
-0.02992928773164749,
0.04359360411763191,
0.014920014888048172,
0.014469391666352749,
-0.04768312722444534,
-0.06318371742963791,
-0.05430752784013748,
-0.016755253076553345,
-0.03807066008448601,
-0.027135781943798065,
0.0324714370071888,
-0.02594687230885029,
-0.012303325347602367,
-0.008869105949997902,
0.0030223983339965343,
-0.0333518385887146,
0.03724603354930878,
-0.061112042516469955,
-0.031715136021375656,
0.005762175191193819,
0.022639373317360878,
-0.002897996688261628,
-0.015316963195800781,
0.08307750523090363,
-0.011171534657478333,
0.02313973568379879,
-0.009317068383097649,
0.023396192118525505,
0.01298344787210226,
-0.012398493476212025,
0.008225437253713608,
-0.09027766436338425,
-0.007716355845332146,
0.021574443206191063,
0.00006295245111687109,
-0.061504900455474854,
0.0005092699429951608,
0.035797297954559326,
0.021576518192887306,
0.040163662284612656,
0.028232023119926453,
0.0021600511390715837,
-0.019646326079964638,
0.0037312027998268604,
-0.03217277303338051,
0.02061169408261776,
0.05337776243686676,
-0.019821301102638245,
0.07468423992395401,
0.03848056495189667,
0.007861540652811527,
-0.0447697751224041,
-0.002656220691278577,
-0.0011083658318966627,
-0.008083849214017391,
-0.04197045415639877,
-0.00982519518584013,
-0.011068378575146198,
-0.0520227774977684,
-0.035327211022377014,
-0.002970881061628461,
-0.041796375066041946,
-0.03927562013268471,
0.0314054861664772,
-0.011162450537085533,
0.01041293703019619,
0.0317230150103569,
-0.030820293352007866,
0.0094315679743886,
-0.020133985206484795,
-0.012875404208898544,
0.026900457218289375,
0.023679252713918686,
-0.008623890578746796,
-0.019340522587299347,
0.028594927862286568,
-0.03350754827260971,
0.025794826447963715,
0.012780793942511082,
0.012832745909690857,
0.015035339631140232,
0.002657390898093581,
-0.003948334138840437
] | [
-0.0346781387925148,
-0.0030170802492648363,
-0.02609856240451336,
-0.01449186634272337,
-0.004013784229755402,
-0.031114522367715836,
0.04712527245283127,
-0.0031163671519607306,
-0.011794842779636383,
-0.03988407924771309,
0.004725478123873472,
-0.03361310064792633,
0.007816581055521965,
0.0008310836274176836,
0.08914944529533386,
0.002152582397684455,
0.019237782806158066,
-0.13617824018001556,
-0.018290769308805466,
0.03044937551021576,
-0.014734121970832348,
0.011611377820372581,
-0.00262914109043777,
0.008817787282168865,
0.015216165222227573,
0.013784750364720821,
0.06704015284776688,
-0.003976708743721247,
0.007958761416375637,
-0.16746413707733154,
0.02824464440345764,
0.04521062970161438,
0.048285890370607376,
-0.009470307268202305,
-0.050632648169994354,
0.04939049109816551,
-0.012987302616238594,
0.026282096281647682,
0.016872847452759743,
0.030953247100114822,
-0.005685359239578247,
0.022180944681167603,
0.012043566443026066,
-0.04176170751452446,
0.010726788081228733,
0.014224992133677006,
-0.011315083131194115,
-0.000897760153748095,
-0.03395542874932289,
-0.0009100236347876489,
-0.0730949193239212,
-0.018965944647789,
0.02480373904109001,
-0.007057393901050091,
-0.024209991097450256,
-0.01151242759078741,
0.056061528623104095,
0.05257825925946236,
0.011387032456696033,
0.030139010399580002,
0.01594354957342148,
0.007993485778570175,
-0.13572432100772858,
0.12537772953510284,
0.004980957601219416,
0.02268628589808941,
-0.0017667554784566164,
0.001895313966087997,
-0.009374736808240414,
0.048914577811956406,
-0.013096840120851994,
0.0057639991864562035,
0.017037611454725266,
0.036355532705783844,
0.023217441514134407,
-0.004727538209408522,
-0.00024162694171536714,
0.054208409041166306,
0.009604605846107006,
-0.04504366219043732,
0.00890996865928173,
0.0027456837706267834,
-0.023847587406635284,
-0.03673316538333893,
-0.03507693111896515,
-0.00461003091186285,
-0.017053037881851196,
0.05567680299282074,
-0.02579859271645546,
0.027891943231225014,
0.06679390370845795,
0.020945554599165916,
0.0067194439470767975,
0.008207845501601696,
-0.06527269631624222,
-0.06456384807825089,
-0.02421066351234913,
0.04581207409501076,
-0.06735843420028687,
0.45330244302749634,
-0.018528452143073082,
-0.02876938506960869,
0.07831893116235733,
0.04546856880187988,
-0.03727610036730766,
-0.016114894300699234,
-0.007587187457829714,
-0.06094098091125488,
0.015401174314320087,
0.002806462813168764,
0.010905216448009014,
0.013008106499910355,
0.05289986729621887,
-0.03441203385591507,
0.018591932952404022,
0.010712436400353909,
0.1130894348025322,
0.002134106121957302,
-0.01448898296803236,
-0.01910536363720894,
-0.04298388585448265,
0.0215130764991045,
-0.039737749844789505,
-0.033012695610523224,
-0.014216517098248005,
-0.08360036462545395,
0.030515851452946663,
0.035879962146282196,
0.04127540811896324,
-0.01416680309921503,
0.06625686585903168,
-0.06908949464559555,
-0.050113968551158905,
-0.014172747731208801,
-0.0013699851697310805,
0.0020729771349579096,
0.029897483065724373,
-0.009922604076564312,
0.005665562115609646,
0.010609917342662811,
0.015704944729804993,
-0.0996708869934082,
-0.0149078955873847,
0.003342232434079051,
-0.023002486675977707,
0.08918595314025879,
-0.02008567750453949,
-0.057784829288721085,
0.003272406058385968,
-0.010064339265227318,
0.00842534564435482,
0.02277187630534172,
-0.022873185575008392,
-0.04240674898028374,
0.040747229009866714,
0.0026837249752134085,
0.10485046356916428,
-0.03724708780646324,
-0.048089832067489624,
-0.0086872773244977,
0.041635096073150635,
-0.05340149626135826,
-0.04460915923118591,
0.023091314360499382,
0.07984071224927902,
-0.07398670166730881,
-0.056723061949014664,
-0.006585286930203438,
0.02245338447391987,
-0.0580168254673481,
0.0335867814719677,
0.013512082397937775,
-0.033431608229875565,
0.018208518624305725,
0.01894574612379074,
-0.045458585023880005,
-0.016160571947693825,
0.03560171276330948,
0.029449639841914177,
0.0026535745710134506,
0.028857596218585968,
0.00715488800778985,
0.004393484443426132,
0.03937002643942833,
-0.033534664660692215,
-0.09687459468841553,
-0.047738462686538696,
-0.012123317457735538,
0.016031848266720772,
-0.03760695829987526,
-0.026169132441282272,
-0.027284996584057808,
-0.09139348566532135,
0.05955671891570091,
-0.003960257861763239,
-0.024907246232032776,
0.009829957969486713,
-0.037072762846946716,
-0.002246677177026868,
0.0027642427012324333,
-0.026792559772729874,
0.03724813833832741,
-0.0477592796087265,
0.01752135530114174,
-0.011570001021027565,
0.05829433724284172,
0.06079326197504997,
-0.027073798701167107,
0.06742632389068604,
0.06878984719514847,
-0.004014414269477129,
-0.029597684741020203,
0.06002478674054146,
0.037797123193740845,
0.011072012595832348,
-0.059299904853105545,
0.010922005400061607,
0.02924632653594017,
0.040044575929641724,
-0.0007875164737924933,
-0.03065917268395424,
0.00570094957947731,
-0.015730807557702065,
-0.3125414550304413,
-0.014517519623041153,
0.007816438563168049,
-0.025818312540650368,
0.026148781180381775,
-0.05058673396706581,
0.021547740325331688,
-0.011517195031046867,
0.05934501066803932,
0.03791029378771782,
0.03736647590994835,
-0.00898781232535839,
0.038810763508081436,
-0.000680701807141304,
0.048860110342502594,
0.01899074576795101,
-0.03567716106772423,
0.059606313705444336,
0.02692491188645363,
0.014897948130965233,
0.023111281916499138,
0.007327442057430744,
-0.033432818949222565,
-0.05287839472293854,
0.005342740565538406,
-0.03726091608405113,
0.11773368716239929,
0.00001055951724993065,
0.044475678354501724,
-0.05768408626317978,
0.011745232157409191,
0.03332007676362991,
0.017212675884366035,
-0.15677493810653687,
0.004973723087459803,
-0.02139689400792122,
-0.00010525681864237413,
-0.03245078772306442,
0.005509094800800085,
-0.014969482086598873,
-0.0032613705843687057,
-0.020539693534374237,
-0.06268638372421265,
0.001803309773094952,
-0.08086684346199036,
0.024585265666246414,
-0.031888242810964584,
-0.031896889209747314,
-0.03920811414718628,
0.06216680258512497,
-0.02823551930487156,
-0.02580702118575573,
-0.002618667669594288,
0.03371858596801758,
-0.009683177806437016,
-0.029084011912345886,
-0.09167563170194626,
0.012616688385605812,
0.005315713118761778,
-0.0013692287029698491,
0.005512505769729614,
0.07809115946292877,
0.0681271106004715,
-0.06987358629703522,
-0.028475811704993248,
0.044077660888433456,
-0.009134902618825436,
0.04483224079012871,
-0.00663031218573451,
0.07271752506494522,
-0.05240235850214958,
0.11080355942249298,
-0.03543192148208618,
-0.049773674458265305,
-0.0003554453141987324,
0.03863782435655594,
-0.003382094670087099,
0.026983240619301796,
0.012497065588831902,
-0.011996547691524029,
0.0488368459045887,
-0.013999085873365402,
0.03747066855430603,
-0.049517255276441574,
-0.02845575660467148,
0.045330483466386795,
0.014919096603989601,
-0.04007980599999428,
0.06874551624059677,
0.0437963530421257,
-0.009321709163486958,
0.01368604227900505,
0.027002356946468353,
-0.043554872274398804,
0.05937671288847923,
-0.03072146512567997,
-0.24115964770317078,
0.0035991740878671408,
0.043829306960105896,
0.028939038515090942,
-0.00863097794353962,
0.022150976583361626,
-0.017670072615146637,
-0.02948863059282303,
-0.030341995880007744,
0.039538804441690445,
0.051215048879384995,
-0.004327128175646067,
0.002121624303981662,
-0.03532741591334343,
0.028091147541999817,
-0.02074592188000679,
0.04335150122642517,
0.042943645268678665,
0.03911508619785309,
0.0163581520318985,
-0.011755736544728279,
-0.01949295401573181,
0.1194043755531311,
0.020048461854457855,
0.027439184486865997,
-0.034287307411432266,
-0.0022735116071999073,
0.007582476362586021,
0.010169735178351402,
-0.02706257812678814,
0.004013067111372948,
-0.013057652860879898,
0.02112565189599991,
0.014955302700400352,
0.009241652674973011,
-0.08543725311756134,
-0.050390053540468216,
0.029946381226181984,
0.035748403519392014,
0.020421385765075684,
0.011662248522043228,
0.04043060168623924,
-0.03570523485541344,
0.007266232743859291,
0.04713261127471924,
0.01882113143801689,
-0.008420421741902828,
-0.02441447600722313,
-0.04104484245181084,
-0.022899160161614418,
-0.03173051401972771,
-0.04454490542411804,
0.0034654599148780107,
0.02677041105926037,
0.0014082633424550295,
0.05460566654801369,
-0.025380896404385567,
-0.08461210131645203,
0.0004876169841736555,
0.006848741788417101,
-0.034434299916028976,
-0.026743248105049133,
0.08014170825481415,
-0.019216129556298256,
0.01701837033033371
] | [
0.006819853093475103,
-0.01986766792833805,
0.013436449691653252,
-0.015740230679512024,
-0.018787484616041183,
-0.0040299976244568825,
0.008608673699200153,
-0.046300604939460754,
0.01771017722785473,
-0.01697850413620472,
0.009040435776114464,
-0.005533548537641764,
-0.009978950954973698,
0.015350323170423508,
0.046011168509721756,
-0.0387505404651165,
0.004639610182493925,
-0.029570849612355232,
0.029336296021938324,
-0.010925093665719032,
-0.02024284563958645,
0.03711805120110512,
0.011072242632508278,
-0.030405310913920403,
0.028468692675232887,
0.02400789223611355,
0.01721826381981373,
0.001192317227832973,
0.030249672010540962,
-0.1351756900548935,
-0.017656235024333,
0.006526520010083914,
-0.014300850220024586,
0.007169539574533701,
0.0004883187357336283,
-0.020985400304198265,
-0.019023887813091278,
0.04591585695743561,
0.028901943936944008,
-0.016695572063326836,
0.0015389383770525455,
-0.012492695823311806,
0.035757292062044144,
0.00914097111672163,
-0.0052109877578914165,
-0.01360834389925003,
-0.026922807097434998,
0.00472427811473608,
-0.02745322696864605,
-0.03146526962518692,
-0.03074817731976509,
-0.0012609267141669989,
-0.02131487801671028,
0.035699184983968735,
-0.01732587069272995,
-0.04224429652094841,
0.044481150805950165,
0.03518937528133392,
-0.018691150471568108,
0.025080421939492226,
-0.000624125124886632,
-0.009547876194119453,
-0.03881910815834999,
-0.014127503149211407,
-0.014106892980635166,
-0.000025756658942555077,
-0.006187990307807922,
-0.009567595086991787,
-0.030200399458408356,
0.04071200266480446,
-0.04826255515217781,
0.022411314770579338,
0.03023870661854744,
0.0011921528493985534,
0.001278479932807386,
-0.015553089790046215,
-0.0013527696719393134,
-0.0038043425884097815,
0.013913276605308056,
-0.008449622429907322,
-0.008089225739240646,
0.02623453177511692,
0.020315557718276978,
0.013845223933458328,
0.0026803009677678347,
0.0008707412634976208,
0.014040041714906693,
-0.006337349768728018,
0.003049029503017664,
-0.0009224427631124854,
-0.02447476051747799,
0.03726983442902565,
-0.018790334463119507,
0.009543669410049915,
-0.09192554652690887,
-0.022312568500638008,
-0.03102210909128189,
-0.023841289803385735,
-0.004509099293500185,
0.8385772109031677,
-0.03969988599419594,
0.01048743724822998,
0.000693139445502311,
-0.010296536609530449,
-0.044796381145715714,
-0.03148021921515465,
-0.008327838964760303,
-0.02880692481994629,
0.011205093003809452,
-0.05125127360224724,
-0.02230217307806015,
0.03719203546643257,
0.02662006951868534,
0.03453384339809418,
-0.015166763216257095,
0.018409037962555885,
0.05100751295685768,
0.048575397580862045,
-0.00037574549787677824,
-0.006045395042747259,
-0.026457827538251877,
-0.0047783865593373775,
0.008924296125769615,
-0.012983343563973904,
-0.02863173745572567,
-0.14967216551303864,
0.016460001468658447,
-7.615241787130488e-33,
0.056545842438936234,
0.0013233862118795514,
0.011145863682031631,
-0.008519400842487812,
-0.009784271940588951,
-0.052857138216495514,
0.010799752548336983,
-0.010286197066307068,
0.007525468245148659,
-0.05180898681282997,
0.009006203152239323,
-0.0194722730666399,
0.005479890387505293,
-0.03654445335268974,
0.023873422294855118,
-0.006770337466150522,
0.008835514076054096,
0.01268879696726799,
-0.022045278921723366,
-0.008965423330664635,
0.015685178339481354,
0.01336232852190733,
0.0117631321772933,
-0.00027835508808493614,
-0.01841660961508751,
0.020367557182908058,
0.02375611662864685,
-0.015773653984069824,
0.004701503086835146,
-0.03895263001322746,
-0.01960727944970131,
0.011907272040843964,
-0.026398727670311928,
-0.007239057216793299,
-0.013199244625866413,
-0.04712072014808655,
-0.021774256601929665,
-0.0012161218328401446,
0.02960394322872162,
-0.040184736251831055,
-0.03302132710814476,
0.010069179348647594,
-0.03165935352444649,
-0.014989804476499557,
-0.015263215638697147,
-0.0038968559820204973,
-0.0014562085270881653,
0.007302322890609503,
-0.012049038894474506,
0.03337451070547104,
-0.001157073536887765,
-0.005717698950320482,
-0.02325293980538845,
0.04327690228819847,
0.01264092419296503,
0.006692256312817335,
0.015394690446555614,
-0.0006126622320152819,
0.009097135625779629,
0.025971870869398117,
0.022383062168955803,
-0.04294491931796074,
-0.026162967085838318,
0.019694605842232704,
0.009935357607901096,
-0.013510710559785366,
0.03465430811047554,
-0.04225640371441841,
0.01680966094136238,
-0.03863270580768585,
-0.03796184062957764,
-0.007287709042429924,
0.007538910023868084,
0.027232497930526733,
-0.02474883943796158,
0.038546547293663025,
-0.004269399214535952,
0.02684316597878933,
0.003732826095074415,
0.04026065394282341,
0.003415923099964857,
0.02952338196337223,
0.025311818346381187,
-0.06380175799131393,
0.023246603086590767,
-0.001977169420570135,
0.010143118910491467,
-0.04330093413591385,
0.013529404997825623,
0.03703565150499344,
0.025326691567897797,
0.03269442170858383,
0.040785036981105804,
-0.0016802846221253276,
-0.02008425071835518,
7.594445088012534e-33,
0.029932226985692978,
0.006463862024247646,
-0.05281955748796463,
-0.01417917013168335,
-0.03211422637104988,
0.007097412366420031,
0.05060398578643799,
0.026341896504163742,
-0.023693813011050224,
0.028109706938266754,
-0.031481582671403885,
0.018534351140260696,
0.03122195228934288,
0.02618958242237568,
0.055796366184949875,
-0.039102837443351746,
0.04362986609339714,
0.0003212846058886498,
0.016535772010684013,
0.02312079630792141,
0.003053775755688548,
0.022309770807623863,
0.018610473722219467,
0.014678619801998138,
0.017418984323740005,
0.025076767429709435,
-0.021301161497831345,
0.018603529781103134,
-0.02561373822391033,
-0.0038771922700107098,
0.02930068038403988,
0.0009029820212163031,
-0.01017044484615326,
0.0017205419717356563,
-0.015648648142814636,
0.009161463938653469,
0.006199873052537441,
-0.025327937677502632,
-0.009550776332616806,
0.049118343740701675,
-0.0033282574731856585,
0.03377022594213486,
-0.014344234019517899,
-0.017522046342492104,
0.010126889683306217,
-0.03217032924294472,
-0.011741812340915203,
-0.022310519590973854,
-0.039591021835803986,
0.006769201252609491,
-0.004400121979415417,
0.01569565013051033,
0.01853083074092865,
-0.051953092217445374,
0.008047808893024921,
-0.006911768112331629,
-0.017581744119524956,
-0.02244275063276291,
-0.012238126248121262,
-0.007212871685624123,
-0.010361993685364723,
-0.02338271029293537,
-0.024286307394504547,
-0.009937007911503315,
-0.01991969905793667,
0.0378081277012825,
0.03765849024057388,
0.008574752137064934,
0.05249153450131416,
-0.027391033247113228,
0.010808762162923813,
-0.03257043659687042,
-0.006159696727991104,
0.055139146745204926,
0.012568767182528973,
-0.006978997495025396,
-0.038881998509168625,
-0.007603050675243139,
-0.01109316386282444,
0.02559513971209526,
0.01852746680378914,
0.03972636163234711,
-0.011801674962043762,
-0.016596518456935883,
0.014887561090290546,
0.04148112237453461,
-0.02507224678993225,
0.020772060379385948,
0.020310163497924805,
-0.033226754516363144,
0.0281247328966856,
0.004792122170329094,
0.0019464580109342933,
0.013083632104098797,
0.056356534361839294,
-1.3160880385498785e-8,
-0.025164401158690453,
-0.017382169142365456,
-0.00826408714056015,
0.00917345006018877,
0.007301474921405315,
-0.042428579181432724,
-0.011539648286998272,
0.017124280333518982,
0.019664859399199486,
-0.005644229706376791,
0.021595032885670662,
-0.03976644203066826,
0.010216472670435905,
0.04511525109410286,
0.001809443230740726,
0.000026691392122302204,
0.008742101490497589,
0.0020650115329772234,
0.03297164663672447,
-0.016777439042925835,
0.04731779918074608,
0.03972150757908821,
0.008519584313035011,
0.01629628799855709,
-0.006774222478270531,
0.0056999861262738705,
-0.022307388484477997,
-0.07853607088327408,
-0.009432119317352772,
-0.00001762144711392466,
-0.004689080640673637,
-0.03687917813658714,
-0.022218720987439156,
-0.008177108131349087,
-0.03438851237297058,
-0.007100148592144251,
0.01465798169374466,
-0.03525085747241974,
0.04651041701436043,
0.04012470319867134,
0.03165191784501076,
0.00711329048499465,
0.009751607663929462,
-0.031559333205223083,
-0.018571114167571068,
0.04475947469472885,
-0.0237196683883667,
-0.0587490051984787,
-0.032320536673069,
-0.059456661343574524,
0.021598083898425102,
0.015637733042240143,
0.00759131507948041,
0.0448874793946743,
-0.011098640970885754,
0.0032550175674259663,
-0.022542838007211685,
0.008550562895834446,
-0.008209406398236752,
0.0097501827403903,
0.016500182449817657,
0.09389391541481018,
-0.04097285866737366,
-0.025651004165410995
] | india-cultural-differences-language | https://markhneedham.com/blog/2010/12/24/india-cultural-differences-language |
false | 2010-12-15 19:08:56 | India Cultural Differences: Tolerance/Patience | [
"software-development"
] | [
"Distributed Agile"
] | Some colleagues have been asking me recently what cultural differences I've noticed working in India compared to my experiences in the UK and Australia and one of the biggest differences by far is the amount of tolerance and patience people here have compared to me.
These attributes seem to show themselves in roughly two situations:
== With respect to the environment
We've had some building work done in the Pune office recently which has meant that there's been extremely high volume drilling being done to the extent that you can barely hear someone who's sitting a couple of metres away.
I was quite amazed to watch colleagues continuing with their conversations as if nothing had happened - I was totally distracted and had to go and sit in a meeting room away from the noise.
I've talked to a few colleagues about this and they pointed out that they're pretty used to the environment not being perfect from previous experiences at school or just in general life situations so it's not such a big deal.
I find it interesting to see how influential the environment (as far as I can see) can be on some fairly fundamental personality traits.
== With people
People here seem to give others the benefit of the doubt much more frequently than I've seen elsewhere.
I've noticed this especially when communicating with people in remote locations.
I worked on a project distributed between two cities a couple of years ago and the distrust between the two locations was fairly evident in all methods of communication.
I haven't noticed the same thing here as much and the majority of the time people don't react at all to something which I would consider to be inflammatory.
There's also much more tolerance for repetition of information than I've noticed elsewhere.
I get very frustrated if I hear the same thing repeated multiple times but the majority of people here don't seem too bothered by that and take it in their stride.
== It's a strength not a weakness
I think that people here sometimes don't recognise that their tolerance/patience is a strength rather than a weakness and I've frequently heard conversations where what I consider being tolerant is seen to be 'rolling over'.
I don't necessarily think the 'western' style of presenting an argument very assertively/confidently is the only way to go and I've seen colleagues successfully communicate while using their own style.
Of course these are massive generalisations based on my observations so it'd be interesting to see what other people who've had the chance to work in both cultures/environments think. | null | null | [
0.03849918767809868,
0.009857469238340855,
0.00029510806780308485,
0.02226765640079975,
0.07369481772184372,
0.03165800869464874,
0.04745901748538017,
0.054540734738111496,
0.029253249987959862,
-0.019867807626724243,
-0.03456803783774376,
0.004198758397251368,
-0.05525298789143562,
0.035305753350257874,
-0.021282577887177467,
0.0871255174279213,
0.05508048087358475,
0.011515064164996147,
-0.00014047123841010034,
0.004042990505695343,
0.05667431652545929,
0.04611378163099289,
0.0661623403429985,
0.042861439287662506,
0.06568621844053268,
-0.0057072932831943035,
0.03470393270254135,
-0.008625485934317112,
-0.04701796919107437,
-0.01055130735039711,
0.037637218832969666,
0.011665353551506996,
-0.014624401926994324,
0.018743203952908516,
0.030726933851838112,
-0.018139509484171867,
-0.007160661276429892,
0.02660299465060234,
0.02008332498371601,
-0.008734388276934624,
-0.05968405306339264,
0.027995413169264793,
-0.015161850489675999,
0.0020136681850999594,
-0.049598272889852524,
0.007663254626095295,
-0.027360999956727028,
0.02881019562482834,
0.0001576325885253027,
0.009537981823086739,
-0.06502428650856018,
0.028927750885486603,
0.03695136308670044,
-0.0010235633235424757,
-0.018289148807525635,
0.031994033604860306,
-0.002215857617557049,
-0.05700937658548355,
0.011680862866342068,
-0.0456797257065773,
-0.00027268880512565374,
-0.016975920647382736,
-0.005603281315416098,
0.01617468148469925,
0.0289772916585207,
0.0016551601001992822,
0.010722228325903416,
0.008571567013859749,
-0.02098918706178665,
0.023381829261779785,
-0.03857739642262459,
0.0012587029486894608,
-0.011377242393791676,
0.005995733197778463,
-0.00962693803012371,
-0.06951534003019333,
-0.010964700020849705,
0.045994747430086136,
0.006963251158595085,
0.045367348939180374,
-0.027086040005087852,
-0.014016034081578255,
-0.0023870605509728193,
0.018262773752212524,
-0.010067255236208439,
-0.046121690422296524,
0.024422703310847282,
-0.015526307746767998,
-0.07953015714883804,
0.03913833945989609,
0.01857786811888218,
-0.029820919036865234,
0.007846133783459663,
0.04620688408613205,
-0.0025026630610227585,
0.0037791940849274397,
0.04211089387536049,
-0.03202981874346733,
-0.015256430953741074,
-0.031214797869324684,
-0.016400033608078957,
-0.023120194673538208,
-0.01587546244263649,
0.023230038583278656,
-0.0768280029296875,
-0.01662283204495907,
-0.012887577526271343,
0.012690947391092777,
-0.03193876892328262,
0.006274622865021229,
-0.03823751211166382,
0.018854014575481415,
0.006810130085796118,
0.005668635945767164,
-0.08441852778196335,
0.06553379446268082,
0.028197690844535828,
-0.03312079608440399,
-0.005762682296335697,
-0.010598035529255867,
0.01635720022022724,
0.013487263582646847,
-0.015377008356153965,
0.07619037479162216,
-0.03162713721394539,
0.01969996467232704,
-0.05421558767557144,
0.05269843339920044,
0.0015863216249272227,
-0.04622035101056099,
-0.025154022499918938,
0.044883109629154205,
-0.009898962453007698,
-0.0011512248311191797,
-0.009709320962429047,
-0.052216120064258575,
0.023256953805685043,
-0.0038062718231230974,
0.0275968499481678,
0.04538950324058533,
0.018567075952887535,
-0.031589288264513016,
0.012825476936995983,
0.04760141670703888,
0.0283673033118248,
-0.018429722636938095,
-0.014074192382395267,
-0.04945341497659683,
-0.020611902698874474,
-0.03819714114069939,
0.003223454114049673,
-0.00732273468747735,
0.023463621735572815,
-0.035830844193696976,
0.004491370636969805,
0.06964629143476486,
0.047048088163137436,
0.007433196529746056,
-0.0149434395134449,
-0.0026212178636342287,
0.01352986041456461,
0.02864726260304451,
0.013078004121780396,
0.010715289041399956,
0.021202711388468742,
0.011680279858410358,
-0.010862709023058414,
0.03529634326696396,
-0.013362563215196133,
0.03031632862985134,
-0.05685504898428917,
-0.02679646946489811,
0.020655948668718338,
-0.03821646049618721,
-0.05431986600160599,
0.060824956744909286,
0.05999698117375374,
0.06496580690145493,
0.01831170916557312,
-0.0052366177551448345,
-0.08123162388801575,
0.032958611845970154,
0.009497174061834812,
0.0364387147128582,
0.05943476781249046,
-0.00979298073798418,
0.034943703562021255,
0.03036407195031643,
-0.021960360929369926,
0.04689547047019005,
-0.06038529798388481,
-0.07431267946958542,
-0.015124158002436161,
0.00236336188390851,
0.04437732324004173,
-0.05537673085927963,
0.0222189798951149,
0.067166768014431,
0.020119568333029747,
0.05284518003463745,
0.022697167471051216,
-0.004279701039195061,
0.0122645553201437,
-0.027195734903216362,
-0.05939272791147232,
0.07398856431245804,
0.023571953177452087,
0.03188345953822136,
-0.010482843965291977,
0.01108650490641594,
-0.015751980245113373,
-0.02642739564180374,
0.03948305919766426,
0.0041086007840931416,
0.031738489866256714,
-0.01710570603609085,
0.057091254740953445,
-0.03571373596787453,
0.049417536705732346,
-0.03716573491692543,
0.012864256277680397,
0.004171567969024181,
-0.029051149263978004,
0.01565597392618656,
-0.015275870449841022,
0.10561525076627731,
0.0668056383728981,
-0.05805491656064987,
-0.0424879789352417,
0.018054384738206863,
0.027624502778053284,
-0.0493679977953434,
0.010354728437960148,
0.011784221045672894,
0.016888108104467392,
0.014929814264178276,
-0.0441344678401947,
-0.0403834693133831,
0.04188578203320503,
-0.060689788311719894,
-0.03662542998790741,
0.048787232488393784,
-0.00003925421697204001,
0.0729285404086113,
-0.02395862154662609,
-0.005459979176521301,
0.014395407401025295,
-0.009234923869371414,
-0.01986933872103691,
0.01743319444358349,
0.023536670953035355,
-0.010474467650055885,
0.038326818495988846,
0.0016559985233470798,
-0.002975990530103445,
-0.04753919690847397,
-0.025705058127641678,
0.028797805309295654,
0.07296238094568253,
0.04997468739748001,
-0.03486273065209389,
0.06103783845901489,
-0.0025262092240154743,
0.027723079547286034,
-0.0055951690301299095,
-0.03446611762046814,
-0.028704874217510223,
-0.02740047685801983,
-0.005361448507755995,
0.009705618023872375,
0.020497791469097137,
-0.006860148161649704,
0.01162082701921463,
0.029423782601952553,
0.0038881574291735888,
-0.009218946099281311,
0.018663281574845314,
-0.007807060610502958,
-0.004987780470401049,
-0.014183872379362583,
0.0022193214390426874,
0.05714412406086922,
-0.019847270101308823,
-0.022602751851081848,
0.02881789766252041,
-0.08726724982261658,
0.003334863344207406,
-0.06795325130224228,
-0.04064242169260979,
-0.01171836256980896,
0.015957284718751907,
0.046798575669527054,
0.03704877197742462,
-0.004300189670175314,
0.038872454315423965,
0.0036187325604259968,
0.021861938759684563,
0.02320081926882267,
-0.0034843820612877607,
0.020090850070118904,
0.01513535063713789,
0.0012386298039928079,
0.01540823932737112,
0.0049379365518689156,
-0.0017573718214407563,
-0.05085042864084244,
0.028287852182984352,
-0.07171426713466644,
-0.29443398118019104,
0.04157784953713417,
0.03028925321996212,
-0.024321716278791428,
0.022275716066360474,
-0.045863017439842224,
0.028919266536831856,
-0.06028320640325546,
-0.03414538875222206,
0.019407806918025017,
-0.021111970767378807,
-0.04066220670938492,
-0.018132256343960762,
0.051714297384023666,
-0.0029224841855466366,
0.02339238114655018,
0.012799878604710102,
-0.04083627834916115,
0.006877717096358538,
0.05966442823410034,
-0.000495445856358856,
-0.04692118987441063,
-0.0011201747693121433,
0.04235433414578438,
0.039651188999414444,
0.06587549299001694,
-0.052616022527217865,
0.035684734582901,
-0.06029826030135155,
-0.0027747484855353832,
0.008422615006566048,
0.0017375873867422342,
0.036345433443784714,
-0.015728741884231567,
0.00374192139133811,
-0.025773823261260986,
0.047371502965688705,
0.010165098123252392,
0.000193629355635494,
0.014289668761193752,
-0.023903463035821915,
-0.03759438171982765,
0.01207512617111206,
0.022913126274943352,
0.0585654079914093,
0.004306800197809935,
-0.07993798702955246,
-0.021126842126250267,
-0.020759830251336098,
0.07524892687797546,
-0.03315737098455429,
-0.019767869263887405,
-0.038106389343738556,
0.02809351496398449,
-0.03606091067194939,
0.0009543712367303669,
-0.002199294976890087,
-0.0193213801831007,
-0.0539628267288208,
-0.05119246244430542,
-0.019779233261942863,
-0.0179517213255167,
-0.027219418436288834,
-0.06227932497859001,
-0.02194206602871418,
-0.051529157906770706,
-0.08497550338506699,
-0.027271484956145287,
0.0506693534553051,
-0.015222970396280289,
-0.04455282539129257,
-0.0005903170094825327,
0.0029185726307332516,
-0.09839754551649094,
-0.011479160748422146,
-0.025506598874926567,
-0.037737634032964706,
-0.0016635757638141513,
0.03105924092233181,
0.028589576482772827,
-0.019444605335593224,
-0.052428532391786575,
0.024095822125673294,
0.00006245219265110791,
0.02856592647731304,
-0.004957898054271936,
0.047796692699193954,
0.02633468620479107,
-0.03824862092733383,
-0.014376800507307053,
0.06035074219107628,
0.007760672364383936,
-0.04336849972605705,
-0.012478929944336414,
0.042267147451639175,
0.006488158367574215,
-0.009731648489832878,
-0.027992676943540573,
0.017845334485173225,
0.002426805905997753,
-0.022713953629136086,
-0.07447829097509384,
0.003201740561053157,
0.007893063127994537,
0.0068828207440674305,
-0.004058849066495895,
-0.05277333781123161,
0.03155672922730446,
0.048421960324048996,
0.004259852692484856,
0.03189205750823021,
-0.01200978085398674,
0.009298427030444145,
-0.03319602459669113,
-0.018818195909261703,
-0.028087889775633812,
0.0199882835149765,
0.05164717137813568,
0.020401040092110634,
0.005913528148084879,
-0.03291842341423035,
0.014491594396531582,
-0.021606814116239548,
-0.00023828652047086507,
-0.06901898980140686,
-0.0007840191829018295,
-0.03210189566016197,
-0.031327493488788605,
-0.035134151577949524,
0.017038889229297638,
-0.034343037754297256,
0.0023064566776156425,
0.06722716987133026,
-0.028471998870372772,
0.0143132908269763,
-0.020380809903144836,
-0.07763201743364334,
-0.03857756778597832,
-0.010965325869619846,
0.009048047475516796,
-0.023543396964669228,
0.017674380913376808,
-0.011816312558948994,
0.023234408348798752,
0.043914347887039185,
0.018562721088528633,
-0.008780877105891705,
-0.032432686537504196,
0.028210902586579323,
0.023799782618880272,
0.016895577311515808,
-0.05862130597233772,
0.00008671538671478629,
-0.022289037704467773,
-0.033762793987989426,
-0.008929427713155746,
0.03218376263976097,
0.008088702335953712,
-0.042659956961870193,
-0.024431798607110977,
0.018352510407567024,
-0.06522610783576965,
-0.04005373641848564,
-0.03737892955541611,
0.02958536148071289,
0.04282341152429581,
-0.003584935562685132,
0.007496052421629429,
-0.0000545164366485551,
0.0011009294539690018,
0.02681298926472664,
0.03152760490775108,
-0.048360493034124374,
-0.003174817655235529,
-0.005058852955698967,
0.00999012403190136,
-0.016448551788926125,
0.0022023404017090797,
0.05974951386451721,
0.011010945774614811,
0.012603910639882088,
-0.014181765727698803,
-0.006069761700928211,
0.029050540179014206,
0.053580593317747116,
0.036197829991579056,
-0.0022161989472806454,
-0.03051341138780117,
0.006040397100150585,
-0.03157942369580269,
-0.018831104040145874,
-0.024389460682868958,
-0.03616739436984062,
0.011875675991177559,
-0.03713657334446907,
-0.07956479489803314,
0.05096489191055298,
0.006169292610138655,
0.005819851998239756,
0.01975478045642376,
0.009448423981666565,
-0.015222781337797642,
-0.02257228083908558,
0.025160139426589012,
0.04242255911231041,
-0.064431332051754,
0.005044356919825077,
-0.003543743398040533,
-0.027116987854242325,
0.011028758250176907,
-0.03302181512117386,
-0.018930934369564056,
-0.024328315630555153,
-0.027208613231778145,
0.010919651947915554,
-0.08701576292514801,
-0.04462899640202522,
-0.04120311886072159,
0.02791251614689827,
-0.000322664447594434,
-0.0028597614727914333,
-0.04391699284315109,
-0.024679120630025864,
-0.005306399893015623,
-0.027716657146811485,
0.03133152052760124,
-0.060095272958278656,
0.019061937928199768,
0.018854565918445587,
-0.03357808291912079,
-0.0037317986134439707,
-0.029089482501149178,
0.029687926173210144,
0.0211291816085577,
-0.026519006118178368,
0.003439038759097457,
-0.025409003719687462,
-0.043015189468860626,
0.010293263010680676,
0.045513637363910675,
-0.019499843940138817,
-0.03299858048558235,
-0.03902255371212959,
-0.01885046809911728,
-0.04002154618501663,
0.019514715299010277,
-0.037389714270830154,
-0.008721353486180305,
0.011891809292137623,
0.05568165332078934,
0.011589798144996166,
0.022773992270231247,
0.004965547937899828,
-0.015475877560675144,
0.015540454536676407,
-0.060583505779504776,
-0.024343684315681458,
-0.022027550265192986,
-0.04417891427874565,
0.016148105263710022,
0.012162801809608936,
-0.01795361377298832,
-0.015673192217946053,
0.04790304973721504,
0.009579376317560673,
0.02999788522720337,
0.04107872024178505,
0.012256618589162827,
0.03092779777944088,
-0.05893717333674431,
-0.015275989659130573,
-0.09432879835367203,
0.008815574459731579,
-0.009541813284158707,
0.010284081101417542,
-0.0194390956312418,
-0.027310002595186234,
-0.01918349228799343,
0.05405271053314209,
-0.07142408937215805,
-0.005608879961073399,
0.017709027975797653,
-0.004778489004820585,
-0.02179607003927231,
0.024072743952274323,
-0.08883053809404373,
0.02619064785540104,
0.007802958600223064,
-0.06656641513109207,
-0.007718617562204599,
-0.017848582938313484,
0.061480797827243805,
-0.014301403425633907,
0.03627796471118927,
-0.03783324733376503,
0.01843889057636261,
0.07498828321695328,
0.041577767580747604,
-0.013517382554709911,
0.05751834064722061,
-0.019126031547784805,
0.058257974684238434,
0.03214685991406441,
0.005150203593075275,
-0.006500286050140858,
0.027775106951594353,
-0.007336885668337345,
-0.06067593768239021,
0.04191353917121887,
0.004645919427275658,
-0.018761472776532173,
-0.033981844782829285,
0.06054745614528656,
0.023177044466137886,
-0.03628921136260033,
-0.049815040081739426,
0.0033320400398224592,
-0.04773971438407898,
0.003891159314662218,
-0.02427658811211586,
-0.0005983185837976635,
-0.038391221314668655,
0.05353466421365738,
-0.0005854283808730543,
0.034285254776477814,
0.07921479642391205,
0.021445615217089653,
-0.013312473893165588,
-0.008227790705859661,
0.11173639446496964,
0.07058128714561462,
0.07063937187194824,
0.00970839336514473,
0.068315289914608,
0.006737429648637772,
-0.04717114567756653,
0.018285587430000305,
0.0009498914587311447,
-0.025672724470496178,
-0.00876526441425085,
0.04438198357820511,
0.05957135930657387,
-0.01629054732620716,
0.061046354472637177,
-0.003562914440408349,
-0.007822914980351925,
0.0022294274531304836,
0.0497262217104435,
0.029887037351727486,
0.08043795078992844,
0.019005337730050087,
0.02829767018556595,
0.007274042349308729,
-0.04711642861366272,
0.03650335222482681,
-0.022486519068479538,
-0.027537241578102112,
0.015369529835879803,
-0.024716826155781746,
0.0414886511862278,
0.03239728510379791,
0.02217331901192665,
0.07275272160768509,
-0.031081577762961388,
0.013777085579931736,
-0.01745394803583622,
0.030445534735918045,
-0.015473460778594017,
0.018626932054758072,
-0.006230749189853668,
0.0008896221406757832,
-0.0196373388171196,
-0.04845597967505455,
-0.046584270894527435,
0.000098609016276896,
-0.021436918526887894,
0.004262940492480993,
-0.034065138548612595,
0.03295721486210823,
0.03878670185804367,
0.009650049731135368,
-0.023470258340239525,
-0.05530339851975441,
-0.05262943357229233,
-0.022262753918766975,
-0.035384297370910645,
-0.02010198123753071,
0.033763337880373,
-0.035747501999139786,
-0.03077736496925354,
0.006317871157079935,
0.00176067347638309,
-0.02961290255188942,
0.0351857990026474,
-0.05302709341049194,
-0.025218384340405464,
0.01243510376662016,
0.027250047773122787,
0.022272637113928795,
-0.011098284274339676,
0.055197469890117645,
-0.009817073121666908,
0.022623959928750992,
-0.009067639708518982,
0.020864617079496384,
0.01387983188033104,
-0.006987455300986767,
-0.001954007428139448,
-0.08485716581344604,
-0.007760573644191027,
0.02844875119626522,
-0.021115170791745186,
-0.065181203186512,
0.012703855521976948,
0.008318256586790085,
0.016585400328040123,
0.0402803048491478,
0.007111772429198027,
0.004159037489444017,
-0.0326935276389122,
0.006193001288920641,
-0.027737461030483246,
0.021924449130892754,
0.04411321505904198,
-0.02703886665403843,
0.06936013698577881,
0.015307173132896423,
-0.008563236333429813,
-0.03217208757996559,
0.005815030075609684,
0.020075039938092232,
0.002921473467722535,
-0.02705446630716324,
-0.027083825320005417,
-0.03150169923901558,
-0.08121924102306366,
-0.03428241237998009,
0.028641585260629654,
-0.03917250409722328,
-0.03357807174324989,
0.035631269216537476,
-0.0019313947996124625,
-0.004653199575841427,
0.01709851250052452,
-0.038734592497348785,
0.03840949013829231,
-0.02151072397828102,
-0.007923613302409649,
0.011769851669669151,
0.02768583968281746,
-0.008437180891633034,
-0.030123326927423477,
0.03545432910323143,
-0.0434371754527092,
0.006950142327696085,
-0.025128573179244995,
0.006646591704338789,
0.05516476929187775,
0.00754622183740139,
-0.008478737436234951
] | [
-0.025203779339790344,
0.03862793371081352,
-0.02406615950167179,
0.0014535567024722695,
0.04420233517885208,
-0.018793508410453796,
0.03998265415430069,
-0.00338640040718019,
-0.012732689268887043,
-0.025787867605686188,
-0.003170860931277275,
-0.04035571962594986,
0.00945124588906765,
-0.014338653534650803,
0.0736563503742218,
0.01571500487625599,
0.007439514622092247,
-0.1197686716914177,
-0.011271750554442406,
0.046558838337659836,
-0.02624461241066456,
-0.025300757959485054,
-0.01503209862858057,
-0.007606353145092726,
0.015672529116272926,
-0.011129979975521564,
0.060463838279247284,
0.012399381026625633,
0.021316619589924812,
-0.15411022305488586,
0.01903456449508667,
0.018820421770215034,
0.049640338867902756,
-0.0023253215476870537,
-0.026964563876390457,
0.054994042962789536,
0.006279586814343929,
0.03441478684544563,
0.005610993131995201,
0.0342877022922039,
0.011464452371001244,
0.006188367493450642,
0.009079941548407078,
-0.020806023851037025,
0.006716279312968254,
0.038540299981832504,
-0.006645913701504469,
-0.016798023134469986,
-0.06477855145931244,
-0.020253553986549377,
-0.054272886365652084,
-0.04266302287578583,
-0.01899004727602005,
-0.003916704561561346,
-0.016082610934972763,
0.006540944799780846,
0.047978475689888,
0.044842783361673355,
-0.00676865316927433,
0.025281066074967384,
0.013808364048600197,
-0.0012357598170638084,
-0.1462581306695938,
0.10542305558919907,
0.05881909281015396,
0.04323172569274902,
-0.04523448273539543,
-0.007015008479356766,
-0.02135554514825344,
0.024714060127735138,
0.0008084209985099733,
0.006213692016899586,
0.0034984457306563854,
0.008842628449201584,
0.03555026650428772,
0.010270665399730206,
-0.009979900903999805,
0.041949640959501266,
-0.002277773106470704,
-0.05042248219251633,
0.02832070365548134,
0.026396051049232483,
-0.030122574418783188,
-0.01885293610394001,
-0.02019752375781536,
0.004460065625607967,
-0.007950079627335072,
0.0451938770711422,
-0.005439581349492073,
0.031629279255867004,
0.026721036061644554,
-0.0008500830736011267,
0.009051121771335602,
0.004879089538007975,
-0.059913329780101776,
-0.038596030324697495,
0.0019012985285371542,
0.04921138659119606,
-0.057404257357120514,
0.463780015707016,
-0.026266803964972496,
-0.006606084294617176,
0.0860549658536911,
0.05895064026117325,
-0.02140449360013008,
0.009561418555676937,
-0.009475553408265114,
-0.07864496111869812,
0.03164294734597206,
-0.005160641390830278,
0.04097101464867592,
0.021269580349326134,
0.04521314799785614,
-0.017568577080965042,
-0.0072855562902987,
-0.0020269714295864105,
0.09284071624279022,
-0.0014745201915502548,
-0.005068137776106596,
-0.040565744042396545,
-0.03938639909029007,
0.013630624860525131,
-0.008233580738306046,
-0.035681162029504776,
-0.02375953458249569,
-0.06692156940698624,
0.03550277277827263,
0.03999451920390129,
0.04388278350234032,
-0.05032362788915634,
0.043065331876277924,
-0.08298559486865997,
-0.05996030569076538,
-0.0020845234394073486,
-0.014582261443138123,
-0.0019797473214566708,
0.04246380925178528,
0.009458624757826328,
0.005037199705839157,
0.04249178618192673,
0.028990209102630615,
-0.06103990599513054,
-0.01703277789056301,
-0.028343049809336662,
-0.03603460267186165,
0.11366768181324005,
0.02482766844332218,
-0.04569654539227486,
0.006864781491458416,
-0.014272311702370644,
0.006823266856372356,
0.037302739918231964,
-0.032067958265542984,
-0.036381639540195465,
0.04448595643043518,
0.01327885128557682,
0.06967296451330185,
-0.032609228044748306,
-0.023561397567391396,
-0.010249139741063118,
0.0350770503282547,
-0.041645534336566925,
-0.04257972911000252,
0.037149496376514435,
0.11529388278722763,
-0.07608645409345627,
-0.033689312636852264,
0.0007630856707692146,
0.025258395820856094,
-0.05014758184552193,
0.02913120947778225,
0.006908607203513384,
-0.004141810350120068,
0.019692683592438698,
0.032508328557014465,
-0.041520778089761734,
-0.04103904962539673,
0.05427705496549606,
0.03350161761045456,
0.021707752719521523,
0.043719444423913956,
0.0022029189858585596,
-0.018968436866998672,
0.03419400006532669,
-0.03743891790509224,
-0.06783229857683182,
-0.050775546580553055,
-0.01959492266178131,
-0.01637248881161213,
-0.011447658762335777,
-0.016265176236629486,
-0.03483198955655098,
-0.10535229742527008,
0.08010002970695496,
0.010590572841465473,
-0.021484315395355225,
0.014889967627823353,
-0.03846096247434616,
-0.02340327389538288,
0.012644393369555473,
-0.06771627068519592,
0.044420406222343445,
-0.04716484248638153,
0.024488039314746857,
-0.03256063908338547,
0.04793224856257439,
0.07285667955875397,
-0.027036573737859726,
0.08401938527822495,
0.061053983867168427,
0.014871736988425255,
-0.03581813722848892,
0.01704133301973343,
0.045213483273983,
0.01027409266680479,
-0.029428884387016296,
0.03535015881061554,
0.0004429857654031366,
0.04676491767168045,
0.014591209590435028,
-0.02640438638627529,
-0.024438975378870964,
-0.017804710194468498,
-0.3473236560821533,
-0.03979559987783432,
-0.020092345774173737,
-0.012490814551711082,
0.024282241240143776,
-0.026218557730317116,
0.022456923499703407,
-0.018039854243397713,
0.03078816458582878,
0.03835630789399147,
0.03571084141731262,
0.005223764106631279,
0.030309325084090233,
-0.005606997292488813,
0.05186900496482849,
0.02171502262353897,
-0.04314673691987991,
0.04378700256347656,
-0.001436077174730599,
-0.012168345041573048,
0.022145016118884087,
0.020687662065029144,
-0.044521864503622055,
-0.03715937212109566,
0.022608641535043716,
-0.06618668884038925,
0.10282207280397415,
-0.014836433343589306,
0.004670070484280586,
-0.042406048625707626,
-0.0011751768179237843,
0.022020285949110985,
0.03290770947933197,
-0.16072480380535126,
0.0009893191745504737,
-0.028181714937090874,
0.0029434284660965204,
-0.032786622643470764,
-0.014180431142449379,
-0.010798267088830471,
0.0022185700945556164,
0.0053846631199121475,
-0.060998208820819855,
-0.003947075456380844,
-0.11779627948999405,
0.00884091667830944,
-0.0193039383739233,
-0.013181566260755062,
-0.03556479141116142,
0.04865623638033867,
-0.0047395615838468075,
-0.021279247477650642,
0.010623268783092499,
0.030381854623556137,
-0.02722295932471752,
-0.04445003718137741,
-0.10372326523065567,
0.02791549451649189,
-0.012890477664768696,
0.0033287950791418552,
0.0135040869936347,
0.05494629219174385,
0.06252743303775787,
-0.047026269137859344,
-0.021224908530712128,
0.018241822719573975,
-0.009993712417781353,
0.045237939804792404,
-0.0059761167503893375,
0.04253111779689789,
-0.022638635709881783,
0.10330046713352203,
-0.017636209726333618,
-0.055756110697984695,
0.006158238742500544,
0.026766160503029823,
-0.02954777516424656,
0.05452229827642441,
0.013801000081002712,
0.003921137191355228,
0.07197403907775879,
-0.019196990877389908,
0.012108184397220612,
-0.022765815258026123,
-0.002592996461316943,
0.0364510677754879,
-0.01878661848604679,
-0.04783356562256813,
0.09097465872764587,
0.050636012107133865,
-0.021457483991980553,
0.005481049418449402,
-0.02012581378221512,
-0.05891434848308563,
0.037116631865501404,
-0.0015854457160457969,
-0.2552051246166229,
-0.01832173392176628,
0.02917921543121338,
0.03080357424914837,
-0.028845207765698433,
0.011792617850005627,
0.0025116796605288982,
-0.003836478805169463,
0.0003232800809200853,
0.016986077651381493,
0.05323634669184685,
0.00018077240383718163,
0.0033023199066519737,
-0.0027633276768028736,
0.03730136528611183,
-0.025949547067284584,
0.017205046489834785,
0.028907328844070435,
0.02158520184457302,
-0.009268497116863728,
-0.017812183126807213,
-0.02468583546578884,
0.113522008061409,
0.026470493525266647,
0.033211082220077515,
-0.011592931114137173,
-0.010167949832975864,
0.0010015107691287994,
0.00316226901486516,
-0.04056320711970329,
0.018583791330456734,
-0.023677794262766838,
0.03582558408379555,
-0.007566500920802355,
-0.0020254787523299456,
-0.07577367126941681,
-0.029949424788355827,
0.01815122365951538,
0.04084153100848198,
-0.007062400691211224,
0.020652886480093002,
0.01452322956174612,
-0.032506003975868225,
0.025320885702967644,
0.07170839607715607,
-0.01421158667653799,
-0.009547337889671326,
-0.027224436402320862,
-0.01535602007061243,
-0.026239493861794472,
-0.03758116066455841,
-0.017834359779953957,
0.013807233422994614,
0.020914679393172264,
0.01364892814308405,
0.055361904203891754,
-0.007492891978472471,
-0.0670664981007576,
-0.002371431328356266,
-0.015845874324440956,
-0.030619410797953606,
-0.014048581942915916,
0.06381961703300476,
-0.008328631520271301,
0.02523988112807274
] | [
0.02672806940972805,
0.004363493528217077,
0.03494236618280411,
0.020486725494265556,
-0.007719323970377445,
-0.013154763728380203,
-0.01728031598031521,
-0.03548671677708626,
0.008752246387302876,
-0.0024071058724075556,
-0.011057035997509956,
-0.018947256729006767,
0.0285278782248497,
0.012856443412601948,
0.027980830520391464,
-0.008765282109379768,
0.005837496370077133,
-0.0036218538880348206,
0.04524918645620346,
0.017980128526687622,
-0.04585923254489899,
0.04064897820353508,
0.011069807223975658,
-0.02332143299281597,
-0.0026163922157138586,
0.017944173887372017,
0.02040446177124977,
0.0006890824879519641,
0.032805003225803375,
-0.12920928001403809,
-0.016669580712914467,
-0.009553352370858192,
-0.009525380097329617,
0.02114451304078102,
0.005090567283332348,
-0.016049258410930634,
0.009932010434567928,
0.06211163103580475,
0.023154284805059433,
-0.011317766271531582,
-0.0005785858957096934,
-0.02999752201139927,
0.03327259048819542,
-0.009245060384273529,
-0.016721369698643684,
-0.006684119813144207,
-0.00030978626455180347,
-0.029629260301589966,
-0.022881921380758286,
-0.03291364014148712,
-0.030020633712410927,
0.0046542249619960785,
-0.029280683025717735,
0.01124544907361269,
0.02148335799574852,
-0.02039305865764618,
0.028115030378103256,
0.024941079318523407,
0.006489155348390341,
0.008052061311900616,
0.01699105277657509,
-0.027495838701725006,
-0.056185897439718246,
-0.020085416734218597,
-0.004355414304882288,
0.00431860750541091,
-0.024565471336245537,
-0.0014924068236723542,
-0.01882602460682392,
0.019918132573366165,
-0.04501083493232727,
0.013244778849184513,
-0.017860794439911842,
-0.04132336750626564,
0.0064392006024718285,
0.012731890194118023,
-0.02042541094124317,
-0.017418283969163895,
0.003625692566856742,
0.004244593437761068,
-0.00901934877038002,
0.03348146751523018,
0.0017692834371700883,
0.008597464300692081,
-0.013044176623225212,
-0.0191559586673975,
0.0380980409681797,
0.005514212884008884,
0.007724766153842211,
0.005159434396773577,
-0.013196486048400402,
0.028044510632753372,
-0.004335430450737476,
0.016669288277626038,
-0.09056172519922256,
-0.024373361840844154,
-0.022696062922477722,
-0.004194853827357292,
-0.003522691549733281,
0.8686885237693787,
-0.025715157389640808,
0.0019060474587604403,
0.013726945035159588,
0.023967694491147995,
-0.018674170598387718,
-0.030468957498669624,
-0.021220169961452484,
-0.03388270363211632,
-0.012621236965060234,
-0.019162440672516823,
-0.026601223275065422,
0.008247636258602142,
0.009438366629183292,
0.025420628488063812,
0.03235422447323799,
0.012120087631046772,
0.025202922523021698,
0.007833003997802734,
-0.02048206701874733,
0.001558358664624393,
0.03812626749277115,
-0.01119125634431839,
0.013255138881504536,
-0.014327085576951504,
0.0014761349884793162,
-0.15773804485797882,
0.02121763303875923,
-7.698401400295442e-33,
0.033825065940618515,
0.001882133074104786,
0.02522554248571396,
-0.011355827562510967,
-0.010084251873195171,
-0.031100157648324966,
0.0006408293847925961,
0.009924073703587055,
0.009090503677725792,
-0.025259632617235184,
0.010351408272981644,
-0.0027680196799337864,
0.021454351022839546,
-0.007218423765152693,
0.005951289087533951,
-0.01331328134983778,
0.0062597645446658134,
0.03147931024432182,
-0.021410413086414337,
0.02745641954243183,
0.033720385283231735,
0.0010768657084554434,
-0.008012748323380947,
0.028265492990612984,
0.018253609538078308,
-0.025227945297956467,
0.04899696260690689,
0.003613263601437211,
0.002588527975603938,
-0.04919344186782837,
-0.015610123984515667,
0.00938822329044342,
-0.02051646262407303,
-0.00831731129437685,
-0.03501661494374275,
-0.039428893476724625,
-0.011238200590014458,
0.01669827662408352,
0.0031832221429795027,
-0.0701405480504036,
-0.03141096234321594,
0.01438663899898529,
-0.028469717130064964,
-0.0006195512250997126,
-0.007109086960554123,
-0.0017123353900387883,
-0.006866552401334047,
0.0056906347163021564,
-0.01395132951438427,
0.02068348228931427,
-0.00739786121994257,
0.023503893986344337,
-0.029522186145186424,
0.049043718725442886,
0.015739805996418,
-0.0031323230359703302,
0.016897017136216164,
0.018791183829307556,
-0.01130144763737917,
0.009235144592821598,
0.00336396018974483,
-0.0078333904966712,
-0.021736280992627144,
0.012613817118108273,
0.005625733640044928,
0.001858807634562254,
0.0007330552325583994,
-0.005329528357833624,
0.012953189201653004,
-0.010591128841042519,
-0.0287486482411623,
0.012343144044280052,
-0.0005938906688243151,
0.0038302019238471985,
-0.01567915827035904,
0.013322464190423489,
-0.020272642374038696,
0.03899342939257622,
-0.0000018820895775206736,
0.04211708530783653,
-0.03239702060818672,
0.038753438740968704,
-0.011572626419365406,
-0.037955015897750854,
-0.0026484732516109943,
-0.010080844163894653,
0.0005739620537497103,
-0.01275565754622221,
0.002240033121779561,
0.02395656332373619,
0.010468597523868084,
0.005617239978164434,
0.02256944589316845,
-0.0015815446386113763,
-0.05666080862283707,
8.086857467520083e-33,
0.014787020161747932,
-0.028548795729875565,
-0.03184240311384201,
-0.013727176934480667,
0.025898760184645653,
0.021192876622080803,
0.0022900174371898174,
0.015209263190627098,
-0.050594113767147064,
0.020664580166339874,
-0.034047696739435196,
0.011113501153886318,
0.011484775692224503,
0.0346730500459671,
0.0421309769153595,
-0.013854173943400383,
0.03396715223789215,
-0.023735929280519485,
-0.0022994738537818193,
0.022825157269835472,
0.01869865506887436,
0.0007717590779066086,
0.014524578116834164,
0.022928357124328613,
-0.001605403725989163,
0.05451745539903641,
0.0088027473539114,
0.010431356728076935,
-0.0063359919004142284,
-0.009529449976980686,
-0.0016719227423891425,
0.037480078637599945,
-0.0009860582649707794,
-0.015673117712140083,
-0.00020182084699627012,
0.028509797528386116,
0.005558406002819538,
-0.015444155782461166,
-0.04234287142753601,
0.025925636291503906,
-0.024098601192235947,
0.04619293659925461,
0.0014966292073950171,
-0.0013297382974997163,
0.01935393735766411,
-0.008568434044718742,
-0.010034952312707901,
-0.024590283632278442,
-0.028922785073518753,
-0.0025632719043642282,
-0.0010788225336000323,
0.02733343094587326,
-0.0017703507328405976,
-0.01280276570469141,
0.01576411724090576,
-0.005914631765335798,
-0.016250714659690857,
-0.005946272052824497,
-0.01187308318912983,
0.006019787397235632,
-0.0056958068162202835,
-0.013657428324222565,
-0.016018476337194443,
-0.017139235511422157,
-0.03331701084971428,
0.011602605693042278,
0.0029190939385443926,
-0.005088863894343376,
0.004900978412479162,
0.013414476998150349,
0.001871057553216815,
-0.018198750913143158,
-0.007912875153124332,
0.034676168113946915,
0.027870355173945427,
-0.021691201254725456,
-0.03295504301786423,
0.000369283341569826,
-0.01438621710985899,
0.017882930114865303,
0.01936231181025505,
0.029973840340971947,
0.005745825357735157,
-0.0030536737758666277,
0.009286953136324883,
0.04969555512070656,
-0.03358001634478569,
0.03189339488744736,
0.032008424401283264,
0.004945431835949421,
-0.00856857094913721,
-0.019119583070278168,
-0.042380139231681824,
0.009123781695961952,
0.010750433430075645,
-1.3745990123936735e-8,
-0.01701953262090683,
-0.02835911326110363,
0.0005604844773188233,
0.017125744372606277,
-0.007607299368828535,
-0.019933274015784264,
0.001306131947785616,
-0.0024508261121809483,
0.004498785827308893,
0.020369596779346466,
0.03620374575257301,
-0.050751980394124985,
0.010423551313579082,
0.04048581421375275,
0.02448105439543724,
-0.033230431377887726,
0.011441357433795929,
-0.0007282445440068841,
0.029832977801561356,
0.007271754089742899,
0.04174259677529335,
0.04156313091516495,
-0.0266072079539299,
0.025937432423233986,
0.022324202582240105,
0.002826640848070383,
-0.04150338098406792,
-0.08850865066051483,
-0.01540529914200306,
0.01486364658921957,
0.01219980139285326,
-0.031002702191472054,
-0.03893999010324478,
-0.009694655425846577,
-0.03184187039732933,
-0.01828763261437416,
0.042500849813222885,
-0.003015153808519244,
0.015360282734036446,
0.014151503331959248,
-0.011625997722148895,
-0.019354835152626038,
-0.011178690008819103,
-0.02574313059449196,
-0.019362730905413628,
0.033547934144735336,
-0.036678243428468704,
-0.032032258808612823,
-0.0325608067214489,
-0.031509749591350555,
0.006930294446647167,
-0.023111501708626747,
0.01672922447323799,
0.0342625267803669,
0.005597705952823162,
0.0028011093381792307,
-0.015472453087568283,
0.020207032561302185,
-0.011593492701649666,
-0.002410763641819358,
0.007288607768714428,
0.04300827160477638,
-0.01920359581708908,
-0.024412229657173157
] | india-cultural-differences-tolerancepatience | https://markhneedham.com/blog/2010/12/15/india-cultural-differences-tolerancepatience |
false | 2010-12-12 08:11:31 | Distributed Agile: Other observations | [
"distributed-agile-2"
] | [
"Distributed Agile"
] | Some of the difficulties of working in an offshore environment were clear to me before I even came to India but I've come across a few others lately which I either didn't think about before or didn't realise how annoying they were!
== Getting data from the client's network
For several of the stories that we've been working on lately we needed to make use of huge amounts of reference data residing on the client's network.
If we were working in the same building then it would be very quick to download that and use it for whatever we needed.
Working offshore we've been downloading those dumps via scp which can take around 5 hours for a 300 MB file.
I don't know a lot about networks but I'm told that it would be possible to create a direct VPN between our office and the client's which would allow the transfer of this type of data to be much quicker.
== Dealing with internal IP addresses
Since we're working on a different network any IP addresses for test environments of external systems aren't directly accessible.
We have a box setup in our office connected via a VPN to the client's network which forwards requests we make to local IP addresses to the equivalent IPs on the client's network.
There have been several occasions when there have been internal IP addresses hard coded in our configuration files and we've completely forgotten that we need to create an equivalent local address.
It's not a big time waster but it's something you wouldn't have to think about if working in the client's office.
== Slowness of the feedback cycle
It's obvious that if the client is in a different country to you that there will be less face to face communication but I didn't realise how frustrating that would be.
If you have an observation about a piece of functionality and the offshore BAs don't have the answer then you'll most likely have to wait 5/6 hours to speak to someone onshore about it or write your thoughts in an email.
While both of those are viable options I find my motivation to express my opinion is much lower if I can't get feedback straight away.
As a result of this communication lag I think that we spend more time building functionality which doesn't necessarily add a lot of value. | null | null | [
0.0318269282579422,
-0.013286998495459557,
0.00300878519192338,
0.05638756603002548,
0.0954098105430603,
0.0024059265851974487,
-0.011161132715642452,
0.04720790311694145,
0.015744134783744812,
-0.017413562163710594,
-0.0018404275178909302,
0.0022508518304675817,
-0.06689571589231491,
0.02891683578491211,
-0.022063255310058594,
0.07106896489858627,
0.06165464594960213,
-0.003006142331287265,
0.02360837534070015,
0.004214162938296795,
0.008047164417803288,
0.05780036374926567,
0.02682526223361492,
0.03205069899559021,
0.02596038021147251,
0.0012165727093815804,
-0.025112787261605263,
0.012487917207181454,
-0.05406989902257919,
-0.01448632963001728,
0.05422883853316307,
-0.036489877849817276,
-0.0071168518625199795,
0.02423667535185814,
0.018004868179559708,
-0.023672834038734436,
-0.018738500773906708,
0.017964573577046394,
-0.024074887856841087,
-0.012156740762293339,
-0.0595916286110878,
0.03957499563694,
-0.009376662783324718,
0.007898355834186077,
-0.03887208178639412,
-0.018066784366965294,
-0.007977191358804703,
0.024117492139339447,
0.0065377624705433846,
0.012689768336713314,
-0.0658021792769432,
0.03411296010017395,
-0.023999392986297607,
-0.0013751916121691465,
0.01918388158082962,
0.05155736207962036,
0.0061033545061945915,
-0.07064476609230042,
0.020963402464985847,
-0.04135407507419586,
0.01941194199025631,
-0.03228489309549332,
0.015589368529617786,
0.018073007464408875,
0.038686200976371765,
-0.016502847895026207,
0.025384338572621346,
0.03283809497952461,
-0.020099204033613205,
0.014890790916979313,
-0.0003831998910754919,
-0.012725291773676872,
-0.023025386035442352,
-0.01564323902130127,
0.004412841517478228,
-0.03879116103053093,
0.0042394301854074,
0.03207490220665932,
0.024413777515292168,
0.06407486647367477,
-0.03469521924853325,
0.01433986984193325,
-0.014012472704052925,
0.008740948513150215,
0.024635018780827522,
-0.058163393288850784,
0.0011760269990190864,
-0.006762108765542507,
-0.06271187961101532,
0.05147218331694603,
0.04755279794335365,
-0.02721274457871914,
0.021060531958937645,
0.00660423468798399,
0.009623872116208076,
-0.019774243235588074,
0.016849355772137642,
0.003357337322086096,
-0.004223312251269817,
-0.014326849952340126,
-0.018365200608968735,
0.0047321924939751625,
-0.022157009690999985,
0.0142403868958354,
-0.061237119138240814,
-0.00776936300098896,
-0.0034135556779801846,
-0.008441586047410965,
-0.00015073534450493753,
0.021861162036657333,
-0.0264614075422287,
0.008464147336781025,
-0.0014737851452082396,
0.00559264374896884,
-0.08715283870697021,
0.061960503458976746,
0.02196149341762066,
-0.05559045821428299,
-0.02462938241660595,
-0.018739929422736168,
0.038849618285894394,
0.0227226410061121,
-0.01664620079100132,
0.05930913984775543,
0.016179397702217102,
-0.016183774918317795,
-0.034690555185079575,
0.04922652244567871,
-0.008083115331828594,
-0.0660780668258667,
-0.01118526328355074,
0.05885203555226326,
-0.015721213072538376,
0.024187898263335228,
0.005175411235541105,
-0.043743379414081573,
0.0033884476870298386,
0.0033515633549541235,
0.05146721377968788,
0.011372658424079418,
-0.00625883974134922,
-0.03317462280392647,
0.011795771308243275,
0.016956118866801262,
0.03602295368909836,
0.014048710465431213,
-0.0160153117030859,
-0.0520256869494915,
-0.03353181481361389,
-0.02838062308728695,
-0.01645137555897236,
0.016915850341320038,
0.0407334566116333,
-0.04320605471730232,
0.0031491704285144806,
0.09640529751777649,
0.05772867798805237,
0.01180952787399292,
-0.032486237585544586,
-0.002018883591517806,
0.01897667534649372,
0.018647538498044014,
0.00464027002453804,
0.02755032666027546,
0.010693431831896305,
-0.017516551539301872,
0.006522160489112139,
0.03881097212433815,
0.006366178393363953,
0.043222926557064056,
-0.06794489920139313,
-0.02014343813061714,
0.07565785199403763,
-0.049756646156311035,
-0.039702676236629486,
0.04251708835363388,
0.06954288482666016,
0.04675915092229843,
0.005832355003803968,
-0.006301789078861475,
-0.0803733840584755,
0.0530579499900341,
0.003531777998432517,
0.025425530970096588,
0.011613721027970314,
-0.01256406307220459,
0.06510621309280396,
0.03659873083233833,
-0.033577702939510345,
0.05871756747364998,
-0.052744925022125244,
-0.07826725393533707,
-0.009462589398026466,
0.0010767527855932713,
0.03702020272612572,
-0.0513559952378273,
0.012674837373197079,
0.09179461747407913,
0.013945674523711205,
0.05668533965945244,
0.01481788232922554,
0.01040725875645876,
0.028997711837291718,
-0.06060158833861351,
-0.0665939673781395,
0.06388090550899506,
0.019186081364750862,
0.010061178356409073,
-0.017426973208785057,
0.00658861780539155,
-0.02049115113914013,
-0.020749490708112717,
0.03687223792076111,
-0.015054463408887386,
0.02237848751246929,
0.006929404102265835,
0.030079705640673637,
-0.029388513416051865,
0.05246487632393837,
-0.03137023374438286,
0.026020532473921776,
0.017078353092074394,
-0.02008334919810295,
0.0434926301240921,
-0.006924465298652649,
0.11208336800336838,
0.05931080877780914,
-0.03607086092233658,
-0.05463763698935509,
0.032217301428318024,
0.007865892723202705,
-0.07170446962118149,
0.010746747255325317,
-0.015442348085343838,
0.014786631800234318,
0.034065742045640945,
-0.07982145249843597,
-0.036045581102371216,
0.022638505324721336,
-0.025791391730308533,
0.006416711490601301,
0.050267528742551804,
-0.006000998895615339,
0.06394220143556595,
0.005976432003080845,
-0.003662613919004798,
-0.013107203878462315,
-0.02421940304338932,
-0.025352418422698975,
0.01588640734553337,
0.006118115969002247,
0.0005523907602764666,
0.04076441004872322,
-0.018254371359944344,
0.010938562452793121,
-0.04413444176316261,
-0.01789543405175209,
0.032061655074357986,
0.04236249625682831,
0.04977404326200485,
-0.030867593362927437,
0.07847735285758972,
0.0012376417871564627,
0.03562355041503906,
-0.018002241849899292,
-0.05478423088788986,
-0.037446342408657074,
-0.035660143941640854,
0.003385288640856743,
0.015133000910282135,
0.04132944718003273,
-0.006245433818548918,
-0.001896032365038991,
0.0222019050270319,
0.02265881560742855,
-0.0281638465821743,
0.022105826064944267,
-0.0262642540037632,
-0.0015972208930179477,
-0.03953741863369942,
-0.011124171316623688,
0.05148237571120262,
-0.0379871241748333,
-0.02736576274037361,
0.025591978803277016,
-0.08753370493650436,
0.00657276064157486,
-0.09205713123083115,
-0.04501105099916458,
-0.025029171258211136,
0.020733876153826714,
0.018235743045806885,
0.014651758596301079,
0.01845719665288925,
0.07190083712339401,
0.013833590783178806,
0.0022037841845303774,
0.009110341779887676,
0.010512876324355602,
0.028145652264356613,
0.011977680958807468,
-0.01101992279291153,
0.01013270765542984,
-0.027104219421744347,
-0.02776782400906086,
-0.05448621138930321,
0.03952225670218468,
-0.0557316392660141,
-0.2916940450668335,
0.04675959050655365,
0.03584319353103638,
-0.03382502496242523,
0.029051387682557106,
-0.024421367794275284,
0.03893473744392395,
-0.050392601639032364,
-0.03869756683707237,
0.005143553949892521,
-0.031160565093159676,
-0.05278009548783302,
-0.0007122958195395768,
0.05020570009946823,
0.007869276218116283,
0.03333451226353645,
0.008340480737388134,
-0.04243467375636101,
0.02679033763706684,
0.015668094158172607,
-0.03545430675148964,
-0.0568537637591362,
0.012906156480312347,
0.0216305460780859,
0.04649543762207031,
0.07385677099227905,
-0.06540358066558838,
0.01864001154899597,
-0.06245482712984085,
0.0028838287107646465,
-0.0009546397486701608,
-0.010885262861847878,
0.026164576411247253,
-0.016398638486862183,
-0.007031160406768322,
-0.03284255415201187,
0.053131140768527985,
0.019784357398748398,
0.010330826975405216,
-0.008983525447547436,
-0.05718940496444702,
-0.03381618484854698,
-0.016531137749552727,
0.020399993285536766,
0.0662870854139328,
-0.01503081526607275,
-0.056018851697444916,
-0.01557300053536892,
0.005141932051628828,
0.08571603149175644,
-0.03008970618247986,
-0.023679273203015327,
-0.04205792397260666,
0.02906717360019684,
-0.04683608561754227,
-0.004603214096277952,
-0.020342903211712837,
0.0005764813395217061,
-0.05922004207968712,
-0.04057130962610245,
-0.0053785331547260284,
-0.026981445029377937,
-0.020880285650491714,
-0.04284068942070007,
0.010082586668431759,
-0.04670459032058716,
-0.06890448182821274,
-0.04610191285610199,
0.08916265517473221,
0.009237963706254959,
-0.0369616337120533,
0.013190500438213348,
0.011700381524860859,
-0.10033555328845978,
0.002371043898165226,
-0.021137675270438194,
-0.039690591394901276,
0.011865044012665749,
0.01641164720058441,
0.03648751601576805,
-0.005882702302187681,
-0.036263611167669296,
0.009066122584044933,
0.001097082276828587,
0.01610873080790043,
-0.03932696580886841,
0.037921734154224396,
0.012596729211509228,
-0.01983531005680561,
0.005983341485261917,
0.06079956144094467,
-0.003995871637016535,
-0.008013333193957806,
-0.031999316066503525,
0.007451011799275875,
0.018847916275262833,
-0.006690132897347212,
-0.01899273879826069,
-0.013631047680974007,
0.002789509017020464,
0.0062625836580991745,
-0.04849325492978096,
0.0025745145976543427,
-0.05732997879385948,
0.010542050004005432,
-0.02264358475804329,
-0.023519225418567657,
0.0583161897957325,
0.007532918360084295,
0.03589128330349922,
0.012047313153743744,
-0.01133708655834198,
0.00890903640538454,
-0.04613031819462776,
-0.04370366036891937,
0.0036355440970510244,
0.004227353725582361,
0.0415811724960804,
0.024961136281490326,
-0.029114333912730217,
-0.010134079493582249,
0.030746230855584145,
0.047118429094552994,
-0.002169562503695488,
-0.053002066910266876,
-0.02569097839295864,
-0.021413609385490417,
-0.013675142079591751,
0.004998620133846998,
0.007520783692598343,
-0.03452490270137787,
0.02776935137808323,
0.03480986878275871,
-0.034598976373672485,
0.01671990379691124,
-0.013285668566823006,
-0.0678202286362648,
-0.037105534225702286,
0.005809922236949205,
0.026484325528144836,
-0.01750137098133564,
0.035076748579740524,
0.012042076326906681,
0.04250315576791763,
0.04934373497962952,
0.02337571792304516,
0.020930923521518707,
-0.015978088602423668,
0.036724165081977844,
0.00435901852324605,
-0.00308422464877367,
-0.08691419661045074,
0.0061597684398293495,
-0.033209189772605896,
-0.044174570590257645,
-0.015485435724258423,
0.041211165487766266,
-0.020463556051254272,
-0.056060194969177246,
-0.0088286017999053,
0.02483941800892353,
-0.06427694857120514,
-0.03073880262672901,
-0.007926180958747864,
0.020821968093514442,
0.05559399351477623,
-0.016011273488402367,
0.012452354654669762,
0.0010484958766028285,
-0.0049733310006558895,
0.01992940343916416,
0.040394529700279236,
-0.04901696369051933,
-0.011874530464410782,
0.008961651474237442,
0.010474329814314842,
-0.01142587698996067,
-0.00473880534991622,
0.07153845578432083,
0.028257504105567932,
0.007659444585442543,
-0.015224321745336056,
-0.0031961353961378336,
0.023831799626350403,
0.06126176938414574,
0.011978148482739925,
-0.001777266152203083,
0.0021222811192274094,
0.0013476077001541853,
0.0004419094475451857,
-0.026235155761241913,
0.002853186335414648,
-0.008302344009280205,
0.02808784879744053,
-0.006663179956376553,
-0.07458528876304626,
0.06167519837617874,
0.0446602962911129,
-0.005032305605709553,
0.042436130344867706,
-0.0035140032414346933,
-0.01694970764219761,
-0.018278194591403008,
0.019690968096256256,
0.03109678626060486,
-0.03827674314379692,
-0.00625134352594614,
-0.004072363488376141,
0.019268615171313286,
0.01149870827794075,
-0.0022155214101076126,
-0.014421837404370308,
-0.04957159608602524,
-0.010701931081712246,
0.03154746815562248,
-0.04507889226078987,
-0.03677600994706154,
-0.023439092561602592,
0.027771899476647377,
-0.01286726538091898,
-0.007418385241180658,
-0.020932789891958237,
-0.021677671000361443,
-0.011354029178619385,
-0.04135247692465782,
0.037496019154787064,
-0.037188343703746796,
0.00402624998241663,
-0.0008771474240347743,
0.0038852468132972717,
-0.023221777752041817,
-0.046935636550188065,
0.03302454575896263,
0.030755165964365005,
-0.018143728375434875,
0.0014718363527208567,
-0.03052392415702343,
0.010497582145035267,
-0.011750810779631138,
0.05113067105412483,
-0.010556600987911224,
-0.01880098320543766,
-0.02062087692320347,
-0.008838393725454807,
-0.04373694211244583,
0.026600774377584457,
-0.017212674021720886,
0.00461757555603981,
0.012280336581170559,
0.05804944783449173,
0.011769171804189682,
0.01754460111260414,
-0.016157714650034904,
-0.03147874027490616,
0.04310057312250137,
-0.0700107291340828,
-0.017859026789665222,
-0.0194861963391304,
-0.05140688270330429,
0.020405422896146774,
0.007147523574531078,
-0.020201299339532852,
-0.04849155992269516,
0.03067832440137863,
0.04711781069636345,
0.016949480399489403,
0.03520580753684044,
0.020566387102007866,
0.029072416946291924,
-0.03984261676669121,
-0.010270781815052032,
-0.06982076168060303,
0.024245591834187508,
0.008382067084312439,
-0.018495067954063416,
0.004979521036148071,
0.02544478513300419,
-0.023951396346092224,
0.04137780889868736,
-0.08806926012039185,
-0.029152486473321915,
0.03965479135513306,
0.01280984003096819,
-0.036464545875787735,
-0.008941404521465302,
-0.08196853846311569,
0.022002827376127243,
0.03046831116080284,
-0.04792463406920433,
-0.013461030088365078,
-0.004067658446729183,
0.05362694337964058,
0.007599740754812956,
0.031717609614133835,
-0.04168808087706566,
-0.012039557099342346,
0.061148498207330704,
0.01532900519669056,
-0.04204883798956871,
0.044975753873586655,
-0.017481571063399315,
0.031040530651807785,
0.01385850552469492,
-0.03796861320734024,
-0.0071538579650223255,
0.007666942663490772,
-0.02254149504005909,
-0.05250847339630127,
0.046142324805259705,
-0.015358367934823036,
-0.027526605874300003,
-0.049077920615673065,
0.052335891872644424,
0.0016089684795588255,
-0.009864660911262035,
-0.07944291830062866,
0.03553531691431999,
-0.04104075953364372,
-0.031060166656970978,
-0.018999537453055382,
-0.0158174317330122,
-0.04037942364811897,
0.036361463367938995,
-0.010648460127413273,
0.015881605446338654,
0.09357042610645294,
-0.004265013616532087,
0.0016563910758122802,
0.009030494838953018,
0.08121007680892944,
0.0755046084523201,
0.052061278373003006,
-0.0035476170014590025,
0.06260698288679123,
0.002905242843553424,
-0.03506757318973541,
-0.014767708256840706,
-0.01904471032321453,
-0.02808952145278454,
0.00013751265942119062,
0.02146170474588871,
0.06672701239585876,
-0.0066217477433383465,
0.06579312682151794,
-0.012338087894022465,
0.007050810847431421,
0.02798023633658886,
0.02357148565351963,
0.02782317064702511,
0.054789382964372635,
0.03052334114909172,
0.014791218563914299,
0.012053994461894035,
-0.03983817994594574,
0.01713407039642334,
-0.01842525228857994,
-0.05390552058815956,
0.026655348017811775,
-0.011964638717472553,
0.01451114472001791,
0.02425207756459713,
0.020649783313274384,
0.05425306409597397,
-0.042374733835458755,
0.01852208934724331,
-0.010676555335521698,
0.045818377286195755,
-0.009971396066248417,
0.03614747151732445,
-0.005469589028507471,
0.018262682482600212,
-0.008550393395125866,
-0.032894883304834366,
-0.02872062847018242,
-0.01314630638808012,
0.002600830513983965,
0.013499476946890354,
-0.018126536160707474,
0.005617242772132158,
0.016845986247062683,
-0.017072636634111404,
-0.02581845596432686,
-0.062444739043712616,
-0.04955396428704262,
-0.03475147858262062,
-0.05047008395195007,
-0.03901510313153267,
-0.006431251764297485,
-0.015606425702571869,
-0.021969923749566078,
-0.014827425591647625,
-0.024997998028993607,
-0.0503755658864975,
0.06060149520635605,
-0.048067204654216766,
-0.021818721666932106,
0.01707392930984497,
0.0037970261182636023,
0.026382023468613625,
0.006043731234967709,
0.0577738881111145,
-0.029473114758729935,
-0.003755004843696952,
-0.015162200666964054,
0.01030953973531723,
0.02636583335697651,
-0.02614002674818039,
-0.004140833858400583,
-0.09156948328018188,
0.01196836493909359,
0.037650275975465775,
0.002371633891016245,
-0.07129611819982529,
0.021646220237016678,
0.034999437630176544,
0.004501592367887497,
0.06775733828544617,
-0.021236704662442207,
-0.0038262924645096064,
-0.03544263914227486,
-0.005034429486840963,
-0.03009627014398575,
-0.0017447089776396751,
0.057310692965984344,
0.001329443184658885,
0.07703275978565216,
0.04102561995387077,
-0.024521511048078537,
-0.03276080638170242,
-0.0000829041819088161,
0.0006147929816506803,
0.005805636756122112,
-0.022038085386157036,
-0.013435865752398968,
-0.020328355953097343,
-0.06888192147016525,
-0.05145685374736786,
0.01194753684103489,
-0.027961743995547295,
-0.03342640772461891,
0.03284468501806259,
0.011332863941788673,
-0.02040700800716877,
-0.013271491043269634,
-0.033897820860147476,
0.007655945606529713,
-0.019411904737353325,
-0.017928197979927063,
-0.015812018886208534,
0.042946066707372665,
0.0035013649612665176,
-0.025037335231900215,
0.04676760733127594,
-0.052144985646009445,
0.009990126825869083,
-0.004632533527910709,
0.03486509621143341,
0.059202227741479874,
0.0075490581803023815,
0.004857716616243124
] | [
-0.06406381726264954,
-0.006319827400147915,
-0.024156218394637108,
-0.04708697646856308,
0.05681300535798073,
-0.04558717831969261,
0.00047329251538030803,
0.002426253166049719,
-0.01275703776627779,
-0.01767561212182045,
0.0004570133751258254,
-0.010911599732935429,
0.02074037306010723,
-0.0062882243655622005,
0.07148990035057068,
-0.0036230934783816338,
0.009432021528482437,
-0.1328444480895996,
0.020041650161147118,
0.0794261023402214,
-0.004178999457508326,
-0.029377508908510208,
-0.04101341590285301,
-0.012135324068367481,
0.0071668182499706745,
-0.017734277993440628,
0.058984898030757904,
0.004711972549557686,
0.009019369259476662,
-0.15256544947624207,
0.02458079531788826,
-0.004031037911772728,
-0.01741682179272175,
0.02363456040620804,
0.0010190026368945837,
0.01398825366050005,
0.01122012734413147,
-0.005224418360739946,
0.017932599410414696,
0.034880369901657104,
0.030637316405773163,
0.029731614515185356,
-0.029880734160542488,
-0.032254576683044434,
0.02308988757431507,
-0.011643588542938232,
0.02193034254014492,
0.006136971525847912,
-0.0025894304271787405,
0.0010796496644616127,
-0.05145934969186783,
-0.008743313141167164,
0.0010128532303497195,
-0.02892095409333706,
-0.010431671515107155,
-0.007403252180665731,
0.05318061634898186,
0.04614642634987831,
-0.013322166167199612,
0.031798362731933594,
0.029754383489489555,
0.002999234711751342,
-0.14625237882137299,
0.10208933800458908,
0.04207312688231468,
0.034228697419166565,
-0.02211817353963852,
0.012528430670499802,
-0.03857245296239853,
0.052478767931461334,
-0.008038109168410301,
-0.004721358884125948,
-0.05959222465753555,
0.03797979652881622,
0.020503653213381767,
0.017567232251167297,
-0.022257812321186066,
0.062132373452186584,
-0.003441843669861555,
-0.027488619089126587,
0.005179094150662422,
-0.0008947055321186781,
-0.02087610587477684,
-0.0072326986119151115,
-0.05246893689036369,
0.010558956302702427,
0.0013651949120685458,
0.06302707642316818,
0.027045367285609245,
0.02118731662631035,
0.025984203442931175,
0.015314310789108276,
0.023759208619594574,
0.00229666824452579,
-0.07228562980890274,
-0.03584619238972664,
0.0011957226088270545,
0.0517110638320446,
-0.08293129503726959,
0.43122535943984985,
-0.0024308515712618828,
-0.027415135875344276,
0.0708373412489891,
0.003834968665614724,
-0.008678991347551346,
0.024197693914175034,
0.0016617145156487823,
-0.03069750778377056,
0.02628062106668949,
0.0014280625618994236,
-0.006703565828502178,
0.02315947599709034,
0.036715317517519,
-0.0449393130838871,
0.011672819033265114,
0.0406714528799057,
0.016197677701711655,
0.03202670067548752,
-0.028082869946956635,
-0.018507687374949455,
-0.055103860795497894,
0.012736277654767036,
0.017076067626476288,
0.02503371052443981,
-0.013723162934184074,
-0.044892679899930954,
0.0559079572558403,
0.025870801880955696,
0.027956323698163033,
0.03733516484498978,
0.03314472734928131,
-0.09180115908384323,
-0.046790171414613724,
0.016900457441806793,
0.008714510127902031,
0.005460468120872974,
0.01945534348487854,
-0.024390490725636482,
-0.02429683692753315,
0.04247197136282921,
0.009189333766698837,
-0.010979359038174152,
0.02917998656630516,
-0.02030014619231224,
0.0004037225735373795,
0.11498939245939255,
0.0407981351017952,
-0.029093295335769653,
-0.014444014057517052,
-0.06688688695430756,
0.005794063210487366,
0.04004450514912605,
0.0011687126243487,
-0.07022140175104141,
0.028290342539548874,
-0.0021484619937837124,
0.08368349820375443,
-0.0007205007132142782,
-0.05033149570226669,
-0.014158274978399277,
0.006778126582503319,
-0.035054463893175125,
-0.053450457751750946,
0.06884893774986267,
0.06816782057285309,
-0.13784590363502502,
-0.0413832925260067,
0.0073119113221764565,
0.0001062207156792283,
-0.06521576642990112,
-0.02726656384766102,
0.006322973873466253,
0.010412477888166904,
-0.0127492044121027,
0.031094001606106758,
-0.05162113159894943,
-0.05133112892508507,
0.017393389716744423,
0.005394100211560726,
0.016810186207294464,
-0.010387646965682507,
0.013732495717704296,
-0.006916272919625044,
0.001718304236419499,
-0.033469606190919876,
-0.09170395880937576,
-0.05934758484363556,
0.016947470605373383,
-0.03510238975286484,
-0.012228948064148426,
-0.09527157247066498,
-0.055212367326021194,
-0.12175403535366058,
0.11277402937412262,
-0.007100796792656183,
-0.030696868896484375,
-0.014173204079270363,
-0.026255544275045395,
0.001988520147278905,
-0.008186979219317436,
0.024375488981604576,
0.03327010199427605,
-0.01954573206603527,
0.014553199522197247,
-0.06569183617830276,
0.06630955636501312,
0.07101871818304062,
-0.03763321042060852,
0.033560626208782196,
0.04999411478638649,
0.004405961837619543,
-0.011112193576991558,
0.043815914541482925,
0.007458402309566736,
0.017932482063770294,
-0.034286003559827805,
0.020848756656050682,
0.05827239900827408,
0.017970461398363113,
0.028148381039500237,
-0.0055158259347081184,
0.0035096644423902035,
0.016900289803743362,
-0.34451812505722046,
-0.041125889867544174,
-0.0487535186111927,
0.014283495023846626,
0.06171021983027458,
-0.05509933829307556,
0.026256540790200233,
0.00640528742223978,
0.011944101192057133,
0.010294076055288315,
0.08804099261760712,
-0.020009884610772133,
0.030182570219039917,
-0.03641638904809952,
0.0051087974570691586,
0.004984845407307148,
-0.028244758024811745,
0.018454672768712044,
-0.024925800040364265,
-0.00004186776277492754,
-0.013838158920407295,
0.01202560868114233,
-0.049162592738866806,
-0.024843353778123856,
0.026935629546642303,
-0.03233828395605087,
0.11043619364500046,
-0.0721629187464714,
0.06634785979986191,
-0.06914646178483963,
0.04550262540578842,
0.02941327728331089,
0.024391165003180504,
-0.16926926374435425,
-0.019599594175815582,
-0.015345503576099873,
0.045184362679719925,
0.003353549400344491,
-0.00016700176638551056,
-0.013265973888337612,
-0.026366334408521652,
0.009466324001550674,
-0.03204860910773277,
-0.014060040935873985,
-0.05673043429851532,
0.014783896505832672,
-0.027887579053640366,
-0.0036108747590333223,
-0.04990509897470474,
0.043330490589141846,
-0.013358148746192455,
-0.017763439565896988,
0.02613438107073307,
0.028436211869120598,
0.03417370468378067,
-0.039276737719774246,
-0.07055100798606873,
0.0004077789781149477,
-0.005232229363173246,
0.012668699026107788,
0.021889714524149895,
0.054147638380527496,
0.04285638406872749,
-0.06147189438343048,
0.017934471368789673,
0.02426706813275814,
-0.0021878439001739025,
0.049208007752895355,
0.042843010276556015,
0.021657027304172516,
-0.03444354236125946,
0.10368662327528,
-0.013859741389751434,
0.0063990443013608456,
0.010258275084197521,
0.026078123599290848,
-0.015425139106810093,
0.03845886141061783,
0.003264456521719694,
-0.009087521582841873,
0.05547770857810974,
-0.04941657930612564,
0.037595462054014206,
-0.03948468342423439,
0.0012913590762764215,
0.06608621031045914,
-0.023415453732013702,
-0.01403805986046791,
0.052092045545578,
0.0329798124730587,
-0.03414830192923546,
-0.014683384448289871,
-0.008233850821852684,
-0.056586284190416336,
0.06589115411043167,
-0.00880687776952982,
-0.25206059217453003,
-0.008602642454206944,
0.038017988204956055,
0.03722170367836952,
-0.010143657214939594,
0.008602729998528957,
0.03794873505830765,
-0.007375549990683794,
-0.009496808052062988,
0.04755368083715439,
0.020292364060878754,
-0.01102170068770647,
-0.0307648666203022,
-0.010724973864853382,
0.048096418380737305,
0.0008194912225008011,
0.019514843821525574,
0.027949782088398933,
0.009486870840191841,
-0.007774272467941046,
-0.003350052749738097,
-0.011005186475813389,
0.12572388350963593,
0.01912439614534378,
0.02350599691271782,
0.011439363472163677,
-0.011002863757312298,
0.035295721143484116,
0.04203692078590393,
-0.009774826467037201,
0.01049455814063549,
-0.012127808295190334,
0.006527798715978861,
-0.019860200583934784,
0.0061036148108541965,
-0.08606810122728348,
-0.024361876770853996,
0.027173520997166634,
0.042009320110082626,
-0.03059370443224907,
0.021714570000767708,
-0.005848067346960306,
-0.00824399571865797,
0.04189898446202278,
0.05347105860710144,
-0.00370528525672853,
-0.0249442420899868,
-0.03424515947699547,
-0.013377347029745579,
-0.01402229629456997,
-0.03935249149799347,
-0.060193706303834915,
0.03724939003586769,
0.008438926190137863,
0.006830516271293163,
0.06384807080030441,
-0.00780040118843317,
-0.07355261594057083,
-0.023458736017346382,
0.020215746015310287,
0.0027180088218301535,
-0.03103848360478878,
0.08787478506565094,
-0.016424719244241714,
0.040063999593257904
] | [
-0.03223027288913727,
0.013071623630821705,
0.03523020073771477,
0.021356912329792976,
0.022143324837088585,
-0.021939126774668694,
-0.009315764531493187,
-0.0218073520809412,
-0.001993414480239153,
-0.018164021894335747,
-0.012849783524870872,
0.010961683467030525,
0.008445589803159237,
0.00675159553065896,
0.032491713762283325,
0.006337597966194153,
0.01014705840498209,
-0.027217261493206024,
0.05219481512904167,
0.00511161470785737,
-0.021495312452316284,
-0.00119169766549021,
0.004143204540014267,
-0.04934268444776535,
0.019910624250769615,
0.0236627459526062,
-0.008498270064592361,
-0.022168098017573357,
0.011039500124752522,
-0.10948291420936584,
-0.02589019574224949,
0.013584759086370468,
-0.04532569274306297,
0.03532576188445091,
-0.0020126416347920895,
-0.01653246022760868,
-0.015766659751534462,
0.05264267697930336,
0.022335419431328773,
0.02315005473792553,
0.05168623477220535,
-0.022916635498404503,
0.06291400641202927,
0.025854015722870827,
0.02650008350610733,
-0.008156441152095795,
0.0021672078873962164,
0.02448892965912819,
0.006159335374832153,
-0.014672387391328812,
-0.027968069538474083,
-0.052940528839826584,
-0.004596988670527935,
-0.005484180059283972,
0.006061142776161432,
-0.021015465259552002,
0.025360524654388428,
0.013517028652131557,
0.03216801956295967,
0.013383894227445126,
0.01399003341794014,
0.011571268551051617,
-0.029734497889876366,
-0.016355503350496292,
0.010993899777531624,
-0.011354074813425541,
0.014731023460626602,
0.014975777827203274,
-0.0397171750664711,
0.021472666412591934,
-0.029269443824887276,
0.04532235115766525,
-0.051234401762485504,
0.009563291445374489,
-0.007410470861941576,
0.010054304264485836,
-0.01680775359272957,
-0.005655928049236536,
-0.013000648468732834,
-0.009597290307283401,
-0.021616676822304726,
0.043092284351587296,
-0.016657564789056778,
-0.010714192874729633,
-0.0059446184895932674,
-0.025300441309809685,
0.03923000767827034,
-0.0074533987790346146,
-0.013151850551366806,
-0.0003863304737024009,
-0.01879625953733921,
0.0021795073989778757,
-0.021645603701472282,
0.03457524999976158,
-0.0775458887219429,
-0.04235319793224335,
-0.023176120594143867,
-0.0005792611627839506,
-0.04353491589426994,
0.8373764157295227,
0.015744326636195183,
0.022363442927598953,
0.0202941857278347,
-0.0069038826040923595,
0.010899927467107773,
0.01943577453494072,
0.01647450402379036,
0.017755886539816856,
0.006448444910347462,
-0.02569851651787758,
-0.05553685128688812,
0.005492278374731541,
-0.007728537078946829,
-0.0317961722612381,
0.003786478191614151,
-0.004296647850424051,
0.009060466662049294,
0.00047721131704747677,
-0.025834759697318077,
-0.028489267453551292,
-0.010772296227514744,
-0.014021649956703186,
-0.010817493312060833,
-0.04049049690365791,
-0.016652720049023628,
-0.160761758685112,
0.040336236357688904,
-8.056044821849154e-33,
0.012778069823980331,
-0.022082079201936722,
-0.014441970735788345,
0.019824201241135597,
0.012656963430345058,
-0.014504269696772099,
0.02921379543840885,
0.01921188458800316,
-0.042725469917058945,
-0.02344682440161705,
-0.02968042530119419,
-0.005223735235631466,
0.02221095934510231,
-0.0029512501787394285,
0.006062739063054323,
-0.028390364721417427,
0.019427761435508728,
0.015440531075000763,
0.02064434252679348,
0.018005553632974625,
0.012549512088298798,
-0.008301286958158016,
0.029686693102121353,
-0.005478208418935537,
0.04670459404587746,
-0.02459479682147503,
0.01052569504827261,
-0.024502674117684364,
0.002656729193404317,
-0.04430354759097099,
-0.002164066070690751,
0.027667159214615822,
-0.00027495287940837443,
-0.037906382232904434,
-0.020218022167682648,
-0.032440751791000366,
-0.0344383530318737,
-0.016433605924248695,
-0.0003033297834917903,
-0.023896975442767143,
-0.027487538754940033,
-0.016489114612340927,
0.002555001759901643,
0.017255747690796852,
-0.008468196727335453,
0.021444274112582207,
-0.0020771208219230175,
0.0486375093460083,
-0.010972060263156891,
0.004646893125027418,
0.005193727556616068,
0.0037480348255485296,
-0.0438828282058239,
0.008029910735785961,
0.02063271962106228,
0.03809823840856552,
0.05576667934656143,
0.04159189760684967,
0.0027687835972756147,
0.04591894894838333,
-0.019529299810528755,
-0.002611364470794797,
-0.030835378915071487,
0.00389218982309103,
-0.0229487381875515,
0.0207893755286932,
0.01737697795033455,
0.020115984603762627,
0.008653359487652779,
-0.07840006053447723,
-0.041191935539245605,
0.0034585001412779093,
0.008330891840159893,
0.0253598690032959,
0.040685441344976425,
0.015706326812505722,
-0.03930751234292984,
0.018374409526586533,
-0.020185673609375954,
0.036363571882247925,
-0.004000004380941391,
0.04894598573446274,
0.00702230678871274,
-0.022399777546525,
-0.04065439850091934,
0.03492739796638489,
0.04479130357503891,
-0.019944963976740837,
-0.0030684901867061853,
0.04157930985093117,
0.01996474340558052,
-0.005154542624950409,
0.0020424274262040854,
-0.025873668491840363,
-0.024789998307824135,
8.496506228522111e-33,
-0.012911354191601276,
-0.03100726380944252,
-0.055058494210243225,
-0.02811511978507042,
-0.030518895015120506,
-0.030695302411913872,
0.05350480601191521,
0.028323223814368248,
-0.05451379343867302,
0.03495727851986885,
-0.033346377313137054,
-0.019882744178175926,
0.024097057059407234,
-0.006813767831772566,
0.03443459793925285,
-0.024334991350769997,
-0.007159070577472448,
-0.022451896220445633,
0.016943512484431267,
-0.009568113833665848,
0.03825303539633751,
-0.006243580486625433,
-0.00091556302504614,
0.03260638937354088,
0.03774857148528099,
0.06167573854327202,
0.017666494473814964,
0.022592740133404732,
-0.008980336599051952,
-0.006592482328414917,
-0.021617982536554337,
0.005303883925080299,
0.00537864351645112,
0.016639649868011475,
-0.036525171250104904,
0.00972471758723259,
-0.0013134219916537404,
0.015928011387586594,
0.014783802442252636,
-0.006035773549228907,
0.0000046897653191990685,
0.02069149725139141,
-0.04902903363108635,
0.015529031865298748,
-0.015310016460716724,
0.016623536124825478,
-0.01339001301676035,
-0.005763139575719833,
-0.04417911544442177,
-0.022455697879195213,
-0.03336106240749359,
0.028693608939647675,
0.010871469974517822,
0.007528477814048529,
0.029603170230984688,
0.006579282693564892,
-0.06498411297798157,
0.007295721676200628,
0.05328132584691048,
-0.009668374434113503,
0.021342622116208076,
-0.0007827525259926915,
-0.022291287779808044,
0.049185555428266525,
-0.020446090027689934,
-0.004914537537842989,
0.020818082615733147,
-0.01910531148314476,
0.050462666898965836,
-0.037722185254096985,
-0.015370938926935196,
0.001403490430675447,
-0.020046675577759743,
0.0331912636756897,
0.031189709901809692,
-0.020890649408102036,
-0.008790247142314911,
-0.0014814671594649553,
-0.027079544961452484,
0.043591562658548355,
-0.008791906759142876,
0.002375885844230652,
-0.023183882236480713,
-0.00871488731354475,
0.021721623837947845,
0.010114413686096668,
0.0001876911846920848,
0.007571247406303883,
0.023021379485726357,
-0.027995547279715538,
-0.032462142407894135,
0.00034901261096820235,
-0.03645099699497223,
-0.008269358426332474,
0.026572756469249725,
-1.3426480371947491e-8,
-0.02793508768081665,
0.01006266474723816,
0.04357093572616577,
0.03418891504406929,
-0.0017936326330527663,
0.024807874113321304,
0.006025269161909819,
0.027162430807948112,
0.0049235331825912,
0.001959102461114526,
0.024588409811258316,
-0.0712842345237732,
-0.004668383859097958,
-0.005011486355215311,
-0.009655165486037731,
-0.019016893580555916,
0.019706491380929947,
-0.00008123126463033259,
0.03759156912565231,
0.016373664140701294,
0.06401315331459045,
0.0484810471534729,
-0.029069935902953148,
0.013113890774548054,
0.014966010116040707,
0.0112559599801898,
-0.012262871488928795,
-0.057882264256477356,
-0.012971327640116215,
0.008451604284346104,
-0.018518418073654175,
-0.03916848078370094,
-0.02661042846739292,
0.01877984218299389,
-0.0047361114993691444,
0.009528598748147488,
-0.0071167293936014175,
0.017926273867487907,
0.014920978806912899,
0.012091009877622128,
-0.03776368126273155,
-0.01599748432636261,
-0.018300049006938934,
-0.035959746688604355,
0.0008503447752445936,
-0.004599252715706825,
-0.02649867534637451,
0.0070037879049777985,
0.025009043514728546,
-0.03551900386810303,
0.029833083972334862,
-0.0332225002348423,
0.021475689485669136,
0.04732373356819153,
0.05321839451789856,
-0.010636860504746437,
-0.008489558473229408,
-0.0015564080094918609,
-0.022879907861351967,
0.05891816318035126,
-0.022069888189435005,
0.027010997757315636,
-0.028290266171097755,
-0.0069402349181473255
] | distributed-agile-other-observations | https://markhneedham.com/blog/2010/12/12/distributed-agile-other-observations |
false | 2010-12-12 07:59:17 | Bugs: Prioritising by bucket | [
"software-development"
] | [
"Software Development"
] | At a lot of organisations that I've worked there is a tendency to prioritise bugs by a priority bucket.
We might therefore have priority buckets 1-4 where the bucket number indicates how important the bug is to fix and then any buckets ranked below 4 would not be fixed but would be logged anyway.
From what I've noticed this isn't a particularly effective way of managing bugs.
To start with there tend to be a lot of discussions around what the priority of each bug should be where a QA will argue that it should be a higher priority while a developer disagrees.
I'm not convinced that we actually get any value out of these discussions.
Another thing that I've noticed recently is that developers are much less motivated to fix bugs if they've been put in Bucket 4 rather than one of the higher priority buckets.
I think a better way to solve this problem is just to *store whether or not we're going to fix the bug before the next release or not*. We can then list them in the order that they should be fixed as well.
It's a much simpler binary categorisation and there's no stigma attached to picking up a 'low priority' bug because each bug picked up is just the next one on the list.
We did this on one project I worked on and it was interesting to notice the number of bugs the client was completely disinterested in fixing before the next release because they just weren't that important.
I'm not convinced the same thing would have happened if we'd categorised by bucket.
The added benefit of this approach is that we can avoid discussions where we identify how many bugs of each category have been identified each iteration.
In some organisations the ability to detect higher priority bugs is an indication of the quality of QA work but I don't believe this is a useful metric to track. | null | null | [
0.01827978529036045,
-0.008213188499212265,
-0.014279942028224468,
0.04041473567485809,
0.07145652174949646,
0.036697953939437866,
0.017054421827197075,
0.04084326699376106,
-0.010022467002272606,
-0.024389123544096947,
-0.021656149998307228,
-0.0010308987693861127,
-0.07508695125579834,
0.036778055131435394,
-0.023270128294825554,
0.08178956061601639,
0.0699639543890953,
0.006620190571993589,
0.009923183359205723,
0.004763901699334383,
0.03170160949230194,
0.060579925775527954,
-0.015315895900130272,
0.017942823469638824,
0.014449839480221272,
-0.0022144904360175133,
0.016442738473415375,
0.024645697325468063,
-0.058326613157987595,
-0.01756097935140133,
0.03743865713477135,
0.0017762974603101611,
0.006432577036321163,
-0.0036203190684318542,
0.009082111530005932,
-0.006352983880788088,
-0.02688942663371563,
0.03441080451011658,
-0.004723828285932541,
-0.013080225326120853,
-0.052391234785318375,
0.04168808460235596,
-0.03162829577922821,
-0.0016990818548947573,
-0.03974910080432892,
0.027364375069737434,
-0.04288627952337265,
-0.006712634116411209,
0.014722349122166634,
0.004020441323518753,
-0.06525439769029617,
0.04580191522836685,
-0.011873706243932247,
-0.015048784203827381,
-0.0052587175741791725,
0.03300469368696213,
0.015234327875077724,
-0.06097817420959473,
-0.02227575145661831,
-0.03393622860312462,
-0.011067789979279041,
-0.018101217225193977,
-0.004720970056951046,
0.0364251472055912,
0.044729266315698624,
-0.026073569431900978,
-0.010334866121411324,
0.044858112931251526,
-0.008918145671486855,
-0.008076010271906853,
-0.005254455842077732,
-0.013140659779310226,
-0.012864804826676846,
-0.009981350041925907,
-0.01422166358679533,
-0.05369462072849274,
-0.01683880016207695,
0.06975941359996796,
0.028240134939551353,
0.03711893409490585,
-0.01563539355993271,
-0.0009779258398339152,
0.01474815234541893,
0.013698250986635685,
0.00479913642629981,
-0.03279057517647743,
0.012733181938529015,
-0.026826022192835808,
-0.05776701122522354,
0.05866043642163277,
0.04357854649424553,
-0.07207602262496948,
0.042089611291885376,
0.013491236604750156,
-0.015962310135364532,
0.021542435511946678,
0.04419199749827385,
0.009063318371772766,
0.0038139319512993097,
-0.013011868111789227,
-0.02983718365430832,
-0.024923618882894516,
-0.0000011542141464815359,
-0.006131902802735567,
-0.07977728545665741,
-0.031092599034309387,
-0.004054739605635405,
-0.017219526693224907,
-0.01359325461089611,
0.012803186662495136,
-0.013392017222940922,
0.02433163672685623,
-0.01984456554055214,
0.03126276656985283,
-0.0725153312087059,
0.07135123759508133,
-0.03210804611444473,
-0.05468849837779999,
0.0019180596573278308,
0.016693346202373505,
0.04551534727215767,
0.03104478493332863,
0.0014633325627073646,
0.09383191913366318,
-0.0005020086537115276,
0.005874719936400652,
-0.014250028878450394,
0.040976084768772125,
0.0035331095568835735,
-0.05814727395772934,
-0.012785601429641247,
0.08511591702699661,
-0.042545463889837265,
-0.020807519555091858,
-0.019225411117076874,
-0.015335229225456715,
-0.016799401491880417,
-0.0057108295150101185,
0.0327865406870842,
0.03210658207535744,
-0.00072520412504673,
-0.03615801781415939,
0.005192988086491823,
0.011111371219158173,
0.013298552483320236,
0.029100380837917328,
-0.003709385171532631,
-0.014547636732459068,
-0.03658352419734001,
-0.007786659058183432,
-0.01272453274577856,
0.010279507376253605,
0.013376080431044102,
-0.04226410388946533,
0.018791556358337402,
0.07267622649669647,
0.021810194477438927,
0.005880068056285381,
-0.012771026231348515,
0.031651582568883896,
0.041183069348335266,
0.021858755499124527,
0.0033180247992277145,
0.018436595797538757,
0.004518613219261169,
-0.010826430283486843,
0.0015087488573044538,
0.04468406364321709,
0.00449322210624814,
0.008722281083464622,
-0.05299781635403633,
-0.06567887961864471,
0.060243669897317886,
-0.038179293274879456,
-0.005690989084541798,
0.06337784230709076,
0.09258279949426651,
0.032323699444532394,
0.026750827208161354,
0.01809435896575451,
-0.0750465989112854,
0.011868619360029697,
-0.004620884079486132,
0.03539213538169861,
0.028921043500304222,
-0.02078619785606861,
0.04707977920770645,
0.020320700481534004,
0.010270379483699799,
0.02782002091407776,
-0.09448760747909546,
-0.08530847728252411,
0.005356119479984045,
0.01576891727745533,
0.05636966973543167,
-0.024503981694579124,
0.02814975008368492,
0.07375306636095047,
0.006131978239864111,
0.0517718531191349,
0.02158678136765957,
0.030659269541502,
-0.01112562045454979,
-0.06039704382419586,
-0.08266756683588028,
0.07356134057044983,
0.023352941498160362,
-0.005670292768627405,
-0.05186551809310913,
0.013957926072180271,
-0.02039867825806141,
-0.0026555180083960295,
0.02603139914572239,
-0.03445538878440857,
0.035088080912828445,
-0.006648985669016838,
0.049609601497650146,
-0.03443789854645729,
0.026322418823838234,
-0.06367921829223633,
0.007748482748866081,
0.00659730052575469,
0.0192400049418211,
-0.0062049082480371,
-0.008072677068412304,
0.09251788258552551,
0.06693285703659058,
-0.02673017419874668,
-0.016169473528862,
0.01447388343513012,
0.03782331943511963,
-0.02045479603111744,
-0.0060792644508183,
-0.009715289808809757,
-0.009294857271015644,
0.0026813431177288294,
-0.05638296529650688,
-0.05714436620473862,
0.015802128240466118,
-0.03568911924958229,
-0.01402908656746149,
0.066077321767807,
-0.01799367368221283,
0.06160958856344223,
0.012324661947786808,
-0.009427573531866074,
-0.020982947200536728,
-0.02905874326825142,
-0.08167034387588501,
0.018978705629706383,
-0.0063180760480463505,
-0.006583621259778738,
0.03955039381980896,
-0.02609770931303501,
-0.024081632494926453,
-0.003958289511501789,
-0.027749070897698402,
0.022832049056887627,
0.04348665103316307,
0.06783293932676315,
-0.012714654207229614,
0.05374116450548172,
-0.023252101615071297,
0.014204887673258781,
0.0002643619664013386,
-0.03946942836046219,
-0.04783081263303757,
-0.03720295801758766,
-0.01134481467306614,
0.04003307223320007,
0.0013234690995886922,
0.0030151745304465294,
0.025594407692551613,
0.00021391069458331913,
0.021516496315598488,
-0.027191368862986565,
0.044340830296278,
0.012557011097669601,
0.009998085908591747,
-0.018890656530857086,
-0.011068764142692089,
0.042227912694215775,
-0.04744064807891846,
-0.012390675023198128,
0.034585513174533844,
-0.06054387986660004,
0.0779767632484436,
-0.07260731607675552,
-0.05926758423447609,
0.006216750014573336,
0.03257429599761963,
0.04382086545228958,
0.010272837243974209,
0.020892731845378876,
0.08118555694818497,
-0.017650781199336052,
0.008542437106370926,
0.0014519651886075735,
0.021542413160204887,
0.04423164948821068,
-0.0069700926542282104,
-0.001905843266285956,
0.037115730345249176,
-0.003973464481532574,
-0.006108228117227554,
-0.049848318099975586,
0.040907122194767,
-0.04208763688802719,
-0.29696086049079895,
0.050096843391656876,
0.016180934384465218,
-0.03861567750573158,
0.00721608754247427,
0.00043915575952269137,
0.006657892372459173,
-0.012942036613821983,
-0.029463492333889008,
0.044776320457458496,
-0.005931863095611334,
-0.036532212048769,
0.009841831400990486,
0.045073192566633224,
0.007077029440551996,
0.05355990305542946,
0.008340943604707718,
-0.03712115064263344,
-0.023761959746479988,
0.03228803724050522,
-0.039684854447841644,
-0.06732852756977081,
-0.017727190628647804,
0.03301795944571495,
0.029832057654857635,
0.053318873047828674,
-0.07317573577165604,
0.0415768064558506,
-0.04887993261218071,
-0.021964434534311295,
0.017130248248577118,
-0.019050536677241325,
-0.020587323233485222,
-0.05085311084985733,
-0.02384757250547409,
-0.03577262535691261,
0.020082274451851845,
-0.00023112824419513345,
-0.00852988287806511,
0.016519764438271523,
-0.023330874741077423,
-0.017082367092370987,
-0.00022345413162838668,
0.018846632912755013,
0.06599774211645126,
-0.011246893554925919,
-0.07235728949308395,
-0.004380389582365751,
-0.04432230442762375,
0.07400321960449219,
-0.02298429235816002,
-0.03344661742448807,
-0.022068992257118225,
0.0341157540678978,
-0.01916290819644928,
0.005638530012220144,
-0.019444895908236504,
-0.0005068402970209718,
-0.02477436140179634,
-0.0386662483215332,
-0.018261630088090897,
-0.03153686225414276,
-0.020717449486255646,
-0.011083025485277176,
-0.00014328268298413604,
-0.058575671166181564,
-0.04588086158037186,
-0.006293419748544693,
0.0663151666522026,
-0.024015238508582115,
-0.017706647515296936,
-0.0023869117721915245,
-0.006810144521296024,
-0.09714732319116592,
-0.03052133321762085,
-0.027302777394652367,
-0.026184678077697754,
0.02230483666062355,
0.022093579173088074,
0.03730033338069916,
-0.03469960764050484,
-0.08219312131404877,
0.05881675332784653,
0.017709720879793167,
0.007022526580840349,
-0.00454875361174345,
0.04064517840743065,
0.019064078107476234,
-0.030899368226528168,
-0.002274266676977277,
0.05601025000214577,
-0.01756322756409645,
-0.009862026199698448,
0.009672077372670174,
0.026597924530506134,
0.011985685676336288,
-0.005977867171168327,
-0.020090371370315552,
-0.013485409319400787,
0.06547392159700394,
-0.010103867389261723,
-0.06419815868139267,
0.03054744377732277,
-0.01215393003076315,
-0.007065011654049158,
0.0028086972888559103,
-0.04083671048283577,
0.015867358073592186,
0.05592983961105347,
0.0277889184653759,
0.010135170072317123,
-0.024302231147885323,
0.020748957991600037,
-0.025560203939676285,
-0.035202641040086746,
-0.009289034642279148,
0.033636674284935,
0.03811981528997421,
-0.03268555924296379,
-0.01189525704830885,
-0.056772343814373016,
0.02455393597483635,
-0.018499044701457024,
0.02404811605811119,
-0.06249268352985382,
-0.025609394535422325,
-0.019014684483408928,
0.0007885650848038495,
0.029927873983979225,
0.0044589173048734665,
-0.010211287997663021,
0.06814967095851898,
0.02033054642379284,
-0.04616646096110344,
0.017519740387797356,
-0.04196331650018692,
-0.05436718463897705,
-0.01691002957522869,
-0.001223449595272541,
-0.009751594625413418,
-0.005848987028002739,
0.018601709976792336,
0.007230286952108145,
0.029748795554041862,
0.040386028587818146,
-0.014421837404370308,
0.036973923444747925,
-0.027407530695199966,
0.03624958172440529,
-0.00348474970087409,
0.022763067856431007,
-0.08472926169633865,
0.016282984986901283,
-0.05501307174563408,
-0.03458244726061821,
-0.018576113507151604,
0.049963902682065964,
-0.02100115455687046,
-0.04112294688820839,
-0.022902896627783775,
0.0005208495422266424,
-0.04959762841463089,
-0.034945983439683914,
-0.04130837321281433,
0.05199439078569412,
0.06458403170108795,
0.00016117251652758569,
-0.00898662582039833,
-0.007143852766603231,
-0.009414339438080788,
-0.004617031197994947,
0.012505760416388512,
-0.05379025638103485,
-0.013169576413929462,
0.012812374159693718,
-0.004537861328572035,
0.006233335938304663,
-0.012465056963264942,
0.0348004475235939,
0.029901405796408653,
-0.008494017645716667,
-0.0021562830079346895,
0.0051828911527991295,
0.001117198378778994,
0.034541089087724686,
0.027204103767871857,
0.018307587131857872,
0.004769077058881521,
0.004574671387672424,
-0.03713170811533928,
-0.03489776328206062,
-0.007124760188162327,
-0.0016097113257274032,
0.043521422892808914,
-0.03434021398425102,
-0.0653391107916832,
0.04620177671313286,
0.017165303230285645,
0.013663378544151783,
-0.006957207340747118,
-0.021737396717071533,
0.008663857355713844,
-0.023954084143042564,
0.018514016643166542,
0.06832844763994217,
-0.07533317059278488,
0.0270796250551939,
0.010025697760283947,
0.0008649814408272505,
0.0018482905579730868,
-0.028640681877732277,
-0.046136967837810516,
-0.042837392538785934,
-0.03207816183567047,
0.006526706740260124,
-0.06383349746465683,
-0.027244076132774353,
-0.020849399268627167,
-0.013923096470534801,
-0.01638307236135006,
-0.03850826248526573,
-0.01991955377161503,
0.009389307349920273,
-0.027647513896226883,
-0.018368666991591454,
0.005727481562644243,
0.000024771101379883476,
-0.0017764351796358824,
0.02285798080265522,
-0.004609853960573673,
-0.008618803694844246,
-0.029486393555998802,
0.02644401043653488,
0.034937698394060135,
-0.047622114419937134,
0.01964547112584114,
-0.04752398654818535,
-0.012063903734087944,
0.0033810720779001713,
0.01878865249454975,
-0.03655918687582016,
-0.022962091490626335,
-0.009024192579090595,
-0.015230536460876465,
-0.02835766412317753,
-0.01191549003124237,
-0.0001262494915863499,
-0.01724553294479847,
0.008247453719377518,
0.07536958903074265,
-0.0012707222485914826,
0.029142409563064575,
0.0014899284578859806,
0.005541080608963966,
0.05829652026295662,
-0.0463416613638401,
-0.007914074696600437,
-0.02822479046881199,
-0.0652865320444107,
0.0010654531652107835,
0.014779125340282917,
0.007172423414885998,
-0.03298383206129074,
0.025533808395266533,
0.021154357120394707,
0.03804847225546837,
0.03481196239590645,
-0.007163712754845619,
0.03456440567970276,
-0.056821051985025406,
0.012946427799761295,
-0.07049432396888733,
0.0343465730547905,
0.0208529531955719,
-0.016549617052078247,
0.0013567976420745254,
0.0007377692381851375,
-0.04522346332669258,
0.033497344702482224,
-0.05939888209104538,
-0.00755994813516736,
0.025316087529063225,
-0.005318214185535908,
0.007237577810883522,
0.0290636345744133,
-0.07633240520954132,
0.01589725911617279,
0.026535583660006523,
-0.011664452031254768,
-0.01745195873081684,
-0.018913043662905693,
0.05133030563592911,
0.009862753562629223,
0.031054068356752396,
-0.01351209171116352,
-0.026346541941165924,
0.05125008150935173,
0.014943405985832214,
0.03522956743836403,
0.03757617250084877,
-0.02652306668460369,
0.03070766106247902,
0.039862651377916336,
0.015809878706932068,
-0.02385520376265049,
0.023857107385993004,
-0.023196427151560783,
-0.021532291546463966,
0.029422976076602936,
0.0045136138796806335,
0.0010963055538013577,
-0.04579101502895355,
0.052801139652729034,
0.014603106305003166,
-0.02381192520260811,
-0.0419074147939682,
0.008735758252441883,
-0.0727008804678917,
0.005882467608898878,
-0.02469252236187458,
-0.048667557537555695,
-0.0428883396089077,
0.04946042224764824,
0.03695562481880188,
0.01650768145918846,
0.06365524977445602,
-0.003811732865869999,
0.01569964922964573,
0.02364077977836132,
0.1021585538983345,
0.0735841765999794,
0.06587139517068863,
0.02040412649512291,
0.06324324011802673,
-0.028848400339484215,
-0.025540197268128395,
0.034019604325294495,
-0.009156249463558197,
-0.011504478752613068,
-0.02007112093269825,
0.012521926313638687,
0.0199208352714777,
-0.00919381994754076,
0.05597443878650665,
-0.03310511261224747,
0.02721257694065571,
0.012222327291965485,
0.017284246161580086,
0.020816422998905182,
0.10139667242765427,
0.00041630840860307217,
0.02799217775464058,
-0.018322721123695374,
-0.02197953127324581,
0.008124537765979767,
-0.02532975748181343,
-0.030555622652173042,
0.032743073999881744,
-0.016527611762285233,
0.01358998566865921,
0.027261294424533844,
0.005569159518927336,
0.06720555573701859,
-0.013352779671549797,
-0.000015701256415923126,
-0.023294968530535698,
0.03994583711028099,
-0.0011993906227871776,
0.03681721165776253,
-0.014399448409676552,
-0.024611584842205048,
-0.02312241680920124,
-0.01566879265010357,
-0.0010401129256933928,
-0.0047206575982272625,
-0.03569566458463669,
0.06620896607637405,
-0.017615173012018204,
0.025080198422074318,
0.04796261712908745,
0.00025922508211806417,
-0.01543293334543705,
-0.04980003833770752,
-0.04963797703385353,
-0.0500456802546978,
-0.03592295199632645,
-0.028845030814409256,
0.030006546527147293,
0.005644142162054777,
-0.011685632169246674,
-0.03554738312959671,
-0.01663888245820999,
-0.04245074838399887,
0.03572222590446472,
-0.06823915243148804,
-0.04718532785773277,
0.03559057414531708,
0.030552243813872337,
0.012357964180409908,
0.025686271488666534,
0.047265082597732544,
-0.02832804247736931,
-0.011013918556272984,
-0.011559229344129562,
0.0431063175201416,
0.02885189838707447,
-0.004565897397696972,
-0.010645907372236252,
-0.08145228773355484,
0.010899210348725319,
0.02673145942389965,
0.002590983873233199,
-0.061838094145059586,
0.018866632133722305,
0.020611269399523735,
-0.02601383440196514,
0.07317402958869934,
-0.028972798958420753,
0.002646304201334715,
-0.058155592530965805,
-0.005328062456101179,
-0.02927686646580696,
0.003084886120632291,
0.041376400738954544,
-0.014768174849450588,
0.0834491029381752,
0.042017340660095215,
-0.01614815555512905,
-0.03582831099629402,
0.030455827713012695,
-0.04364347457885742,
-0.002020998625084758,
-0.019326984882354736,
-0.06695940345525742,
-0.050282977521419525,
-0.06270700693130493,
-0.0198771134018898,
0.006762790959328413,
-0.017220092937350273,
-0.030199207365512848,
0.011919102631509304,
0.006754761561751366,
-0.03218122199177742,
-0.003553884569555521,
-0.04043719917535782,
0.047060754150152206,
-0.008162489160895348,
0.000253500445978716,
-0.028891799971461296,
0.028027569875121117,
-0.010798705741763115,
0.000017530897821416147,
0.034149836748838425,
-0.02845359407365322,
0.03804236277937889,
-0.025412216782569885,
0.020547503605484962,
0.047124747186899185,
0.007150357123464346,
0.0032224105671048164
] | [
-0.09702344238758087,
-0.02676130272448063,
-0.017508618533611298,
-0.042070742696523666,
0.05979359522461891,
-0.04076835513114929,
0.0032332385890185833,
0.026258166879415512,
0.005723864305764437,
-0.013075313530862331,
0.0036196468863636255,
-0.006492900662124157,
-0.005350275430828333,
0.0009615618037059903,
0.07126796990633011,
0.03286641836166382,
0.013267983682453632,
-0.08063404262065887,
0.0004605390131473541,
0.030210254713892937,
0.013441630639135838,
-0.015402949415147305,
-0.01968926005065441,
-0.031028026714920998,
-0.019190587103366852,
0.012842736206948757,
-0.000527001975569874,
-0.04033970832824707,
-0.012875362299382687,
-0.2139783650636673,
-0.0091854277998209,
0.0006691401940770447,
0.035342443734407425,
-0.03306585177779198,
0.03064214065670967,
0.04120028391480446,
0.015906324610114098,
0.030590232461690903,
0.003957652952522039,
0.016319045796990395,
0.031630534678697586,
0.03502245619893074,
-0.0787133276462555,
-0.05558265000581741,
-0.00741886580362916,
-0.017349254339933395,
-0.0020344241056591272,
-0.041529253125190735,
-0.03935529664158821,
0.002267151605337858,
-0.028939735144376755,
-0.029550615698099136,
-0.030504627153277397,
-0.007274359930306673,
-0.02612406201660633,
0.039059147238731384,
0.011940893717110157,
0.08931226283311844,
0.003214797005057335,
0.02452980726957321,
0.04139064997434616,
-0.04793471843004227,
-0.1045815497636795,
0.083836629986763,
0.0676637515425682,
0.05266304314136505,
-0.028194032609462738,
-0.055716849863529205,
-0.048764705657958984,
0.09130736440420151,
-0.012024471536278725,
-0.010644200257956982,
-0.011953664012253284,
0.06261799484491348,
0.02424137108027935,
0.006466894876211882,
0.009300781413912773,
0.02765745110809803,
0.03902576491236687,
-0.046723559498786926,
-0.05369558185338974,
-0.005842552054673433,
-0.01479932852089405,
0.0021512045059353113,
-0.024197377264499664,
-0.016493944451212883,
0.01530059427022934,
0.09023606777191162,
0.05105132609605789,
0.040488410741090775,
0.06373034417629242,
0.004194562789052725,
0.06889088451862335,
-0.006388356443494558,
-0.06307138502597809,
0.020196959376335144,
-0.02079150825738907,
0.007882182486355305,
-0.06573972851037979,
0.4610449969768524,
-0.009853671304881573,
-0.02648058719933033,
0.0491146519780159,
0.03524942323565483,
-0.0033472576178610325,
0.018063783645629883,
0.01574850268661976,
-0.056647442281246185,
0.015645185485482216,
-0.018534038215875626,
0.04060320183634758,
0.010034626349806786,
0.08401761204004288,
-0.045234158635139465,
-0.00927132647484541,
0.016778264194726944,
0.004893468227237463,
0.017246225848793983,
-0.013732315972447395,
-0.014336117543280125,
0.004186365753412247,
0.014321611262857914,
0.04146812483668327,
0.005992135964334011,
0.006099026184529066,
0.025753572583198547,
0.025436770170927048,
0.052193205803632736,
0.009118317626416683,
-0.0008989153429865837,
0.03829433396458626,
-0.07594077289104462,
-0.048807140439748764,
-0.00193888193462044,
-0.007437745109200478,
0.008458530530333519,
0.026381857693195343,
-0.013006853871047497,
-0.0065266406163573265,
0.05455595999956131,
-0.017108825966715813,
-0.01408154796808958,
0.01168901938945055,
-0.033226314932107925,
-0.051449570804834366,
0.10730390250682831,
0.01804640330374241,
-0.02738756686449051,
-0.01947086676955223,
-0.07949912548065186,
0.00013975464389659464,
0.027058938518166542,
-0.0011365257669240236,
-0.04104050621390343,
0.02655111812055111,
0.0069721718318760395,
0.057718440890312195,
0.002605585614219308,
-0.06817600876092911,
0.016503892838954926,
0.005500381346791983,
-0.03647337853908539,
-0.05010068416595459,
0.04748920723795891,
0.026033364236354828,
-0.0721297562122345,
-0.0070937923155725,
-0.020677698776125908,
0.02288973145186901,
-0.0393400676548481,
-0.024658208712935448,
0.025276824831962585,
0.011044353246688843,
-0.02838524803519249,
0.046426016837358475,
-0.04901937022805214,
-0.04114558920264244,
0.006577583495527506,
0.05496232584118843,
0.005207316018640995,
0.026165222749114037,
0.022349664941430092,
-0.029488613829016685,
0.01481532957404852,
-0.015810173004865646,
-0.10281489789485931,
-0.05405173823237419,
0.007980233989655972,
-0.026076866313815117,
-0.02358034811913967,
-0.04416049271821976,
-0.042285121977329254,
-0.05817392095923424,
0.08177661895751953,
-0.0037351062055677176,
-0.037281330674886703,
0.03042067028582096,
-0.029076870530843735,
-0.008146002888679504,
-0.014535464346408844,
0.007151775062084198,
0.029383577406406403,
-0.02237643674015999,
0.020445026457309723,
-0.07502303272485733,
0.07579648494720459,
0.0342029333114624,
-0.06401235610246658,
0.09844055026769638,
0.018919803202152252,
-0.03178330510854721,
-0.008474264293909073,
-0.002120105316862464,
0.026613857597112656,
0.008305861614644527,
0.010718571953475475,
0.007407402619719505,
0.020689258351922035,
0.026701927185058594,
0.04147734493017197,
-0.007495881523936987,
0.0533645898103714,
-0.01089965458959341,
-0.3367602229118347,
-0.06047235429286957,
-0.03869257867336273,
0.0002431130560580641,
-0.009559085592627525,
-0.015428583137691021,
0.01718275249004364,
-0.005748333875089884,
-0.041671011596918106,
0.021652864292263985,
0.09977208822965622,
-0.012419888749718666,
0.004040863364934921,
-0.06667616218328476,
-0.0030251124408096075,
0.001041214563883841,
-0.05257100984454155,
-0.0006105464999563992,
-0.02618720941245556,
0.005372663959860802,
0.004217484034597874,
-0.032141029834747314,
-0.004133211448788643,
-0.05681758373975754,
0.0025698277167975903,
-0.029186123982071877,
0.11144232004880905,
0.005837523844093084,
0.05913689732551575,
-0.05212026461958885,
0.03467418625950813,
-0.0029869498685002327,
0.010852190665900707,
-0.07776471227407455,
0.02024593949317932,
-0.005843540653586388,
-0.0341905802488327,
-0.017686430364847183,
-0.02626722678542137,
-0.023448506370186806,
-0.06242584064602852,
0.02962922863662243,
-0.05799562856554985,
-0.06802421063184738,
-0.03904163837432861,
0.0219857320189476,
-0.035025302320718765,
-0.0038188635371625423,
-0.030455907806754112,
0.04987768456339836,
-0.01429708767682314,
0.017015067860484123,
0.013950214721262455,
0.02780505269765854,
0.021924059838056564,
-0.03789397329092026,
-0.07117953896522522,
0.025769874453544617,
0.014230790548026562,
0.0004541528469417244,
0.04183841124176979,
0.027572209015488625,
0.02907513454556465,
-0.050986599177122116,
0.017922738566994667,
-0.019133228808641434,
-0.012607392854988575,
0.013509826734662056,
0.04141634702682495,
-0.0208183191716671,
-0.022813616320490837,
0.12461277097463608,
0.0010487395338714123,
-0.0254509374499321,
0.016005229204893112,
0.028167027980089188,
0.01364989671856165,
0.010803792625665665,
0.013748813420534134,
-0.024218937382102013,
0.02724270708858967,
-0.017581742256879807,
0.015370051376521587,
-0.037618305534124374,
-0.004452854860574007,
0.04063055291771889,
-0.04167000576853752,
-0.0339793860912323,
0.044102560728788376,
0.025947796180844307,
-0.018638670444488525,
0.006561292801052332,
-0.022513963282108307,
-0.06820566207170486,
0.08254895359277725,
0.007602967321872711,
-0.22581137716770172,
0.02138768695294857,
0.08131519705057144,
0.00844783429056406,
-0.01440515648573637,
0.05203864723443985,
0.013682765886187553,
-0.05184364691376686,
0.02771114930510521,
0.0049786497838795185,
0.023204831406474113,
0.04097882658243179,
-0.019458632916212082,
-0.04417789354920387,
0.03859098628163338,
-0.01383107528090477,
0.031242189928889275,
-0.02791481465101242,
0.035777557641267776,
-0.025025371462106705,
0.01669153943657875,
-0.031539373099803925,
0.16815172135829926,
0.022042028605937958,
-0.0006896328995935619,
0.004480248317122459,
-0.00989028811454773,
0.05555777996778488,
0.03259348124265671,
0.01153517235070467,
-0.029182815924286842,
-0.011812383309006691,
0.04503265395760536,
0.02038506790995598,
0.009061764925718307,
-0.058587659150362015,
-0.006661925930529833,
0.009557920508086681,
0.01370016299188137,
0.02878585457801819,
0.023633085191249847,
0.01111635286360979,
-0.010608884505927563,
0.039179518818855286,
0.05349727347493172,
0.0014980819541960955,
-0.003769442904740572,
-0.048970215022563934,
-0.04589555412530899,
-0.007299548946321011,
-0.04539412632584572,
-0.06074131652712822,
0.006196767091751099,
-0.0003824750892817974,
0.018444033339619637,
0.09579416364431381,
0.049102816730737686,
-0.00250441487878561,
-0.003295080503448844,
-0.00608523515984416,
0.002203170908614993,
-0.017687516286969185,
0.0997556522488594,
0.013843032531440258,
0.034606631845235825
] | [
0.02511153370141983,
0.034022606909275055,
0.04146073758602142,
-0.0018651374848559499,
-0.01920662447810173,
0.005271696485579014,
-0.0007907799445092678,
0.027400730177760124,
0.03702998906373978,
0.026224005967378616,
-0.047853149473667145,
-0.009581712074577808,
0.03430290147662163,
0.010181330144405365,
-0.006199048366397619,
0.01838807761669159,
-0.000866218819282949,
0.02468891628086567,
-0.021231558173894882,
-0.06540040671825409,
-0.04649113491177559,
0.031146597117185593,
-0.026376351714134216,
-0.010392201133072376,
-0.02307000569999218,
0.015221040695905685,
-0.0664946436882019,
0.015494835563004017,
0.03380603715777397,
-0.13868284225463867,
-0.02247409150004387,
-0.01363272313028574,
0.032520703971385956,
-0.01075588259845972,
0.007990630343556404,
0.0055818576365709305,
0.009488290175795555,
0.003655045060440898,
0.011443095281720161,
0.028051355853676796,
0.008544715121388435,
0.010465705767273903,
-0.018641086295247078,
-0.07527290284633636,
-0.002088151639327407,
0.028802568092942238,
-0.003187921131029725,
-0.011025720275938511,
0.027531851083040237,
-0.04367152228951454,
-0.02044644206762314,
-0.0025301205459982157,
0.0013658013194799423,
0.026863668113946915,
-0.02835618518292904,
0.010901584289968014,
0.027702003717422485,
-0.03653719276189804,
0.014951891265809536,
0.008808329701423645,
-0.029349636286497116,
-0.031130697578191757,
-0.009513563476502895,
-0.024578314274549484,
0.04607811197638512,
0.014212558977305889,
-0.014758090488612652,
0.010300002060830593,
-0.05174670368432999,
0.0365261547267437,
0.010685807093977928,
-0.0011053209891542792,
-0.06619790941476822,
-0.04624757915735245,
0.0066414750181138515,
0.011416403576731682,
0.0007830156828276813,
0.03104287199676037,
0.00163047865498811,
-0.0024595633149147034,
-0.05125342309474945,
0.021054213866591454,
0.014249623753130436,
-0.017526034265756607,
-0.0037840011063963175,
-0.016949182376265526,
-0.0031677766237407923,
-0.005483683664351702,
0.03011353872716427,
0.028605859726667404,
-0.02813640423119068,
-0.006635020952671766,
0.03301672264933586,
-0.0006731670000590384,
-0.05309790372848511,
0.006002835463732481,
0.02442491054534912,
-0.01474996842443943,
0.029199739918112755,
0.7980327010154724,
-0.0057787224650382996,
0.01332128420472145,
-0.012109202332794666,
0.0029221186414361,
0.04106171056628227,
0.0018568304367363453,
-0.008678218349814415,
0.023989727720618248,
-0.026473641395568848,
-0.025354284793138504,
0.004740229807794094,
-0.004605810157954693,
0.019551988691091537,
0.018109574913978577,
-0.018527749925851822,
0.003508389461785555,
-0.009528450667858124,
0.017509406432509422,
-0.054298706352710724,
-0.026890112087130547,
0.07787983119487762,
0.025395246222615242,
0.02575606293976307,
-0.04848230257630348,
0.015668373554944992,
-0.13367527723312378,
-0.0301047433167696,
-7.380784296071198e-33,
0.06321413069963455,
-0.0328400544822216,
0.0590629056096077,
-0.022411979734897614,
0.02525433525443077,
0.0059440587647259235,
0.02622092328965664,
0.02860742062330246,
-0.0000942950791795738,
-0.03015635907649994,
0.043303072452545166,
-0.0079881576821208,
0.007036646828055382,
-0.047990765422582626,
0.005275452509522438,
-0.007954047992825508,
-0.028432801365852356,
0.018883779644966125,
-0.006905157584697008,
0.03141176328063011,
-0.008522056974470615,
-0.002689617220312357,
-0.023303501307964325,
-0.009295040741562843,
0.031195195391774178,
0.0038564393762499094,
0.046769265085458755,
-0.031893469393253326,
0.03798869997262955,
-0.03624572604894638,
-0.028606725856661797,
0.06172960251569748,
-0.016692468896508217,
-0.04867258667945862,
0.00020409346325322986,
-0.04917038604617119,
-0.06327845901250839,
0.023589426651597023,
-0.028313273563981056,
-0.02956205978989601,
-0.01056060753762722,
-0.02876679040491581,
-0.06680186092853546,
-0.027729317545890808,
0.010417497716844082,
0.012955947779119015,
0.01379964780062437,
-0.02971363626420498,
0.021124619990587234,
0.00027282294468022883,
0.016420336440205574,
0.0013942642835900187,
0.032928723841905594,
0.03274007886648178,
0.024595409631729126,
-0.03880206495523453,
0.012879813089966774,
-0.04414220526814461,
-0.048378415405750275,
0.025102421641349792,
-0.019101807847619057,
0.046488676220178604,
-0.021063456311821938,
0.027353614568710327,
0.004721783567219973,
-0.03633972257375717,
0.05033642426133156,
0.06363538652658463,
0.039603009819984436,
0.006686534732580185,
0.0015794436912983656,
0.010396539233624935,
-0.013323587365448475,
0.00824679434299469,
-0.022387858480215073,
-0.02334248088300228,
0.027624620124697685,
-0.00942663662135601,
-0.022118741646409035,
-0.004305185750126839,
-0.025889422744512558,
-0.019871892407536507,
0.02445908635854721,
0.01575305312871933,
-0.021947039291262627,
-0.0033293094020336866,
0.03386548534035683,
0.05147217959165573,
-0.023877164348959923,
-0.009526648558676243,
-0.004393431823700666,
0.00515177333727479,
-0.01584869623184204,
0.024999603629112244,
-0.032233670353889465,
8.19300975018712e-33,
0.005548116285353899,
0.011163708753883839,
0.004590705037117004,
0.05034341290593147,
0.022576548159122467,
-0.023514483124017715,
0.0237648356705904,
-0.02901705913245678,
-0.03689475357532501,
0.045202627778053284,
-0.01850958541035652,
0.03356209024786949,
-0.013865634799003601,
0.016820920631289482,
0.07277204096317291,
0.00604844419285655,
0.007140709087252617,
-0.08993762731552124,
0.013578471727669239,
-0.009197410196065903,
0.03850382938981056,
-0.04344804957509041,
-0.009602278470993042,
-0.012319558300077915,
0.000665105355437845,
0.038763828575611115,
0.011954140849411488,
-0.01227001566439867,
0.03261571750044823,
-0.017787043005228043,
-0.0022855359129607677,
0.012512538582086563,
0.013481599278748035,
-0.048075124621391296,
-0.0071982452645897865,
-0.028612535446882248,
0.01249027717858553,
-0.031230371445417404,
0.0030724534299224615,
0.008056163787841797,
0.0036452908534556627,
-0.008538304828107357,
-0.004747813101857901,
0.023671859875321388,
-0.0008868119330145419,
0.03214246779680252,
0.023720381781458855,
0.013979802839457989,
-0.010691198520362377,
0.03346588835120201,
0.023327898234128952,
0.0033311336301267147,
-0.0018613369902595878,
0.03394222632050514,
-0.009292477741837502,
-0.03617754951119423,
-0.04193183779716492,
-0.008819316513836384,
-0.035259224474430084,
0.038308192044496536,
-0.002743553137406707,
0.0010630865581333637,
0.04135242477059364,
-0.026050591841340065,
-0.07340121269226074,
-0.03195107728242874,
0.014982731081545353,
0.0330667570233345,
-0.015447919256985188,
-0.0019198133377358317,
-0.033200398087501526,
-0.07292592525482178,
0.01090665441006422,
0.02545018680393696,
0.050448376685380936,
-0.023510465398430824,
-0.019416922703385353,
-0.020128965377807617,
0.02777422033250332,
0.019657235592603683,
-0.008160564117133617,
0.0660940632224083,
-0.020923279225826263,
0.016480568796396255,
0.006034121382981539,
0.014604172669351101,
0.0027533851098269224,
0.04388143867254257,
0.01844647154211998,
0.009650742635130882,
-0.019752511754631996,
0.0055964915081858635,
-0.00007008729153312743,
0.007561303209513426,
-0.02467595785856247,
-1.3062620318748941e-8,
0.01773654855787754,
-0.014266257174313068,
-0.0180992241948843,
0.017765019088983536,
0.03684712573885918,
-0.00784958153963089,
-0.0361885242164135,
0.07175134867429733,
-0.0460219569504261,
0.007484139874577522,
0.03520100191235542,
-0.014940735884010792,
-0.028818825259804726,
0.002901408588513732,
0.01954224705696106,
-0.022571416571736336,
-0.020849311724305153,
-0.024611670523881912,
0.02596042864024639,
-0.002037817146629095,
-0.0026455933693796396,
0.08423367142677307,
-0.022980427369475365,
-0.015963468700647354,
-0.005654849112033844,
-0.044072918593883514,
0.021437926217913628,
-0.07154428958892822,
-0.003906253259629011,
-0.00813183095306158,
0.025272974744439125,
-0.023514145985245705,
-0.013200129382312298,
-0.044590629637241364,
-0.015954365953803062,
-0.054199207574129105,
0.006270943209528923,
0.001974860904738307,
0.03613094985485077,
-0.0033096401020884514,
0.0019530935678631067,
0.027122734114527702,
0.01676773652434349,
-0.023229647427797318,
-0.041737351566553116,
-0.015147831290960312,
-0.0712958574295044,
0.05308825522661209,
0.009689278900623322,
-0.036758799105882645,
-0.024465477094054222,
-0.006393129006028175,
0.025230178609490395,
0.09334342926740646,
0.028475452214479446,
0.018429774791002274,
0.024830570444464684,
-0.050317052751779556,
-0.021942611783742905,
-0.007136864122003317,
0.03661740943789482,
0.02187555842101574,
-0.01248413510620594,
0.020821619778871536
] | bugs-prioritising-by-bucket | https://markhneedham.com/blog/2010/12/12/bugs-prioritising-by-bucket |
false | 2010-12-13 21:29:02 | Technical implementation heavy stories | [
"agile"
] | [
"Agile"
] | Earlier this year I wrote about http://www.markhneedham.com/blog/2010/03/26/finding-the-assumptions-in-stories/[some of the problems that we can run into when we have implicit assumptions in stories] and another problematic approach I've seen around this area is where we end up with stories that are very heavily focused on technical implementation.
Initially this seems like it will work out pretty well since all the developer then needs to do is follow the steps that have been outlined for them but from my experience it seems to create more problems than it solves.
The first problem is that it seems to create a *non thinking mindset* and the more detail there is the less it feels like you need to think.
This isn't a great position to end up in since there are frequently multiple ways to solve any problem and we will probably exclude those from our thinking if we're just following instructions.
As a developer part of the skill-set is knowing how to implement a solution but an equally important part is being able to *suggest alternative approaches* which may be more appropriate in a given context.
Technically heavy stories only encourage the former as the developer may now assume that any other options have somehow already been considered.
In addition to this it tends to take a lot of time to explain these types of stories which presumably also means that it takes longer to write them up as well.
I've also found that it's more difficult to understand these types of stories since it's not initially obvious why you need to implement the technical approach that has been described.
Another thing which I hadn't appreciated until quite recently is that it's very boring/demotivating to implement stories if all the problems have already been 'solved' before you even start.
Given that it's somewhat inevitable that we may end up with a story that is shaped like this the key seems to be not to get frustrated by the story but rather to try and find out what the underlying intent of the requirement actually is. | null | null | [
0.0014985232846811414,
0.029591646045446396,
-0.016615282744169235,
0.03502936661243439,
0.09417848289012909,
0.022140946239233017,
0.008268996141850948,
0.02060999721288681,
0.013497608713805676,
-0.0020187264308333397,
-0.04542524740099907,
0.009188276715576649,
-0.06391407549381256,
0.008452518843114376,
-0.041725002229213715,
0.08265327662229538,
0.041471485048532486,
-0.010771160013973713,
0.009444060735404491,
-0.0015292579773813486,
0.01728762313723564,
0.0648442804813385,
0.026506822556257248,
0.04132198542356491,
0.031419526785612106,
-0.0297849103808403,
0.01982733979821205,
-0.0020693170372396708,
-0.04905141517519951,
0.003946146462112665,
0.03926216810941696,
-0.009707690216600895,
-0.005740325897932053,
-0.03503442928195,
0.0005828447174280882,
-0.012836718000471592,
-0.034150686115026474,
0.04016341269016266,
0.004279646556824446,
0.004739495925605297,
-0.06680076569318771,
0.05810415744781494,
-0.03636586666107178,
-0.0061162845231592655,
-0.021852681413292885,
-0.011256006546318531,
-0.026533573865890503,
-0.0014199502766132355,
-0.00851442664861679,
-0.00022915318550076336,
-0.06949135661125183,
0.03691056743264198,
0.012573017738759518,
0.006221542600542307,
0.0033266551326960325,
0.051705311983823776,
0.009645064361393452,
-0.0719432681798935,
0.013019469566643238,
-0.026359720155596733,
0.005153689533472061,
-0.011000282131135464,
-0.013073720037937164,
0.046045880764722824,
0.02311773970723152,
-0.03237481787800789,
0.006164214573800564,
0.012769272550940514,
-0.03787834942340851,
-0.0038717356510460377,
-0.0013414191780611873,
-0.0054277037270367146,
-0.02190805971622467,
-0.0179157517850399,
-0.015555063262581825,
-0.04465460777282715,
0.02774941176176071,
0.053345877677202225,
0.005375961773097515,
0.04645436257123947,
-0.03732675686478615,
0.02752107009291649,
-0.00044622563291341066,
0.016030846163630486,
0.005066252313554287,
-0.06094469502568245,
0.03296160697937012,
-0.018133969977498055,
-0.06731940805912018,
0.06791213154792786,
0.03565419092774391,
-0.06058612838387489,
0.021938176825642586,
0.03495927155017853,
0.00065281504066661,
0.029304398223757744,
0.03005244955420494,
0.005557501222938299,
0.005385157186537981,
-0.0006868874188512564,
-0.025590313598513603,
-0.0036502559669315815,
-0.013899714685976505,
0.01588716357946396,
-0.08146066218614578,
-0.008097321726381779,
-0.0029052600730210543,
-0.0105292284861207,
-0.03140025958418846,
-0.00007954805914778262,
-0.03499815985560417,
0.02632899582386017,
0.0025290632620453835,
0.012116897851228714,
-0.07780169695615768,
0.057612333446741104,
0.0005842542159371078,
-0.03262441232800484,
-0.011037759482860565,
0.0042357491329312325,
0.06775262951850891,
0.013138496316969395,
-0.010453497990965843,
0.07086881250143051,
-0.020942019298672676,
0.02795582450926304,
-0.039030127227306366,
0.05016213282942772,
0.004932770971208811,
-0.0628773421049118,
-0.007731293328106403,
0.04521077871322632,
-0.02097996696829796,
-0.007016264833509922,
0.000863225432112813,
-0.013466360047459602,
0.015511220321059227,
0.012829217128455639,
0.007843004539608955,
0.03538092225790024,
-0.021197792142629623,
-0.04007580131292343,
0.0213690847158432,
0.03660506010055542,
0.010604401119053364,
-0.018939170986413956,
0.0032887922134250402,
-0.008611036464571953,
-0.03171267360448837,
-0.019668594002723694,
0.014727802015841007,
0.03360513225197792,
0.02157953381538391,
-0.05241359770298004,
0.0211122278124094,
0.0868200957775116,
0.030776889994740486,
0.007262174505740404,
-0.01647847145795822,
0.02625792846083641,
0.05610271543264389,
0.028739001601934433,
0.004029358737170696,
0.018600529059767723,
0.02386612631380558,
-0.01979408971965313,
0.010187353007495403,
0.03440525382757187,
0.010724221356213093,
0.011840147897601128,
-0.04164022579789162,
-0.04987374693155289,
0.05968509614467621,
-0.04809116944670677,
-0.022266194224357605,
0.033276110887527466,
0.08043588697910309,
0.052403271198272705,
0.01750853843986988,
0.008591141551733017,
-0.07728838175535202,
0.03335043042898178,
0.004686306230723858,
0.013043359853327274,
0.009638921357691288,
-0.03537983074784279,
0.04892689734697342,
0.022231243550777435,
0.0026960489340126514,
0.027194878086447716,
-0.0848323255777359,
-0.07760310173034668,
-0.007585333194583654,
-0.009958308190107346,
0.049512721598148346,
-0.03343801945447922,
0.011644202284514904,
0.07724595814943314,
0.0032643387094140053,
0.04721362888813019,
0.04663516581058502,
0.00615070853382349,
-0.004028909839689732,
-0.042599838227033615,
-0.042657796293497086,
0.05081531032919884,
0.04116741195321083,
-0.005943036638200283,
-0.03352455049753189,
0.01352700125426054,
-0.01079170685261488,
-0.0017098779790103436,
0.04326513409614563,
-0.01051720418035984,
0.03670865297317505,
0.0029724868945777416,
0.06840310990810394,
-0.04262930899858475,
0.05521633103489876,
-0.044300857931375504,
-0.0016807180363684893,
-0.017801618203520775,
0.006101233884692192,
0.007457970641553402,
-0.0005324064404703677,
0.11032536625862122,
0.04867251589894295,
-0.06217636540532112,
-0.03853548690676689,
0.0024736912455409765,
0.013029098510742188,
-0.040852293372154236,
-0.0030432180501520634,
0.0020053309854120016,
0.009404071606695652,
0.00888426136225462,
-0.057710301131010056,
-0.03817836567759514,
0.01274941023439169,
-0.0245624091476202,
0.02020852640271187,
0.06842502951622009,
-0.02767757512629032,
0.07213065773248672,
-0.0013368870131671429,
0.00857972539961338,
-0.009860368445515633,
-0.025408728048205376,
-0.06980247795581818,
0.0011433690087869763,
0.00627882219851017,
-0.023221317678689957,
0.04944777861237526,
-0.009218771010637283,
-0.037644874304533005,
-0.02950000762939453,
-0.05716572701931,
0.0032851912546902895,
0.040208104997873306,
0.07449965924024582,
-0.019257599487900734,
0.07708361744880676,
-0.004008272662758827,
0.022679589688777924,
-0.005842754151672125,
-0.05910474807024002,
-0.03200341761112213,
-0.02228459157049656,
-0.010405192151665688,
0.03866337984800339,
0.02698805183172226,
0.00958750769495964,
0.0112157529219985,
-0.001404444221407175,
-0.018231762573122978,
-0.016275713220238686,
0.03525735065340996,
-0.023772085085511208,
0.006358655635267496,
-0.01880551129579544,
-0.01781902275979519,
0.05484854057431221,
-0.0374143011868,
-0.000104567501693964,
0.017298294231295586,
-0.06732743233442307,
0.05005861818790436,
-0.055140551179647446,
-0.04729944095015526,
0.009076349437236786,
0.008079183287918568,
0.04908761382102966,
0.02006177417933941,
0.020204970613121986,
0.09317563474178314,
0.01844954676926136,
-0.000025340274078189395,
-0.022683266550302505,
0.013535057194530964,
0.05507202073931694,
-0.009567215107381344,
-0.010912878438830376,
0.060018643736839294,
0.0041539776138961315,
-0.014929383993148804,
-0.04216156527400017,
0.0650235041975975,
-0.010968929156661034,
-0.30441367626190186,
0.018297938629984856,
-0.008688041009008884,
-0.050636176019907,
0.0057583162561059,
-0.015067892149090767,
0.014661259949207306,
-0.050435326993465424,
-0.03647543489933014,
0.02214028872549534,
-0.054121118038892746,
-0.033639878034591675,
-0.02170725353062153,
0.041114818304777145,
-0.00034595365286804736,
0.00529122119769454,
0.013583406805992126,
-0.02939637564122677,
-0.008572213351726532,
0.05453106388449669,
-0.012125593610107899,
-0.07381922751665115,
-0.010578567162156105,
0.04136883094906807,
0.0352838933467865,
0.06425604969263077,
-0.07611086964607239,
0.06298153847455978,
-0.06146935001015663,
-0.004175309091806412,
0.009218582883477211,
-0.021995188668370247,
0.0024282585363835096,
-0.02900475263595581,
-0.02081633359193802,
-0.01714111492037773,
0.04195929691195488,
0.0009811370400711894,
0.012244017794728279,
0.019767625257372856,
-0.009112878702580929,
-0.04019078239798546,
-0.009556441567838192,
0.03438493236899376,
0.06000680848956108,
-0.022245924919843674,
-0.08461592346429825,
0.0046867127530276775,
-0.019369283691048622,
0.07432732731103897,
-0.028098659589886665,
-0.018473150208592415,
-0.008433913812041283,
0.019390074536204338,
-0.01927424967288971,
-0.009741089306771755,
0.007521495688706636,
-0.050159670412540436,
-0.03648675978183746,
-0.04421817511320114,
-0.0005791306030005217,
-0.008049767464399338,
-0.02224224992096424,
-0.035040367394685745,
0.016258398070931435,
-0.07179959863424301,
-0.05543537065386772,
-0.01006779819726944,
0.06586050987243652,
0.027021368965506554,
-0.023556753993034363,
0.023961130529642105,
0.009947018697857857,
-0.10138437151908875,
-0.024155164137482643,
-0.020856795832514763,
-0.043320052325725555,
-0.0007793575641699135,
0.001246320316568017,
0.023936204612255096,
-0.04057282581925392,
-0.046464163810014725,
0.028397832065820694,
-0.0070733907632529736,
0.009695685468614101,
-0.008951886557042599,
0.04175485298037529,
0.006197665352374315,
-0.01369661558419466,
0.023572800680994987,
0.061590373516082764,
0.011862908490002155,
-0.03075413405895233,
-0.024943629279732704,
0.020244738087058067,
-0.005625076126307249,
0.02305607870221138,
-0.02772817388176918,
0.0324174202978611,
0.015523364767432213,
-0.008058028295636177,
-0.0462963841855526,
0.018476299941539764,
-0.015431384555995464,
-0.0071495939046144485,
-0.020225845277309418,
-0.04460548982024193,
0.010981368832290173,
0.034675657749176025,
0.03350982815027237,
0.009369606152176857,
-0.03311476111412048,
0.010985520668327808,
-0.033363986760377884,
-0.034703969955444336,
-0.025169091299176216,
0.015573078766465187,
0.05260704085230827,
-0.022635847330093384,
-0.012806899845600128,
-0.04098202660679817,
0.009620272554457188,
0.0069558764807879925,
-0.0016852942062541842,
-0.05772833898663521,
-0.022501295432448387,
-0.006431239191442728,
-0.031234752386808395,
0.000052591167332138866,
0.020042620599269867,
-0.02722102589905262,
-0.00412018783390522,
0.018200667575001717,
-0.0411466546356678,
-0.0065183211117982864,
-0.06057344749569893,
-0.05619993060827255,
-0.015439770184457302,
0.004385502077639103,
0.01649288833141327,
0.012328926473855972,
0.029881471768021584,
-0.0029900632798671722,
0.01380408275872469,
0.04705529287457466,
-0.006880312692373991,
0.033362653106451035,
-0.0004575905331876129,
0.012934954836964607,
0.006204684730619192,
-0.0031559111084789038,
-0.05697345733642578,
0.037478167563676834,
-0.040859904140233994,
-0.03665753826498985,
-0.01289841253310442,
0.012635745108127594,
-0.02184743620455265,
-0.025140870362520218,
-0.02696377970278263,
0.03515816479921341,
-0.055023208260536194,
-0.03678213059902191,
-0.03249143064022064,
0.01974690705537796,
0.054878514260053635,
-0.02123495563864708,
0.010636203922331333,
-0.01298865582793951,
-0.0013550699222832918,
0.007120903581380844,
0.004947182256728411,
-0.060236211866140366,
0.004632192198187113,
-0.0025702561251819134,
-0.005241894628852606,
0.004273763857781887,
-0.027347924187779427,
0.03475372493267059,
-0.004984560422599316,
-0.006374867632985115,
-0.020789021626114845,
0.0222993865609169,
0.026662059128284454,
0.03942649066448212,
0.012390398420393467,
0.013547978363931179,
0.0017180765280500054,
-0.03410830721259117,
-0.018730366602540016,
-0.04968605190515518,
-0.004971077665686607,
0.005182118155062199,
0.01604384370148182,
-0.04880097880959511,
-0.060357190668582916,
0.054447825998067856,
0.004425441846251488,
0.020912453532218933,
0.010236714966595173,
-0.006002512760460377,
-0.02009527198970318,
-0.04649386182427406,
0.023570585995912552,
0.07665698975324631,
-0.07614158093929291,
0.004744705278426409,
-0.001984864706173539,
0.012699684128165245,
0.0215167123824358,
-0.006131635047495365,
-0.029137196019291878,
-0.04653564840555191,
-0.03319676220417023,
0.01929512992501259,
-0.07546117156744003,
-0.018210064619779587,
-0.021253548562526703,
0.027386199682950974,
0.012339456006884575,
0.001793834613636136,
-0.037788283079862595,
-0.0012874224921688437,
-0.021510561928153038,
-0.029668914154171944,
0.011927034705877304,
-0.01822126843035221,
-0.012265375815331936,
0.01684248447418213,
-0.04225526377558708,
-0.018026117235422134,
-0.019733291119337082,
0.04845074564218521,
0.023340284824371338,
-0.026656610891222954,
-0.0062999967485666275,
-0.030702047049999237,
0.016568582504987717,
0.018709709867835045,
0.0519694983959198,
0.004419604316353798,
-0.052068017423152924,
-0.022233668714761734,
-0.03387138992547989,
-0.023260345682501793,
0.022642498835921288,
-0.014990666881203651,
-0.0039398870430886745,
0.003165696980431676,
0.06580835580825806,
0.038327742367982864,
0.015613784082233906,
-0.005361330229789019,
-0.013317175209522247,
0.042865827679634094,
-0.06222483515739441,
-0.01305796205997467,
-0.011805729940533638,
-0.06467252224683762,
0.005997915752232075,
0.001738984021358192,
0.020772920921444893,
-0.047077007591724396,
0.03024333156645298,
0.0341571681201458,
0.03248261660337448,
0.03217236325144768,
0.020336680114269257,
0.025242865085601807,
-0.04836048558354378,
-0.007325220387428999,
-0.08883634954690933,
0.027171196416020393,
0.026982616633176804,
-0.0005604408797807992,
0.00331942830234766,
0.004605327267199755,
-0.028551150113344193,
0.05595662444829941,
-0.06921928375959396,
-0.013830331154167652,
0.036246608942747116,
-0.018378064036369324,
-0.007164117880165577,
0.020255476236343384,
-0.06425211578607559,
0.029323209077119827,
0.020205263048410416,
-0.021414222195744514,
-0.0340854674577713,
-0.029089825227856636,
0.06355457007884979,
0.03376020863652229,
0.021670294925570488,
-0.018254445865750313,
-0.011819466948509216,
0.0775548592209816,
0.014545277692377567,
0.006917235441505909,
0.033008184283971786,
-0.010571259073913097,
0.048016730695962906,
0.04682885482907295,
0.01774875447154045,
0.01442679576575756,
0.012838702648878098,
-0.02464563027024269,
-0.07123573869466782,
0.04715895280241966,
-0.0025257118977606297,
-0.03193792700767517,
-0.013592636212706566,
0.052658531814813614,
0.016728553920984268,
-0.03626374900341034,
-0.055058401077985764,
-0.0032981005497276783,
-0.051020652055740356,
0.0006902877939864993,
-0.021834297105669975,
-0.02965647727251053,
-0.021044887602329254,
0.053586121648550034,
-0.016745103523135185,
0.008684467524290085,
0.05981116369366646,
-0.002573673613369465,
-0.009794263169169426,
-0.03320740535855293,
0.0974588468670845,
0.07411230355501175,
0.08480054140090942,
0.01209665834903717,
0.056159213185310364,
-0.023969899863004684,
-0.03970138356089592,
0.031616486608982086,
-0.0040680724196136,
0.001006665755994618,
-0.04249728471040726,
0.04757674038410187,
0.03495660051703453,
0.008921178989112377,
0.07254441827535629,
0.001690578879788518,
0.001267411164008081,
-0.0028291882481426,
0.04532885178923607,
-0.0008327345130965114,
0.07149051874876022,
0.020071832463145256,
0.0008056375663727522,
-0.013984660618007183,
-0.06373653560876846,
0.021956445649266243,
-0.04356047138571739,
-0.022645073011517525,
0.04231470823287964,
0.013593503274023533,
0.03873291611671448,
0.0047797393053770065,
0.021730856969952583,
0.08778614550828934,
-0.04110971838235855,
0.027807537466287613,
-0.0023489424493163824,
0.05111740529537201,
-0.018768923357129097,
0.04514557495713234,
-0.011607682332396507,
-0.019993657246232033,
0.00469485018402338,
-0.03230929374694824,
-0.018821533769369125,
-0.028926342725753784,
-0.02177484892308712,
0.04066387936472893,
-0.03222786635160446,
-0.0062561132945120335,
0.0157302375882864,
0.007436214480549097,
-0.031370509415864944,
-0.08065494894981384,
-0.018767884001135826,
-0.028766032308340073,
-0.05170122906565666,
-0.02984732575714588,
0.033088091760873795,
-0.01108592003583908,
-0.0397089421749115,
-0.015598341822624207,
-0.026962285861372948,
-0.046851929277181625,
0.01500623393803835,
-0.04191838204860687,
-0.007547656074166298,
0.011801575310528278,
0.01989505998790264,
0.013366677798330784,
0.03344074636697769,
0.02315949834883213,
0.013697593472898006,
-0.008811729028820992,
0.006619568448513746,
0.015973437577486038,
0.031113384291529655,
0.0033923827577382326,
0.0008697802550159395,
-0.07881774008274078,
0.018221959471702576,
0.04991879686713219,
-0.027464337646961212,
-0.05759521573781967,
0.027124686166644096,
0.007467643823474646,
-0.00025320975692011416,
0.07093445211648941,
-0.022858453914523125,
0.014254843816161156,
-0.020111899822950363,
-0.004600571468472481,
-0.033289048820734024,
0.0065353624522686005,
0.03463539481163025,
-0.03579648956656456,
0.07813316583633423,
0.011548284441232681,
-0.012221510522067547,
-0.03292221575975418,
-0.012101428583264351,
0.012845432385802269,
0.01014829333871603,
-0.0077279554679989815,
-0.00518284784629941,
-0.01309763640165329,
-0.07973480224609375,
-0.020954255014657974,
0.027152009308338165,
-0.03854380175471306,
-0.03301132097840309,
0.04312649741768837,
0.004535634536296129,
-0.0317203626036644,
0.04210833087563515,
-0.04416697844862938,
0.05375045910477638,
-0.030795564875006676,
-0.007324730046093464,
0.0005944284494034946,
0.011647210456430912,
0.017986290156841278,
-0.01171859260648489,
0.00579064292833209,
-0.05176142230629921,
0.01215940061956644,
-0.008938639424741268,
0.03439312428236008,
0.0220833420753479,
-0.0024904790334403515,
0.006096966564655304
] | [
-0.07481151074171066,
-0.004027532879263163,
-0.0016683764988556504,
-0.009237619116902351,
0.012632770463824272,
-0.040432997047901154,
-0.03692001849412918,
0.029049266129732132,
0.0061183590441942215,
-0.013995464891195297,
0.01645667478442192,
0.0005262729828245938,
-0.012104935944080353,
-0.012972169555723667,
0.09772957116365433,
0.029049480333924294,
-0.001628209720365703,
-0.07652517408132553,
0.017355384305119514,
0.03585711866617203,
0.030578242614865303,
-0.025965290144085884,
-0.008185096085071564,
-0.021972281858325005,
0.0006384923472069204,
0.026812419295310974,
0.026071397587656975,
-0.034639425575733185,
-0.0028812140226364136,
-0.18468566238880157,
-0.01425351481884718,
0.011672701686620712,
0.03769751638174057,
-0.023642100393772125,
0.008031787350773811,
0.06487032026052475,
0.002413924550637603,
0.03627471625804901,
-0.003100837115198374,
0.04171515628695488,
0.007392577826976776,
0.02681928314268589,
-0.039165955036878586,
-0.07172634452581406,
0.01075898576527834,
-0.006902704946696758,
-0.016914235427975655,
-0.02843717485666275,
-0.03823380917310715,
-0.005320955999195576,
-0.08675369620323181,
-0.027415314689278603,
-0.042035602033138275,
-0.03006996028125286,
-0.023182492703199387,
0.05258212611079216,
0.01995014026761055,
0.06337770074605942,
0.030519239604473114,
0.03489937633275986,
0.03623300418257713,
-0.02137443982064724,
-0.11978056281805038,
0.09226709604263306,
0.05276452749967575,
0.058371663093566895,
-0.05936836451292038,
-0.010721718892455101,
-0.0022753188386559486,
0.08533560484647751,
-0.0028528179973363876,
-0.00877306330949068,
-0.016077477484941483,
0.05680955573916435,
0.020932935178279877,
0.014758969657123089,
0.0024243760854005814,
0.020107457414269447,
0.03835554048418999,
-0.060781799256801605,
-0.03661135211586952,
0.0006467895582318306,
-0.00803427118808031,
0.0174398310482502,
-0.05202279984951019,
0.013827960938215256,
0.002510352525860071,
0.04708521068096161,
0.010255806148052216,
0.02507372945547104,
0.07443971186876297,
-0.017923014238476753,
0.03368043527007103,
0.004120819270610809,
-0.0864756628870964,
-0.02410712093114853,
-0.021756377071142197,
0.0020514032803475857,
-0.06274661421775818,
0.43531033396720886,
0.004137429874390364,
-0.0597958117723465,
0.0933542475104332,
0.060100458562374115,
-0.0007960378425195813,
0.02136714942753315,
0.01912640407681465,
-0.07338085770606995,
0.028855765238404274,
-0.020988546311855316,
-0.012865819968283176,
0.007410723250359297,
0.034181930124759674,
-0.03792847692966461,
0.023104973137378693,
0.04418792948126793,
0.017420509830117226,
0.005224093794822693,
-0.01917518489062786,
-0.00023138063261285424,
0.007235636468976736,
0.01925916038453579,
-0.0052854442037642,
0.00010239629773423076,
-0.022606460377573967,
-0.025650721043348312,
0.02883291244506836,
0.046705212444067,
0.03061232715845108,
-0.026190288364887238,
0.03431340306997299,
-0.03921406716108322,
-0.07646894454956055,
0.020083406940102577,
0.008589906617999077,
0.0003042962052859366,
0.03754734992980957,
-0.027777528390288353,
0.0018432175274938345,
0.038315534591674805,
0.008340468630194664,
-0.013925934210419655,
-0.03587321564555168,
-0.004559922497719526,
-0.04340251162648201,
0.08571308851242065,
0.04249250516295433,
-0.02710050716996193,
-0.0070456224493682384,
-0.026441665366292,
-0.009197280742228031,
0.02973772957921028,
-0.00550417834892869,
-0.050807252526283264,
0.031857963651418686,
-0.006951021496206522,
0.09390813112258911,
-0.012495084665715694,
-0.08467762917280197,
0.01626448519527912,
-0.0005453930934891105,
-0.018008848652243614,
-0.05229268968105316,
0.025536365807056427,
0.04508723318576813,
-0.07198354601860046,
-0.0042191739194095135,
0.0029146624729037285,
0.04512843117117882,
-0.068902388215065,
-0.030392346903681755,
0.023471875116229057,
-0.02285400964319706,
-0.012446189299225807,
0.05169926956295967,
-0.022326618432998657,
-0.07151138782501221,
0.014992124401032925,
0.05065257102251053,
0.025751352310180664,
0.025518732145428658,
0.021368173882365227,
-0.010547775775194168,
0.03589264303445816,
-0.0420466884970665,
-0.11851444840431213,
-0.007603200618177652,
-0.011678476817905903,
-0.02951294742524624,
-0.010026323609054089,
0.0055432128719985485,
-0.02398812025785446,
-0.062420979142189026,
0.0758378878235817,
-0.008901105262339115,
-0.030342884361743927,
0.05666736140847206,
-0.010533836670219898,
-0.027646377682685852,
-0.01841985620558262,
-0.06979053467512131,
0.027670742943882942,
-0.04739299789071083,
-0.006722146179527044,
-0.08073768764734268,
0.036373838782310486,
0.04661960154771805,
-0.05172744020819664,
0.08273577690124512,
0.03602692112326622,
-0.05635109916329384,
-0.03321395069360733,
-0.0025547936093062162,
0.022418010979890823,
-0.002264326671138406,
0.0028815718833357096,
0.014990836381912231,
0.02822636254131794,
0.001374503131955862,
0.025151824578642845,
-0.03280013054609299,
0.0020193136297166348,
-0.008766082115471363,
-0.3427603542804718,
-0.04290199279785156,
-0.019672194495797157,
-0.03338996320962906,
-0.004506077617406845,
-0.043462418019771576,
0.013048738241195679,
-0.016874734312295914,
-0.04016074538230896,
0.021739553660154343,
0.08617331087589264,
-0.03560292720794678,
0.023526722565293312,
-0.08441874384880066,
-0.00022650380560662597,
-0.024515286087989807,
-0.042556282132864,
-0.031612738966941833,
-0.014277519658207893,
0.013455263338983059,
0.011585232801735401,
-0.015062369406223297,
-0.02019430510699749,
-0.09060856699943542,
-0.015941839665174484,
-0.028206931427121162,
0.09436226636171341,
0.030627088621258736,
0.07682748138904572,
-0.041451726108789444,
0.034204643219709396,
0.004764766898006201,
0.021787306293845177,
-0.09732485562562943,
0.007735611405223608,
-0.016306264325976372,
0.024716384708881378,
-0.018606478348374367,
-0.00609236303716898,
-0.04328214377164841,
-0.04888929799199104,
0.02918480895459652,
-0.05964602902531624,
-0.01699850894510746,
-0.11054408550262451,
0.020806577056646347,
-0.029118765145540237,
-0.012780191376805305,
0.008422881364822388,
0.0886000245809555,
0.004812019877135754,
0.006464988458901644,
0.024393517524003983,
0.019469967111945152,
-0.027483444660902023,
-0.02404455654323101,
-0.0892781913280487,
0.052314240485429764,
0.02463207021355629,
0.00046079352614469826,
0.03135354816913605,
0.07754228264093399,
0.043840643018484116,
-0.037562452256679535,
0.012920130044221878,
0.013966850936412811,
0.0007664704462513328,
0.018755335360765457,
0.04771551862359047,
-0.018531043082475662,
-0.011812948621809483,
0.11020134389400482,
0.0005846644635312259,
-0.017170624807476997,
0.0192714873701334,
0.04239099100232124,
0.0004162216791883111,
0.01722772978246212,
0.017641939222812653,
-0.014706787653267384,
0.006101561710238457,
-0.023731322959065437,
0.019556108862161636,
-0.023517312481999397,
-0.010566259734332561,
0.02085295505821705,
-0.01960056647658348,
-0.06756176054477692,
0.06207413598895073,
0.016096029430627823,
-0.034289851784706116,
0.025131113827228546,
-0.042596884071826935,
-0.038775164633989334,
0.05241527035832405,
-0.00517842685803771,
-0.25209641456604004,
0.012545525096356869,
0.059869185090065,
0.0383746400475502,
0.0007860490004532039,
0.018331041559576988,
0.00986805185675621,
-0.022891368716955185,
0.030367640778422356,
0.007198341656476259,
0.035211917012929916,
0.003004751168191433,
-0.017024805769324303,
-0.004295011516660452,
0.028561275452375412,
-0.020427826792001724,
0.040959835052490234,
-0.004780328832566738,
0.04808105155825615,
-0.030259285122156143,
0.02877875417470932,
0.014336278662085533,
0.17631831765174866,
0.0041041299700737,
0.003022940130904317,
0.0007827742374502122,
0.00009398527618031949,
-0.02070193737745285,
0.04370052367448807,
-0.006601815111935139,
-0.01144620031118393,
0.0016430304385721684,
0.03712233528494835,
0.042303189635276794,
0.02897186204791069,
-0.06940526515245438,
-0.010298669338226318,
0.03770864009857178,
0.0364408940076828,
0.005229136440902948,
0.02401542104780674,
0.02962028980255127,
0.012924091890454292,
0.026741938665509224,
0.059460483491420746,
0.022547993808984756,
-0.00635470449924469,
-0.016656437888741493,
-0.07798584550619125,
0.003216482698917389,
-0.04196149855852127,
-0.02932163141667843,
0.03097706288099289,
0.0056443046778440475,
0.023784248158335686,
0.07722494006156921,
0.023286858573555946,
-0.02511242777109146,
0.007502262014895678,
-0.003762220498174429,
-0.030811641365289688,
-0.02068241313099861,
0.08608722686767578,
0.02899361215531826,
0.028428025543689728
] | [
0.01182475220412016,
0.0055482042953372,
0.02555137686431408,
0.02111935056746006,
-0.02072937600314617,
-0.016229085624217987,
0.0005233833217062056,
0.0191578920930624,
0.019513651728630066,
0.022085947915911674,
-0.019903626292943954,
0.022335033863782883,
0.018172459676861763,
-0.005721191875636578,
0.021807681769132614,
-0.010030196979641914,
-0.010956565849483013,
-0.03640222176909447,
0.045362066477537155,
-0.002258382039144635,
0.0008159495191648602,
0.02749042585492134,
-0.008153685368597507,
-0.004516622982919216,
-0.022511906921863556,
-0.017368251457810402,
-0.010060789994895458,
-0.0369512215256691,
0.03294762596487999,
-0.12184149026870728,
-0.052894674241542816,
-0.0273053627461195,
-0.011380353011190891,
0.013058888725936413,
-0.00343086919747293,
-0.027397656813263893,
-0.001008781255222857,
0.023599693551659584,
0.013012564741075039,
-0.012577473185956478,
-0.02348353900015354,
-0.006335298530757427,
-0.002445601625367999,
0.007439321372658014,
0.030745653435587883,
-0.006702806334942579,
-0.027345864102244377,
-0.01637202501296997,
-0.025683777406811714,
-0.043885644525289536,
-0.0312776155769825,
0.007493701763451099,
-0.02072087675333023,
-0.015226542949676514,
0.025368396192789078,
-0.012700425460934639,
0.051799822598695755,
-0.008486397564411163,
0.03392872214317322,
-0.03799263760447502,
-0.007470742333680391,
-0.010400375351309776,
-0.05817350745201111,
-0.02424502559006214,
-0.007379487622529268,
-0.020261159166693687,
0.006861151661723852,
0.03353092074394226,
-0.013612944632768631,
0.013661609962582588,
-0.008285787887871265,
0.03832003474235535,
-0.00297253648750484,
-0.04978872463107109,
0.008109909482300282,
0.0014504834543913603,
-0.000020429022697499022,
-0.02181870862841606,
-0.0017160773277282715,
-0.013344477862119675,
-0.03519048914313316,
0.031098566949367523,
0.031886160373687744,
0.0034640140365809202,
0.0034741912968456745,
-0.013621712103486061,
-0.004542285576462746,
0.01592535525560379,
-0.0009056694689206779,
0.0032356169540435076,
-0.0050651915371418,
-0.031063342466950417,
-0.02558670938014984,
0.008980329148471355,
-0.08686679601669312,
-0.002476606285199523,
-0.043610960245132446,
-0.03156779333949089,
-0.047575443983078,
0.8496749997138977,
-0.008671286515891552,
0.017419343814253807,
0.032862428575754166,
-0.005807464011013508,
0.03954441845417023,
0.004366288427263498,
-0.004723118152469397,
0.01431464683264494,
0.01047756988555193,
-0.04482448846101761,
-0.01988983154296875,
0.03208855539560318,
0.016621006652712822,
0.03888653218746185,
0.03057830035686493,
0.0330205112695694,
-0.0015508864307776093,
-0.02101488597691059,
-0.019983574748039246,
-0.009975861757993698,
0.049535755068063736,
0.017856083810329437,
-0.012224065139889717,
0.025890491902828217,
0.030523573979735374,
-0.16395452618598938,
0.03450236842036247,
-9.436006864105378e-33,
0.026424743235111237,
0.0333409309387207,
-0.019486792385578156,
0.0014398923376575112,
0.01897425204515457,
0.009202137589454651,
0.018132386729121208,
0.029798446223139763,
-0.027590276673436165,
-0.013045580126345158,
-0.018393704667687416,
-0.007782878819853067,
0.0033040072303265333,
-0.011407004669308662,
0.033548325300216675,
-0.018560487776994705,
-0.037138670682907104,
0.037992194294929504,
0.011242303065955639,
0.03699851781129837,
0.04777931421995163,
0.010349663905799389,
-0.0004442010831553489,
-0.0007775549311190844,
0.0012938333675265312,
0.012152638286352158,
0.024935873225331306,
0.007945453748106956,
-0.01965275965631008,
-0.04551142081618309,
-0.021906334906816483,
0.03834207355976105,
-0.027353452518582344,
0.00036459488910622895,
0.027960635721683502,
-0.0380643792450428,
0.004271570593118668,
-0.0007256102398969233,
0.00718995975330472,
-0.009012389928102493,
-0.043272871524095535,
0.011583676561713219,
-0.03422483801841736,
0.013075060211122036,
0.030881337821483612,
0.00036002614069730043,
-0.003910381346940994,
0.014723480679094791,
0.0010632724734023213,
-0.038935571908950806,
-0.01486353948712349,
0.03438254073262215,
-0.00007170043681981042,
-0.0173783041536808,
0.02457805722951889,
-0.0048591322265565395,
0.015440015122294426,
-0.018276285380125046,
0.032798994332551956,
0.018206235021352768,
0.05556314438581467,
-0.003442404791712761,
-0.040011338889598846,
0.02959240786731243,
-0.01775607094168663,
0.008481032215058804,
0.0012473533861339092,
0.01720954291522503,
0.03046344593167305,
-0.0077926903031766415,
-0.0344780758023262,
-0.021862776950001717,
0.020984642207622528,
0.017758164554834366,
-0.021534567698836327,
0.01709062233567238,
-0.01300075463950634,
0.025134416297078133,
-0.026707280427217484,
0.05928109213709831,
0.005954885855317116,
0.007331767585128546,
-0.022937633097171783,
-0.04210597276687622,
0.024467570707201958,
-0.004355156794190407,
0.005613912362605333,
-0.006991135887801647,
-0.010714512318372726,
-0.012751113623380661,
0.022281337529420853,
-0.002585482783615589,
0.0011551374336704612,
-0.01700175181031227,
-0.007181535940617323,
9.873195988379233e-33,
0.004872041754424572,
-0.005380710586905479,
-0.024090567603707314,
0.003259592456743121,
0.03747452795505524,
-0.04435557499527931,
-0.00032088274019770324,
-0.017706172540783882,
-0.018999528139829636,
0.016052648425102234,
-0.010816967114806175,
0.012506174854934216,
-0.019339554011821747,
0.0067679425701498985,
0.01476702094078064,
-0.008143809624016285,
0.009113111533224583,
-0.035828568041324615,
0.014286389574408531,
-0.008059153333306313,
-0.00434549804776907,
0.00456471461802721,
-0.02237270027399063,
0.013837565667927265,
0.06361770629882812,
0.05513084679841995,
-0.01658511534333229,
0.028055476024746895,
-0.006333851721137762,
-0.019826117902994156,
-0.011367205530405045,
-0.028806166723370552,
0.03953765705227852,
-0.005241226404905319,
-0.008068965747952461,
0.021520128473639488,
-0.004841361194849014,
-0.004700332414358854,
0.0293180663138628,
0.003665654454380274,
0.015559541992843151,
0.001629850477911532,
0.018742986023426056,
0.021524818614125252,
0.015849944204092026,
0.036770399659872055,
-0.004635875578969717,
-0.02648976631462574,
-0.00975019671022892,
-0.002702877623960376,
-0.0037556332536041737,
-0.00007773759716656059,
0.04048304259777069,
0.012966508977115154,
0.0009939187439158559,
-0.019733918830752373,
-0.03628247603774071,
-0.019359739497303963,
0.024460319429636,
0.017441915348172188,
0.03400062769651413,
0.04663383215665817,
-0.0003757920057978481,
-0.013277370482683182,
-0.03487027436494827,
-0.03356189280748367,
0.00043404405005276203,
-0.001824909239076078,
-0.030266257002949715,
-0.018704883754253387,
-0.04083460196852684,
0.005221527069807053,
0.003932547755539417,
0.027298372238874435,
0.03744067624211311,
0.0031671749893575907,
-0.05016393959522247,
-0.006827997509390116,
-0.0421379916369915,
0.0009093974367715418,
-0.004081394989043474,
-0.012129479087889194,
0.03161827102303505,
0.034927014261484146,
-0.020247848704457283,
0.03682750463485718,
-0.01626894436776638,
0.05319667235016823,
-0.00238095223903656,
-0.028817666694521904,
-0.03538849577307701,
-0.011800510808825493,
0.025040389969944954,
0.034097615629434586,
-0.025472480803728104,
-1.4656243330080088e-8,
-0.015657657757401466,
-0.0013283217558637261,
-0.002485702047124505,
-0.020356671884655952,
0.03385473042726517,
0.026938630267977715,
-0.021779032424092293,
0.018454302102327347,
-0.0433427058160305,
0.024790607392787933,
-0.0019001478794962168,
-0.032327525317668915,
-0.015722287818789482,
0.011440474539995193,
0.015305593609809875,
-0.04746181145310402,
-0.013183818198740482,
-0.027178043499588966,
0.019120365381240845,
0.01204100251197815,
0.05087433382868767,
0.0717410072684288,
-0.010223064571619034,
-0.007406716234982014,
0.007680734619498253,
0.0009248760179616511,
-0.01813378743827343,
-0.10483494400978088,
0.011960549280047417,
0.01548173651099205,
0.0031864598859101534,
-0.024173494428396225,
-0.02734760008752346,
0.04161582142114639,
-0.008281747810542583,
-0.03196346387267113,
0.026535989716649055,
0.04045869782567024,
-0.0039461334235966206,
-0.018410509452223778,
0.00898310448974371,
-0.0015054568648338318,
0.02047891728579998,
-0.024298720061779022,
-0.013881940394639969,
0.0046579958871006966,
-0.027553293853998184,
-0.039033252745866776,
0.02979261428117752,
-0.022506503388285637,
0.015810348093509674,
-0.004360986407846212,
0.02726070210337639,
0.04405774921178818,
0.017864355817437172,
0.007853020913898945,
0.010691916570067406,
-0.0358627624809742,
-0.03188110142946243,
-0.00044751339009962976,
0.014802445657551289,
0.034715525805950165,
0.015110858716070652,
-0.015237206593155861
] | technical-implementation-heavy-stories | https://markhneedham.com/blog/2010/12/13/technical-implementation-heavy-stories |
false | 2010-12-14 18:04:18 | Ask someone vs work it out yourself | [
"software-development"
] | [
"Software Development"
] | Back in 2007/2008 when I worked on my first couple of projects at ThoughtWorks I always found it strange how frequently my colleagues would try and figure something out themselves rather than asking someone else (who already knew how to do it) how to do it.
Fast forward to 2010 and I find myself being the one encouraging people to figure things out themselves.
There's still merit in communicating with colleagues when we've tried to work out how to do something and haven't managed to figure it out but it's also useful to not have this as our default mode.
This seems to be particularly the case when working offshore if we have a reasonable idea that someone onshore might be able to help us with something we're working on.
We can stop and wait for them to start their work day but frequently we'll be able to make some progress without their input and then if we really do need help we can always get it later on.
While someone else can often solve a problem quicker than us the disadvantage is that we don't tend to learn by watching others but rather by struggling ourselves.
In my first job it was suggested to me by a colleague that I should try and solve any problems alone for an hour before asking someone else for help.
Having said that I do think it's still useful to know which people in a team have expertise in certain areas so that we can ask them for help when required. | null | null | [
0.031004033982753754,
-0.004124606028199196,
0.0009195228340104222,
0.0193804744631052,
0.07842261344194412,
0.023493491113185883,
0.023984136059880257,
0.04527759924530983,
0.010327634401619434,
-0.024627769365906715,
-0.03236633166670799,
0.005777332000434399,
-0.0506916344165802,
0.015661505982279778,
-0.040732041001319885,
0.07684522122144699,
0.06563204526901245,
0.014815282076597214,
-0.01539037749171257,
-0.003472774988040328,
0.046829480677843094,
0.07842385768890381,
0.03072243556380272,
0.028676394373178482,
0.057912006974220276,
-0.016457214951515198,
0.013689585030078888,
-0.01889283023774624,
-0.03709995374083519,
-0.020677469670772552,
0.03695731982588768,
-0.01860537938773632,
0.02224813587963581,
-0.004339554812759161,
0.011013749055564404,
-0.028149329125881195,
-0.006414376199245453,
0.014082568697631359,
0.005405030678957701,
0.0005484268185682595,
-0.07269857078790665,
0.03972215577960014,
-0.01172420009970665,
0.017356673255562782,
-0.036472443491220474,
0.016398439183831215,
-0.025263061746954918,
0.0030923073645681143,
0.013834756799042225,
-0.003016145434230566,
-0.08379660546779633,
0.03840542584657669,
0.014797952957451344,
-0.005877504125237465,
-0.005957131274044514,
0.04181431233882904,
0.0104984724894166,
-0.06309856474399567,
0.012941447086632252,
-0.04161355271935463,
-0.010249591432511806,
-0.006867327727377415,
0.001673249644227326,
0.03373819962143898,
0.04222442954778671,
-0.0232449509203434,
0.023295966908335686,
0.02617602050304413,
-0.03773867338895798,
0.02403956837952137,
-0.03892896696925163,
-0.03921182081103325,
-0.029010482132434845,
-0.034224268049001694,
-0.017921075224876404,
-0.0418388731777668,
0.016505954787135124,
0.053104959428310394,
0.03202054277062416,
0.04346626251935959,
-0.02554812841117382,
0.02078232169151306,
-0.014654986560344696,
0.025329243391752243,
0.007660705130547285,
-0.04076627641916275,
0.025520239025354385,
-0.02401973307132721,
-0.05745624750852585,
0.042619865387678146,
0.017961110919713974,
-0.049629028886556625,
0.017033647745847702,
0.039456818252801895,
-0.0013374167028814554,
0.013317747041583061,
0.03375295177102089,
-0.0018883970333263278,
0.018501659855246544,
-0.013282852247357368,
-0.009769759140908718,
-0.022016780450940132,
0.005448358133435249,
0.02429477870464325,
-0.0729464739561081,
0.01241764985024929,
0.01977892592549324,
-0.01703219674527645,
-0.027823256328701973,
0.0027242826763540506,
-0.02684800699353218,
0.02121131680905819,
-0.013842832297086716,
0.03344043716788292,
-0.061841197311878204,
0.07017038762569427,
0.03555299714207649,
-0.015685586258769035,
-0.028419800102710724,
-0.023411454632878304,
0.021219033747911453,
0.011841139756143093,
-0.011755693703889847,
0.06857219338417053,
-0.005301573779433966,
0.004651653114706278,
-0.061398088932037354,
0.06986527889966965,
-0.0037292533088475466,
-0.0651518926024437,
-0.006241645198315382,
0.06187057122588158,
-0.03186097741127014,
-0.0016421590698882937,
-0.020828304812312126,
-0.0346137136220932,
0.016688136383891106,
0.007835883647203445,
0.02134239301085472,
0.05898605287075043,
-0.004041177686303854,
-0.037878815084695816,
0.03206346184015274,
0.021381312981247902,
0.00396168977022171,
-0.012473533861339092,
0.006965104024857283,
-0.03052176907658577,
-0.03562236577272415,
-0.027924619615077972,
-0.0004116106138098985,
-0.010369817726314068,
0.02717660553753376,
-0.04151325672864914,
0.028950873762369156,
0.08930057287216187,
0.04375694692134857,
0.0026010782457888126,
-0.0067579480819404125,
0.01160686369985342,
0.03246968612074852,
0.0318097360432148,
0.00953545980155468,
0.03471161797642708,
0.016211271286010742,
-0.03173774480819702,
0.0054247998632490635,
0.012781881727278233,
-0.001962767681106925,
0.01162529457360506,
-0.08189412206411362,
-0.04496441036462784,
0.05806445702910423,
-0.044741008430719376,
-0.017099613323807716,
0.04899654909968376,
0.07392644137144089,
0.028714248910546303,
0.009039787575602531,
0.01582932285964489,
-0.07018262892961502,
0.03869367018342018,
-0.00008905645518098027,
0.009551174938678741,
0.04295939952135086,
-0.02533617429435253,
0.0386902317404747,
0.0215930063277483,
-0.012672273442149162,
0.05346713215112686,
-0.07276270538568497,
-0.1022481620311737,
-0.013312149792909622,
-0.011802097782492638,
0.030906107276678085,
-0.034792155027389526,
0.00394920539110899,
0.0788111686706543,
-0.00573051767423749,
0.05763206258416176,
0.02031399868428707,
-0.015873610973358154,
0.024029193446040154,
-0.011043383739888668,
-0.07218651473522186,
0.08497687429189682,
0.02939531020820141,
-0.0019168938742950559,
-0.024930547922849655,
0.02020670473575592,
-0.020703138783574104,
-0.01628904417157173,
0.03111276775598526,
-0.007073274347931147,
0.02224777825176716,
0.007342491764575243,
0.03857081010937691,
-0.0404447577893734,
0.0433214008808136,
-0.025345738977193832,
0.00019482598872855306,
0.01961587741971016,
0.0013480251654982567,
0.018347475677728653,
-0.005480815656483173,
0.100263312458992,
0.05277533084154129,
-0.056626174598932266,
-0.040231283754110336,
0.0510774701833725,
0.028271425515413284,
-0.06137273833155632,
0.025499902665615082,
-0.010260304436087608,
0.033125415444374084,
0.01966128498315811,
-0.054605551064014435,
-0.039843153208494186,
0.030881764367222786,
-0.05831700190901756,
-0.01935875043272972,
0.04729931801557541,
-0.0422745980322361,
0.07295947521924973,
0.0015506192576140165,
-0.014704117551445961,
-0.008462095633149147,
-0.007083801086992025,
-0.05148632079362869,
0.018043864518404007,
0.023653119802474976,
-0.008150706067681313,
0.0390038937330246,
-0.015234134159982204,
-0.01977178454399109,
-0.044123392552137375,
-0.010934299789369106,
0.011914771981537342,
0.06606011837720871,
0.053642671555280685,
-0.023232195526361465,
0.06334509700536728,
-0.011416043154895306,
0.051601964980363846,
0.007642202544957399,
-0.04077966883778572,
-0.025018226355314255,
-0.042580246925354004,
0.004289751872420311,
-0.0003708550939336419,
0.0017594986129552126,
-0.011218221858143806,
0.025152862071990967,
0.03034793585538864,
-0.00902679841965437,
0.003979560919106007,
0.01366646308451891,
-0.0035183653235435486,
-0.002291017444804311,
-0.04633438587188721,
-0.00035343458876013756,
0.06288829445838928,
-0.03879145532846451,
-0.010140952654182911,
0.03370393067598343,
-0.08442104607820511,
0.020188838243484497,
-0.05502692610025406,
-0.06801619380712509,
-0.004563586320728064,
0.017345910891890526,
0.03731421008706093,
0.01578054018318653,
0.019828995689749718,
0.06283652782440186,
0.01826845295727253,
0.02128058485686779,
0.0009891284862533212,
-0.005689783021807671,
0.06159193813800812,
0.021354584023356438,
-0.018513619899749756,
0.03969385847449303,
-0.017600830644369125,
-0.000042441235564183444,
-0.03606376051902771,
0.06373891979455948,
-0.05701316520571709,
-0.29357999563217163,
0.025755515322089195,
0.00524162407964468,
-0.023608172312378883,
0.03850186616182327,
-0.04093803092837334,
0.02932383306324482,
-0.034775260835886,
-0.03225979954004288,
0.024659164249897003,
-0.026720484718680382,
-0.036518748849630356,
-0.011418321169912815,
0.05280707776546478,
-0.012048289179801941,
0.029455384239554405,
0.01906123198568821,
-0.038611382246017456,
0.01973731815814972,
0.03608018532395363,
-0.041383758187294006,
-0.05145897716283798,
-0.023785116150975227,
0.03071623109281063,
0.05137660354375839,
0.06348900496959686,
-0.07892382144927979,
0.04797768592834473,
-0.05474529787898064,
-0.012246862053871155,
-0.0214510727673769,
-0.0005766064277850091,
0.01561601459980011,
-0.026746919378638268,
0.007933421991765499,
-0.03110785223543644,
0.04881686717271805,
0.012148608453571796,
0.015469502657651901,
0.0020347770769149065,
-0.05256682261824608,
-0.05678647756576538,
0.004006206523627043,
0.03488698974251747,
0.07071486115455627,
0.00670270249247551,
-0.06375767290592194,
-0.02828410640358925,
-0.02617332898080349,
0.08465085923671722,
-0.049899909645318985,
-0.0005698446766473353,
-0.013666941784322262,
0.004118283744901419,
-0.026846803724765778,
-0.014653701335191727,
-0.005158401560038328,
-0.03402835503220558,
-0.056453730911016464,
-0.02898547425866127,
-0.021702725440263748,
-0.013055923394858837,
-0.013307800516486168,
-0.061646271497011185,
-0.015614637173712254,
-0.060403972864151,
-0.06571788340806961,
-0.025826221331954002,
0.07131645083427429,
-0.0031742898281663656,
-0.039091549813747406,
0.03167268633842468,
-0.009341706521809101,
-0.10179564356803894,
-0.008887078613042831,
-0.006402000319212675,
-0.026965415105223656,
0.0022561189252883196,
0.02689153142273426,
0.0400678813457489,
-0.000468412326881662,
-0.05714139714837074,
0.030491121113300323,
0.01174078043550253,
0.02441146969795227,
0.0011550302151590586,
0.05509330332279205,
0.024220909923315048,
-0.03797709941864014,
0.011712533421814442,
0.05283396691083908,
0.041718341410160065,
-0.03529253974556923,
-0.019973214715719223,
0.04415500536561012,
0.03803981468081474,
-0.0076852175407111645,
-0.03486127778887749,
0.0071199736557900906,
0.004778882022947073,
-0.007356340065598488,
-0.04153241589665413,
0.006157285999506712,
-0.011835845187306404,
-0.003529500914737582,
-0.01933928206562996,
-0.05454351752996445,
0.04850282892584801,
0.030574984848499298,
0.023606887087225914,
0.00780035275965929,
-0.013822509907186031,
0.012144272215664387,
-0.031446535140275955,
-0.024445340037345886,
-0.015561333857476711,
0.003959591034799814,
0.04764409363269806,
0.013144979253411293,
-0.01418823841959238,
-0.04026461020112038,
0.016758965328335762,
0.008042175322771072,
-0.0010493758600205183,
-0.07204695045948029,
-0.004451530985534191,
-0.008810496889054775,
-0.028818655759096146,
0.011009817942976952,
0.0306619331240654,
-0.02322212979197502,
0.02773016132414341,
0.03985705226659775,
-0.024928182363510132,
0.02862093783915043,
-0.04013150930404663,
-0.08020265400409698,
-0.01956901140511036,
-0.019252315163612366,
-0.0019345497712492943,
-0.031910497695207596,
0.031800542026758194,
0.00011248508235439658,
-0.00017738166206981987,
0.04732254147529602,
0.006577719934284687,
0.0014604185707867146,
-0.030363285914063454,
0.014429287053644657,
0.016932962462306023,
0.006970121059566736,
-0.05886179953813553,
0.02944336086511612,
-0.0507313497364521,
-0.0023135733790695667,
-0.03138119354844093,
0.024163374677300453,
-0.03692113608121872,
-0.04110575467348099,
-0.026895904913544655,
0.00310152187012136,
-0.05417241156101227,
-0.04421506077051163,
-0.02442151866853237,
0.06301119178533554,
0.05536162853240967,
-0.0309833362698555,
0.0013232332421466708,
0.003973584622144699,
0.0002549302007537335,
0.021184265613555908,
0.021404238417744637,
-0.0552537627518177,
-0.005735144950449467,
-0.00035412682336755097,
0.018419547006487846,
-0.002186042023822665,
-0.0011926036095246673,
0.05112982168793678,
-0.006240674294531345,
0.0022324384190142155,
-0.008834544569253922,
-0.007748170290142298,
0.010774508118629456,
0.04531267285346985,
0.013928722590208054,
-0.008531676605343819,
0.002374319126829505,
-0.02500721998512745,
-0.02365756779909134,
-0.036272961646318436,
-0.007858479395508766,
-0.015121661126613617,
0.021981345489621162,
-0.04380456358194351,
-0.06557154655456543,
0.045193493366241455,
0.021500088274478912,
0.004629967268556356,
0.018747080117464066,
-0.021128568798303604,
0.006294758524745703,
-0.032177336513996124,
0.024089261889457703,
0.06651642173528671,
-0.07282327860593796,
0.013527048751711845,
-0.0135338818654418,
0.008105114102363586,
0.02439580112695694,
-0.025104165077209473,
-0.0035550508182495832,
-0.010241001844406128,
-0.03397209569811821,
0.020696526393294334,
-0.07678733766078949,
-0.027317464351654053,
-0.03447864204645157,
0.031315114349126816,
0.01204913854598999,
0.002019647741690278,
-0.03611164167523384,
-0.024826833978295326,
-0.004873133264482021,
-0.019150663167238235,
0.013470983132719994,
-0.05985112115740776,
-0.0028339847922325134,
0.020081600174307823,
-0.010017083957791328,
-0.035503167659044266,
-0.034544069319963455,
0.039234891533851624,
-0.0015086932107806206,
-0.03890432417392731,
-0.017572570592164993,
-0.0156791303306818,
0.006717303302139044,
0.003441219450905919,
0.026704784482717514,
0.00883976835757494,
-0.025820842012763023,
-0.02973811700940132,
-0.02338346093893051,
-0.03332601115107536,
0.013264177367091179,
-0.02372266724705696,
-0.000624211854301393,
0.03967801854014397,
0.048180826008319855,
0.03133890777826309,
0.02188556082546711,
-0.0035583567805588245,
-0.026596838608384132,
0.035438667982816696,
-0.04187741130590439,
-0.05236579105257988,
-0.03587096929550171,
-0.05199681222438812,
0.014241072349250317,
0.02062869258224964,
0.014730751514434814,
-0.06754107028245926,
0.03260905668139458,
0.03126627579331398,
0.04010918736457825,
0.017467549070715904,
0.019368572160601616,
0.04360879957675934,
-0.0650378167629242,
-0.017701156437397003,
-0.06815726310014725,
-0.013609441928565502,
0.011460989713668823,
-0.010425962507724762,
-0.00925237126648426,
0.006984364707022905,
-0.028476692736148834,
0.06518251448869705,
-0.08275149017572403,
-0.015016268007457256,
0.04607601463794708,
0.008149724453687668,
-0.021527886390686035,
0.007175128906965256,
-0.07723437249660492,
0.03996190428733826,
0.019709765911102295,
-0.044698890298604965,
-0.017044510692358017,
-0.017057819291949272,
0.04401855543255806,
0.008457721211016178,
0.027570195496082306,
-0.05140988901257515,
-0.01771896705031395,
0.08702284097671509,
0.03040046989917755,
-0.006266436539590359,
0.06543374061584473,
-0.02065500058233738,
0.03249186649918556,
0.032226692885160446,
0.01838899403810501,
-0.014393242076039314,
0.028138071298599243,
-0.008965129032731056,
-0.0560210645198822,
0.035044021904468536,
-0.008205490186810493,
-0.034339211881160736,
-0.05446392297744751,
0.05071578919887543,
0.011115102097392082,
-0.016663627699017525,
-0.04884042963385582,
0.006906036287546158,
-0.05607648193836212,
-0.01384564395993948,
-0.008904950693249702,
-0.03427594527602196,
-0.03800056502223015,
0.024338532239198685,
-0.001771506736986339,
0.014054509811103344,
0.05308161675930023,
0.0065108127892017365,
-0.02802543342113495,
0.0024091715458780527,
0.0935480147600174,
0.04749138280749321,
0.08512946218252182,
0.009708461351692677,
0.06925465166568756,
-0.004668354522436857,
-0.02776150219142437,
0.01588108204305172,
-0.015479284338653088,
-0.007550373207777739,
-0.01592840440571308,
0.034829333424568176,
0.055256906896829605,
0.00553539302200079,
0.038788408041000366,
0.0008219926385208964,
-0.02620956487953663,
0.0022677015513181686,
0.04498918727040291,
0.027830978855490685,
0.05677468329668045,
0.031062912195920944,
0.0063445852138102055,
-0.007512865122407675,
-0.06828104704618454,
0.029043719172477722,
-0.03670188784599304,
-0.020092889666557312,
0.028077950701117516,
-0.0012586952652782202,
0.010452221147716045,
0.03760729357600212,
0.009025542996823788,
0.0695350244641304,
-0.018319226801395416,
-0.010169057175517082,
-0.012547324411571026,
0.04998050630092621,
-0.0161734726279974,
0.02091238461434841,
0.011845218017697334,
0.0005897019291296601,
-0.005818141158670187,
-0.0277156513184309,
-0.02736159786581993,
-0.011036833748221397,
-0.012765237130224705,
0.03853591904044151,
-0.03504767641425133,
0.023473916575312614,
0.032111745327711105,
-0.005508244503289461,
-0.034056320786476135,
-0.06018945947289467,
-0.031638506799936295,
-0.053091421723365784,
-0.026444917544722557,
-0.006860092282295227,
0.01223348081111908,
-0.010433715768158436,
-0.01560235396027565,
-0.01256534457206726,
-0.013014139607548714,
-0.047258228063583374,
0.03069203533232212,
-0.05675341188907623,
-0.037401922047138214,
0.010400990955531597,
0.022922588512301445,
0.024619974195957184,
-0.006470945663750172,
0.04033702239394188,
0.002653289819136262,
0.00044297901331447065,
-0.0033472063951194286,
0.026644499972462654,
0.016595829278230667,
-0.011716782115399837,
0.0020343554206192493,
-0.0713934674859047,
0.010558638721704483,
0.02595289796590805,
-0.007191835902631283,
-0.06225968524813652,
0.021173950284719467,
0.018986672163009644,
0.00798209197819233,
0.04823346063494682,
-0.004813835956156254,
0.01249124389141798,
-0.03785250335931778,
0.0005295597366057336,
0.0019035253208130598,
0.013289522379636765,
0.04769229143857956,
-0.0339999757707119,
0.07409466803073883,
0.021936558187007904,
0.011569526046514511,
-0.02765914425253868,
-0.011942721903324127,
0.003825167194008827,
-0.007541269063949585,
-0.02401214838027954,
-0.031172582879662514,
-0.01814112812280655,
-0.09441367536783218,
-0.029708923771977425,
-0.0054287114180624485,
-0.019290408119559288,
-0.03296136111021042,
0.03270285576581955,
0.013358477503061295,
-0.006347867660224438,
0.03179693967103958,
-0.05987691134214401,
0.02243010513484478,
-0.003405217546969652,
0.008845082484185696,
0.03705313429236412,
0.027866723015904427,
0.015135739929974079,
-0.020902059972286224,
0.03070691227912903,
-0.044770024716854095,
0.012844791635870934,
-0.030866695567965508,
0.01406838744878769,
0.048507530242204666,
-0.019324876368045807,
0.0030425009317696095
] | [
-0.06384600698947906,
0.006295285187661648,
-0.011960913427174091,
-0.03911760076880455,
0.03145403042435646,
-0.033339958637952805,
0.026576394215226173,
0.021296484395861626,
-0.025816168636083603,
-0.04694177955389023,
0.00847903173416853,
-0.021358219906687737,
-0.012834076769649982,
-0.004174406174570322,
0.06338327378034592,
0.027295619249343872,
-0.028553735464811325,
-0.06834015995264053,
0.015127569437026978,
0.023302441462874413,
-0.022484274581074715,
-0.020343393087387085,
-0.05471361428499222,
0.0016106710536405444,
0.006600878667086363,
0.005267930217087269,
0.034621160477399826,
-0.01946135237812996,
-0.0008775339229032397,
-0.1438159942626953,
0.005955134984105825,
0.014844530262053013,
0.022568389773368835,
0.010264459066092968,
0.027617862448096275,
0.06859680265188217,
0.006217094138264656,
0.027436334639787674,
-0.00031362942536361516,
0.029417816549539566,
0.024358807131648064,
0.009848170913755894,
-0.04275377094745636,
-0.03533630445599556,
0.027675045654177666,
0.021234717220067978,
0.030978504568338394,
-0.04248464107513428,
-0.024284178391098976,
0.0025375743862241507,
-0.044491976499557495,
-0.03688222914934158,
-0.01960456557571888,
-0.030142705887556076,
-0.01213468424975872,
0.01681067980825901,
0.052959561347961426,
0.04397962987422943,
0.002582714892923832,
0.026280323043465614,
0.02713151089847088,
-0.030352963134646416,
-0.1575041115283966,
0.09738355129957199,
0.04743705689907074,
0.06457934528589249,
-0.027637112885713577,
0.005919226445257664,
-0.03077688068151474,
0.0881250873208046,
0.019074680283665657,
-0.019647521898150444,
-0.017150329425930977,
0.025694547221064568,
0.04191666096448898,
0.009233278222382069,
-0.015934208407998085,
0.02490978129208088,
0.03051000088453293,
-0.04944631829857826,
-0.01498512364923954,
0.0025688246823847294,
-0.027221180498600006,
-0.00844491459429264,
-0.04194360598921776,
0.03926711902022362,
0.000841017288621515,
0.044138140976428986,
0.04922689497470856,
0.03583293408155441,
0.027087977156043053,
0.011907254345715046,
0.007217227481305599,
0.009099174290895462,
-0.06712672114372253,
-0.05979138985276222,
-0.0006149340770207345,
0.039171818643808365,
-0.09309382736682892,
0.4671165943145752,
-0.03004566580057144,
0.0007399590685963631,
0.09827499091625214,
0.018780311569571495,
-0.024839108809828758,
0.008048700168728828,
0.008877711370587349,
-0.04712271690368652,
0.02371925301849842,
-0.017597263678908348,
0.0264910701662302,
0.038213808089494705,
0.03569243848323822,
-0.03844666853547096,
0.01178241427987814,
0.03716360405087471,
0.014962220564484596,
0.010073087178170681,
-0.02108466625213623,
-0.019104447215795517,
-0.019159138202667236,
0.013192479498684406,
0.03242223337292671,
0.01514660008251667,
-0.05444781482219696,
-0.051414139568805695,
0.02297208271920681,
0.05410400778055191,
0.03118012100458145,
-0.004955417476594448,
0.06797537952661514,
-0.07422073185443878,
-0.03662361204624176,
0.006117204669862986,
-0.013786952942609787,
0.016327254474163055,
0.029808279126882553,
-0.021339768543839455,
-0.008142204023897648,
0.04755312576889992,
0.027824005112051964,
-0.026186466217041016,
0.0026909352745860815,
-0.014000900089740753,
-0.022445397451519966,
0.12163997441530228,
0.01191671472042799,
-0.01842425763607025,
0.008468243293464184,
-0.035987574607133865,
-0.009737802669405937,
0.007146249059587717,
-0.023545129224658012,
-0.050832003355026245,
0.053384363651275635,
-0.015442502684891224,
0.10057231783866882,
-0.017809217795729637,
-0.04142709821462631,
0.004433419089764357,
-0.020653123036026955,
-0.03149816393852234,
-0.061016008257865906,
0.019513525068759918,
0.08196695894002914,
-0.1010504812002182,
-0.012788323685526848,
-0.011668105609714985,
0.013081693090498447,
-0.06860259920358658,
-0.003512188559398055,
0.010967256501317024,
-0.012848981656134129,
0.01055821031332016,
0.05691015347838402,
-0.02202697843313217,
-0.027974363416433334,
0.017172353342175484,
0.028279749676585197,
0.04852030426263809,
0.03776288032531738,
0.013815260492265224,
-0.004333621822297573,
-0.019391093403100967,
-0.028050247579813004,
-0.058792125433683395,
-0.012513718567788601,
-0.02450072020292282,
-0.02976040355861187,
-0.007332375273108482,
-0.02063281089067459,
-0.022457489743828773,
-0.09067533165216446,
0.10362691432237625,
-0.022946499288082123,
-0.0163401048630476,
0.013489540666341782,
-0.04002811387181282,
-0.04531405121088028,
0.00300393789075315,
-0.08018142729997635,
0.014041646383702755,
-0.021209683269262314,
0.03217111527919769,
-0.0599195770919323,
0.06428571045398712,
0.060481686145067215,
-0.04002680256962776,
0.1151963472366333,
0.04018289968371391,
-0.02944137342274189,
-0.049073509871959686,
0.036304086446762085,
0.025561276823282242,
0.005427385680377483,
0.002532523823902011,
0.030324691906571388,
0.028328977525234222,
0.0004486128455027938,
0.015430150553584099,
0.022150684148073196,
0.010277049615979195,
-0.026039570569992065,
-0.3369773328304291,
-0.04885706305503845,
-0.0322999507188797,
0.010026911273598671,
0.02315964363515377,
-0.015574702993035316,
0.019098566845059395,
-0.00045605067862197757,
-0.054043058305978775,
0.012156261131167412,
0.08259308338165283,
-0.019235601648688316,
0.010140670463442802,
-0.07179957628250122,
0.009580031037330627,
-0.007003935519605875,
-0.04974208027124405,
-0.0020519678946584463,
-0.047215335071086884,
-0.006745862774550915,
0.010611604899168015,
0.004614220466464758,
-0.024627285078167915,
-0.04577010124921799,
-0.004792184103280306,
-0.03149421885609627,
0.10908344388008118,
0.003328885417431593,
0.05377359315752983,
-0.03569085896015167,
0.016919950023293495,
-0.01272145751863718,
0.03578951954841614,
-0.14897534251213074,
-0.014778370968997478,
-0.03223207965493202,
-0.004632117226719856,
-0.05304311588406563,
0.012240848504006863,
-0.03076297789812088,
-0.046232499182224274,
0.003631492145359516,
-0.07389577478170395,
-0.0005430660676211119,
-0.09517813473939896,
0.01105963159352541,
-0.030088528990745544,
0.004467047285288572,
-0.0672716274857521,
0.05670694634318352,
0.012982210144400597,
0.005753460805863142,
0.0055560152977705,
0.0030502809677273035,
-0.010112476535141468,
-0.0388164184987545,
-0.09452816843986511,
0.013454234227538109,
-0.011618160642683506,
-0.010258642956614494,
0.01792958751320839,
0.07625734061002731,
0.024457959458231926,
-0.03481866419315338,
0.004839702975004911,
-0.0009258376085199416,
-0.008333074860274792,
0.03850404545664787,
0.042178068310022354,
-0.0021571877878159285,
-0.010674419812858105,
0.09630625694990158,
-0.006800093688070774,
-0.017672615125775337,
0.004838595166802406,
0.01680629327893257,
-0.019774723798036575,
0.02837338112294674,
0.010069848038256168,
-0.024227412417531013,
0.024139629676938057,
-0.05970912054181099,
0.010765055194497108,
-0.01181680429726839,
0.010504158213734627,
0.04395277053117752,
-0.03458695113658905,
-0.0373082160949707,
0.08820205181837082,
0.020920315757393837,
-0.02688303031027317,
0.020284289494156837,
-0.025066083297133446,
-0.03854263201355934,
0.08516091108322144,
-0.0006736922077834606,
-0.22884981334209442,
0.032150719314813614,
0.05756613239645958,
0.0357300341129303,
-0.019575774669647217,
0.03845402970910072,
-0.0008129745838232338,
-0.016581429168581963,
0.009486693888902664,
0.021075693890452385,
0.02718680538237095,
0.008126111701130867,
-0.021702196449041367,
0.003015665104612708,
0.030411045998334885,
-0.002537886146456003,
0.04136411473155022,
0.002785320393741131,
0.004795358516275883,
-0.01741633377969265,
0.016000181436538696,
0.013945390470325947,
0.14890281856060028,
0.01260311808437109,
0.042456723749637604,
-0.0327879935503006,
0.0012217513285577297,
-0.006213404703885317,
0.055485133081674576,
-0.01491469144821167,
0.02954954095184803,
-0.00834732223302126,
0.0046923961490392685,
-0.004748223815113306,
0.029540838673710823,
-0.08783601224422455,
-0.0202068742364645,
0.04104312136769295,
0.02103430964052677,
-0.016349811106920242,
0.01837747171521187,
-0.014720401726663113,
-0.009184228256344795,
0.018237199634313583,
0.07127687335014343,
0.015437666326761246,
-0.0007095517357811332,
-0.07556653767824173,
-0.04189391806721687,
-0.018020255491137505,
-0.020213153213262558,
-0.01960732974112034,
0.018427304923534393,
0.02374015562236309,
0.004883985035121441,
0.05786370858550072,
0.028767481446266174,
-0.035559285432100296,
0.002317198785021901,
-0.007309668697416782,
-0.019200891256332397,
0.0064170449040830135,
0.09717582911252975,
0.019157597795128822,
0.05240894481539726
] | [
-0.008537818677723408,
0.01469966396689415,
0.03585585206747055,
0.032757360488176346,
0.010749013163149357,
-0.004057745914906263,
-0.021326497197151184,
-0.010283434763550758,
-0.010406105779111385,
0.00920802354812622,
-0.00539814680814743,
-0.009516354650259018,
0.00011498967796796933,
0.02225065790116787,
-0.00013730867067351937,
0.010954194702208042,
0.0005827712593600154,
-0.0723157674074173,
0.03188295662403107,
0.001835463335737586,
-0.01546714548021555,
0.007516467012465,
-0.021959086880087852,
-0.022878967225551605,
0.008968056179583073,
-0.0019411564571782947,
-0.009666782803833485,
-0.015521829947829247,
0.039657097309827805,
-0.11737047135829926,
-0.054582081735134125,
-0.023917781189084053,
-0.028039712458848953,
0.005456213839352131,
0.014349483884871006,
-0.0014904133277013898,
0.012280757538974285,
0.038652848452329636,
-0.012128588743507862,
-0.008712109178304672,
0.017418747767806053,
-0.01686561480164528,
0.03325657919049263,
0.008303527720272541,
-0.005197830032557249,
0.0066936141811311245,
0.04236263409256935,
-0.07143239676952362,
-0.005641372874379158,
-0.018466796725988388,
-0.027352802455425262,
-0.038986627012491226,
-0.014346851967275143,
-0.019652895629405975,
0.019961915910243988,
0.008339470252394676,
0.022062083706259727,
0.015147591009736061,
0.009332382120192051,
-0.023757755756378174,
0.018663056194782257,
-0.03841707482933998,
-0.04115420579910278,
-0.04062369465827942,
0.0033887627068907022,
-0.00003674616527860053,
-0.0006991814007051289,
0.02732137404382229,
-0.051426954567432404,
0.0002656819124240428,
-0.022851917892694473,
0.009800678119063377,
-0.021249936893582344,
-0.04257943108677864,
0.03284956142306328,
-0.023875271901488304,
-0.008413031697273254,
-0.030636809766292572,
0.004810435231775045,
-0.00985699612647295,
-0.019766071811318398,
0.02651188336312771,
-0.026659423485398293,
0.019333243370056152,
0.004817337729036808,
0.003231980837881565,
-0.007458995562046766,
0.01707501709461212,
0.04011491313576698,
-0.012798470444977283,
-0.025354284793138504,
0.0037011643871665,
-0.0273656714707613,
0.008227450773119926,
-0.08669771254062653,
-0.00027532567037269473,
-0.035646479576826096,
-0.0004393641138449311,
-0.022688742727041245,
0.8551604747772217,
-0.0030941576696932316,
0.015744969248771667,
0.04548824578523636,
-0.004745085258036852,
0.014373079873621464,
0.04536546394228935,
0.018934736028313637,
0.0006151366978883743,
0.003322082571685314,
-0.033582236617803574,
-0.027321595698595047,
0.02249908447265625,
-0.012859491631388664,
0.020356183871626854,
0.01496591605246067,
0.004847143776714802,
0.03575078397989273,
-0.01830975152552128,
-0.03768610581755638,
-0.017179032787680626,
0.018140830099582672,
0.020678920671343803,
0.028245562687516212,
0.00006483332253992558,
0.030161555856466293,
-0.14846783876419067,
-0.0011329596163704991,
-7.851519090381645e-33,
0.05659721791744232,
-0.0031937281601130962,
0.00877618882805109,
0.00001398069980496075,
0.0033721146173775196,
-0.026487087830901146,
0.02030053175985813,
0.03400940075516701,
-0.02222740463912487,
0.005196552257984877,
-0.02182348445057869,
-0.019242776557803154,
0.012125168927013874,
-0.033462535589933395,
0.009057682938873768,
-0.015621259808540344,
0.0020195837132632732,
0.025426877662539482,
-0.03189960867166519,
0.025463109835982323,
0.04630383476614952,
-0.0114333126693964,
-0.014489855617284775,
-0.018923437222838402,
0.025495396926999092,
-0.04254768043756485,
0.02834407053887844,
-0.005710727535188198,
0.004314195364713669,
-0.039847083389759064,
-0.009166250936686993,
0.0319504551589489,
-0.03414938971400261,
-0.02938416786491871,
-0.012982076965272427,
-0.026532571762800217,
-0.025202743709087372,
0.0205070823431015,
0.006547926925122738,
-0.06373433023691177,
-0.031058641150593758,
0.023462846875190735,
-0.012746510095894337,
0.010422023944556713,
-0.03241351991891861,
-0.008535303175449371,
0.0240342915058136,
0.0015050724614411592,
0.008879444561898708,
0.005658320151269436,
-0.0007387453224509954,
0.0016928936820477247,
-0.006257957778871059,
0.016527267172932625,
0.01970251090824604,
0.004481964278966188,
0.0026475077029317617,
0.03187748044729233,
-0.000780886912252754,
0.01591993309557438,
-0.001245300518348813,
-0.00013451756967697293,
-0.04785947501659393,
0.05437427759170532,
-0.01783756911754608,
0.04005194827914238,
0.020466992631554604,
0.03354841098189354,
0.01978362537920475,
-0.027187064290046692,
-0.04874926805496216,
-0.03824153169989586,
0.014729660004377365,
-0.008296645246446133,
0.004209971055388451,
0.0038003893569111824,
-0.014826750382781029,
0.010567164979875088,
-0.00671648234128952,
0.05223538354039192,
-0.011859330348670483,
0.0013367622159421444,
-0.010629761032760143,
-0.02252679318189621,
-0.010479717515408993,
0.0513208732008934,
0.03415139392018318,
-0.03244564309716225,
0.014058588072657585,
0.01154184341430664,
-0.002917184494435787,
0.0063507030718028545,
0.03597196564078331,
-0.013363185338675976,
-0.05447733402252197,
8.254239046869545e-33,
-0.0033162920735776424,
-0.016962284222245216,
-0.03389644995331764,
-0.009363297373056412,
0.029837975278496742,
-0.009213038720190525,
0.02883090451359749,
-0.010860491544008255,
-0.05078062787652016,
0.009289477951824665,
-0.012017264030873775,
0.00221358984708786,
-0.0278239194303751,
0.019506899639964104,
0.00898425281047821,
-0.026810457929968834,
-0.0028789483476430178,
-0.014054441824555397,
0.03762202709913254,
-0.018607696518301964,
-0.010569988749921322,
-0.016895487904548645,
-0.0022650547325611115,
0.004666109569370747,
0.017572931945323944,
0.08742883801460266,
0.0028585961554199457,
0.011906991712749004,
-0.007065119221806526,
0.011468971148133278,
-0.026429561898112297,
-0.008968484587967396,
0.02578136883676052,
-0.02905174531042576,
-0.0427311547100544,
0.01746116392314434,
-0.02261205203831196,
-0.014377288520336151,
-0.005749388597905636,
0.0026403493247926235,
0.008630780503153801,
0.021534042432904243,
-0.002175344852730632,
0.02236313931643963,
-0.040283434092998505,
0.013671360909938812,
-0.005223814398050308,
-0.0027467403560876846,
-0.03888336196541786,
-0.005794865544885397,
-0.012923200614750385,
0.036925118416547775,
0.033391520380973816,
-0.03175649419426918,
0.006123952101916075,
0.006438735406845808,
-0.02402571588754654,
0.012385853566229343,
0.01237038429826498,
0.030212460085749626,
-0.014351735822856426,
-0.00500855315476656,
-0.027936646714806557,
0.03312774375081062,
-0.006588496267795563,
0.020366763696074486,
0.00722529599443078,
-0.0014356679748743773,
0.0009371799533255398,
0.015704577788710594,
-0.010373519733548164,
0.035299234092235565,
-0.02185646817088127,
0.024485521018505096,
0.032175250351428986,
-0.05022986978292465,
-0.013467877171933651,
-0.015963643789291382,
-0.01821226254105568,
0.01660485565662384,
0.020834602415561676,
0.00573217635974288,
-0.008640263229608536,
0.006714672315865755,
-0.001073964056558907,
0.005098656751215458,
-0.01081976667046547,
0.02595122903585434,
0.027002621442079544,
-0.02847880683839321,
-0.015633726492524147,
-0.009869196452200413,
-0.02288900315761566,
0.043349623680114746,
-0.004458737559616566,
-1.3558438816119178e-8,
-0.0008376234909519553,
0.014920131303369999,
0.00821132306009531,
0.023712124675512314,
-0.00016250269254669547,
0.021127572283148766,
-0.019420200958848,
0.03764553368091583,
-0.020323503762483597,
0.0123582249507308,
0.03211480751633644,
-0.02925095334649086,
-0.023113004863262177,
0.012667379342019558,
0.0004500102368183434,
-0.027650877833366394,
0.014325055293738842,
-0.0035740076564252377,
0.02649281732738018,
0.02228608727455139,
0.04292593151330948,
0.053386010229587555,
-0.03183475509285927,
0.0128153832629323,
-0.011959707364439964,
-0.014394104480743408,
-0.023853769525885582,
-0.05834712088108063,
0.0005727360839955509,
0.03913014382123947,
-0.004363920073956251,
-0.008274330757558346,
-0.011632803827524185,
0.05071784555912018,
-0.006534921005368233,
-0.023789837956428528,
-0.011614217422902584,
0.0026515175122767687,
0.0013379792217165232,
0.004945758264511824,
-0.020161239430308342,
0.03367821127176285,
0.0015319514786824584,
-0.030508119612932205,
-0.019051622599363327,
0.02141808718442917,
-0.02468501217663288,
-0.018995266407728195,
0.04509991034865379,
-0.03359629958868027,
0.02631089836359024,
-0.0062259165570139885,
0.04146897420287132,
0.05622443929314613,
0.026734638959169388,
0.044042088091373444,
0.015837371349334717,
-0.018203992396593094,
-0.03879225254058838,
0.02953820303082466,
0.026511086151003838,
0.02434299886226654,
-0.026258008554577827,
-0.021709922701120377
] | ask-someone-vs-work-it-out-yourself | https://markhneedham.com/blog/2010/12/14/ask-someone-vs-work-it-out-yourself |
false | 2010-12-22 23:32:46 | Communication when it's not going your way | [
"software-development"
] | [
"Communication",
"Software Development"
] | I've been reading some of the articles written about the disruption caused by the snow across Europe and I found one quote in http://www.telegraph.co.uk/topics/weather/8214205/UK-snow-flights-cancelled-and-roads-closed-as-Arctic-weather-tightens-grip.html[The Daily Telegraph] by Phillip Hammond particularly interesting
____
"I think whilst people are obviously deeply upset about the inconvenience, particularly at this time of year, of having their travel plans disrupted, most of *what I am hearing is a sense of outrage about the way they were then treated when they were stranded at Heathrow airport.*"
____
I was stuck in Brussels Airport for almost a day and the communication by just about everybody there was as non existent as it sounds like it's been at Heathrow.
I think part of the reason for that was that the people in charge didn't know what was happening and part of it was because they didn't want to give people bad news.
I've noticed the same type of thing happen in organisations when there there's something bad to be communicated or an unpopular decision has been made and needs to be explained.
Often in this situation there will be no further communication because *it's assumed that people won't react well to that communication*.
I don't think that's actually an accurate assumption and in addition not communicating is actually quite a dangerous thing to do because it then puts people in the position that they will now guess why certain things are being done.
More often than not those guesses will be more damning of people in leadership positions than they deserve.
Whenever I've seen someone in a leadership position explain what's actually going on (and the thinking behind it) the response of the people receiving the message has always been much more reasonable than they expect it to be.
I think the people in charge of communicating what was going on in the airports would have had similar results if they'd only communicated something! | null | null | [
0.026784976944327354,
-0.008097444660961628,
0.02093225158751011,
0.010123985819518566,
0.052730340510606766,
0.00418101018294692,
0.0501016229391098,
0.05708226189017296,
-0.006184611469507217,
-0.021438710391521454,
-0.05048280954360962,
-0.012685464695096016,
-0.08739074319601059,
0.017203619703650475,
-0.03577680140733719,
0.0864761546254158,
0.044037096202373505,
0.011868521571159363,
0.0064796628430485725,
-0.01090383529663086,
0.08414748311042786,
0.04486759006977081,
0.041270382702350616,
0.03040200099349022,
0.04933999851346016,
-0.032119471579790115,
0.01618957705795765,
0.02856110781431198,
-0.05426264926791191,
-0.012504271231591702,
0.030274050310254097,
0.009554785676300526,
-0.012015929445624352,
0.02620733715593815,
0.017829442396759987,
0.01441825833171606,
-0.0016549683641642332,
0.009280450642108917,
-0.019244549795985222,
0.018494827672839165,
-0.05890834704041481,
0.03770139068365097,
-0.03954581171274185,
-0.01839495822787285,
-0.04907536134123802,
0.008891059085726738,
-0.0013294739183038473,
0.039756108075380325,
0.012021827511489391,
-0.01052029337733984,
-0.07403373718261719,
0.04323013126850128,
-0.0076662045903503895,
0.024569856002926826,
-0.027216145768761635,
0.039115794003009796,
-0.048586271703243256,
-0.07652124017477036,
0.02243000641465187,
-0.0448690764605999,
0.002434475813060999,
-0.008072610944509506,
0.013012116774916649,
0.005987773649394512,
0.03962734341621399,
-0.01895119994878769,
-0.01543121412396431,
0.0539756715297699,
-0.03167692944407463,
-0.010564496740698814,
-0.0005268020904622972,
0.024632254615426064,
-0.009657111018896103,
0.03770320490002632,
0.032244935631752014,
-0.07364603132009506,
0.025800153613090515,
0.04193614423274994,
0.0013564529363065958,
0.03193065896630287,
-0.010916918516159058,
0.004042922053486109,
0.002045326866209507,
0.04149777069687843,
0.0027503494638949633,
-0.03492750972509384,
-0.0011391369625926018,
0.0023573010694235563,
-0.04265022650361061,
0.052792489528656006,
0.03206409513950348,
-0.03482203185558319,
0.031388502568006516,
0.026946498081088066,
-0.006967569701373577,
0.011063063517212868,
0.037282053381204605,
0.001962086884304881,
-0.017575329169631004,
-0.0449531115591526,
-0.010983212850987911,
-0.02263295091688633,
0.013158194720745087,
0.01848672889173031,
-0.08782920986413956,
-0.023717032745480537,
-0.043738674372434616,
0.0158864613622427,
0.025212079286575317,
-0.0007286008330993354,
-0.0035971980541944504,
0.004828777629882097,
-0.0023236670531332493,
-0.010496919974684715,
-0.07524877786636353,
0.055628709495067596,
0.023419629782438278,
-0.05630706995725632,
0.022398628294467926,
-0.0163898803293705,
0.048133328557014465,
0.012904557399451733,
-0.012971939519047737,
0.0676586702466011,
-0.0028244946151971817,
0.018242081627249718,
-0.03549670800566673,
0.048487789928913116,
-0.032563403248786926,
-0.03792760893702507,
0.00011972759966738522,
0.0768994465470314,
-0.055377762764692307,
-0.0027478320989757776,
0.004010444041341543,
-0.016398044303059578,
-0.005153640639036894,
0.014249968342483044,
0.014356030151247978,
0.06745754182338715,
-0.006148506887257099,
-0.025972628965973854,
0.00993197038769722,
0.04092426970601082,
0.03260781615972519,
0.023409368470311165,
-0.01095212809741497,
-0.009731290861964226,
-0.01815296709537506,
-0.012210954912006855,
0.02409805916249752,
-0.0015252964803948998,
0.016547055914998055,
-0.022816525772213936,
0.010190721601247787,
0.07162308692932129,
0.051337555050849915,
0.005254624877125025,
-0.02152508869767189,
0.0448564775288105,
0.04766322672367096,
0.04500869661569595,
0.0220089890062809,
0.03328825533390045,
-0.0034205468837171793,
-0.011682793498039246,
-0.02330566570162773,
0.03212284669280052,
-0.0000625991597189568,
-0.007253308314830065,
-0.0394008606672287,
-0.05525417625904083,
0.05449221655726433,
-0.04437418654561043,
-0.01905795745551586,
0.05510565638542175,
0.08044196665287018,
0.023547299206256866,
0.04165530949831009,
0.0205239225178957,
-0.0840577781200409,
0.03053789585828781,
-0.011376447975635529,
0.04839743673801422,
0.037648942321538925,
-0.005915961228311062,
0.05381627008318901,
0.03827563673257828,
0.002667234977707267,
0.03222089633345604,
-0.06620272994041443,
-0.09854447096586227,
-0.010489781387150288,
-0.0002124466554960236,
0.02325323410332203,
-0.051931630820035934,
0.015467038378119469,
0.06531547755002975,
0.002608449663966894,
0.08769993484020233,
0.005819265265017748,
-0.014791345223784447,
0.011297259479761124,
-0.06532104313373566,
-0.04948967322707176,
0.0893809050321579,
0.023993514478206635,
0.02573820948600769,
-0.023178141564130783,
0.02469651587307453,
-0.02651761658489704,
-0.022092001512646675,
0.04588809609413147,
-0.0005170093500055373,
0.039169710129499435,
-0.011465806514024734,
0.0403086319565773,
-0.025350740179419518,
0.026921594515442848,
-0.015596804209053516,
0.005732970777899027,
0.04668426886200905,
-0.011134210973978043,
-0.000669811328407377,
0.01055203564465046,
0.09438233822584152,
0.07017014175653458,
-0.008789108134806156,
-0.038832735270261765,
0.0052947718650102615,
0.02836340293288231,
-0.033049751073122025,
-0.025559308007359505,
0.009737838990986347,
-0.00527935428544879,
-0.009370989166200161,
-0.016128161922097206,
-0.029191982001066208,
0.015333827584981918,
-0.04263557121157646,
-0.009685534983873367,
0.038925644010305405,
0.009759169071912766,
0.08294566720724106,
-0.058451369404792786,
0.01367968786507845,
0.018628885969519615,
-0.025823106989264488,
-0.02954074554145336,
-0.019769474864006042,
-0.00647532707080245,
-0.004530381876975298,
0.021499933674931526,
-0.01069966796785593,
-0.0014129729242995381,
-0.037909314036369324,
-0.026085393503308296,
0.05172161012887955,
0.08406448364257812,
0.057789191603660583,
-0.010096883401274681,
0.039547815918922424,
-0.027538755908608437,
0.046199116855859756,
-0.005972911603748798,
-0.03197600319981575,
-0.061571236699819565,
-0.029829345643520355,
-0.015978269279003143,
0.009476547129452229,
0.046796802431344986,
-0.010994503274559975,
0.022053737193346024,
0.009019965305924416,
0.02944578416645527,
0.00026334566064178944,
0.027369730174541473,
0.0028671277686953545,
0.0012172851711511612,
0.004148142412304878,
-0.03168470785021782,
0.06003637984395027,
-0.034660454839468,
-0.019273361191153526,
0.039755985140800476,
-0.07544291019439697,
0.058975230902433395,
-0.05216004326939583,
-0.05198056995868683,
0.010534913279116154,
0.017231788486242294,
0.00798905361443758,
0.0629943311214447,
0.006100871134549379,
0.03119213506579399,
0.02305627427995205,
0.030624467879533768,
0.015250367112457752,
0.009411688894033432,
0.03185455501079559,
0.008044668473303318,
0.003774667624384165,
0.007721679750829935,
-0.039640966802835464,
0.0005480046384036541,
-0.042427945882081985,
0.025920649990439415,
-0.04596632719039917,
-0.2719184160232544,
0.032735466957092285,
0.04218127951025963,
-0.04197487607598305,
0.027089321985840797,
-0.019306598231196404,
0.00827848818153143,
-0.0314364917576313,
-0.04416731745004654,
0.015308807604014874,
0.01846020109951496,
-0.06996609270572662,
-0.01763354055583477,
0.03157313913106918,
0.02793866954743862,
-0.022887438535690308,
0.018463023006916046,
-0.05411049723625183,
0.029968591406941414,
0.04112526774406433,
-0.005249791778624058,
-0.05716734007000923,
-0.009864629246294498,
0.03372808173298836,
0.036228638142347336,
0.062321458011865616,
-0.03609326854348183,
0.026090800762176514,
-0.05992453545331955,
-0.004514255560934544,
0.02628696709871292,
-0.02665756456553936,
0.028180772438645363,
-0.020849639549851418,
0.0065491944551467896,
-0.01718536764383316,
0.038780327886343,
0.0241167563945055,
-0.014263064600527287,
-0.00028566678520292044,
-0.05749528110027313,
-0.04889464005827904,
0.014389452524483204,
-0.008834470994770527,
0.06529098749160767,
0.010427720844745636,
-0.06251341104507446,
-0.0026649765204638243,
-0.02149086631834507,
0.05625622346997261,
-0.028892509639263153,
0.01349218375980854,
-0.019082974642515182,
0.007746018003672361,
-0.0336485356092453,
0.037140827625989914,
-0.055972516536712646,
-0.035408180207014084,
-0.050216201692819595,
-0.05709930509328842,
-0.01347773615270853,
-0.011273907497525215,
-0.021613437682390213,
-0.021878428757190704,
-0.021122947335243225,
-0.03338324651122093,
-0.06255271285772324,
-0.017769424244761467,
0.06778493523597717,
-0.03478701040148735,
-0.011679641902446747,
-0.011280244216322899,
-0.015568820759654045,
-0.08946667611598969,
-0.020693162456154823,
-0.026361269876360893,
-0.0521194189786911,
0.007157519459724426,
0.027698267251253128,
0.0015715424669906497,
-0.044627346098423004,
-0.0699368566274643,
0.025366581976413727,
-0.0012723685940727592,
0.023602774366736412,
-0.02632858417928219,
0.04002778232097626,
0.022219153121113777,
-0.026671521365642548,
-0.005896180868148804,
0.05574541911482811,
-0.019663386046886444,
-0.036495424807071686,
-0.00009007359767565504,
-0.016222180798649788,
0.004341747611761093,
-0.02698671445250511,
-0.027616944164037704,
0.028178375214338303,
0.024997860193252563,
-0.018942316994071007,
-0.06019285321235657,
0.03146008774638176,
-0.03402828797698021,
-0.004068652167916298,
-0.020326614379882812,
-0.01638643816113472,
0.042212892323732376,
0.025803057476878166,
0.016586484387516975,
0.03728921711444855,
-0.03216693922877312,
0.038970571011304855,
-0.055774103850126266,
-0.05609622970223427,
-0.007191644515842199,
0.04200923815369606,
0.05178746208548546,
0.006760075688362122,
-0.0312302578240633,
-0.03177766501903534,
0.024317990988492966,
0.001417816965840757,
0.010796389542520046,
-0.06524165719747543,
0.011599687859416008,
-0.01898140273988247,
-0.007683927193284035,
0.016865884885191917,
0.026465270668268204,
-0.012152612209320068,
0.01776784658432007,
0.04596550762653351,
-0.03627806529402733,
0.017785031348466873,
-0.042031046003103256,
-0.06538476049900055,
-0.06742110103368759,
0.00010238317190669477,
0.013709661550819874,
-0.0036506899632513523,
0.02680988796055317,
-0.016024291515350342,
-0.008172319270670414,
0.03356216102838516,
0.029105383902788162,
0.01638132333755493,
0.018031472340226173,
0.029254738241434097,
0.03547436371445656,
0.007286407984793186,
-0.032965220510959625,
0.00010322393063688651,
-0.023584755137562752,
-0.03437713533639908,
0.0019481616327539086,
0.05870910361409187,
-0.01244686171412468,
-0.03841695934534073,
-0.014822402969002724,
0.002847832627594471,
-0.04784791171550751,
-0.0567447803914547,
-0.00915401242673397,
0.01836789771914482,
0.0375315360724926,
-0.004271457437425852,
0.0012105066562071443,
0.0012418355327099562,
-0.00048211938701570034,
0.0001236789976246655,
0.006555355619639158,
-0.06442476063966751,
0.031036440283060074,
-0.00908511783927679,
0.023097986355423927,
-0.041209783405065536,
-0.015563580207526684,
0.05122127756476402,
0.016189025714993477,
-0.019639423117041588,
0.019766956567764282,
-0.018964067101478577,
0.027318956330418587,
0.03750421479344368,
0.025801541283726692,
-0.005472882185131311,
-0.03229421749711037,
0.022926190868020058,
-0.047812510281801224,
-0.02364637702703476,
-0.020674824714660645,
-0.048375729471445084,
0.013131082989275455,
-0.02807202935218811,
-0.0640181377530098,
0.04243940860033035,
-0.03451068699359894,
-0.01690700650215149,
0.05681419372558594,
-0.0058463881723582745,
-0.012466932646930218,
-0.028913849964737892,
0.006562703754752874,
0.004319881554692984,
-0.0527423620223999,
0.005426979623734951,
0.011979186907410622,
-0.023872753605246544,
0.018586212769150734,
-0.02772657200694084,
0.002149616600945592,
-0.02088255248963833,
0.009401763789355755,
0.012118129059672356,
-0.06087111681699753,
-0.03263568878173828,
-0.04111678898334503,
-0.003988706972450018,
-0.021192673593759537,
-0.032621510326862335,
-0.015048743225634098,
-0.03588740900158882,
-0.013881662860512733,
-0.031386926770210266,
0.038104988634586334,
-0.02283739298582077,
-0.018750756978988647,
0.03888239338994026,
-0.028248900547623634,
-0.026988167315721512,
-0.019627876579761505,
0.012202296406030655,
0.04136527329683304,
-0.02386203035712242,
0.014442416839301586,
-0.03217161446809769,
-0.03701559826731682,
-0.014423580840229988,
0.06103901565074921,
-0.01520905178040266,
-0.0168354120105505,
-0.011406036093831062,
-0.02184002287685871,
-0.03085564821958542,
0.04248683154582977,
0.005663738586008549,
0.006570855155587196,
0.05753704160451889,
0.04396316409111023,
0.000864742265548557,
0.025139110162854195,
-0.021819667890667915,
-0.007460812106728554,
0.03801587596535683,
-0.06849399209022522,
-0.018883485347032547,
-0.012204333208501339,
-0.019664106890559196,
-0.006712864153087139,
0.007847864180803299,
-0.014115339145064354,
-0.01719909906387329,
0.036314185708761215,
0.013989714905619621,
0.026852626353502274,
0.0369032584130764,
0.0020569476764649153,
0.017750881612300873,
-0.04597480595111847,
-0.004588377196341753,
-0.09203950315713882,
0.018944382667541504,
-0.012821574695408344,
-0.004291746765375137,
-0.0004572472826112062,
0.006230883300304413,
-0.050164904445409775,
0.037065278738737106,
-0.06237713247537613,
-0.02471582219004631,
0.02110956236720085,
-0.004816640168428421,
-0.001097803353331983,
0.019760973751544952,
-0.06549563258886337,
0.03424329683184624,
0.03838357701897621,
-0.05308033153414726,
-0.024446550756692886,
-0.0028475471772253513,
0.045591600239276886,
-0.02459562197327614,
0.011719310656189919,
-0.0447859987616539,
-0.00812073890119791,
0.04417325556278229,
0.04506620764732361,
0.020197764039039612,
0.032022587954998016,
-0.07327313721179962,
0.039520613849163055,
0.002501430921256542,
-0.009132702834904194,
-0.027640409767627716,
0.013955466449260712,
-0.02347642183303833,
-0.08280482888221741,
0.05758875235915184,
0.004069166723638773,
0.01248840894550085,
-0.04999172315001488,
0.04662676528096199,
0.019037704914808273,
-0.01174079068005085,
-0.004924997687339783,
-0.006923489272594452,
-0.05831284448504448,
-0.02588263899087906,
-0.02658063918352127,
0.006164668593555689,
-0.04513619840145111,
0.03770740330219269,
0.01368247251957655,
0.020259063690900803,
0.08371220529079437,
-0.0033110142685472965,
0.00257098488509655,
-0.0006494879489764571,
0.0967012569308281,
0.07273707538843155,
0.06751002371311188,
-0.016642805188894272,
0.07745270431041718,
-0.01957138068974018,
-0.04500550776720047,
0.03416778892278671,
-0.02520969696342945,
-0.006598007399588823,
-0.02039838396012783,
0.00386957754381001,
0.056188154965639114,
-0.024061983451247215,
0.05293237417936325,
-0.00790204107761383,
-0.019196633249521255,
0.00969888735562563,
0.027852395549416542,
0.03849318251013756,
0.07287642359733582,
0.011417851783335209,
0.04081865772604942,
-0.007671995088458061,
-0.06283894181251526,
0.04887061566114426,
0.0020701319444924593,
-0.04089934006333351,
0.009904315695166588,
-0.03062536008656025,
0.014465929940342903,
0.02752785198390484,
0.03086492232978344,
0.06924738734960556,
-0.004955566953867674,
0.01859116367995739,
-0.01381752174347639,
0.02331152930855751,
0.0029511682223528624,
0.03333387151360512,
-0.013132065534591675,
-0.0022156634368002415,
-0.01721465028822422,
-0.05659952014684677,
-0.029412029311060905,
-0.030984001234173775,
-0.046458661556243896,
0.024517200887203217,
-0.02690093405544758,
0.009575878269970417,
0.018584223464131355,
-0.023871738463640213,
0.007559789810329676,
-0.05012737959623337,
-0.04887404665350914,
-0.03327557444572449,
-0.07132074236869812,
-0.014428440481424332,
0.010747169144451618,
-0.030260587111115456,
-0.0183003731071949,
-0.007442824076861143,
-0.0060828085988759995,
-0.07849221676588058,
0.03470715880393982,
-0.039504412561655045,
-0.03213866800069809,
0.02710796892642975,
0.029098326340317726,
-0.010821404866874218,
0.02064814604818821,
0.056429240852594376,
0.01000107079744339,
-0.016210272908210754,
-0.012149308808147907,
0.018821941688656807,
0.028808671981096268,
0.013321823440492153,
-0.0028396176639944315,
-0.08762799203395844,
0.006551270838826895,
0.034295134246349335,
-0.013645876199007034,
-0.07227225601673126,
0.026681356132030487,
0.014711477793753147,
0.0013668191386386752,
0.05580251291394234,
-0.009580177254974842,
0.01282939687371254,
-0.050826482474803925,
-0.013277328573167324,
-0.027211863547563553,
0.010510498657822609,
0.034273575991392136,
-0.01080346293747425,
0.08170640468597412,
0.038110509514808655,
0.0052986107766628265,
-0.013391247019171715,
0.010183840990066528,
0.01938922330737114,
-0.018126269802451134,
-0.027799954637885094,
-0.03539071977138519,
-0.028018856421113014,
-0.0850076898932457,
-0.051059603691101074,
0.02962583675980568,
-0.04031459987163544,
-0.023746032267808914,
0.04858853667974472,
-0.011923989281058311,
-0.0021922506857663393,
0.007942813448607922,
-0.0017597833648324013,
-0.004841139540076256,
-0.013385297730565071,
-0.043909624218940735,
-0.01960163563489914,
0.049105893820524216,
0.006198309361934662,
0.0013186916476115584,
0.011969616636633873,
-0.0549139529466629,
0.029440345242619514,
-0.042348120361566544,
0.002490147016942501,
0.04584852606058121,
0.000663897895719856,
-0.0006227688863873482
] | [
-0.04737621545791626,
-0.013165539130568504,
-0.004396079573780298,
0.01119138766080141,
0.07453478872776031,
-0.030087526887655258,
0.024228360503911972,
0.0212557390332222,
-0.022962406277656555,
0.005470385309308767,
-0.01990468241274357,
-0.01113414391875267,
0.005908388644456863,
0.01193066593259573,
0.04507320374250412,
0.029219554737210274,
0.001893452601507306,
-0.13861259818077087,
-0.02158169448375702,
0.06570222973823547,
-0.015148072503507137,
-0.019127627834677696,
-0.021923936903476715,
0.016060899943113327,
0.008488352410495281,
0.009968250058591366,
0.06075602024793625,
0.006917493883520365,
-0.022613858804106712,
-0.1420467048883438,
-0.0004007663519587368,
-0.02395082823932171,
-0.0038996401708573103,
-0.014499298296868801,
0.02020210027694702,
0.05637454614043236,
0.04208436980843544,
0.0032252538949251175,
0.02953145280480385,
0.06164807826280594,
0.028527747839689255,
0.006165218539535999,
-0.041408952325582504,
-0.04766767472028732,
0.03283732756972313,
0.013657241128385067,
0.00956884678453207,
-0.015309499576687813,
-0.03514046221971512,
-0.007298767101019621,
-0.02655285969376564,
-0.0076817297376692295,
-0.02719609998166561,
-0.04408199340105057,
-0.002699869219213724,
0.02947423607110977,
0.003537615528330207,
0.04383014887571335,
0.03168265521526337,
0.021958976984024048,
0.005266265012323856,
-0.012095732614398003,
-0.1797187626361847,
0.08052398264408112,
0.03366981819272041,
0.04478589445352554,
-0.040903493762016296,
-0.006029511336237192,
-0.023840324953198433,
0.039106450974941254,
0.002950889291241765,
-0.034051720052957535,
0.005441935732960701,
0.022983437404036522,
0.00666828453540802,
-0.003831685520708561,
-0.02632889710366726,
0.07338181138038635,
-0.0008924520807340741,
-0.05352947488427162,
0.03264696151018143,
0.036213044077157974,
-0.02565637044608593,
-0.009766608476638794,
-0.013566156849265099,
-0.027295297011733055,
-0.020769504830241203,
0.029409008100628853,
0.005431311205029488,
0.02837405540049076,
0.05327310040593147,
-0.012940900400280952,
0.0525888167321682,
0.013914774172008038,
-0.09297703951597214,
-0.048147112131118774,
-0.0006020314758643508,
0.02244965359568596,
-0.0748114138841629,
0.43308693170547485,
-0.011053590103983879,
0.016743145883083344,
0.07549268752336502,
0.07895262539386749,
-0.01849806122481823,
-0.0011185748735442758,
0.008936900645494461,
-0.061796948313713074,
0.0037484297063201666,
-0.014939077198505402,
0.03331136703491211,
-0.03077886626124382,
0.08457400649785995,
-0.014786997810006142,
0.02458217926323414,
0.03471607342362404,
0.07834716141223907,
0.025842782109975815,
-0.06189849227666855,
-0.002484734868630767,
-0.036363665014505386,
0.009125067852437496,
0.013408084399998188,
0.007118361536413431,
-0.011362199671566486,
-0.02322077378630638,
0.08316084742546082,
0.07268340140581131,
0.024582913145422935,
-0.01947719231247902,
0.04237651079893112,
-0.08142514526844025,
-0.042259495705366135,
0.01916467398405075,
-0.011095981113612652,
-0.023638691753149033,
0.011989850550889969,
-0.0345584973692894,
0.0037559461779892445,
0.04289373755455017,
0.011359264142811298,
-0.09191656857728958,
-0.04356885701417923,
-0.03413154557347298,
-0.02994690276682377,
0.09357783198356628,
0.020297160372138023,
-0.04709393531084061,
-0.01755511201918125,
-0.022891739383339882,
0.00105863600037992,
0.01306585781276226,
0.01689661666750908,
-0.08439388126134872,
0.0501277893781662,
0.015358353033661842,
0.06986874341964722,
0.028720250353217125,
-0.029980985447764397,
0.0009459001012146473,
0.06191546097397804,
-0.04929499700665474,
-0.06715502589941025,
0.02992689236998558,
0.053910501301288605,
-0.07692117244005203,
-0.021942798048257828,
-0.028403526172041893,
0.04172762483358383,
-0.06651987880468369,
-0.008254293352365494,
0.008927550166845322,
0.00009431968646822497,
-0.013457018882036209,
0.05387359485030174,
-0.03979583457112312,
-0.024631652981042862,
0.030118785798549652,
0.019407760351896286,
0.009570685215294361,
0.00031135580502450466,
-0.0017674837727099657,
-0.010271288454532623,
0.02992601878941059,
-0.03539746627211571,
-0.0291253924369812,
-0.049451667815446854,
-0.02764429710805416,
-0.018240472301840782,
-0.004674223717302084,
-0.009337637573480606,
-0.03480572625994682,
-0.026139190420508385,
0.0660146102309227,
-0.026389814913272858,
-0.0308850035071373,
-0.013313911855220795,
-0.0068515208549797535,
0.010278304107487202,
-0.002155300695449114,
-0.0569324865937233,
-0.011572458781301975,
-0.07978912442922592,
0.0037845266051590443,
-0.05036766827106476,
0.0712178498506546,
0.031457118690013885,
-0.040162213146686554,
0.07496108114719391,
0.030792299658060074,
0.020610423758625984,
-0.02457895129919052,
0.03411788120865822,
-0.002717709867283702,
0.0233538206666708,
-0.021313391625881195,
0.03052954189479351,
0.009023787453770638,
-0.012379090301692486,
0.008698860183358192,
0.014258911833167076,
-0.00047090620500966907,
-0.014172931201756,
-0.3430825471878052,
-0.05286949500441551,
-0.04140108823776245,
-0.0200907401740551,
0.02005915530025959,
-0.04740579426288605,
0.03834792226552963,
-0.007670555263757706,
-0.029304813593626022,
0.03864600136876106,
0.07910148054361343,
-0.040102723985910416,
0.024867679923772812,
-0.03800632432103157,
0.03206780552864075,
0.003659415291622281,
-0.07979898899793625,
0.029460202902555466,
-0.006349540781229734,
0.028300996869802475,
-0.010396572761237621,
0.06368957459926605,
-0.07251681387424469,
-0.04761001840233803,
-0.010172618553042412,
-0.05414849519729614,
0.1288796216249466,
0.006234521511942148,
0.04395543038845062,
-0.04563803970813751,
0.022191207855939865,
-0.01567254401743412,
0.066905178129673,
-0.1067344918847084,
0.024207111448049545,
0.0028826056513935328,
0.023607583716511726,
-0.02533644810318947,
-0.015221859328448772,
-0.018109304830431938,
-0.023142453283071518,
0.0444757342338562,
-0.05627687647938728,
0.006674226839095354,
-0.07906366884708405,
0.014049181714653969,
-0.009286200627684593,
0.00219808635301888,
-0.06461537629365921,
0.04648587107658386,
-0.002856341889128089,
-0.033898528665304184,
0.03395779803395271,
0.017939988523721695,
0.046774882823228836,
-0.020638268440961838,
-0.08816558122634888,
0.029781436547636986,
-0.025830863043665886,
0.025104420259594917,
-0.0034370103385299444,
0.09037408977746964,
0.019734052941203117,
-0.033550746738910675,
-0.012564207427203655,
0.05091363191604614,
-0.00961556751281023,
0.017072336748242378,
0.00427855784073472,
0.040811434388160706,
-0.041013360023498535,
0.14412464201450348,
-0.023921139538288116,
-0.05382483825087547,
0.021708762273192406,
0.0399547815322876,
-0.007232947275042534,
0.05889658257365227,
-0.012843172065913677,
-0.01810496114194393,
0.06232651323080063,
-0.036696307361125946,
0.01490872260183096,
-0.008243011310696602,
-0.01712643913924694,
0.022929808124899864,
-0.04274846613407135,
-0.027883220463991165,
0.07291339337825775,
0.02611035667359829,
-0.03314445540308952,
0.015278266742825508,
-0.015522681176662445,
-0.0621970035135746,
0.06980553269386292,
-0.018796026706695557,
-0.2466183751821518,
0.001866169972345233,
0.05587033927440643,
0.01077476516366005,
-0.002365647116675973,
0.02826785296201706,
-0.026805952191352844,
0.01676364801824093,
-0.0007978370995260775,
0.01071927510201931,
0.01619693823158741,
0.02621489204466343,
0.006168217398226261,
0.005664714612066746,
0.028572620823979378,
0.0010954439640045166,
0.022550690919160843,
0.0002331454015802592,
-0.01731041632592678,
0.013403324410319328,
-0.005797171033918858,
-0.020474694669246674,
0.1166563555598259,
0.030435476452112198,
0.0017818276537582278,
0.0015007498441264033,
-0.014662879519164562,
0.02530045621097088,
0.008341646753251553,
-0.0015177124878391623,
0.016078969463706017,
-0.03214091807603836,
-0.027646100148558617,
-0.0037500064354389906,
0.011883113533258438,
-0.09651196002960205,
-0.016491467133164406,
0.0653267353773117,
0.027413832023739815,
-0.03578491508960724,
-0.01607717014849186,
0.03776678070425987,
0.06943558901548386,
-0.015689244493842125,
0.05116420239210129,
0.007784583140164614,
0.005359595641493797,
-0.045795220881700516,
-0.010602835565805435,
-0.0022019564639776945,
-0.02499205432832241,
-0.03362053632736206,
0.006147871259599924,
0.012199226766824722,
0.014528272673487663,
0.07627180218696594,
-0.0029323548078536987,
-0.03844669088721275,
0.011076588183641434,
0.007074488792568445,
-0.03150457516312599,
-0.03923371434211731,
0.062006931751966476,
-0.027991406619548798,
0.07025915384292603
] | [
0.03193941339850426,
0.023923220112919807,
0.06032558158040047,
0.048890065401792526,
0.04264099895954132,
0.01346720289438963,
0.0004607885784935206,
0.0037462925538420677,
-0.006281220819801092,
0.019017068669199944,
-0.04256638512015343,
0.02019168622791767,
0.016268745064735413,
0.010387646965682507,
0.008287559263408184,
0.0028908168897032738,
-0.025039467960596085,
-0.03665678948163986,
-0.001542745972983539,
-0.013968653045594692,
-0.00048213647096417844,
0.04448341578245163,
0.009730636142194271,
0.023091506212949753,
-0.009527375921607018,
0.057740211486816406,
0.02220497652888298,
0.04002245143055916,
0.016795393079519272,
-0.10474865138530731,
-0.024778475984930992,
-0.028995804488658905,
-0.02996079809963703,
0.014317946508526802,
0.0004106478299945593,
-0.0034899129532277584,
0.017210019752383232,
0.024888547137379646,
0.026003416627645493,
0.009137592278420925,
-0.0045253015123307705,
-0.024102600291371346,
-0.011599424295127392,
-0.0034212360624223948,
0.0012938405852764845,
0.00957516860216856,
0.006873476784676313,
0.006511698942631483,
-0.019974136725068092,
-0.01418998185545206,
0.015495105646550655,
-0.002232031896710396,
-0.01127651147544384,
0.012660278007388115,
0.009044015780091286,
-0.01417909562587738,
-0.035194505006074905,
-0.004271643701940775,
-0.002367882989346981,
-0.039645563811063766,
-0.02112564630806446,
-0.0010296120308339596,
-0.03904268890619278,
-0.016675647348165512,
-0.005845464766025543,
-0.0039889635518193245,
-0.020338978618383408,
-0.02194044180214405,
-0.020824968814849854,
0.01317017711699009,
-0.0031188465654850006,
0.040940746665000916,
-0.002060794970020652,
-0.002980596385896206,
0.003634780878201127,
0.005622847005724907,
-0.013743029907345772,
-0.007997165434062481,
0.0036140859592705965,
0.035792093724012375,
0.009810053743422031,
0.009581317193806171,
0.005326420534402132,
0.04799302667379379,
0.003625927958637476,
-0.08063908666372299,
0.017216406762599945,
-0.034768905490636826,
0.0011697749141603708,
0.022699527442455292,
-0.06004122644662857,
-0.00592468585819006,
0.009512318298220634,
0.06110088899731636,
-0.1167236864566803,
-0.004954161588102579,
-0.0008343051304109395,
0.014430186711251736,
-0.02697387896478176,
0.8291739225387573,
-0.012705064378678799,
0.027378756552934647,
0.017306063324213028,
0.014302101917564869,
0.01827346719801426,
-0.012530583888292313,
0.001051100785844028,
-0.05131775513291359,
0.013442776165902615,
-0.021438034251332283,
-0.0027165361680090427,
-0.01984020136296749,
0.0025526343379169703,
0.017467215657234192,
0.02155870944261551,
0.007357868365943432,
-0.010994914919137955,
-0.006925397086888552,
0.0031713175121694803,
-0.0033063585869967937,
0.028582725673913956,
0.007622524630278349,
0.05259159952402115,
0.02233094349503517,
0.020485764369368553,
-0.15383298695087433,
0.029121024534106255,
-7.470846999811356e-33,
0.02603362314403057,
0.009450159966945648,
-0.016924560070037842,
0.027904080227017403,
0.030210206285119057,
-0.06685696542263031,
-0.03526550158858299,
0.045078910887241364,
0.032529670745134354,
-0.015954622998833656,
-0.043650057166814804,
-0.0007312939269468188,
0.0015283188549801707,
-0.044829633086919785,
0.054873935878276825,
-0.0109725221991539,
0.0034618324134498835,
0.023329107090830803,
-0.013608439825475216,
0.028368903324007988,
0.024561962112784386,
-0.0014353507431223989,
0.02454804815351963,
0.033209145069122314,
0.04647979140281677,
0.020350825041532516,
0.02762748673558235,
-0.008891155943274498,
0.03487139940261841,
-0.04553637653589249,
0.015162558294832706,
0.08027403056621552,
-0.0169098861515522,
0.022884519770741463,
-0.043790366500616074,
-0.04047252610325813,
-0.050916217267513275,
-0.005423210561275482,
0.009035328403115273,
-0.01182095892727375,
-0.022210726514458656,
-0.04089820384979248,
-0.01893916353583336,
-0.023608053103089333,
0.023400066420435905,
-0.01449452806264162,
0.01557608786970377,
-0.001964283874258399,
-0.0004008834366686642,
-0.000003698892896863981,
0.02748843841254711,
-0.016260987147688866,
-0.00974237360060215,
0.00427664490416646,
0.017353355884552002,
0.0036854767240583897,
0.014381219632923603,
0.03877713158726692,
0.024131832644343376,
0.00033036337117664516,
0.006815799977630377,
-0.012017909437417984,
0.003926028963178396,
0.016245556995272636,
0.016793375834822655,
0.016692889854311943,
-0.014493366703391075,
0.01635834015905857,
-0.021584799513220787,
-0.02024405263364315,
-0.02853558212518692,
0.01872560754418373,
0.0176268108189106,
0.022585738450288773,
-0.008554643020033836,
0.0035478826612234116,
-0.020672719925642014,
0.02356969565153122,
0.011068318039178848,
0.03867105022072792,
0.018205422908067703,
-0.003552511101588607,
0.03878958523273468,
-0.0071901860646903515,
0.004741162993013859,
-0.037092890590429306,
0.03196344152092934,
0.009044049307703972,
-0.015014621429145336,
0.03399581462144852,
-0.03969002515077591,
0.021737530827522278,
-0.004566201940178871,
-0.005876177456229925,
-0.03514925017952919,
7.823773015598424e-33,
0.01422110851854086,
-0.014779654331505299,
-0.04715290293097496,
-0.008821506053209305,
-0.02633577771484852,
0.010254808701574802,
0.040071528404951096,
0.006391139235347509,
-0.019395437091588974,
0.037852998822927475,
-0.03483649715781212,
-0.037233252078294754,
0.007375659421086311,
0.025488806888461113,
0.03636312857270241,
-0.037866123020648956,
0.010190779343247414,
-0.0068190209567546844,
0.003113090293481946,
-0.010970386676490307,
0.011246931739151478,
-0.0035118856467306614,
-0.023896897211670876,
-0.00900424737483263,
0.0039570946246385574,
0.04250161722302437,
0.04887876287102699,
0.03804006054997444,
0.0034078301396220922,
-0.019137810915708542,
-0.012612423859536648,
0.014758541248738766,
0.038822323083877563,
-0.00923249963670969,
-0.005435335915535688,
0.0569002628326416,
0.008048397488892078,
-0.01118592917919159,
-0.021382799372076988,
-0.01433009747415781,
0.02574523724615574,
0.011021538637578487,
0.00719313882291317,
-0.009445887990295887,
0.044394202530384064,
-0.010499349795281887,
-0.016506657004356384,
-0.021018028259277344,
-0.005393296480178833,
-0.018281107768416405,
0.005183055531233549,
0.0008979769190773368,
-0.01114401314407587,
0.03679906576871872,
0.022859835997223854,
-0.005509150214493275,
-0.029456298798322678,
-0.03995267674326897,
0.011850563809275627,
-0.029904119670391083,
-0.035748615860939026,
-0.016187774017453194,
-0.011975943110883236,
-0.031231846660375595,
-0.036544088274240494,
-0.022388087585568428,
-0.04844934865832329,
-0.03568435460329056,
0.019355416297912598,
0.05049135163426399,
0.02030099742114544,
-0.050817012786865234,
0.013063743710517883,
0.026884056627750397,
0.058118823915719986,
-0.0017533093923702836,
0.010293330997228622,
0.003715940983965993,
-0.051986705511808395,
0.0007077686605043709,
0.015855366364121437,
-0.003933519124984741,
-0.004499638453125954,
-0.006923858541995287,
0.014406685717403889,
0.027866635471582413,
0.0065253679640591145,
-0.00806478876620531,
-0.013802124187350273,
0.01525366585701704,
0.012402554042637348,
-0.0268462635576725,
-0.004084208980202675,
0.012265625409781933,
-0.012264411896467209,
-1.299663487941416e-8,
-0.011045070365071297,
0.009310680441558361,
-0.005467231385409832,
0.008936092257499695,
0.031344473361968994,
-0.01750834286212921,
-0.010322634130716324,
-0.03960604965686798,
-0.04036451876163483,
-0.010775835253298283,
0.02821042202413082,
-0.00725155882537365,
-0.03359251841902733,
0.04646654054522514,
0.008774928748607635,
-0.03308465704321861,
-0.06015365943312645,
-0.0031252761837095022,
0.029905689880251884,
0.00941336341202259,
-0.017528394237160683,
0.037057772278785706,
-0.05546840652823448,
0.031225239858031273,
0.057602692395448685,
0.01761554926633835,
0.002157635521143675,
-0.1211763396859169,
0.015957091003656387,
-0.00808012019842863,
-0.06694743037223816,
-0.022816251963377,
-0.010911978781223297,
0.013614465482532978,
-0.023254521191120148,
-0.02261895313858986,
0.030491692945361137,
-0.004969337955117226,
-0.003755308920517564,
-0.011613313108682632,
0.01581396348774433,
-0.008518784306943417,
-0.006729926913976669,
-0.030698636546730995,
-0.0018591592088341713,
0.022138960659503937,
-0.06337439268827438,
0.0071870917454361916,
-0.001612551510334015,
-0.0006806657183915377,
-0.00415321858599782,
-0.022904330864548683,
0.003900436917319894,
0.05667418986558914,
-0.03370843827724457,
-0.007301847916096449,
-0.0014926049625501037,
-0.03798103332519531,
-0.018465198576450348,
-0.011680235154926777,
-0.0378909632563591,
0.04722078889608383,
-0.03634915500879288,
-0.03228873759508133
] | communication-when-its-not-going-your-way | https://markhneedham.com/blog/2010/12/22/communication-when-its-not-going-your-way |
false | 2019-03-27 06:42:00 | Neo4j: From Graph Model to Neo4j Import | [
"neo4j",
"neo4j-import"
] | [
"Neo4j"
] | In this post we're going to learn how to import the https://aminer.org/citation[DBLP citation network^] into Neo4j using the https://neo4j.com/docs/operations-manual/current/tools/import/[Neo4j Import Tool^].
In case you haven't come across this dataset before, Tomaz Bratanic has https://tbgraph.wordpress.com/2018/09/09/article-recommendation-system-on-a-citation-network-using-personalized-pagerank-and-neo4j/[a great blog post^] explaining it.
The tl;dr is that we have articles, authors, and venues. Authors can write articles, articles can reference other articles, and articles are presented at a venue. Below is the graph model for this dataset:
image::{{<siteurl>}}/uploads/2019/03/citation-model.svg[]
Tomaz then goes on to show how to load the data into Neo4j using Cypher and the APOC library.
Unfortunately this process is quite slow as there's a lot of data so, since I'm not as patient as Tomaz, I wanted to try and find a faster way to get the data into the graph.
At a high level, the diagram below shows what happens when we import data using Cypher:
image::{{<siteurl>}}/uploads/2019/03/transaction.png[]
When we use the Neo4j import tool we're able to skip that middle bit:
image::{{<siteurl>}}/uploads/2019/03/no-transaction.png[]
We skip the whole transactional machinery, so it's much faster.
We do pay a price for that extra speed:
. We can only use this tool to create a brand new database
. If there's an error while it runs we need to start again from the beginning
. We need to get our data into the format that the tool expects
If we're happy with that trade off then Neo4j Import is the way to go.
The raw data is in JSON files, so our process will be as follows:
image::{{<siteurl>}}/uploads/2019/03/workflow.png[]
We don't have to use a Python script to transform the raw data, but that's the scripting language I'm most familiar with so I tend to use that.
Before we look at the script, let's explore the JSON files that we need to transform.
Below is a sample of one of these files:
++++
<script src="https://gist.github.com/mneedham/fea6c05086637730874c25ec298fc5aa.js"></script>
++++
Each row contains one JSON document and, as we can see, these documents contain the following keys:
* `abstract` - the abstract of the article
* `authors` - the authors who wrote the article
* `n_citation` - we won't use this key
* `references` - the other articles that an article cites
* `title` - the title of the article
* `venue` - the venue where the article was published
* `year` - the year the article was published
* `id` - the id of the article
For each of these JSON documents we're going to create the following graph structure:
[source,cypher]
----
(:Article)-[:VENUE]->(:Venue)
(:Article)-[:AUTHOR]->(:Author)
(:Article)-[:CITED]->(:Article)
----
* where `()` indicates a node i.e. `(:Article)` means that we have a node with the label `Article`
* and `[]` indicates a relationship i.e. `[:VENUE]` means that we have a relationship with the type `VENUE`
The properties from our JSON document will be assigned as follows:
* `id`, `title`, `abstract`, `year` - `Article` node
* `authors` - one `Author` node per value in the array, with the value assigned to the `name` property
* `references` - one `Article` node per value in the array, with the value assigned to the `id` property
* `venue` - one `Venue` node per value in the array, with the value assigned to the `name` property
So we know what data we're going to extract from our JSON file, but what should the CSV files that we create look like?
The Neo4j Import Tool expects separate CSV files containing the nodes and relationships that we want to create.
For each of those files we can either include a header line at the top of the file, or we can store those header lines in a separate line.
We're going to take the latter approach in this blog post.
The fields in those headers have a very specific format, it's almost a mini DSL.
Let's take the example of the `Author` and `Venue` nodes and the corresponding relationship.
We'll have three CSV files.
The node headers will look like this:
articles_header.csv
[source, text]
----
id:ID(Article),title:string,abstract:string,year:int
----
venues_header.csv
[source, text]
----
name:ID(Venue),name:string
----
For node files one of the fields needs to act as an identifier.
We define this by including `:ID` in that field.
In our example we're also specifying an optional node group in parentheses e.g. `:ID(Article)`.
The node group is used to indicate that the identifier only needs to be unique within that group, rather than across all nodes.
And the relationships header will look like this:
article_VENUE_venue_header.csv
[source, text]
----
:START_ID(Article),:END_ID(Venue)
----
Again our header fields need to contain some custom values:
* `:START_ID` indicates that this field contains the identifier for the source node
* `:END_ID` indicates that this field contains the identifier for the target node
As with the nodes, we can specify a node group in parentheses e.g. `:START_ID(Article)`.
So now we know what files we need to create, let's have a look at the script that generates these files:
++++
<script src="https://gist.github.com/mneedham/51bdaaa1d4ec5b8ec9676462817a4b87.js"></script>
++++
There's nothing too clever going here - we're iterating over the JSON files and writing into CSV files.
For the relationships we write those directly to the CSV files as soon as we see them.
For the nodes we're collecting those in in-memory data structures to remove duplicates, and then we write those to the CSV files at the end.
Let's have a look at a subset of the data in those CSV files:
++++
<script src="https://gist.github.com/mneedham/1ace09bd1ef4b48418665ce928025154.js"></script>
++++
This script takes a few minutes to run on my machine.
There are certainly some ways we could improve the script, but this is good enough as a first pass.
Now it's time to import the data into Neo4j.
If we're using the Neo4j Desktop we can access the Neo4j Import Tool via the 'Terminal' tab within a database.
image::{{<siteurl>}}/uploads/2019/03/terminal.png[]
We can then paste in the script below:
++++
<script src="https://gist.github.com/mneedham/466cb70f3703ec48840d46e043b25406.js"></script>
++++
Let's go through the arguments we're passing to the Neo4j Import Tool.
The line below imports our author nodes:
```
--nodes:Author=${DATA_DIR}/authors_header.csv,${DATA_DIR}/authors.csv
```
The syntax of this part of the command is `--nodes:[:Label]=<"file1,file2,...">`.
It treats the files that we provide as if they're one big file, and the first line of the first file needs to contain the header line.
So in this line we're saying that we want to create one node for each entry in the `authors.csv` file, and each of those nodes should have the label `Author`.
The line below creates relationships between our `Author` and `Venue` nodes:
```
--relationships:VENUE=${DATA_DIR}/article_VENUE_venue_header.csv,${DATA_DIR}/article_VENUE_venue.csv
```
The syntax of this part of the command is `--relationships[:RELATIONSHIP_TYPE]=<"file1,file2,...">`
Again, it treats the files we provide as if they're one big file, so the first line of the first file must contain the header line.
In this line we're saying that we want to create a relationship with the type `VENUE` for each entry in the `article_VENUE_venue.csv` file.
Now if we run the script, we'll see the following output:
```
Neo4j version: 3.5.3
Importing the contents of these files into /home/markhneedham/.config/Neo4j Desktop/Application/neo4jDatabases/database-32ed444f-69cd-422c-81aa-0c634210ad50/installation-3.5.3/data/databases/graph.db:
Nodes:
:Author
/home/markhneedham/projects/dblp/data/authors_header.csv
/home/markhneedham/projects/dblp/data/authors.csv
:Article
/home/markhneedham/projects/dblp/data/articles_header.csv
/home/markhneedham/projects/dblp/data/articles.csv
:Venue
/home/markhneedham/projects/dblp/data/venues_header.csv
/home/markhneedham/projects/dblp/data/venues.csv
Relationships:
:REFERENCES
/home/markhneedham/projects/dblp/data/article_REFERENCES_article_header.csv
/home/markhneedham/projects/dblp/data/article_REFERENCES_article.csv
:AUTHOR
/home/markhneedham/projects/dblp/data/article_AUTHOR_author_header.csv
/home/markhneedham/projects/dblp/data/article_AUTHOR_author.csv
:VENUE
/home/markhneedham/projects/dblp/data/article_VENUE_venue_header.csv
/home/markhneedham/projects/dblp/data/article_VENUE_venue.csv
Available resources:
Total machine memory: 31.27 GB
Free machine memory: 1.93 GB
Max heap memory : 910.50 MB
Processors: 8
Configured max memory: 27.34 GB
High-IO: false
WARNING: heap size 910.50 MB may be too small to complete this import. Suggested heap size is 1.00 GBImport starting 2019-03-27 09:43:54.934+0000
Estimated number of nodes: 7.84 M
Estimated number of node properties: 24.08 M
Estimated number of relationships: 36.99 M
Estimated number of relationship properties: 0.00
Estimated disk space usage: 4.78 GB
Estimated required memory usage: 1.09 GB
IMPORT DONE in 2m 52s 306ms.
Imported:
4850632 nodes
37215467 relationships
15328803 properties
Peak memory usage: 1.08 GB
```
And now let's start the database and have a look at the graph we've imported:
image::{{<siteurl>}}/uploads/2019/03/graph-citation.svg[] | Learn how to import data into Neo4j using the Neo4j Import Tool. | null | [
0.018532028421759605,
-0.020701836794614792,
0.0006691699963994324,
0.05071200802922249,
0.09976110607385635,
-0.018129680305719376,
0.02541249617934227,
0.02785661071538925,
0.012512421235442162,
-0.024515338242053986,
-0.00390188442543149,
-0.02011863887310028,
-0.05049288272857666,
0.008712584152817726,
-0.0010224271100014448,
0.0586220845580101,
0.053662825375795364,
0.014359126798808575,
0.02037714794278145,
-0.015026154927909374,
0.014685548841953278,
0.05085686594247818,
0.016034511849284172,
0.045876096934080124,
0.036164719611406326,
-0.011243470944464207,
-0.008327585645020008,
0.0000661240701447241,
-0.046339355409145355,
-0.0021545132622122765,
0.05410481616854668,
-0.01653774455189705,
0.019701365381479263,
-0.0015072389505803585,
0.02620050124824047,
-0.005693955812603235,
-0.05981562286615372,
0.016084762290120125,
-0.0070282407104969025,
-0.012602701783180237,
-0.07129381597042084,
0.05677416920661926,
-0.026799675077199936,
0.02069825679063797,
-0.04714110121130943,
-0.0030241019558161497,
-0.04497747868299484,
0.04853208735585213,
0.008774803020060062,
0.0022786688059568405,
-0.08875791728496552,
0.026365656405687332,
0.00030247788527049124,
0.02066516876220703,
-0.0025315789971500635,
0.04375745728611946,
0.007494088262319565,
-0.04948004335165024,
0.04255727678537369,
-0.023711353540420532,
-0.00008133567462209612,
-0.011388261802494526,
0.010232270695269108,
0.025248343124985695,
0.0049436381086707115,
-0.040441472083330154,
-0.008623972535133362,
0.04703690484166145,
-0.05241367965936661,
-0.001967411255463958,
0.007229737006127834,
0.010354380123317242,
-0.008708405308425426,
-0.001583980512805283,
0.0051702940836548805,
-0.0457754023373127,
-0.002139993477612734,
0.051934245973825455,
0.03769783303141594,
0.054431457072496414,
-0.002113304566591978,
0.00970466434955597,
0.005675812251865864,
0.036484263837337494,
-0.00021916716650594026,
-0.04807911813259125,
-0.029418187215924263,
-0.03106015734374523,
-0.05644351616501808,
0.041207510977983475,
0.0015128892846405506,
-0.04073497653007507,
0.0034283408895134926,
0.008464877493679523,
-0.008678311482071877,
0.020851178094744682,
0.018383339047431946,
0.01469895988702774,
0.01875399798154831,
-0.0038013390731066465,
-0.035707272589206696,
-0.0240938663482666,
-0.0008464587735943496,
0.014582917094230652,
-0.059579309076070786,
-0.04332251846790314,
-0.02335231564939022,
-0.026996726170182228,
0.0010868210811167955,
-0.0018641005735844374,
-0.011999616399407387,
0.004239693749696016,
-0.03583892434835434,
-0.005577088333666325,
-0.0772588923573494,
0.06598174571990967,
0.028452418744564056,
-0.017203837633132935,
-0.030171895399689674,
0.008104315958917141,
0.045781563967466354,
0.026691066101193428,
0.001222467515617609,
0.06428935378789902,
0.001735657686367631,
0.046613894402980804,
0.005517000798135996,
0.033420462161302567,
-0.005823543295264244,
-0.052983980625867844,
0.013872653245925903,
0.06898920238018036,
-0.0015147351659834385,
0.019164638593792915,
-0.0030425942968577147,
-0.05883445218205452,
-0.0011098731774836779,
0.025964291766285896,
0.04857771843671799,
0.022837970405817032,
0.012568444944918156,
-0.0684976577758789,
0.0005012753535993397,
-0.00779712712392211,
0.03458767011761665,
-0.0006870472570881248,
-0.02294258214533329,
-0.02929205261170864,
-0.02659028396010399,
-0.020699484273791313,
0.01818069815635681,
0.037860747426748276,
0.02317824773490429,
-0.020969530567526817,
0.01836972124874592,
0.11836626380681992,
0.039806775748729706,
0.023492496460676193,
-0.02447565831243992,
0.03212499991059303,
0.042159728705883026,
0.03770499303936958,
0.008150079287588596,
0.027191106230020523,
-0.0192633755505085,
-0.03415805846452713,
-0.0147410212084651,
0.06856270879507065,
-0.0064645810052752495,
0.005442622117698193,
-0.029152585193514824,
-0.05091121792793274,
0.06436820328235626,
-0.04093638435006142,
-0.0012854615924879909,
0.07034465670585632,
0.06839416921138763,
0.01117528323084116,
0.013274908997118473,
0.013024699874222279,
-0.08183784037828445,
0.0662805512547493,
0.014579799957573414,
-0.013110249303281307,
0.00769535917788744,
0.0014474429190158844,
0.08259624987840652,
0.02974572591483593,
0.017418591305613518,
0.026588240638375282,
-0.08250554651021957,
-0.07395341992378235,
-0.01883787102997303,
-0.015793057158589363,
0.062425870448350906,
-0.020616676658391953,
0.010582134127616882,
0.06679167598485947,
-0.0008383003296330571,
0.03259250521659851,
0.024465810507535934,
0.00537341833114624,
0.024222467094659805,
-0.07888936996459961,
-0.048127394169569016,
0.02665034867823124,
0.03129098191857338,
-0.048155322670936584,
-0.03813374787569046,
0.01789787784218788,
-0.009536409750580788,
-0.0020282473415136337,
0.026871846988797188,
-0.029347559437155724,
0.02704736962914467,
0.022345375269651413,
0.04335976764559746,
-0.00045575221884064376,
0.025902224704623222,
-0.026820579543709755,
0.04597371444106102,
0.010163823142647743,
-0.029333004727959633,
0.0053302510641515255,
-0.0017738987226039171,
0.11719922721385956,
0.055345408618450165,
-0.02520131506025791,
-0.059866271913051605,
0.04089859500527382,
0.012833226472139359,
-0.014168755151331425,
0.012605203315615654,
-0.03183499723672867,
0.006884959060698748,
-0.022608507424592972,
-0.054299209266901016,
-0.011264190077781677,
-0.00009915780537994578,
-0.024883562698960304,
0.02210894227027893,
0.0591043084859848,
-0.008218260481953621,
0.06051994860172272,
0.008170729503035545,
0.002525408286601305,
-0.018433963879942894,
-0.034835293889045715,
-0.05863578990101814,
0.026716360822319984,
0.02940627932548523,
-0.008926424197852612,
0.04454836994409561,
-0.02088283933699131,
-0.010313639417290688,
-0.04429246857762337,
-0.028091542422771454,
0.04572385549545288,
0.040582142770290375,
0.06754308938980103,
0.015225081704556942,
0.04261426627635956,
-0.04140356555581093,
-0.0014844938414171338,
-0.015383093617856503,
-0.05923444777727127,
-0.03549935668706894,
-0.03578363358974457,
0.042095333337783813,
0.009797575883567333,
0.026784230023622513,
-0.003632743377238512,
0.021483449265360832,
0.0008168320055119693,
0.00445994408801198,
-0.001065942458808422,
0.03806251659989357,
0.007274871226400137,
-0.00011183595051988959,
-0.03468666970729828,
-0.04386981576681137,
0.059806834906339645,
-0.03404577076435089,
-0.02997633069753647,
-0.01360341813415289,
-0.06853360682725906,
0.035304754972457886,
-0.05260263383388519,
-0.016370583325624466,
0.004208832513540983,
0.007219458930194378,
0.04087602719664574,
0.026160351932048798,
0.0010199799435213208,
0.06913957744836807,
0.029524164274334908,
0.006285939831286669,
-0.004248201381415129,
-0.008892900310456753,
0.03487782180309296,
-0.008107495494186878,
0.043899066746234894,
0.0336112305521965,
0.004945411346852779,
0.009929119609296322,
-0.009813997894525528,
-0.0015813892241567373,
-0.019865576177835464,
-0.2933673858642578,
0.0573132187128067,
-0.017595885321497917,
-0.06655851751565933,
0.007353594526648521,
-0.032876040786504745,
0.013403638266026974,
-0.033231694251298904,
-0.03223111107945442,
0.009948252700269222,
-0.0209968201816082,
-0.01176229864358902,
-0.032285500317811966,
0.046259839087724686,
-0.0026179091073572636,
0.04728430137038231,
0.013057970441877842,
-0.04323236644268036,
-0.01775459013879299,
0.04953454062342644,
-0.0029127998277544975,
-0.03159043937921524,
-0.023527787998318672,
0.008508819155395031,
0.0030065926257520914,
0.0335635282099247,
-0.08923235535621643,
0.027420835569500923,
-0.06297139078378677,
-0.021068302914500237,
0.016132285818457603,
-0.027612118050456047,
0.01206955686211586,
-0.023807674646377563,
-0.005659235175698996,
-0.020061032846570015,
0.03615555167198181,
0.02056608721613884,
-0.0008001689566299319,
0.011703811585903168,
-0.03892984613776207,
-0.02889128401875496,
-0.015916969627141953,
-0.007447494193911552,
0.08179548382759094,
0.004152372945100069,
-0.07272878289222717,
0.008541001938283443,
-0.01371467299759388,
0.07583333551883698,
-0.025125017389655113,
-0.046428095549345016,
-0.012288851663470268,
0.018933961167931557,
-0.022505253553390503,
-0.035089533776044846,
-0.026369456201791763,
-0.010950312949717045,
-0.045225173234939575,
-0.03426234424114227,
-0.00887601263821125,
-0.02164614200592041,
0.02667909488081932,
-0.03526546061038971,
-0.02774902991950512,
-0.054824795573949814,
-0.07449226081371307,
-0.04280504211783409,
0.053221944719552994,
0.03728026896715164,
-0.022113550454378128,
0.0705772116780281,
-0.014615552499890327,
-0.10559277981519699,
-0.019097918644547462,
-0.05422086641192436,
-0.007608030457049608,
0.01570191979408264,
-0.035095445811748505,
0.044660963118076324,
-0.0507882721722126,
-0.04222984239459038,
-0.0030589585658162832,
0.01050484087318182,
0.01077538076788187,
-0.011838153004646301,
0.023435845971107483,
-0.00903234537690878,
-0.03431329503655434,
0.007866071537137032,
0.06015283614397049,
-0.02389547973871231,
0.00036224949872121215,
-0.024880392476916313,
-0.033532287925481796,
0.010519933886826038,
0.009556659497320652,
0.005922882817685604,
0.025075869634747505,
0.05521819740533829,
0.042836401611566544,
-0.03036682680249214,
0.025628861039876938,
-0.02153068408370018,
-0.03067595325410366,
-0.02351478487253189,
-0.042817123234272,
0.014580114744603634,
0.01935754157602787,
0.0017340215854346752,
-0.019333476200699806,
-0.017574580386281013,
0.03102303110063076,
-0.06313040852546692,
-0.031487125903367996,
0.006774470675736666,
0.017489738762378693,
0.01573127694427967,
0.03450518101453781,
-0.029026813805103302,
-0.05450693890452385,
0.02725353091955185,
0.024515768513083458,
-0.02608117088675499,
-0.05073677748441696,
-0.03137049078941345,
-0.02378528192639351,
-0.04301237314939499,
0.013258958235383034,
0.013089731335639954,
-0.028587840497493744,
0.028542937710881233,
0.0305614210665226,
-0.019949674606323242,
0.030456585809588432,
-0.03808638080954552,
-0.04953097179532051,
-0.0316622294485569,
0.03382731229066849,
-0.0035541232209652662,
-0.008836759254336357,
0.012601756490767002,
-0.008106491528451443,
0.04507516324520111,
0.055975291877985,
0.012638448737561703,
0.006923688109964132,
0.023662762716412544,
0.023329850286245346,
-0.006082379259169102,
-0.013524054549634457,
-0.033069856464862823,
0.0076968250796198845,
-0.03893016651272774,
-0.03387792408466339,
-0.005465399939566851,
0.03999157249927521,
-0.0035446181427687407,
-0.01613830216228962,
-0.030028831213712692,
0.028326787054538727,
-0.06904139369726181,
0.021490441635251045,
-0.00789567269384861,
-0.005049480125308037,
0.06672893464565277,
-0.027883043512701988,
0.023805851116776466,
-0.017180465161800385,
-0.012324360199272633,
0.034755125641822815,
0.018772197887301445,
-0.038869597017765045,
0.0019944310188293457,
0.0136495903134346,
0.0001438439212506637,
-0.005597322713583708,
0.03115694411098957,
0.04608912393450737,
0.03104323148727417,
-0.01910804770886898,
-0.022501926869153976,
0.009286055341362953,
0.014153302647173405,
0.050205715000629425,
0.05064753443002701,
-0.004690092988312244,
-0.0043435608968138695,
-0.019133612513542175,
-0.01494335662573576,
-0.015718653798103333,
0.0033552709501236677,
-0.022964442148804665,
0.013712006621062756,
0.0008907021838240325,
-0.07661374658346176,
0.05560588836669922,
-0.004121983889490366,
-0.00568317761644721,
0.05659952014684677,
0.0006015861872583628,
-0.008818714879453182,
-0.025964120402932167,
0.05561107397079468,
0.054012782871723175,
-0.056402478367090225,
-0.03397952765226364,
-0.0031953477300703526,
-0.010472139343619347,
-0.0012068076757714152,
0.017279334366321564,
-0.050594087690114975,
-0.03039354830980301,
-0.0012719481019303203,
0.02351221814751625,
-0.013517671264708042,
-0.04501596465706825,
-0.028580129146575928,
-0.004013701342046261,
0.004270307719707489,
0.007515541277825832,
0.024510132148861885,
0.0005481316475197673,
-0.014358033426105976,
-0.013795728795230389,
0.04800005257129669,
-0.007159973029047251,
-0.004230121616274118,
-0.007649211212992668,
-0.037037938833236694,
0.02255573868751526,
-0.02260999009013176,
0.022427858784794807,
0.016114775091409683,
-0.01533794030547142,
0.019833873957395554,
-0.050293173640966415,
0.0249665267765522,
0.013700168579816818,
0.05251641198992729,
-0.00861482322216034,
-0.013068570755422115,
-0.031070642173290253,
0.01744827628135681,
-0.032175492495298386,
-0.0177049208432436,
-0.009077854454517365,
0.005682607647031546,
0.02026073820888996,
0.042070016264915466,
0.018094463273882866,
0.016149716451764107,
-0.0059848083183169365,
-0.040681686252355576,
0.04543277621269226,
-0.07051082700490952,
-0.05548011139035225,
-0.010893839411437511,
-0.035239048302173615,
0.014504608698189259,
0.02026241645216942,
0.008155953139066696,
-0.04012933373451233,
0.06623752415180206,
0.054446782916784286,
0.018285147845745087,
0.027288854122161865,
0.0006967820227146149,
0.02936442941427231,
-0.02112964726984501,
-0.02298399806022644,
-0.08301246166229248,
-0.009099697694182396,
0.0478956401348114,
0.0009627494146116078,
-0.00314138806425035,
0.0021452922374010086,
-0.03570040687918663,
0.00896326545625925,
-0.09057232737541199,
-0.035992659628391266,
0.027304433286190033,
-0.012003881856799126,
0.009512447752058506,
-0.009754443541169167,
-0.042053088545799255,
-0.0029296341817826033,
0.030622093006968498,
-0.03360569104552269,
-0.03241696208715439,
-0.035508181899785995,
0.06318599730730057,
-0.018770501017570496,
0.043524276465177536,
-0.017340539023280144,
-0.01972649246454239,
0.0777423083782196,
0.019917935132980347,
0.020323865115642548,
0.042753975838422775,
-0.00116473447997123,
0.0266642477363348,
0.04039428010582924,
-0.030021561309695244,
0.0015470064245164394,
0.024245716631412506,
-0.013475948013365269,
-0.041095539927482605,
0.03210664540529251,
0.0057999566197395325,
-0.025196826085448265,
-0.040315404534339905,
0.06369618326425552,
0.0014193336246535182,
-0.033104754984378815,
-0.05988839641213417,
0.03764745220541954,
-0.029343072324991226,
-0.01381699088960886,
-0.04048233851790428,
0.010579871945083141,
-0.024805769324302673,
0.030575355514883995,
-0.03496323525905609,
0.011928018182516098,
0.06278184801340103,
-0.010111081413924694,
-0.01800408400595188,
-0.007785054389387369,
0.08845609426498413,
0.10201755911111832,
0.04375024884939194,
0.0028457273729145527,
0.06889975816011429,
0.028070863336324692,
-0.04288685321807861,
-0.00970727764070034,
-0.02675836905837059,
-0.014286989346146584,
0.014078516513109207,
-0.008026453666388988,
0.06318987160921097,
-0.02982197143137455,
0.07813841849565506,
-0.013540521264076233,
-0.01394960843026638,
0.0022462434135377407,
0.0008148755878210068,
0.027848999947309494,
0.0580330416560173,
0.007598365191370249,
0.04855775833129883,
-0.05020247399806976,
-0.043730393052101135,
0.008995548821985722,
0.002922262065112591,
-0.011647731997072697,
0.03907473012804985,
-0.04409603774547577,
-0.008244350552558899,
0.012894815765321255,
0.046946726739406586,
0.09314275532960892,
-0.049692317843437195,
-0.013028706423938274,
-0.015560832805931568,
0.032136883586645126,
0.005963590927422047,
0.02383822202682495,
-0.018515804782509804,
-0.021632174029946327,
-0.007846671156585217,
-0.03638804703950882,
-0.0036284427624195814,
-0.012755981646478176,
-0.03527674451470375,
0.0070903790183365345,
-0.03375233709812164,
-0.004305235575884581,
0.011535022407770157,
-0.024544470012187958,
-0.02842806652188301,
-0.053757715970277786,
-0.006238189060240984,
-0.04657531902194023,
-0.08045004308223724,
0.0005676478613168001,
0.00044730125227943063,
-0.00024445721646770835,
-0.02107090875506401,
-0.014701086096465588,
-0.029749354347586632,
-0.03704407066106796,
0.05144767835736275,
-0.056555021554231644,
0.004185800440609455,
0.012076007202267647,
0.02517351321876049,
-0.0173930786550045,
0.025763262063264847,
0.05655822902917862,
0.005596131086349487,
0.008950892835855484,
0.004388486500829458,
0.0195423923432827,
0.05411940813064575,
0.03382572531700134,
-0.008491281419992447,
-0.09331218153238297,
-0.004321346525102854,
0.009525172412395477,
-0.02510380558669567,
-0.07416412234306335,
0.014259385876357555,
0.060306452214717865,
0.011763524264097214,
0.028407342731952667,
-0.009185521863400936,
-0.013882300816476345,
-0.03594708442687988,
0.018541308119893074,
-0.02463499829173088,
-0.0032531865872442722,
0.02396194264292717,
-0.019521018490195274,
0.08443327993154526,
0.03054014779627323,
-0.02414017543196678,
-0.016599483788013458,
-0.04214286059141159,
0.022951552644371986,
0.008472400717437267,
-0.046114712953567505,
-0.02727236971259117,
-0.03990266099572182,
-0.08827558904886246,
-0.05671480670571327,
0.027856500819325447,
-0.028933515772223473,
-0.02401479333639145,
0.015362324193120003,
0.017508622258901596,
-0.03204065561294556,
0.010809600353240967,
-0.03412993252277374,
0.029762612655758858,
-0.021303690969944,
-0.019909486174583435,
-0.034377600997686386,
0.010549584403634071,
-0.005569422617554665,
-0.008045458234846592,
0.010180066339671612,
-0.058074697852134705,
0.005106204189360142,
-0.03537629917263985,
0.01899847574532032,
0.02945048175752163,
0.04256331920623779,
-0.013076987117528915
] | [
-0.05597705766558647,
-0.028267759829759598,
-0.04841100424528122,
-0.02926461398601532,
0.06579689681529999,
-0.024923201650381088,
-0.04026342183351517,
0.0328119657933712,
-0.007016712799668312,
-0.014893762767314911,
0.017848534509539604,
-0.019495345652103424,
0.0033340021036565304,
0.011052354238927364,
0.05633265897631645,
-0.0016144800465554,
-0.027156013995409012,
-0.061070170253515244,
-0.012038659304380417,
0.03620784729719162,
-0.023074237629771233,
-0.03550422564148903,
0.008480958640575409,
-0.04555036500096321,
0.0072031449526548386,
0.03735717386007309,
0.039876434952020645,
-0.021594377234578133,
-0.023158300668001175,
-0.2221573293209076,
-0.00314156012609601,
0.013048439286649227,
-0.004371240269392729,
-0.0029797800816595554,
0.0020356946624815464,
0.036273520439863205,
0.057311203330755234,
-0.00559939444065094,
0.03863805904984474,
0.03869273513555527,
0.02526538260281086,
0.019481943920254707,
-0.07524267584085464,
0.0012525466736406088,
0.060835741460323334,
0.015086377039551735,
0.008913153782486916,
-0.00839389581233263,
-0.022019924595952034,
0.029333388432860374,
-0.045936789363622665,
-0.01441869791597128,
0.0008154964307323098,
0.006969140842556953,
0.013665791600942612,
0.043220553547143936,
0.04713033139705658,
0.0524982325732708,
0.015543598681688309,
0.023483313620090485,
0.03829175978899002,
0.007579558063298464,
-0.1527944952249527,
0.1018441915512085,
0.0029915443155914545,
0.0025926704984158278,
-0.0741155669093132,
0.01756761409342289,
-0.04537896811962128,
0.07266464084386826,
-0.0002858085499610752,
-0.004766592290252447,
-0.04167161509394646,
0.061701368540525436,
0.0002149238425772637,
0.030813606455922127,
0.0034071209374815226,
0.014714333228766918,
0.028652578592300415,
-0.05045608431100845,
-0.0038059961516410112,
0.029750633984804153,
-0.04091319814324379,
-0.036200348287820816,
-0.03151862695813179,
0.04233376309275627,
-0.02563493326306343,
0.05159122124314308,
-0.026010463014245033,
0.015094890259206295,
0.047066446393728256,
0.007094916421920061,
0.061900120228528976,
0.03219962492585182,
-0.0693107396364212,
-0.026700567454099655,
0.01608917862176895,
0.0136069655418396,
0.021544182673096657,
0.36489787697792053,
0.0011863887775689363,
-0.007396073546260595,
0.05020235851407051,
0.0670602023601532,
-0.029429348185658455,
-0.03478677198290825,
-0.00040741905104368925,
-0.06039521098136902,
0.035475898534059525,
-0.000057874611229635775,
0.004226306919008493,
-0.024425238370895386,
0.03731535002589226,
-0.08143030852079391,
0.03312454745173454,
-0.0026840674690902233,
0.03619813174009323,
0.019688241183757782,
-0.020935483276844025,
0.01947949267923832,
-0.030429376289248466,
0.0010896001476794481,
0.018606651574373245,
0.029573550447821617,
0.014673401601612568,
0.009402940049767494,
0.0016218938399106264,
0.03037431836128235,
0.05479603260755539,
0.02957378700375557,
0.03752867132425308,
0.0107018006965518,
-0.10539735853672028,
0.03208605945110321,
-0.010271950624883175,
-0.01427055150270462,
0.03494977951049805,
-0.04215240851044655,
-0.024123117327690125,
0.008563078008592129,
-0.0011848298599943519,
0.013659557327628136,
0.008011429570615292,
0.018595430999994278,
-0.059438757598400116,
0.15589408576488495,
0.0018955443520098925,
-0.04573262482881546,
-0.035634782165288925,
-0.06724534183740616,
0.005643212702125311,
0.05146217346191406,
-0.014288878068327904,
-0.0496813990175724,
-0.024431029334664345,
0.009078893810510635,
0.09314166009426117,
-0.003825447289273143,
-0.08986739069223404,
0.002517072018235922,
-0.038101375102996826,
-0.029944632202386856,
-0.04193169251084328,
0.08411602675914764,
0.05289309844374657,
-0.12102968245744705,
-0.005552793387323618,
0.011588426306843758,
0.0073052686639130116,
-0.06976860016584396,
0.004181549418717623,
0.013900957070291042,
-0.04831606149673462,
0.006180416326969862,
0.07952915877103806,
-0.0031945540104061365,
-0.01676015742123127,
-0.015349118039011955,
0.03589047119021416,
-0.0004420896293595433,
0.00983944907784462,
0.00173222238663584,
-0.05232083797454834,
0.0016016868175938725,
-0.06837039440870285,
-0.050623923540115356,
-0.0801285058259964,
0.027795445173978806,
-0.028640640899538994,
-0.0024263234809041023,
-0.02876581810414791,
0.040113747119903564,
-0.056283868849277496,
0.10394961386919022,
-0.04303232952952385,
-0.016633231192827225,
-0.031032539904117584,
0.02242274023592472,
-0.019961301237344742,
-0.04522766172885895,
0.012397941201925278,
0.023655762895941734,
-0.027554703876376152,
0.018977437168359756,
-0.0524178072810173,
0.01420933660119772,
0.08754152804613113,
-0.03540768474340439,
0.05572137236595154,
0.011918636970221996,
-0.06099514290690422,
-0.00864480808377266,
-0.008673077449202538,
0.027972398325800896,
0.0012320916866883636,
-0.0029669327195733786,
0.008206838741898537,
0.0003794647636823356,
0.030739912763237953,
0.06208615005016327,
-0.042593665421009064,
-0.022132577374577522,
-0.02868691273033619,
-0.3517255485057831,
-0.02835634909570217,
-0.017063016071915627,
0.032080069184303284,
0.04701054468750954,
-0.03709867596626282,
0.022654939442873,
-0.017296025529503822,
0.02167866751551628,
0.04772734269499779,
0.06748715043067932,
0.014123798348009586,
0.006705166306346655,
-0.08400570601224899,
0.006995111703872681,
0.029116645455360413,
0.005733184982091188,
0.008746745996177197,
-0.02842400036752224,
-0.011253992095589638,
-0.006431599613279104,
-0.05764308571815491,
-0.051946092396974564,
-0.046176403760910034,
0.011827272363007069,
-0.020951231941580772,
0.10250434279441833,
-0.0327519066631794,
0.015641801059246063,
-0.04612179473042488,
0.030865106731653214,
0.014553909189999104,
-0.019981050863862038,
-0.10563192516565323,
-0.013775256462395191,
-0.009005504660308361,
0.03558240085840225,
0.02756245993077755,
-0.03136078640818596,
-0.017974838614463806,
-0.033893194049596786,
0.004856457933783531,
-0.04817414656281471,
-0.057939883321523666,
-0.007580936886370182,
0.04194948077201843,
-0.061362892389297485,
-0.02858147583901882,
0.011584237217903137,
0.07164417207241058,
0.0005155098042450845,
0.012690513394773006,
0.02447185479104519,
0.03674881160259247,
-0.005021541845053434,
-0.03012777678668499,
-0.061560746282339096,
0.0062395366840064526,
0.019899675622582436,
0.02532324008643627,
0.0062216236256062984,
0.024668153375387192,
0.032526593655347824,
-0.08961594104766846,
0.013125170022249222,
0.00817488320171833,
-0.005294744856655598,
0.027434799820184708,
0.014836235903203487,
-0.008882557041943073,
-0.019557852298021317,
0.11011632531881332,
-0.0014833160676062107,
0.04061222821474075,
0.04138965159654617,
0.0611262209713459,
-0.027446823194622993,
0.005849073175340891,
0.035931296646595,
0.017217548564076424,
0.04132360592484474,
-0.018290232867002487,
0.063337542116642,
-0.0035263458266854286,
-0.027333181351423264,
0.0748409554362297,
0.028903162106871605,
-0.06863361597061157,
0.04119674861431122,
0.03239739313721657,
-0.026075052097439766,
-0.01668640971183777,
-0.029936913400888443,
-0.062088243663311005,
0.045295413583517075,
-0.0023446371778845787,
-0.25425365567207336,
0.042631007730960846,
0.03517445549368858,
0.05871313810348511,
0.017162051051855087,
-0.012034419924020767,
0.049967411905527115,
-0.05051204189658165,
0.03912452608346939,
-0.010659628547728062,
0.028950504958629608,
0.03281016647815704,
-0.013566745445132256,
-0.005149070173501968,
-0.0003317626833450049,
0.002768363803625107,
0.046736475080251694,
0.02548152022063732,
0.019223010167479515,
0.0028743345756083727,
0.022114071995019913,
-0.04704957455396652,
0.1862783432006836,
0.03758593276143074,
0.00835107546299696,
0.016339540481567383,
-0.029837539419531822,
0.0034003551118075848,
0.052261799573898315,
-0.0065603675320744514,
-0.004329633433371782,
0.031064270064234734,
-0.0019295361125841737,
0.025927439332008362,
0.027593344449996948,
-0.03419385477900505,
-0.05068816989660263,
0.049718908965587616,
0.022800780832767487,
-0.023070866242051125,
-0.008165542967617512,
0.004149793181568384,
-0.06074593588709831,
0.02954273484647274,
0.05742152780294418,
-0.03426773473620415,
0.006800645962357521,
-0.03376329690217972,
-0.0968514233827591,
-0.007357057649642229,
-0.021959178149700165,
-0.042152781039476395,
-0.027891771867871284,
-0.02392922155559063,
-0.016136659309267998,
0.08143642544746399,
0.021895350888371468,
-0.018057601526379585,
0.01132267341017723,
0.011211775243282318,
-0.018844066187739372,
-0.0419180765748024,
0.05538719892501831,
0.0023848325945436954,
0.012206988409161568
] | [
0.02913830615580082,
0.038557492196559906,
-0.013462819159030914,
0.04133201763033867,
-0.02659064345061779,
0.018671896308660507,
-0.004666386637836695,
-0.005882519297301769,
-0.01023302972316742,
0.000291877135168761,
-0.0020025954581797123,
0.03372562304139137,
0.057071443647146225,
0.020023124292492867,
-0.002719538053497672,
0.025103962048888206,
-0.01731400564312935,
0.03601061552762985,
0.030083389952778816,
-0.014576484449207783,
-0.0595981702208519,
-0.02734946273267269,
0.034494828432798386,
-0.015692992135882378,
-0.008840952068567276,
0.026650404557585716,
-0.045610569417476654,
-0.011828355491161346,
0.027431659400463104,
-0.1329479068517685,
0.001502248109318316,
-0.021649200469255447,
-0.017806710675358772,
0.030751720070838928,
-0.02781086415052414,
0.00976669229567051,
0.02587698958814144,
0.012515528127551079,
0.024269625544548035,
0.027019549161195755,
0.05638397857546806,
-0.004010866861790419,
-0.01229922380298376,
-0.00998418964445591,
0.01872110739350319,
-0.021831482648849487,
-0.017679570242762566,
-0.009284261614084244,
0.011746259406208992,
-0.009484952315688133,
-0.0411163829267025,
-0.02963818795979023,
-0.009886452928185463,
0.004698624834418297,
0.005062434356659651,
0.0015082497848197818,
-0.015191051177680492,
-0.00946885161101818,
-0.010253638960421085,
0.0029760918114334345,
0.03333998844027519,
-0.028976934030652046,
-0.055979952216148376,
-0.020215759053826332,
-0.00962881464511156,
0.0025137278717011213,
-0.0024939265567809343,
0.0004046907415613532,
-0.008807221427559853,
0.005298051983118057,
0.004467949271202087,
0.033580925315618515,
-0.08076651394367218,
-0.027586789801716805,
-0.030323758721351624,
-0.01918085478246212,
0.039757683873176575,
-0.03312624245882034,
-0.00978380348533392,
-0.008747783489525318,
-0.002724260790273547,
0.009267629124224186,
-0.00919249840080738,
-0.03214916214346886,
-0.0313328355550766,
0.0015449149068444967,
0.0029958076775074005,
-0.022810418158769608,
-0.007361219730228186,
0.03914414718747139,
-0.019227923825383186,
0.029920527711510658,
-0.0017478143563494086,
-0.037319738417863846,
-0.08794224262237549,
0.0027294906321913004,
0.019175440073013306,
-0.014327554032206535,
0.01752016320824623,
0.8281822204589844,
0.041022494435310364,
-0.002760076429694891,
-0.0005989353521727026,
-0.010009652934968472,
0.03696649149060249,
0.008481500670313835,
0.029665682464838028,
0.007361366413533688,
-0.019766349345445633,
0.026430562138557434,
-0.01917390711605549,
0.037323687225580215,
-0.009807177819311619,
0.0068759312853217125,
-0.018688634037971497,
0.029694126918911934,
-0.008283935487270355,
-0.014122565276920795,
-0.002703573554754257,
0.011120620183646679,
-0.043050721287727356,
0.04237423092126846,
-0.002041367581114173,
-0.0033279405906796455,
-0.019511753693223,
-0.15507952868938446,
-0.03630844131112099,
-6.632356593794248e-33,
0.04701505973935127,
0.02288137748837471,
0.048011984676122665,
0.007884262129664421,
0.0062415567226707935,
0.022704213857650757,
-0.019599150866270065,
-0.054337698966264725,
-0.040057722479104996,
-0.04651728644967079,
-0.04172251373529434,
0.003948235884308815,
0.005266208667308092,
-0.007570653688162565,
0.006663006730377674,
-0.0002588644565548748,
-0.0028454354032874107,
0.01897267811000347,
0.009622638113796711,
-0.00659685954451561,
0.014040766283869743,
0.018411269411444664,
-0.03388959914445877,
0.053653255105018616,
0.004860538523644209,
0.04159768670797348,
-0.014377912506461143,
-0.00272749038413167,
-0.013060914352536201,
-0.059440743178129196,
-0.03755725920200348,
0.03726370632648468,
0.0005644357297569513,
-0.022926000878214836,
0.020216725766658783,
-0.05760499835014343,
-0.016719980165362358,
-0.004727520514279604,
-0.021571457386016846,
-0.058495908975601196,
-0.04894467443227768,
0.0010225586593151093,
-0.028749534860253334,
-0.022762080654501915,
-0.035640135407447815,
0.01559592504054308,
-0.0027698322664946318,
0.022308921441435814,
-0.023684168234467506,
0.02256481908261776,
0.005231252871453762,
-0.003980440087616444,
-0.0047322469763457775,
0.02396840788424015,
-0.0462869256734848,
0.009634580463171005,
0.0052823955193161964,
-0.009032069705426693,
0.020434532314538956,
-0.00793958269059658,
0.05216726288199425,
-0.005980657879263163,
-0.024976380169391632,
0.05189434811472893,
0.02496781013906002,
0.01177449245005846,
-0.01448023784905672,
-0.004765358287841082,
0.0023887266870588064,
0.033320050686597824,
-0.025291789323091507,
0.04477762058377266,
-0.02513197623193264,
-0.02044077403843403,
0.045768219977617264,
-0.02750079706311226,
-0.03609393909573555,
-0.007617956027388573,
0.008860534988343716,
0.0757569819688797,
-0.016598133370280266,
-0.014315733686089516,
0.022835731506347656,
-0.04626430198550224,
-0.026924679055809975,
-0.0057330671697855,
0.06429145485162735,
0.004686597269028425,
0.023870382457971573,
0.006306794937700033,
0.07360195368528366,
0.03462723642587662,
-0.028557121753692627,
-0.000597340171225369,
-0.009138145484030247,
6.816871003306946e-33,
0.01906493306159973,
0.01799836941063404,
-0.0010820816969498992,
0.006502440199255943,
0.04853241890668869,
-0.004050856921821833,
0.00955564621835947,
0.025108417496085167,
-0.03876795992255211,
0.04816599190235138,
0.011454726569354534,
-0.04309432953596115,
-0.0008587486809119582,
0.00622303131967783,
0.059235211461782455,
-0.004438178613781929,
0.0014123389264568686,
-0.04372153431177139,
-0.023628471419215202,
0.028433870524168015,
0.0007353060645982623,
0.015939436852931976,
-0.0036255079321563244,
0.031998343765735626,
0.032388944178819656,
0.009950627572834492,
0.010313301347196102,
-0.005932149477303028,
-0.03497285023331642,
-0.0021205442026257515,
-0.016129372641444206,
-0.04525592178106308,
0.0022014242131263018,
-0.015936708077788353,
0.0033438068348914385,
0.03034920059144497,
-0.01901398040354252,
0.007874674163758755,
0.022811949253082275,
0.01715615764260292,
0.025794263929128647,
0.0512908399105072,
-0.03605865314602852,
0.057115331292152405,
0.016038380563259125,
-0.0018085933988913894,
-0.027005190029740334,
0.001684348564594984,
0.00505932979285717,
0.016683503985404968,
-0.009553499519824982,
0.010641082189977169,
0.026242759078741074,
0.0019253016216680408,
0.0252244733273983,
-0.03374941647052765,
0.006005830131471157,
0.03471866622567177,
0.0024526251945644617,
0.02153513953089714,
-0.039383966475725174,
-0.01783127151429653,
-0.02754974365234375,
0.0448150560259819,
-0.039395999163389206,
-0.03094821609556675,
-0.023045508190989494,
0.008441705256700516,
-0.013823443092405796,
0.007771688979119062,
-0.002245950745418668,
-0.011385372839868069,
0.00883246399462223,
0.0073120975866913795,
0.05713269114494324,
-0.024621669203042984,
-0.019014347344636917,
0.025197913870215416,
-0.017312850803136826,
0.009478721767663956,
0.019862668588757515,
0.044660478830337524,
0.025575339794158936,
0.0015604390064254403,
0.006867073476314545,
0.0006826259195804596,
-0.003314546775072813,
0.02207699418067932,
-0.03333055600523949,
-0.008887126110494137,
0.018476542085409164,
-0.05271124094724655,
-0.011614050716161728,
0.03284384310245514,
-0.014419127255678177,
-1.2579264740963936e-8,
-0.08040813356637955,
0.017360905185341835,
0.0002197438880102709,
0.0051756142638623714,
0.017962133511900902,
0.017026254907250404,
0.0237620510160923,
0.00012854105443693697,
0.01074255257844925,
0.016243932768702507,
0.01584319956600666,
-0.023907121270895004,
-0.00852388795465231,
0.005654824897646904,
0.012110433541238308,
-0.02696998417377472,
0.0010743008460849524,
-0.0396672748029232,
0.03985235095024109,
-0.0056104413233697414,
0.005708448123186827,
0.015800902619957924,
-0.029899366199970245,
0.025475239381194115,
0.02225341647863388,
0.005792979151010513,
0.0018004124285653234,
-0.06438113003969193,
0.00782450195401907,
-0.012683622539043427,
0.0055971285328269005,
-0.011802363209426403,
-0.029054109007120132,
-0.011728648096323013,
-0.027587633579969406,
-0.025171520188450813,
0.02275244891643524,
0.035946305841207504,
-0.018853379413485527,
0.032925087958574295,
-0.008580021560192108,
-0.010828614234924316,
-0.032577842473983765,
-0.0386044979095459,
-0.03028106316924095,
0.019675422459840775,
-0.023940132930874825,
0.0062680672854185104,
0.03398159146308899,
-0.027894118800759315,
0.014141133055090904,
-0.026434507220983505,
0.04071801155805588,
0.02263812907040119,
0.03408411890268326,
-0.022565312683582306,
0.025246014818549156,
-0.0015360944671556354,
-0.0005574024398811162,
-0.041138485074043274,
0.03705943003296852,
0.00024668124387972057,
-0.023827001452445984,
-0.024165617302060127
] | from-graph-model-to-neo4j-import | https://markhneedham.com/blog/2019/03/27/from-graph-model-to-neo4j-import |
false | 2019-03-14 06:42:00 | Neo4j: Delete/Remove dynamic properties | [
"neo4j",
"cypher",
"apoc"
] | [
"Neo4j"
] | https://twitter.com/irfannuri[Irfan^] and I were playing with a dataset earlier today, and having run a bunch of https://neo4j.com/docs/graph-algorithms/current/[graph algorithms^], we had a lot of properties that we wanted to clear out.
The following Cypher query puts Neo4j into the state that we were dealing with.
[source,cypher]
----
CREATE (:Node {name: "Mark", pagerank: 2.302, louvain: 1, lpa: 4 })
CREATE (:Node {name: "Michael", degree: 23, triangles: 12, betweeness: 48.70 })
CREATE (:Node {name: "Ryan", eigenvector: 2.302, scc: 1, unionFind: 4 })
----
We wanted to delete all the properties except for 'name', but how do we do that?
We could do it one at a time.
For example:
[source,cypher]
----
MATCH (n:Node)
REMOVE n.pagerank
----
And then repeat that for all the other properties.
That is a bit of a painful process though - it'd be good if we can automate it.
First we need to get a list of the properties for each node, excluding the `name` property.
The following query does this:
[source, cypher]
----
neo4j> MATCH (n:Node)
WITH [k in keys(n) where not k in ["name"]] as keys
RETURN keys;
+---------------------------------------+
| keys |
+---------------------------------------+
| ["lpa", "pagerank", "louvain"] |
| ["betweeness", "degree", "triangles"] |
| ["unionFind", "eigenvector", "scc"] |
+---------------------------------------+
----
Now let's try and remove those properties.
This was our first attempt:
[source,cypher]
----
neo4j> MATCH (n:Node)
WITH n, [k in keys(n) where not k in ["name"]] as keys
UNWIND keys AS key
REMOVE n[key];
Invalid input '[': expected an identifier character, whitespace, node labels, 'u/U', '{', 'o/O', a property map, a relationship pattern, '.' or '(' (line 4, column 9 (offset: 103))
"REMOVE n[key];"
----
Hmm, that doesn't work so well.
We figured that https://neo4j-contrib.github.io/neo4j-apoc-procedures/[APOC^] would come to our rescue, we just didn't know which procedure we needed, so we searched all of them for the term 'remove':
[source,cypher]
----
CALL dbms.procedures() YIELD name, signature, description
WHERE name starts with "apoc" and description contains "remove"
return name, signature, description
----
Here's the output of running that query:
image::{{<siteurl>}}/uploads/2019/03/remove_procedures.png[]
`apoc.create.removeProperties` looks like it will do the job.
Let's give that a try:
[source,cypher]
----
neo4j> MATCH (n:Node)
WITH n, [k in keys(n) where not k in ["name"]] as keys
CALL apoc.create.removeProperties(n, keys) YIELD node
RETURN count(*);
+----------+
| count(*) |
+----------+
| 3 |
+----------+
----
Let's check what keys we have on those nodes now:
[source,cypher]
----
neo4j> MATCH (n:Node)
RETURN keys(n) AS keys;
+----------+
| keys |
+----------+
| ["name"] |
| ["name"] |
| ["name"] |
+----------+
----
Cool, that worked well!
I was curious whether we could avoid having to call the `keys` function on each node, and instead just pass a list of all keys except for `name`.
We can compute the list of all property keys in the database excluding `name` by executing the following query:
[source, cypher]
----
neo4j> CALL db.propertyKeys() YIELD propertyKey WHERE propertyKey <> 'name'
RETURN collect(propertyKey);
+-----------------------------------------------------------------------------------------+
| collect(propertyKey) |
+-----------------------------------------------------------------------------------------+
| ["degree", "pagerank", "louvain", "lpa", "triangles", "betweeness", "scc", "unionFind"] |
+-----------------------------------------------------------------------------------------+
----
If we want to pass in that list to the `apoc.create.removeProperties` procedure, we can do so like this:
[source,cypher]
----
CALL db.propertyKeys() YIELD propertyKey WHERE propertyKey <> 'name'
WITH collect(propertyKey) AS properties
MATCH (n:Node)
WITH collect(n) AS nodes, properties
CALL apoc.create.removeProperties(nodes, properties)
YIELD node
RETURN count(*)
----
== Bigger data
This approach works well if we want to delete properties from a small number of nodes, but what if we want to do this in bulk?
`apoc.periodic.iterate` is our friend.
Let's first create 1,000,000 nodes with properties that we want to remove:
[source, cypher]
----
CALL apoc.periodic.iterate(
"UNWIND range(0, 1000000) AS id RETURN id",
"CREATE (:Node {name: 'name-' + id, pagerank: 2.302, louvain: 1, lpa: 4 })", {})
----
And now we'll adapt our previous query to get rid of all properties except for `name`:
[source,cypher]
----
neo4j> CALL db.propertyKeys() YIELD propertyKey WHERE propertyKey <> 'name'
WITH collect(propertyKey) AS properties
CALL apoc.periodic.iterate(
"MATCH (n:Node) RETURN n",
"WITH collect(n) AS nodes
CALL apoc.create.removeProperties(nodes, $properties)
YIELD node
RETURN count(*)",
{params: {properties: properties}})
YIELD batches
RETURN batches;
+---------+
| batches |
+---------+
| 101 |
+---------+
----
And finally, let's check that all the properties are gone:
[source, cypher]
----
neo4j> MATCH (n:Node)
RETURN keys(n), count(*);
+---------------------+
| keys(n) | count(*) |
+---------------------+
| ["name"] | 1000001 |
+---------------------+
----
Sweet, that worked perfectly! | Learn how to remove a list of properties all in one go. | null | [
0.01516157016158104,
-0.015139417722821236,
0.019620850682258606,
0.03922167047858238,
0.09083236008882523,
0.004727156367152929,
0.03331389278173447,
0.012513318099081516,
0.020810935646295547,
-0.027529539540410042,
-0.02687770500779152,
-0.010229738429188728,
-0.082488514482975,
0.029221855103969574,
0.000631996663287282,
0.07659384608268738,
0.06050493195652962,
0.026915669441223145,
0.016548916697502136,
-0.026627061888575554,
0.018283525481820107,
0.05933135002851486,
-0.0032004930544644594,
0.03487028926610947,
0.05263925716280937,
0.02176990918815136,
-0.00020019341900479048,
0.0007982352399267256,
-0.03549898415803909,
-0.005778919439762831,
0.06285177171230316,
-0.0033805519342422485,
0.02212757058441639,
-0.030003052204847336,
0.04134524241089821,
-0.0015866704052314162,
-0.05274755135178566,
-0.0012971913674846292,
-0.009440073743462563,
0.008869188837707043,
-0.06764016300439835,
0.04396384581923485,
-0.01737447828054428,
0.04132477194070816,
-0.04182298853993416,
0.004338189028203487,
-0.06810376048088074,
0.025091692805290222,
0.021540245041251183,
0.0015363454585894942,
-0.08255614340305328,
0.03820805251598358,
-0.007667406927794218,
0.008757580071687698,
-0.001742182532325387,
0.04436686262488365,
0.011196310631930828,
-0.06056451052427292,
0.05647444352507591,
-0.01560959592461586,
-0.008685284294188023,
-0.01413577888160944,
-0.007923474535346031,
0.05005525052547455,
-0.008081919513642788,
-0.05283569172024727,
0.013361997902393341,
0.06308899819850922,
-0.05304516479372978,
-0.005986227188259363,
0.010996469296514988,
0.013782924972474575,
-0.000012625134331756271,
0.0009472728706896305,
-0.004813819658011198,
-0.03589889034628868,
0.0019093540031462908,
0.05219870060682297,
0.023489149287343025,
0.06048168987035751,
-0.0291245449334383,
0.02113787829875946,
0.00012771478213835508,
0.023883210495114326,
-0.0231117382645607,
-0.030756397172808647,
-0.039175618439912796,
-0.024167846888303757,
-0.05086100101470947,
0.0247165709733963,
0.00699755409732461,
-0.05100379139184952,
0.002006229478865862,
-0.002079759258776903,
-0.027212509885430336,
-0.005467413458973169,
0.001961251487955451,
-0.003249731147661805,
0.004899910185486078,
-0.006803749594837427,
-0.02306905761361122,
-0.05076206848025322,
0.000306391273625195,
0.018817655742168427,
-0.07423760741949081,
-0.0287688709795475,
-0.02229800634086132,
-0.005769763607531786,
0.014530116692185402,
-0.010765443556010723,
-0.05020827054977417,
0.009079011157155037,
0.0031957286410033703,
0.03250952064990997,
-0.08224696666002274,
0.06088864430785179,
0.0173538438975811,
-0.005550559610128403,
-0.0021081953309476376,
0.02973519079387188,
0.04703530669212341,
0.006594968028366566,
0.0007341367891058326,
0.07459262758493423,
-0.008647563867270947,
0.03284946456551552,
0.03191901743412018,
0.04843912273645401,
-0.03258092328906059,
-0.07416420429944992,
-0.008734814822673798,
0.060863979160785675,
-0.007301029749214649,
0.011113966815173626,
-0.016918163746595383,
-0.0404396653175354,
-0.0057257311418652534,
0.026070252060890198,
0.06832203269004822,
0.03629125654697418,
-0.005176825914531946,
-0.05405523255467415,
0.031733110547065735,
-0.00477677583694458,
0.02930961549282074,
0.011579936370253563,
-0.031490813940763474,
-0.027848295867443085,
-0.02040559984743595,
0.0016796799609437585,
0.03492031246423721,
0.04562615603208542,
0.05191149562597275,
-0.026179978623986244,
-0.011332842521369457,
0.10327852517366409,
0.030264146625995636,
0.004388118162751198,
-0.01813582144677639,
0.010879337787628174,
0.049611691385507584,
0.023736054077744484,
0.021152624860405922,
0.07292647659778595,
0.0061800116673111916,
-0.003464988199993968,
-0.0038851406425237656,
0.0737520158290863,
-0.009907125495374203,
0.00841868668794632,
-0.03571784123778343,
-0.05356886237859726,
0.05242190882563591,
-0.05898570641875267,
-0.005132314283400774,
0.04349653422832489,
0.053085386753082275,
0.008265754207968712,
0.03397184982895851,
-0.0027357039507478476,
-0.07339874655008316,
0.04881389066576958,
-0.019248563796281815,
0.018242336809635162,
0.006707400549203157,
0.01032298058271408,
0.07579619437456131,
0.037163425236940384,
0.022730296477675438,
0.028517303988337517,
-0.09010854363441467,
-0.07164763659238815,
-0.00870700553059578,
-0.016259875148534775,
0.059024352580308914,
-0.02044791914522648,
0.012840344570577145,
0.05436576530337334,
-0.005748160183429718,
0.04023747891187668,
0.02579605206847191,
-0.013161343522369862,
0.032950542867183685,
-0.06211071088910103,
-0.06313439458608627,
0.04817648231983185,
0.013665173202753067,
-0.044285647571086884,
-0.039559461176395416,
0.011764131486415863,
-0.009863464161753654,
-0.010342530906200409,
0.029152223840355873,
-0.04336899518966675,
0.044751573354005814,
0.02347843162715435,
0.02364138700067997,
-0.014063124544918537,
0.033881839364767075,
-0.03064265474677086,
0.03944393992424011,
0.016205595806241035,
-0.016452934592962265,
0.004774091299623251,
0.010357307270169258,
0.11618462204933167,
0.06885351240634918,
-0.010206500999629498,
-0.05658093839883804,
0.03833852335810661,
0.008579878136515617,
-0.02347051352262497,
0.019305285066366196,
-0.026137271896004677,
-0.018030140548944473,
-0.010619395412504673,
-0.03676240146160126,
-0.022452177479863167,
0.005504482891410589,
-0.03302212059497833,
0.002787772798910737,
0.052210744470357895,
-0.021798910573124886,
0.04964727908372879,
0.012395299971103668,
0.0005020590033382177,
0.0024283756501972675,
-0.042502522468566895,
-0.03523491695523262,
0.025802601128816605,
0.018016453832387924,
-0.004767718259245157,
0.04175873100757599,
-0.038185130804777145,
0.005357728805392981,
-0.025711404159665108,
-0.022138716652989388,
0.03386376053094864,
0.04676854610443115,
0.060938864946365356,
-0.007348373997956514,
0.03650505840778351,
-0.05107831209897995,
0.006657995283603668,
-0.013619191944599152,
-0.04919739440083504,
-0.034199152141809464,
-0.047094885259866714,
0.03230731934309006,
0.008264887146651745,
0.01194883044809103,
-0.013939757831394672,
0.02751682884991169,
-0.017037928104400635,
0.0066611566580832005,
0.0012242787051945925,
0.0220012404024601,
0.004850489553064108,
-0.000853327102959156,
-0.03608032315969467,
-0.03451409190893173,
0.04632415622472763,
-0.06243295222520828,
-0.03672238066792488,
-0.029309196397662163,
-0.05609259009361267,
0.05566927418112755,
-0.065606027841568,
-0.03250432386994362,
-0.011140323244035244,
0.021052194759249687,
0.045727506279945374,
0.006342838518321514,
0.021860459819436073,
0.05814916640520096,
0.004028081428259611,
0.016374267637729645,
0.012050535529851913,
0.005818169564008713,
0.04686891287565231,
-0.011427422054111958,
0.034588489681482315,
0.045292928814888,
-0.036948952823877335,
0.006581339985132217,
-0.02490062825381756,
0.003923450130969286,
-0.00876670517027378,
-0.2744300961494446,
0.044053252786397934,
-0.019112790003418922,
-0.05240462347865105,
0.011049340479075909,
-0.04530646651983261,
-0.008873017504811287,
-0.02456444688141346,
-0.022796837612986565,
0.021934788674116135,
-0.01040123775601387,
-0.040142178535461426,
-0.00936353299766779,
0.051215846091508865,
0.012115375138819218,
0.005497870966792107,
-0.018237393349409103,
-0.06549038738012314,
-0.000728849321603775,
0.04307413846254349,
-0.003153775120154023,
-0.04180698096752167,
-0.0022298479452729225,
0.005604278761893511,
0.022579912096261978,
0.05588488280773163,
-0.09645205736160278,
0.013478435575962067,
-0.06885121017694473,
-0.030344953760504723,
-0.01366495992988348,
-0.01550333946943283,
0.012917212210595608,
0.015876371413469315,
-0.024578658863902092,
-0.027100950479507446,
0.056822434067726135,
-0.0036037955433130264,
-0.006850468926131725,
0.049714356660842896,
-0.048819757997989655,
-0.04470580071210861,
-0.0098198764026165,
-0.00660605076700449,
0.0750301405787468,
0.01717933639883995,
-0.06622421741485596,
-0.03529432788491249,
-0.018037870526313782,
0.0699591338634491,
-0.021294841542840004,
-0.03709910064935684,
-0.005392597522586584,
0.019738515838980675,
-0.020467402413487434,
-0.02404361218214035,
-0.015272817574441433,
-0.010432065464556217,
-0.06498444080352783,
-0.03146105259656906,
-0.01608034037053585,
-0.041402559727430344,
0.018565122038125992,
-0.057281192392110825,
0.0007271069916896522,
-0.047706104815006256,
-0.08288324624300003,
-0.025971636176109314,
0.06314609199762344,
0.012518825009465218,
-0.012008564546704292,
0.03439115360379219,
-0.0006202022777870297,
-0.10970598459243774,
-0.023488923907279968,
-0.004374945070594549,
-0.005240218248218298,
0.004135057330131531,
-0.01643364317715168,
0.05090374872088432,
-0.05644233524799347,
-0.046388737857341766,
0.0026056747883558273,
0.02942115254700184,
0.014155209995806217,
0.0027644492220133543,
0.01678437553346157,
-0.014382598921656609,
-0.029357535764575005,
0.007928747683763504,
0.07096666097640991,
-0.016599446535110474,
-0.011092190630733967,
-0.01902029477059841,
-0.002406665589660406,
0.033521272242069244,
0.0063797226175665855,
-0.024655675515532494,
0.022757330909371376,
0.05139872059226036,
0.048428937792778015,
-0.03630049154162407,
0.03481379151344299,
-0.013990609906613827,
-0.027576956897974014,
-0.008413810282945633,
-0.04254673793911934,
0.0036334763281047344,
0.03364080190658569,
0.011854575015604496,
-0.010609693825244904,
-0.025746215134859085,
0.021683838218450546,
-0.0379144512116909,
-0.0142305176705122,
-0.021189924329519272,
0.028357289731502533,
0.023062361404299736,
0.03996965289115906,
-0.030954334884881973,
-0.06962128728628159,
0.033258527517318726,
0.02098929136991501,
-0.008879619650542736,
-0.06537230312824249,
-0.03110612742602825,
-0.014493818394839764,
-0.014737852849066257,
0.013317273929715157,
0.028000986203551292,
-0.02640993520617485,
0.023872211575508118,
0.014145955443382263,
-0.025257283821702003,
0.04496929049491882,
-0.01038074679672718,
-0.010823949240148067,
-0.035218462347984314,
0.007142814341932535,
-0.0014654563274234533,
-0.00674731470644474,
0.0004577563959173858,
0.001355951651930809,
0.04865047708153725,
0.039972513914108276,
0.022963836789131165,
0.032775573432445526,
-0.004721128381788731,
0.017720116302371025,
0.012947829440236092,
-0.02379244938492775,
-0.027818813920021057,
0.008563566021621227,
-0.0492984876036644,
-0.007566259242594242,
-0.0010563184041529894,
0.05690045282244682,
-0.019027462229132652,
-0.04471071437001228,
-0.026369214057922363,
0.02503279037773609,
-0.056158993393182755,
0.008835112676024437,
-0.0173193346709013,
0.0042298599146306515,
0.05262814462184906,
-0.02930048294365406,
0.03383821249008179,
-0.04647260904312134,
-0.006879551336169243,
0.0228748619556427,
0.014940795488655567,
-0.03431210294365883,
0.01348893903195858,
0.013387414626777172,
-0.005314409267157316,
0.015594919212162495,
0.06533335149288177,
0.012930240482091904,
0.02438056468963623,
0.0008083557477220893,
-0.018451951444149017,
0.00478423573076725,
0.027783703058958054,
0.040187954902648926,
0.034773968160152435,
-0.007653747219592333,
-0.006040889769792557,
-0.02078860253095627,
0.012859619222581387,
-0.005735361482948065,
-0.008539557456970215,
-0.044367466121912,
0.006221720948815346,
-0.021308936178684235,
-0.05335443839430809,
0.04051920026540756,
-0.006094492040574551,
0.005120476707816124,
0.04858703538775444,
0.014209141954779625,
-0.006696599535644054,
-0.012969265691936016,
0.02813182771205902,
0.0480613075196743,
-0.04879032075405121,
-0.012782561592757702,
0.01162466499954462,
-0.020299866795539856,
0.014323608949780464,
0.030052442103624344,
-0.06501274555921555,
-0.03174227103590965,
-0.006261971313506365,
0.022328240796923637,
-0.028006594628095627,
-0.03323166444897652,
-0.0038066161796450615,
0.0033850441686809063,
-0.01832875795662403,
0.04223661124706268,
0.01272657886147499,
0.010172652080655098,
-0.004673840012401342,
-0.002918039681389928,
0.04887699708342552,
-0.02069053053855896,
-0.001418341533280909,
0.02006339095532894,
-0.018107593059539795,
0.02782600000500679,
-0.011774874292314053,
0.02415172941982746,
0.01895497739315033,
-0.004277804866433144,
-0.01319244783371687,
-0.05958576872944832,
0.019418425858020782,
-0.01821545884013176,
0.05565287172794342,
-0.009178079664707184,
-0.020714452490210533,
-0.042117949575185776,
-0.00555496895685792,
-0.015750624239444733,
0.0028652409091591835,
-0.014140170998871326,
-0.004895281046628952,
0.021012386307120323,
0.023734387010335922,
0.011681531555950642,
0.03111543506383896,
-0.023096127435564995,
-0.05323963612318039,
0.060541942715644836,
-0.05029485747218132,
-0.02113715372979641,
-0.008355991914868355,
-0.03318162262439728,
0.011590857990086079,
0.01335949171334505,
0.02143866755068302,
-0.03532774746417999,
0.04628022760152817,
0.058482129126787186,
0.01545029878616333,
0.014744277112185955,
-0.015158764086663723,
0.020211711525917053,
-0.024191757664084435,
-0.011806129477918148,
-0.07461196184158325,
0.00619796896353364,
0.0364966057240963,
-0.01662996970117092,
0.01216030865907669,
-0.003553094109520316,
-0.03401288017630577,
-0.010127082467079163,
-0.05888975411653519,
-0.03281585872173309,
0.04181912913918495,
-0.014761622995138168,
0.006637840531766415,
0.017638809978961945,
-0.06205258145928383,
0.006074636243283749,
0.041796259582042694,
-0.019941430538892746,
-0.009941906668245792,
-0.03495734557509422,
0.0393618568778038,
-0.022717056795954704,
0.03905501216650009,
-0.036983609199523926,
-0.016992617398500443,
0.06895504146814346,
0.03003942407667637,
0.0238563921302557,
0.04830140620470047,
-0.03226473182439804,
0.023008806630969048,
0.03958921134471893,
-0.00424965750426054,
0.0005010284949094057,
0.031644441187381744,
-0.014989558607339859,
-0.06264475733041763,
0.03702080249786377,
0.0044486066326498985,
-0.030647465959191322,
-0.060658957809209824,
0.07877515256404877,
-0.00038212662911973894,
-0.04906747490167618,
-0.03869124501943588,
0.039454687386751175,
-0.019715426489710808,
-0.030123235657811165,
-0.05421491339802742,
0.016850601881742477,
-0.05131508409976959,
0.049569498747587204,
-0.019383657723665237,
0.011896639131009579,
0.07376522570848465,
-0.0156695619225502,
0.015261550433933735,
0.00441200053319335,
0.08474624156951904,
0.1188172996044159,
0.04397705942392349,
0.009072783403098583,
0.06790991872549057,
-0.007332389242947102,
-0.04162842780351639,
-0.004494429565966129,
-0.028502071276307106,
-0.029009347781538963,
-0.015450158156454563,
0.01586141437292099,
0.05681553855538368,
-0.042775921523571014,
0.07736020535230637,
-0.034393392503261566,
-0.009874802082777023,
-0.013873567804694176,
-0.027288131415843964,
0.020779697224497795,
0.07056637108325958,
0.01371876709163189,
0.043114643543958664,
-0.03629092127084732,
-0.023163875564932823,
0.005054593086242676,
-0.00722845271229744,
-0.010247490368783474,
0.04029127210378647,
-0.026417460292577744,
0.006644388195127249,
0.0071429540403187275,
0.032303858548402786,
0.09420347958803177,
-0.02709929831326008,
-0.009664872661232948,
0.011124859564006329,
0.017391063272953033,
0.0029136526864022017,
-0.0049666655249893665,
-0.017453089356422424,
-0.02235146425664425,
-0.004150231834501028,
-0.0415894091129303,
-0.034703172743320465,
-0.030182452872395515,
-0.02387779764831066,
0.009343596175312996,
-0.009107124991714954,
-0.01453495305031538,
0.001761127612553537,
-0.005365722347050905,
-0.025781219825148582,
-0.05031866952776909,
-0.06089606508612633,
-0.05589771270751953,
-0.0762733444571495,
-0.015766268596053123,
0.00021529562945943326,
0.01076763030141592,
-0.014915077947080135,
-0.0037058719899505377,
-0.0232546366751194,
-0.027475053444504738,
0.06522707641124725,
-0.04207221791148186,
-0.004217304289340973,
0.0063720084726810455,
0.021459383890032768,
0.016048729419708252,
0.025797832757234573,
0.06675615161657333,
-0.004304362460970879,
0.008745315484702587,
-0.02825692854821682,
0.0004981776583008468,
0.04650487005710602,
0.030118536204099655,
-0.007515501230955124,
-0.06986775249242783,
-0.007049140520393848,
-0.010333283804357052,
-0.03424971178174019,
-0.07616186887025833,
0.005698661785572767,
0.04253816604614258,
0.019195202738046646,
0.04443268105387688,
-0.024201160296797752,
-0.017909830436110497,
-0.03481382504105568,
0.01126826275140047,
0.009856647811830044,
-0.030476368963718414,
0.03372867405414581,
-0.018261319026350975,
0.08030367642641068,
0.011320166289806366,
-0.03477892279624939,
-0.036436744034290314,
-0.03602243959903717,
-0.0017787404358386993,
0.012737985700368881,
-0.05520503968000412,
-0.016919216141104698,
-0.03128833696246147,
-0.09718061238527298,
-0.04636703431606293,
-0.0012676401529461145,
-0.03492584452033043,
-0.04004430025815964,
0.001886081648990512,
0.01670522429049015,
-0.030032820999622345,
0.03497917950153351,
-0.030994296073913574,
0.049995724111795425,
-0.03017592430114746,
-0.020755140110850334,
-0.029100319370627403,
0.006598984356969595,
-0.016524724662303925,
0.022692939266562462,
0.03244907408952713,
-0.038155194371938705,
-0.007163720205426216,
-0.042700231075286865,
0.018648477271199226,
0.013408384285867214,
0.02737586572766304,
0.017285482957959175
] | [
-0.0464463047683239,
-0.013807496055960655,
-0.03149324283003807,
-0.004214456304907799,
0.05482238903641701,
-0.0351400263607502,
-0.013310062699019909,
0.008706443943083286,
0.037040237337350845,
0.001898464048281312,
0.028954004868865013,
-0.044352054595947266,
0.004151902627199888,
0.00888445321470499,
0.07390269637107849,
0.004200686700642109,
-0.028176991268992424,
0.003974246792495251,
-0.025908969342708588,
0.042504552751779556,
-0.0029331014957278967,
-0.038222406059503555,
-0.013431170955300331,
-0.026247790083289146,
0.04698202759027481,
0.030299482867121696,
0.04488607123494148,
-0.01365960855036974,
-0.02017681859433651,
-0.23075728118419647,
0.0035382115747779608,
0.01649879664182663,
0.025201337411999702,
-0.006082573439925909,
0.03308134526014328,
0.022355971857905388,
0.022376252338290215,
-0.008071966469287872,
-0.01772044226527214,
0.03853331133723259,
0.026958374306559563,
0.010486481711268425,
-0.046440500766038895,
-0.01785520650446415,
0.05912516638636589,
0.0412871427834034,
0.015849659219384193,
-0.016804037615656853,
-0.027622690424323082,
0.01947454735636711,
-0.03610219433903694,
-0.030145445838570595,
-0.020301183685660362,
0.004704091232270002,
0.03257220610976219,
0.038604237139225006,
0.05806346982717514,
0.0711994394659996,
0.03288163244724274,
0.03959310054779053,
0.02433646284043789,
0.016000447794795036,
-0.11765875667333603,
0.06221839785575867,
0.031214874237775803,
0.027920154854655266,
-0.026507530361413956,
-0.02139098383486271,
-0.008201120421290398,
0.10873927921056747,
0.02968129701912403,
-0.005103979259729385,
-0.03626694157719612,
0.05907483771443367,
-0.021968694403767586,
0.03765039145946503,
-0.02952013909816742,
0.007228489499539137,
0.030483175069093704,
-0.04526348412036896,
-0.06706484407186508,
0.0037491004914045334,
-0.03579004481434822,
-0.01251727994531393,
-0.040355876088142395,
0.057640668004751205,
-0.03780122846364975,
0.05859525129199028,
-0.007371093612164259,
0.05333981290459633,
0.03413107991218567,
0.0003211591101717204,
0.07534188032150269,
0.039345841854810715,
-0.0818859189748764,
-0.02156907320022583,
-0.009569086134433746,
0.027954790741205215,
0.014978990890085697,
0.4018738269805908,
-0.019486917182803154,
-0.004149796441197395,
0.03218711167573929,
0.033097561448812485,
-0.011212334968149662,
-0.01019438449293375,
0.009798465296626091,
-0.05486956238746643,
0.01176844909787178,
-0.00859967339783907,
-0.008281485177576542,
-0.0341159962117672,
0.039036110043525696,
-0.08621136099100113,
0.01763119362294674,
-0.006083175539970398,
0.06932993978261948,
0.046962834894657135,
-0.009567431174218655,
-0.0036682276986539364,
-0.021215341985225677,
0.012693352065980434,
0.02625930868089199,
0.011991096660494804,
0.044660456478595734,
0.0274740569293499,
0.0009181281202472746,
0.038737162947654724,
0.02344672940671444,
0.031132906675338745,
0.01647353172302246,
0.012334014289081097,
-0.07169383019208908,
0.0382167249917984,
-0.008663484826683998,
-0.0024592021945863962,
0.020002471283078194,
-0.020229555666446686,
-0.021366994827985764,
0.028970850631594658,
-0.02120126225054264,
-0.009070809930562973,
0.02759111486375332,
0.012584906071424484,
-0.0259768795222044,
0.12081119418144226,
-0.015763701871037483,
-0.04967771843075752,
-0.02636140212416649,
-0.0420391708612442,
-0.008378446102142334,
0.030256973579525948,
-0.014510917477309704,
-0.07403276115655899,
-0.0035266419872641563,
0.020885834470391273,
0.08761654794216156,
-0.029341764748096466,
-0.08566857874393463,
0.007561793550848961,
-0.006683303043246269,
-0.0025411408860236406,
-0.036099743098020554,
0.10116782039403915,
0.02464354783296585,
-0.10742156952619553,
-0.028554124757647514,
0.03383401408791542,
-0.017520582303404808,
-0.047230955213308334,
0.015577222220599651,
0.007757639978080988,
-0.04817073792219162,
-0.004613613709807396,
0.07334299385547638,
-0.00958504993468523,
-0.02851797267794609,
-0.022850843146443367,
0.026951564475893974,
0.006133409217000008,
-0.03799859434366226,
-0.0017430641455575824,
-0.03981221094727516,
0.009252754971385002,
-0.07148341834545135,
-0.05290261656045914,
-0.07013595849275589,
0.029312342405319214,
-0.02481055073440075,
-0.034762728959321976,
-0.032289449125528336,
-0.013886192813515663,
-0.04784062132239342,
0.07772117108106613,
-0.07229620218276978,
-0.02063811756670475,
-0.018690181896090508,
0.0011546502355486155,
-0.021534539759159088,
-0.04102231189608574,
0.030111825093626976,
0.020718609914183617,
-0.010085171088576317,
0.009446177631616592,
-0.07793019711971283,
0.0464257076382637,
0.05985679849982262,
-0.0336620956659317,
0.052414555102586746,
0.04373403266072273,
-0.04093271493911743,
-0.005406599957495928,
-0.042354147881269455,
0.002886413596570492,
0.004810711834579706,
-0.028915854170918465,
-0.0061363824643194675,
-0.017452025786042213,
0.018067117780447006,
0.028645163401961327,
-0.03394109383225441,
-0.03311809152364731,
-0.05899477005004883,
-0.33367639780044556,
-0.06317874044179916,
-0.03068605437874794,
-0.01356091070920229,
0.023268476128578186,
-0.05082322284579277,
0.0002927119785454124,
-0.032201554626226425,
0.010661765933036804,
0.02316400781273842,
0.0631999745965004,
-0.017321787774562836,
-0.02921455353498459,
-0.08581183850765228,
-0.0055064610205590725,
0.031029917299747467,
0.013429808430373669,
0.0029949541203677654,
-0.0568142831325531,
-0.013571350835263729,
0.0046169045381248,
-0.04817195609211922,
-0.0027067563496530056,
-0.06092032790184021,
0.016761381179094315,
-0.01431795209646225,
0.1272788643836975,
-0.012218102812767029,
0.054336678236722946,
-0.0441911518573761,
0.03840366378426552,
0.010352721437811852,
-0.020690789446234703,
-0.05611659958958626,
0.005930120591074228,
-0.014637856744229794,
0.015675462782382965,
0.019198015332221985,
-0.019058378413319588,
-0.025225678458809853,
-0.022197972983121872,
-0.016593866050243378,
-0.0585879422724247,
-0.05182380601763725,
-0.024529781192541122,
0.021524852141737938,
-0.044095806777477264,
0.00347909820266068,
0.0058128805831074715,
0.10722973942756653,
0.024689169600605965,
0.04056621715426445,
0.020315781235694885,
0.024618741124868393,
0.011353409849107265,
-0.025644352659583092,
-0.06553871184587479,
-0.02310020662844181,
0.014943799935281277,
0.00791767705231905,
0.008472597226500511,
0.02674875594675541,
0.02053838223218918,
-0.10533787310123444,
0.037932440638542175,
0.006066036876291037,
-0.01402975246310234,
-0.011876728385686874,
0.011763541027903557,
-0.0334024503827095,
-0.052484892308712006,
0.09329012781381607,
0.008342376910150051,
0.01648883894085884,
0.0417754091322422,
0.036015331745147705,
-0.01922324113547802,
0.01742819882929325,
0.02163185551762581,
0.011132598854601383,
0.05123961344361305,
-0.044172100722789764,
0.08623509109020233,
-0.02106827311217785,
-0.01701800711452961,
0.049035754054784775,
0.0012142346240580082,
-0.06643994897603989,
0.046220991760492325,
0.02351558953523636,
-0.017273087054491043,
0.017125088721513748,
-0.029776738956570625,
-0.03529303893446922,
0.08474976569414139,
-0.03562474250793457,
-0.26163870096206665,
0.0198886189609766,
0.027250435203313828,
0.07954510301351547,
0.012731011025607586,
0.005449544172734022,
0.022390494123101234,
-0.019135812297463417,
0.0028873274568468332,
0.008550995029509068,
0.013580666854977608,
0.0824008360505104,
-0.009826023131608963,
-0.03217637538909912,
0.007281669415533543,
-0.005580774042755365,
0.02439092844724655,
-0.01137138158082962,
0.050113383680582047,
0.03405055031180382,
0.045063503086566925,
-0.037259381264448166,
0.19979077577590942,
0.03342105448246002,
0.009099507704377174,
0.03156547620892525,
-0.047700777649879456,
0.003922211471945047,
0.03304443135857582,
0.0017390522407367826,
-0.016060076653957367,
0.04213440790772438,
0.01337524875998497,
0.039167989045381546,
0.013821844011545181,
-0.03349677845835686,
-0.007451958023011684,
0.028022168204188347,
0.022832270711660385,
-0.034766487777233124,
0.023504719138145447,
0.008967813104391098,
-0.03601745143532753,
0.05466281250119209,
0.07880712300539017,
-0.04183336719870567,
-0.0010492587462067604,
-0.015635555610060692,
-0.07476179301738739,
-0.0017344229854643345,
-0.027161549776792526,
-0.041146472096443176,
-0.03737731650471687,
-0.02088227868080139,
-0.010423117317259312,
0.055401965975761414,
0.0037719488609582186,
-0.006477270275354385,
0.03775725141167641,
-0.013747463934123516,
-0.04313348978757858,
-0.03942076489329338,
0.08174718916416168,
-0.026129553094506264,
0.023157695308327675
] | [
0.025586923584342003,
0.0673772469162941,
-0.02053096517920494,
0.035999614745378494,
-0.01494185347110033,
-0.007238549645990133,
-0.03242221847176552,
-0.008694890886545181,
-0.028041593730449677,
0.02066897228360176,
-0.022693617269396782,
-0.007720179855823517,
0.05396196246147156,
-0.02410001866519451,
0.009293852373957634,
0.016531022265553474,
-0.009336271323263645,
0.02197474054992199,
0.02634620852768421,
-0.0314774252474308,
-0.04342590272426605,
0.008547548204660416,
0.030667606741189957,
-0.00007514809840358794,
-0.0028642108663916588,
0.019401196390390396,
-0.025008562952280045,
0.012656822800636292,
0.02632967010140419,
-0.1019144281744957,
-0.0370398610830307,
-0.02941160462796688,
0.007738478481769562,
0.03454294055700302,
-0.04635506495833397,
-0.009323778562247753,
0.002808435121551156,
0.02859237603843212,
-0.0021501758601516485,
0.021872997283935547,
0.036031994968652725,
-0.004868160001933575,
-0.015642710030078888,
0.00903621967881918,
0.02703910693526268,
-0.0022102443035691977,
-0.05113566294312477,
-0.0028259349055588245,
0.004704312887042761,
-0.027503980323672295,
-0.04295661672949791,
-0.03294087573885918,
-0.01956770196557045,
0.0101035600528121,
0.006456995382905006,
0.008649331517517567,
-0.02446283958852291,
-0.02016688697040081,
0.03627600893378258,
-0.011573043651878834,
0.04378049448132515,
-0.024174006655812263,
-0.04933367297053337,
-0.029991112649440765,
-0.007903555408120155,
-0.011929841712117195,
-0.0011675340356305242,
0.021106749773025513,
0.0017224831972271204,
0.007612503133714199,
0.004686262924224138,
0.04061543568968773,
-0.05638795346021652,
-0.0016934596933424473,
-0.022509198635816574,
0.03581473231315613,
0.027034282684326172,
-0.024294601753354073,
-0.009915292263031006,
0.010849487967789173,
-0.026818912476301193,
0.011621925979852676,
-0.03199484944343567,
-0.013255631551146507,
-0.03232751786708832,
-0.016227493062615395,
-0.02207610011100769,
-0.02754083275794983,
0.032332777976989746,
0.018981944769620895,
-0.035201188176870346,
0.0041410536505281925,
-0.016529664397239685,
-0.02181890234351158,
-0.0978553369641304,
0.019685225561261177,
0.011480038054287434,
-0.027485687285661697,
0.030723610892891884,
0.8320990800857544,
0.003467099741101265,
-0.0009530909592285752,
-0.008243834599852562,
0.00868696253746748,
-0.026055969297885895,
0.04502606391906738,
0.018576523289084435,
0.0191818717867136,
-0.030010942369699478,
-0.01614503748714924,
-0.006916300393640995,
0.014090155251324177,
0.00634392537176609,
0.008018030785024166,
-0.0044882879592478275,
0.03925888612866402,
0.02698029950261116,
0.00863837730139494,
0.004996550735086203,
0.027644624933600426,
-0.0072197881527245045,
0.00953339971601963,
0.013282539322972298,
0.011547155678272247,
-0.006826396565884352,
-0.17821402847766876,
-0.04469573125243187,
-7.323738289909762e-33,
0.05359452962875366,
0.00995365995913744,
0.061065852642059326,
0.012203644029796124,
0.007540393620729446,
0.022667797282338142,
0.009560639038681984,
-0.0384552963078022,
-0.02134905382990837,
-0.03758913278579712,
-0.00994474720209837,
0.005605765152722597,
0.016093801707029343,
-0.02092682756483555,
0.008859477005898952,
-0.014726274646818638,
0.027031270787119865,
0.01268518716096878,
-0.009026473388075829,
-0.01113833487033844,
0.032307982444763184,
0.03289030119776726,
-0.01933835819363594,
0.03687071055173874,
0.0013211590703576803,
0.033477216958999634,
0.016719989478588104,
-0.014079670421779156,
-0.01727445423603058,
-0.054412830621004105,
-0.05314238741993904,
0.02326524630188942,
-0.010969436727464199,
0.01869169808924198,
0.023536860942840576,
-0.0657808929681778,
-0.027705460786819458,
0.003613288514316082,
0.007701702881604433,
-0.06863522529602051,
-0.043685074895620346,
0.008723794482648373,
-0.004016389138996601,
-0.04064188525080681,
-0.03093523345887661,
-0.00937012117356062,
-0.01216808520257473,
0.012186332605779171,
-0.00020967284217476845,
0.03015175461769104,
0.03207889944314957,
0.005881775636225939,
-0.009926828555762768,
0.02223377488553524,
-0.022244341671466827,
0.006833871826529503,
0.023836882784962654,
0.02938692830502987,
0.0037127004470676184,
0.0001719758874969557,
0.01894182153046131,
0.0034072105772793293,
-0.011076212860643864,
0.03841077536344528,
0.00888771191239357,
0.026529699563980103,
-0.018549829721450806,
0.0025889461394399405,
-0.012275914661586285,
0.01450289599597454,
-0.03180614858865738,
0.04238288477063179,
-0.012844911776483059,
-0.04315902292728424,
0.046465881168842316,
-0.046171728521585464,
-0.021547097712755203,
-0.03735235333442688,
-0.01579470746219158,
0.04664476960897446,
-0.02163848467171192,
-0.0037281003315001726,
-0.011152382008731365,
-0.016127288341522217,
0.002234767423942685,
-0.04994852840900421,
0.028416089713573456,
0.039354708045721054,
0.022401001304388046,
-0.00284232827834785,
0.054554976522922516,
0.024056170135736465,
-0.010262344032526016,
0.0010141157545149326,
-0.020760737359523773,
7.396156823444077e-33,
0.003188598435372114,
0.014515997841954231,
0.008598350919783115,
0.0003352384956087917,
0.02501031942665577,
-0.009469855576753616,
0.017146116122603416,
0.011401263996958733,
-0.04587171971797943,
0.037551335990428925,
0.011791890487074852,
-0.019416043534874916,
-0.006653103046119213,
0.019651614129543304,
0.056380193680524826,
0.008479520678520203,
0.010900354012846947,
-0.04360216483473778,
-0.014714541845023632,
0.027194794267416,
-0.011985227465629578,
0.00505649670958519,
-0.005886945407837629,
0.01806226558983326,
0.04088298976421356,
0.007406940218061209,
0.0010402245679870248,
-0.0006143745267763734,
-0.023304227739572525,
-0.010534348897635937,
0.005289469845592976,
-0.048636648803949356,
-0.02743261680006981,
0.0011832171585410833,
0.017423678189516068,
0.020377831533551216,
-0.0036795486230403185,
-0.0013579715741798282,
0.012125367298722267,
-0.006302963010966778,
0.01750435307621956,
0.004537941887974739,
-0.025613363832235336,
0.06530214846134186,
0.008311682380735874,
0.014143615029752254,
0.0022913014981895685,
0.010988992638885975,
0.011756067164242268,
0.02878633514046669,
0.02447957545518875,
0.011295394040644169,
0.0009087903308682144,
0.03733983263373375,
0.002924123778939247,
-0.054860349744558334,
0.0025189854204654694,
0.05881962925195694,
-0.0023243078030645847,
-0.015162821859121323,
-0.01351352222263813,
-0.030807174742221832,
-0.02822699211537838,
0.056131813675165176,
-0.014088200405240059,
-0.017732322216033936,
-0.008996488526463509,
-0.0032227053306996822,
-0.03085709549486637,
0.00700851995497942,
-0.0027281688526272774,
0.001101123634725809,
-0.02240711636841297,
0.012517991475760937,
0.024730650708079338,
-0.018988793715834618,
-0.024937739595770836,
-0.01339613925665617,
-0.05455555021762848,
0.03312000632286072,
0.024215303361415863,
0.00639063585549593,
0.007691260427236557,
0.0216214619576931,
0.0034160728100687265,
-0.010369452647864819,
-0.020083650946617126,
0.012893455103039742,
-0.004844845738261938,
0.0034000712912529707,
0.03435508906841278,
-0.04960166662931442,
-0.03318456560373306,
0.05576499551534653,
-0.011523451656103134,
-1.2780978053683612e-8,
-0.05328593775629997,
0.023159490898251534,
-0.014210904948413372,
0.00922788679599762,
0.009989162907004356,
0.009907062165439129,
0.017663659527897835,
-0.0006371306953951716,
-0.02065243571996689,
0.00609904620796442,
0.03498448058962822,
-0.003385552205145359,
0.02194078080356121,
0.008092370815575123,
0.023784812539815903,
-0.05353090539574623,
0.0011034111957997084,
-0.013102422468364239,
0.04386022686958313,
-0.006011459045112133,
-0.0031387200579047203,
0.03246087580919266,
-0.0434943288564682,
0.026933109387755394,
0.015906425192952156,
-0.02640034444630146,
0.03314512223005295,
-0.0733192190527916,
0.014572348445653915,
-0.020422345027327538,
0.0041745672933757305,
-0.023111777380108833,
0.021503083407878876,
0.041031669825315475,
-0.0335024856030941,
-0.014845181256532669,
0.028412077575922012,
0.05509452894330025,
0.010522023774683475,
0.033157214522361755,
-0.015143519267439842,
0.02607817016541958,
-0.043497562408447266,
-0.04133056849241257,
-0.04137874394655228,
0.007859739474952221,
-0.027288123965263367,
0.003137421328574419,
0.06692308932542801,
-0.02788415178656578,
-0.0070435767993330956,
0.0035114625934511423,
0.028899716213345528,
0.004201395437121391,
0.02420538291335106,
-0.0038544523995369673,
0.0069047799333930016,
-0.011086389422416687,
-0.005671225488185883,
-0.029798470437526703,
0.02661026082932949,
-0.009140455164015293,
-0.03357337415218353,
-0.018751122057437897
] | neo4j-delete-dynamic-properties | https://markhneedham.com/blog/2019/03/14/neo4j-delete-dynamic-properties |
false | 2019-04-17 09:00:00 | pyspark: Py4JJavaError: An error occurred while calling o138.loadClass.: java.lang.ClassNotFoundException: org.graphframes.GraphFramePythonAPI | [
"docker",
"pyspark",
"spark"
] | [
"Spark"
] | I've been building a Docker Container that has support for Jupyter, Spark, GraphFrames, and Neo4j, and ran into a problem that had me pulling my (metaphorical) hair out!
The https://hub.docker.com/r/jupyter/pyspark-notebook/[pyspark-notebook^] container gets us most of the way there, but it doesn't have GraphFrames or Neo4j support.
Adding Neo4j is as simple as pulling in the Python Driver from Conda Forge, which leaves us with GraphFrames.
When I'm using GraphFrames with pyspark locally I would pull it in via the `--packages` config parameter, like this:
[source, bash]
----
./bin/pyspark --packages graphframes:graphframes:0.7.0-spark2.4-s_2.11
----
I thought the same approach would work in the Docker container, so I created a Dockerfile that extends `jupyter/pyspark-notebook`, and added this code into the `SPARK_OPTS` environment variable:
[source, docker]
----
ARG BASE_CONTAINER=jupyter/pyspark-notebook
FROM $BASE_CONTAINER
LABEL maintainer="Mark Needham"
USER root
USER $NB_UID
ENV SPARK_OPTS --driver-java-options=-Xms1024M --driver-java-options=-Xmx4096M --driver-java-options=-Dlog4j.logLevel=info --packages graphframes:graphframes:0.7.0-spark2.4-s_2.11
RUN conda install --quiet --yes 'conda-forge::neo4j-python-driver' && \
pip install graphframes && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER
----
I built the Docker image:
[source,bash]
----
docker build .
Successfully built fbcc49e923a6
----
And then ran it locally:
[source, bash]
----
docker run -p 8888:8888 fbcc49e923a6
[I 08:12:44.168 NotebookApp] The Jupyter Notebook is running at:
[I 08:12:44.168 NotebookApp] http://(1f7d61b2f1de or 127.0.0.1):8888/?token=2f1c9e01326676af1a768b5e573eb9c58049c385a7714e53
[I 08:12:44.168 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 08:12:44.171 NotebookApp]
To access the notebook, open this file in a browser:
file:///home/jovyan/.local/share/jupyter/runtime/nbserver-6-open.html
Or copy and paste one of these URLs:
http://(1f7d61b2f1de or 127.0.0.1):8888/?token=2f1c9e01326676af1a768b5e573eb9c58049c385a7714e53
----
I navigated to http://localhost:8888/?token=2f1c9e01326676af1a768b5e573eb9c58049c385a7714e53, which is where the Jupyter notebook is hosted.
I uploaded a couple of CSV files, created a Jupyter notebook, and ran the following code:
[source, python, linenums]
----
from pyspark.sql.types import *
from graphframes import *
import pandas as pd
from pyspark.context import SparkContext
from pyspark.sql.session import SparkSession
sc = SparkContext.getOrCreate('local')
spark = SparkSession(sc)
def create_transport_graph():
node_fields = [
StructField("id", StringType(), True),
StructField("latitude", FloatType(), True),
StructField("longitude", FloatType(), True),
StructField("population", IntegerType(), True)
]
nodes = spark.read.csv("data/transport-nodes.csv", header=True,
schema = StructType(node_fields))
rels = spark.read.csv("data/transport-relationships.csv", header=True)
reversed_rels = (rels.withColumn("newSrc", rels.dst)
.withColumn("newDst", rels.src)
.drop("dst", "src")
.withColumnRenamed("newSrc", "src")
.withColumnRenamed("newDst", "dst")
.select("src", "dst", "relationship", "cost"))
relationships = rels.union(reversed_rels)
return GraphFrame(nodes, relationships)
g = create_transport_graph()
----
Unfortunately it throws the following exception when it tries to read the `data/transport-nodes.csv` file on line 18:
[source, text]
----
Py4JJavaError: An error occurred while calling o138.loadClass.
: java.lang.ClassNotFoundException: org.graphframes.GraphFramePythonAPI
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:237)
at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
at py4j.Gateway.invoke(Gateway.java:280)
at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:128)
at py4j.commands.CallCommand.execute(CallCommand.java:79)
at py4j.GatewayConnection.run(GatewayConnection.java:211)
at java.lang.Thread.run(Thread.java:745)
----
I Googled the error message, and came across https://github.com/graphframes/graphframes/issues/104[this issue^], which has a lot of suggestions for how to fix it.
I tried them all!
I passed `--packages` to `PYSPARK_SUBMIT_ARGS` as well as `SPARK_OPTS`:
[source, docker]
----
ARG BASE_CONTAINER=jupyter/pyspark-notebook
FROM $BASE_CONTAINER
LABEL maintainer="Mark Needham"
USER root
USER $NB_UID
ENV SPARK_OPTS --driver-java-options=-Xms1024M --driver-java-options=-Xmx4096M --driver-java-options=-Dlog4j.logLevel=info --packages graphframes:graphframes:0.7.0-spark2.4-s_2.11
ENV PYSPARK_SUBMIT_ARGS --master local[*] pyspark-shell --packages graphframes:graphframes:0.7.0-spark2.4-s_2.11
RUN conda install --quiet --yes 'conda-forge::neo4j-python-driver' && \
pip install graphframes && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER
----
I downloaded the GraphFrames JAR, and referenced it directly using the `--jars` argument:
[source, docker]
----
ARG BASE_CONTAINER=jupyter/pyspark-notebook
FROM $BASE_CONTAINER
LABEL maintainer="Mark Needham"
USER root
USER $NB_UID
ENV SPARK_OPTS --driver-java-options=-Xms1024M --driver-java-options=-Xmx4096M --driver-java-options=-Dlog4j.logLevel=info --jars /home/jovyan/graphframes-0.7.0-spark2.4-s_2.11.jar
ENV PYSPARK_SUBMIT_ARGS --master local[*] pyspark-shell --jars /home/jovyan/graphframes-0.7.0-spark2.4-s_2.11.jar
RUN conda install --quiet --yes 'conda-forge::neo4j-python-driver' && \
pip install graphframes && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER
COPY graphframes-0.7.0-spark2.4-s_2.11.jar /home/$NB_USER/graphframes-0.7.0-spark2.4-s_2.11.jar
----
I used the `--py-files` argument as well:
[source, docker]
----
ARG BASE_CONTAINER=jupyter/pyspark-notebook
FROM $BASE_CONTAINER
LABEL maintainer="Mark Needham"
USER root
USER $NB_UID
ENV SPARK_OPTS --driver-java-options=-Xms1024M --driver-java-options=-Xmx4096M --driver-java-options=-Dlog4j.logLevel=info --jars /home/jovyan/graphframes-0.7.0-spark2.4-s_2.11.jar --py-files /home/jovyan/graphframes-0.7.0-spark2.4-s_2.11.jar
ENV PYSPARK_SUBMIT_ARGS --master local[*] pyspark-shell --jars /home/jovyan/graphframes-0.7.0-spark2.4-s_2.11.jar --py-files /home/jovyan/graphframes-0.7.0-spark2.4-s_2.11.jar
RUN conda install --quiet --yes 'conda-forge::neo4j-python-driver' && \
pip install graphframes && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER
COPY graphframes-0.7.0-spark2.4-s_2.11.jar /home/$NB_USER/graphframes-0.7.0-spark2.4-s_2.11.jar
----
But nothing worked and I still had the same error message :(
I was pretty stuck at this point, and returned to Google, where I found a https://stackoverflow.com/questions/39261370/unable-to-run-a-basic-graphframes-example[a StackOverflow thread^] that had I hadn't spotted before.
https://stackoverflow.com/users/7174028/gilles-essoki[Gilles Essoki^] suggested copying the GraphFrames JAR directly into the `/usr/local/spark/jars` directory, so I updated my Dockerfile to do this:
[source, docker]
----
ARG BASE_CONTAINER=jupyter/pyspark-notebook
FROM $BASE_CONTAINER
LABEL maintainer="Mark Needham"
USER root
USER $NB_UID
ENV SPARK_OPTS --driver-java-options=-Xms1024M --driver-java-options=-Xmx4096M --driver-java-options=-Dlog4j.logLevel=info
RUN conda install --quiet --yes 'conda-forge::neo4j-python-driver' && \
pip install graphframes && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER
COPY graphframes-0.7.0-spark2.4-s_2.11.jar /usr/local/spark/jars
----
I built it again, and this time my CSV files are happily processed!
So thankyou Gilles!
If you want to use this Docker container I've put it on GitHub at https://github.com/mneedham/pyspark-graphframes-neo4j-notebook[mneedham/pyspark-graphframes-neo4j-notebook^], or you can pull it directly from Docker using the following command:
[source, cypher]
----
docker pull markhneedham/pyspark-graphframes-neo4j-notebook
---- | Learn how to work around the ClassNotFoundException GraphFramePythonAPI error when using pyspark and GraphFrames. | null | [
0.005682220682501793,
-0.04806758090853691,
-0.02229536883533001,
0.059123020619153976,
0.08587436378002167,
0.04231800511479378,
-0.016801413148641586,
0.028131578117609024,
0.004511343780905008,
-0.05027778074145317,
0.009664195589721203,
-0.017592301592230797,
-0.06362210214138031,
0.010388619266450405,
0.00031507955281995237,
0.044592034071683884,
0.06462626904249191,
0.03396521881222725,
0.002788296202197671,
0.04341569170355797,
0.026989130303263664,
0.04184218868613243,
-0.02392340824007988,
0.03106544353067875,
-0.010932477191090584,
0.012568838894367218,
0.031128128990530968,
0.0012721598614007235,
-0.04957684129476547,
-0.04919593781232834,
0.022370725870132446,
0.014397294260561466,
0.006410755217075348,
-0.002691174391657114,
0.03518391773104668,
0.004147077910602093,
-0.04073546454310417,
0.0168512724339962,
-0.008790789172053337,
0.0316983237862587,
-0.09010960161685944,
0.035207103937864304,
0.02378162182867527,
0.020134251564741135,
-0.019389985129237175,
0.027013404294848442,
-0.061090320348739624,
0.037637025117874146,
0.015253535471856594,
-0.02024196647107601,
-0.05688779428601265,
0.024289092049002647,
-0.008895449340343475,
-0.01336774230003357,
0.016804775223135948,
0.045952580869197845,
0.02580391801893711,
-0.0740513801574707,
0.053249541670084,
-0.02172134444117546,
-0.017827041447162628,
-0.009049033746123314,
0.006590807810425758,
0.0367356613278389,
-0.007223959546536207,
-0.034920938313007355,
-0.0294156726449728,
0.07400032132863998,
-0.05926945433020592,
-0.008573370985686779,
-0.004010895267128944,
0.03263607621192932,
-0.031012970954179764,
-0.02094169706106186,
0.00017540273256599903,
-0.044909052550792694,
-0.005777521524578333,
0.049816813319921494,
0.03975515812635422,
0.042876385152339935,
-0.0107279596850276,
-0.020014911890029907,
0.004384599160403013,
0.04274255782365799,
-0.005073776468634605,
-0.022103922441601753,
-0.06051599234342575,
-0.007578015327453613,
-0.06281857937574387,
0.04798070341348648,
0.027755072340369225,
-0.05100514367222786,
0.010272324085235596,
-0.0004844300856348127,
-0.018809543922543526,
0.03885561600327492,
-0.013646811246871948,
0.013156401924788952,
0.036716897040605545,
-0.002334475750103593,
-0.053199026733636856,
-0.032084207981824875,
-0.012833628803491592,
0.016525069251656532,
-0.058535002171993256,
-0.03689363971352577,
-0.01626364141702652,
-0.044262588024139404,
0.00840391218662262,
0.01128033734858036,
-0.008845262229442596,
0.016353540122509003,
-0.013940835371613503,
0.00661094207316637,
-0.08627860248088837,
0.0716371238231659,
0.015223582275211811,
-0.02658361941576004,
-0.02295263111591339,
0.005901345517486334,
0.02993696555495262,
0.052635859698057175,
-0.008045390248298645,
0.06424963474273682,
-0.019640576094388962,
0.05802008509635925,
-0.02332322672009468,
0.06299483776092529,
-0.010371606796979904,
-0.08948256820440292,
-0.020106691867113113,
0.06965292245149612,
-0.011959279887378216,
0.004868222866207361,
-0.003125459887087345,
-0.014634544961154461,
-0.019957607612013817,
0.02116323448717594,
0.05042042210698128,
0.022125568240880966,
-0.011494745500385761,
-0.04764094576239586,
0.03934585303068161,
0.008637011982500553,
0.01160142570734024,
0.017341095954179764,
0.007892327383160591,
-0.05393807590007782,
-0.04355783388018608,
0.025132540613412857,
0.001221547368913889,
0.030556868761777878,
0.07783958315849304,
-0.012598935514688492,
0.012371549382805824,
0.08918218314647675,
0.04102480411529541,
0.014138519763946533,
-0.025989430025219917,
-0.004485601093620062,
0.033636849373579025,
0.004011277575045824,
-0.007521526888012886,
0.060613129287958145,
0.020939158275723457,
-0.026583433151245117,
-0.0046800305135548115,
0.027052046731114388,
-0.008449975401163101,
-0.0041635544039309025,
-0.019036024808883667,
-0.09791667759418488,
0.04574596509337425,
-0.045730601996183395,
0.030018391087651253,
0.00881509855389595,
0.08676525205373764,
0.0057541243731975555,
0.04132962226867676,
-0.026650158688426018,
-0.07740214467048645,
0.05232076719403267,
-0.0007093818276189268,
0.044722408056259155,
0.03593378886580467,
-0.01689254119992256,
0.05103236809372902,
0.014896138571202755,
0.01700177974998951,
0.02947411499917507,
-0.07980489730834961,
-0.09114496409893036,
-0.01003732718527317,
-0.03706960007548332,
0.059940405189991,
-0.04159146547317505,
-0.051111478358507156,
0.04548487067222595,
0.035416096448898315,
0.010793369263410568,
-0.018540043383836746,
-0.013008730486035347,
0.021661676466464996,
-0.059312209486961365,
-0.04681258276104927,
0.035317230969667435,
0.031764917075634,
-0.04170630872249603,
-0.06597330421209335,
0.018813762813806534,
-0.031156912446022034,
-0.042732566595077515,
0.030676040798425674,
-0.04822055622935295,
0.07063231617212296,
0.016625331714749336,
0.02628258615732193,
-0.012611201964318752,
0.04213768243789673,
-0.026283543556928635,
0.06141962483525276,
-0.007914959453046322,
-0.012476983480155468,
-0.030021706596016884,
-0.0023184586316347122,
0.11090575903654099,
0.056006524711847305,
-0.03246593102812767,
-0.06166979297995567,
0.054197631776332855,
0.014205489307641983,
-0.015234996564686298,
0.007783188484609127,
-0.015612287446856499,
0.008287113159894943,
0.0037877082359045744,
-0.028004324063658714,
-0.02518921159207821,
0.007738301530480385,
-0.02503832057118416,
0.001617923378944397,
0.04630881920456886,
-0.0467040054500103,
0.038197990506887436,
0.01223381794989109,
-0.023310203105211258,
-0.002372071146965027,
-0.05607397481799126,
-0.0793273001909256,
-0.01910247653722763,
0.04129176214337349,
0.002129169413819909,
0.048987630754709244,
-0.035308755934238434,
0.0039260173216462135,
-0.03366195037961006,
-0.046717919409275055,
0.0049864803440868855,
0.029858699068427086,
0.06439436972141266,
-0.0129055455327034,
0.029103927314281464,
-0.06679819524288177,
0.015619886107742786,
-0.028591379523277283,
-0.043936435133218765,
0.00736177759245038,
-0.01913033053278923,
0.030459364876151085,
0.03456120193004608,
0.01660124957561493,
-0.005826363805681467,
0.01911122351884842,
-0.02234526351094246,
0.013451386243104935,
0.021572187542915344,
0.016118044033646584,
-0.016055332496762276,
0.005596226081252098,
-0.0358642041683197,
0.012870562262833118,
0.05493972823023796,
-0.05349906161427498,
0.005315451417118311,
-0.004810207989066839,
-0.05987916514277458,
0.028014574199914932,
-0.05708226189017296,
-0.017275217920541763,
-0.0039784046821296215,
0.045796409249305725,
0.05427568778395653,
0.02638223208487034,
0.013494462706148624,
0.043862272053956985,
0.048339057713747025,
0.0043200659565627575,
0.010126667097210884,
0.000045327211410040036,
0.04048311337828636,
0.0032336730509996414,
0.04670661687850952,
0.0329078808426857,
-0.014523309655487537,
-0.006050657480955124,
-0.03573685884475708,
0.0004062951193191111,
-0.03715599328279495,
-0.25992804765701294,
0.04555310681462288,
-0.05098332092165947,
-0.04787437245249748,
0.00028781918808817863,
-0.030771145597100258,
-0.01009409874677658,
-0.03211513161659241,
-0.0045574381947517395,
-0.00087927863933146,
-0.03610782325267792,
-0.01881582662463188,
-0.009467300027608871,
0.03467218950390816,
0.017598973587155342,
0.021125754341483116,
0.012939034029841423,
-0.031662795692682266,
0.00914817489683628,
-0.008707987144589424,
-0.016166992485523224,
-0.031547266989946365,
-0.018575115129351616,
0.02136220596730709,
0.01636607199907303,
0.008681471459567547,
-0.08732824772596359,
0.06130938231945038,
-0.06376267969608307,
-0.029109343886375427,
0.010557007044553757,
-0.02226056344807148,
-0.0179800596088171,
0.005935629829764366,
-0.037240106612443924,
-0.005273962859064341,
0.0036703580990433693,
-0.020558549091219902,
0.010751158930361271,
0.005160113796591759,
-0.025109682232141495,
-0.03149085119366646,
-0.023106791079044342,
-0.0055223070085048676,
0.06786460429430008,
-0.035930074751377106,
-0.06490960717201233,
0.01050532516092062,
-0.049451619386672974,
0.08671289682388306,
-0.024704815819859505,
-0.016190070658922195,
-0.022761134430766106,
0.03678577020764351,
-0.012147212401032448,
0.020000990480184555,
-0.03281436860561371,
0.009230152703821659,
-0.06263758987188339,
-0.02216826006770134,
0.003166602924466133,
-0.030044950544834137,
-0.020626109093427658,
-0.05708163604140282,
-0.04717925935983658,
-0.05545652285218239,
-0.054913654923439026,
-0.03674501180648804,
0.04481728747487068,
0.04102969169616699,
-0.04302135854959488,
0.04413992911577225,
-0.0036297012120485306,
-0.10209418088197708,
0.005976872984319925,
-0.02200772799551487,
-0.04019084945321083,
-0.014077878557145596,
-0.006059350911527872,
0.06384680420160294,
-0.043625347316265106,
-0.05742688849568367,
0.007467281073331833,
0.024158282205462456,
-0.003821524791419506,
0.014639838598668575,
0.022029254585504532,
-0.0011879383819177747,
0.0005695303552784026,
0.0005063422140665352,
0.05397076904773712,
-0.04433344304561615,
-0.011260268278419971,
-0.011760997585952282,
-0.029579399153590202,
0.05154777690768242,
0.003983706701546907,
0.029055919498205185,
0.01047099195420742,
0.032875604927539825,
0.03851251304149628,
-0.02658665180206299,
-0.024677591398358345,
-0.014227760955691338,
-0.008206402882933617,
-0.01312065590173006,
-0.06439020484685898,
0.005687969271093607,
0.005427139811217785,
0.02740544266998768,
-0.004373794421553612,
-0.02987872250378132,
0.04065560922026634,
-0.0651693120598793,
-0.0014673955738544464,
-0.01154099777340889,
0.008598948828876019,
0.025662392377853394,
0.03075958974659443,
0.007565481588244438,
-0.07501542568206787,
0.029045991599559784,
-0.007048172876238823,
-0.015021635219454765,
-0.044838741421699524,
-0.013077933341264725,
-0.0009639151976443827,
-0.021634163334965706,
0.0003242607053834945,
0.020756065845489502,
-0.02279643900692463,
0.04245036467909813,
0.04873146489262581,
-0.01814722828567028,
0.03779689595103264,
-0.03643462061882019,
-0.03304059058427811,
-0.043760694563388824,
0.025567928329110146,
0.030138934031128883,
-0.01633663848042488,
0.015327717177569866,
-0.0015126555226743221,
0.007409921381622553,
0.04406648501753807,
0.027274252846837044,
0.01958734169602394,
0.042510952800512314,
0.012194200418889523,
-0.010313802398741245,
0.021233707666397095,
-0.02591443434357643,
-0.010188811458647251,
-0.048806726932525635,
-0.06425993144512177,
-0.010060946457087994,
0.041422970592975616,
-0.01483489852398634,
0.012295371852815151,
-0.057006049901247025,
0.043440889567136765,
-0.023377398028969765,
0.007709043566137552,
-0.012233213521540165,
0.01640975847840309,
0.059314608573913574,
0.006839829031378031,
0.017378419637680054,
-0.012778066098690033,
-0.01951703056693077,
-0.012460927478969097,
0.00983230397105217,
-0.026572786271572113,
0.02289428375661373,
-0.011995322071015835,
0.009991737082600594,
0.0029765465296804905,
0.037498053163290024,
0.03904327377676964,
0.010420284233987331,
-0.027985019609332085,
0.005070868879556656,
0.01637648418545723,
-0.0036929927300661802,
0.03851399943232536,
0.05227479338645935,
-0.03181055933237076,
0.005288701970130205,
-0.008143712766468525,
0.007810559123754501,
-0.03899550810456276,
-0.0027000862173736095,
0.013101261109113693,
0.010855167172849178,
-0.018949149176478386,
-0.052934180945158005,
0.043936122208833694,
0.011561918072402477,
0.0013480910565704107,
-0.000684749276842922,
-0.03721087425947189,
0.021700827404856682,
-0.05013468116521835,
0.05338454246520996,
0.06959111988544464,
-0.04424324631690979,
-0.027221623808145523,
-0.004426202736794949,
0.037058569490909576,
0.0075195408426225185,
0.0033418764360249043,
-0.0827009528875351,
-0.03212030977010727,
-0.026991775259375572,
0.013266881927847862,
-0.00669472012668848,
-0.019234316423535347,
-0.038124386221170425,
0.018984036520123482,
0.0012404354056343436,
0.023479970172047615,
0.009597457014024258,
-0.0014251591637730598,
-0.033546485006809235,
-0.0006803800933994353,
0.04999515041708946,
-0.02118828520178795,
-0.0014147175243124366,
-0.002464605262503028,
-0.006746104918420315,
0.006800547707825899,
-0.020419422537088394,
0.019511137157678604,
0.013633808121085167,
-0.004513232968747616,
0.013363061472773552,
-0.039091262966394424,
0.023331638425588608,
0.020099790766835213,
0.02718379534780979,
0.026111310347914696,
0.022048965096473694,
-0.03727492317557335,
-0.009756135754287243,
-0.018590310588479042,
-0.01944028027355671,
0.006810191087424755,
0.013193702325224876,
-0.013874830678105354,
0.022521931678056717,
-0.003531702095642686,
0.01930045336484909,
-0.015392466448247433,
-0.04680986702442169,
0.06261985749006271,
-0.03399200737476349,
-0.037271205335855484,
-0.006525647826492786,
-0.05716441944241524,
0.01892942748963833,
0.011389701627194881,
0.026231802999973297,
-0.03144419193267822,
0.05615287274122238,
0.04984339326620102,
0.00023618673731107265,
0.027271689847111702,
-0.018224459141492844,
0.051684796810150146,
-0.019963311031460762,
-0.010171851143240929,
-0.06078765541315079,
-0.007650174666196108,
0.050528306514024734,
-0.03528197109699249,
0.007181063294410706,
-0.0209052637219429,
-0.01877172850072384,
0.0075797890312969685,
-0.07871750742197037,
-0.05308804661035538,
0.05490785464644432,
-0.020491424947977066,
0.006348485127091408,
-0.01526850275695324,
-0.029621047899127007,
0.0375131219625473,
0.010197903960943222,
-0.031174659729003906,
-0.026458725333213806,
-0.0008599544526077807,
0.04561464488506317,
-0.026953941211104393,
-0.0025482219643890858,
-0.005724630318582058,
-0.040216293185949326,
0.09270536154508591,
0.017561933025717735,
0.02497107721865177,
0.020851142704486847,
0.0007069779094308615,
0.056287653744220734,
0.02861005812883377,
-0.019228730350732803,
-0.007193694356828928,
0.05051501840353012,
-0.0037761328276246786,
-0.06397775560617447,
0.044190697371959686,
0.035000864416360855,
-0.007707328535616398,
-0.03219963237643242,
0.05847225338220596,
0.00007357425783993676,
-0.05653885006904602,
-0.008440676145255566,
0.04889495670795441,
-0.03226172551512718,
-0.03439002111554146,
-0.04182874783873558,
0.002198572503402829,
-0.04614463075995445,
0.04164698347449303,
-0.027273930609226227,
0.003717000363394618,
0.06896622478961945,
0.018139319494366646,
-0.007822253741323948,
0.018362699076533318,
0.09018442779779434,
0.07515830546617508,
0.020109539851546288,
0.036134667694568634,
0.07736686617136002,
-0.02449881285429001,
-0.030596720054745674,
0.022077439352869987,
-0.028443170711398125,
-0.015003613196313381,
-0.04997100308537483,
0.016586484387516975,
0.0546664297580719,
-0.0014014218468219042,
0.059651512652635574,
0.003115867031738162,
0.010419908910989761,
-0.03218468651175499,
0.030585454776883125,
0.021076727658510208,
0.019196756184101105,
0.04126501828432083,
0.051337193697690964,
-0.04395446553826332,
-0.037311356514692307,
0.017963416874408722,
-0.028901532292366028,
-0.018555577844381332,
0.0017088415334001184,
0.006400894373655319,
0.009322911500930786,
0.03751281648874283,
0.028827069327235222,
0.08715512603521347,
-0.04112386330962181,
-0.034127891063690186,
0.015304436907172203,
0.040377724915742874,
0.021893681958317757,
0.011874801479279995,
-0.000808818731456995,
-0.0222992654889822,
-0.010309369303286076,
-0.04774048924446106,
0.0065734414383769035,
-0.02314542420208454,
-0.013220448046922684,
0.014701450243592262,
-0.008474617265164852,
0.03173002228140831,
0.019298819825053215,
-0.0166476983577013,
-0.012723855674266815,
-0.05027621611952782,
-0.029515255242586136,
-0.044095899909734726,
-0.07549270242452621,
-0.01494972687214613,
-0.0013401552569121122,
-0.008444946259260178,
-0.02674391306936741,
-0.047491442412137985,
-0.003789670532569289,
0.029482845216989517,
0.020612036809325218,
-0.04509231075644493,
-0.026545731350779533,
0.012179647572338581,
0.014384734444320202,
-0.008250337094068527,
0.01843223161995411,
0.061428043991327286,
0.020995968952775,
0.0011866579297930002,
-0.006533346604555845,
0.05060998350381851,
0.018328921869397163,
-0.010138360783457756,
0.03722138702869415,
-0.07208458334207535,
0.015924006700515747,
0.019357021898031235,
-0.002864343347027898,
-0.0747498869895935,
0.003242389764636755,
0.0514911413192749,
0.050260066986083984,
0.05015603452920914,
0.0035359738394618034,
-0.0050039212219417095,
-0.024539943784475327,
0.005289016291499138,
0.01995738223195076,
0.018598608672618866,
0.02537728287279606,
-0.004108968190848827,
0.07185637950897217,
0.05015157535672188,
-0.003049511695280671,
0.0011543628061190248,
-0.02460339479148388,
-0.006345376837998629,
0.027930641546845436,
-0.03786343336105347,
-0.028185579925775528,
-0.06275305151939392,
-0.08465143293142319,
0.0014068606542423368,
-0.034315116703510284,
-0.039453811943531036,
-0.03302409127354622,
-0.0063291871920228004,
0.010916337370872498,
-0.035337209701538086,
0.01865597441792488,
-0.051753539592027664,
-0.002064912347123027,
-0.025286246091127396,
-0.021699564531445503,
0.003974294289946556,
0.014867962338030338,
0.015424617566168308,
-0.010410587303340435,
0.0035572852939367294,
-0.036020535975694656,
-0.009106575511395931,
-0.045846059918403625,
0.045928481966257095,
0.04606907442212105,
0.01252972986549139,
-0.013780679553747177
] | [
-0.03845454752445221,
-0.055540718138217926,
-0.029914554208517075,
-0.017653735354542732,
0.07691358029842377,
-0.04942220821976662,
-0.05555005744099617,
0.017781008034944534,
-0.017813609912991524,
0.01064864732325077,
0.007227837108075619,
-0.07077942043542862,
-0.010836121626198292,
-0.022970741614699364,
0.057088594883680344,
-0.011898820288479328,
-0.01299736462533474,
-0.04687844216823578,
-0.04471871256828308,
0.04318467900156975,
-0.03823336586356163,
-0.061402950435876846,
-0.041265662759542465,
-0.09390518069267273,
-0.005537840072065592,
0.06198088824748993,
0.027524270117282867,
-0.017156070098280907,
-0.03288518264889717,
-0.19576536118984222,
0.006608687341213226,
-0.01659528538584709,
-0.0036950642243027687,
-0.009108184836804867,
0.009315727278590202,
0.030285317450761795,
0.056938864290714264,
0.00450289947912097,
0.014997385442256927,
0.044533662497997284,
0.030324220657348633,
-0.008613698184490204,
-0.10351800173521042,
0.02934296987950802,
0.0513734333217144,
0.020905379205942154,
-0.012731249444186687,
-0.02544654719531536,
0.007855379953980446,
-0.021926715970039368,
-0.04028605669736862,
0.010315303690731525,
-0.02079746127128601,
-0.03310572728514671,
-0.018353696912527084,
0.04968953877687454,
0.045598097145557404,
0.05339878425002098,
0.021081946790218353,
0.010135984979569912,
-0.0030611956026405096,
-0.025366054847836494,
-0.14130531251430511,
0.08486887067556381,
0.041620172560214996,
0.01872742734849453,
-0.0607733316719532,
-0.02189365215599537,
0.011356017552316189,
0.06412804126739502,
0.01144852489233017,
-0.012645555660128593,
-0.040924496948719025,
0.07626860588788986,
0.003021774347871542,
0.006002721376717091,
-0.01727316342294216,
0.019292272627353668,
0.04544897750020027,
-0.04782982915639877,
-0.05418181046843529,
-0.006348596420139074,
-0.05448779836297035,
0.007561195641756058,
-0.03692806884646416,
0.040509339421987534,
-0.028642235323786736,
0.0446334034204483,
0.011041942052543163,
0.05197366699576378,
0.011350106447935104,
-0.009326845407485962,
0.07999347150325775,
0.04228859394788742,
-0.078299880027771,
0.008802317082881927,
0.014846754260361195,
-0.002961323829367757,
-0.017622457817196846,
0.3828064799308777,
0.032930612564086914,
-0.006988413166254759,
0.02394608035683632,
0.053745001554489136,
0.010329498909413815,
-0.02287045121192932,
-0.0189895611256361,
-0.06896238029003143,
0.04174899682402611,
-0.01635083742439747,
0.03735099360346794,
-0.042466793209314346,
0.07105249166488647,
-0.07239802926778793,
-0.0006501528550870717,
-0.010092892684042454,
-0.030437204986810684,
0.025584736838936806,
-0.03770895302295685,
0.03163066506385803,
-0.044665172696113586,
0.013673992827534676,
0.03181318938732147,
0.03624675050377846,
0.026249168440699577,
0.03689316660165787,
0.005093750543892384,
-0.0029579398687928915,
0.019724510610103607,
0.012719335034489632,
0.028053516522049904,
0.007918518036603928,
-0.062455978244543076,
0.027543246746063232,
0.01285568531602621,
0.004540793132036924,
0.040492210537195206,
-0.04116038605570793,
-0.0008321806672029197,
0.05686349421739578,
-0.019947415217757225,
-0.01834424026310444,
0.049209535121917725,
0.008336389437317848,
-0.01015396323055029,
0.07379350811243057,
-0.005915419664233923,
-0.02970696985721588,
-0.039544861763715744,
-0.024272460490465164,
-0.0032831125427037477,
0.0542774572968483,
0.01067524403333664,
-0.03407147154211998,
0.01068812794983387,
0.0007264353334903717,
0.0663929209113121,
-0.018700826913118362,
-0.0811406746506691,
0.030978668481111526,
-0.031160784885287285,
-0.044210195541381836,
-0.03186351805925369,
0.0355883352458477,
0.021863404661417007,
-0.13427066802978516,
-0.00694664241746068,
0.014369666576385498,
-0.012240550480782986,
-0.02140701189637184,
-0.02785666286945343,
0.03395455703139305,
0.009178047999739647,
-0.02114168182015419,
0.07388396561145782,
-0.03504407778382301,
-0.03289900720119476,
0.013659036718308926,
0.06968218833208084,
0.015411054715514183,
0.005730596836656332,
0.026329543441534042,
-0.0317116379737854,
-0.016140708699822426,
-0.04262350872159004,
-0.08832438290119171,
-0.08086532354354858,
0.01957477070391178,
-0.05244391784071922,
-0.06563300639390945,
-0.029378296807408333,
0.013941559940576553,
-0.025050746276974678,
0.10964453965425491,
-0.018250638619065285,
-0.03939124941825867,
0.009827395901083946,
-0.008548428304493427,
0.004491921979933977,
-0.02485392615199089,
0.02542615309357643,
0.046172771602869034,
-0.0006197658949531615,
0.0565868504345417,
-0.061291154474020004,
-0.002776775509119034,
0.018993688747286797,
-0.017450688406825066,
0.05659186467528343,
0.012423052452504635,
-0.05567164719104767,
0.003000911558046937,
0.0030882093124091625,
0.04655415564775467,
-0.03680886700749397,
0.009216123260557652,
0.020116442814469337,
-0.0002318785700481385,
0.041348639875650406,
0.022781262174248695,
-0.02007967419922352,
-0.007832780480384827,
-0.04179351404309273,
-0.3736584484577179,
-0.020963609218597412,
-0.024151116609573364,
0.002364103216677904,
0.017369167879223824,
-0.03025982528924942,
0.015103532001376152,
0.003413346130400896,
0.0013381526805460453,
-0.011321337893605232,
0.09075040370225906,
-0.048577480018138885,
0.026992134749889374,
-0.0937754213809967,
0.01850258558988571,
0.05023423954844475,
-0.01767381839454174,
-0.011298758909106255,
-0.02693745866417885,
0.004098693374544382,
-0.012619640678167343,
-0.034376081079244614,
-0.04713850095868111,
-0.0020283188205212355,
0.03950047120451927,
0.0014122743159532547,
0.12770454585552216,
-0.008501365780830383,
0.0675291046500206,
-0.0326724499464035,
0.04326290264725685,
0.02581290528178215,
-0.012329258024692535,
-0.08960864692926407,
0.006606037262827158,
-0.03613593801856041,
0.019187122583389282,
0.01328702736645937,
-0.00940028578042984,
0.013345965184271336,
-0.0369744710624218,
0.011171859689056873,
-0.05635335296392441,
-0.05816609039902687,
-0.020736059173941612,
-0.0018616607412695885,
-0.002859734930098057,
0.013564459048211575,
-0.006045020651072264,
0.07665318995714188,
-0.00858357921242714,
0.03958018869161606,
0.014704013243317604,
0.03805174306035042,
0.028411662206053734,
-0.03259951248764992,
-0.058843739330768585,
0.02552870474755764,
0.03629119321703911,
0.02514740079641342,
0.010832828469574451,
0.05535363405942917,
0.021907901391386986,
-0.07815506309270859,
0.004008977208286524,
-0.009440616704523563,
-0.0028186689596623182,
0.0009930607629939914,
0.0313291922211647,
-0.04310021176934242,
0.008839566260576248,
0.10484250634908676,
0.020227545872330666,
0.049476418644189835,
0.08277858048677444,
0.05472344905138016,
0.023675894364714622,
0.032966382801532745,
0.04480733722448349,
-0.013761749491095543,
0.02707376517355442,
-0.019752075895667076,
0.07574690878391266,
0.006751153618097305,
0.024862900376319885,
0.0514940470457077,
-0.0034004796762019396,
-0.03884599357843399,
0.025878863409161568,
0.003951216582208872,
-0.03720134496688843,
0.013310856185853481,
-0.01840359717607498,
-0.0235223937779665,
0.08211357891559601,
0.0052486625500023365,
-0.2702755331993103,
0.028942549601197243,
0.03118903934955597,
0.04358659312129021,
-0.021879082545638084,
-0.026037275791168213,
0.02398199401795864,
-0.019548961892724037,
0.01162878330796957,
0.020288502797484398,
-0.018805595114827156,
0.03618935868144035,
-0.002450635191053152,
0.0011588608613237739,
0.005155214574187994,
-0.014844137243926525,
0.07047809660434723,
0.016966398805379868,
0.04295654967427254,
-0.01670042984187603,
0.004976607859134674,
-0.017544712871313095,
0.1373370885848999,
0.04509923607110977,
-0.00723234424367547,
0.03363381698727608,
-0.025878455489873886,
-0.008905069902539253,
0.023955663666129112,
0.018153958022594452,
-0.03182841092348099,
0.041371092200279236,
-0.009538207203149796,
-0.010936441831290722,
0.0076570636592805386,
-0.04627618193626404,
-0.010154605843126774,
0.04196540266275406,
0.04312120005488396,
-0.037620898336172104,
0.007482592482119799,
0.017080117017030716,
-0.041372016072273254,
0.009842337109148502,
0.03152025118470192,
-0.06226867437362671,
-0.007204010151326656,
-0.027240687981247902,
-0.0653885155916214,
-0.010783652774989605,
-0.00027513361419551075,
-0.045119624584913254,
-0.0006267915014177561,
-0.029956109821796417,
-0.0037139581982046366,
0.06989707052707672,
0.000029411748982965946,
-0.04193224757909775,
0.023400429636240005,
-0.007757715415209532,
0.00566554069519043,
-0.06998255848884583,
0.10823389142751694,
-0.0070738582871854305,
0.045475199818611145
] | [
0.05061207339167595,
0.04757361114025116,
0.008144420571625233,
0.009607842192053795,
0.01802201196551323,
-0.0065768687054514885,
-0.009204035624861717,
0.023959610611200333,
-0.03752864524722099,
-0.001975016901269555,
-0.019112659618258476,
0.006587470881640911,
0.028039665892720222,
0.02611231617629528,
-0.0014575071400031447,
-0.04641701281070709,
0.040818504989147186,
0.02571398951113224,
0.018786048516631126,
0.01771659404039383,
-0.04696573689579964,
0.007443195674568415,
0.024857493117451668,
-0.029303763061761856,
0.02046242170035839,
0.02845066972076893,
-0.06460073590278625,
0.016880840063095093,
0.027396393939852715,
-0.1213543489575386,
0.016935139894485474,
-0.014027925208210945,
-0.009330729022622108,
-0.02913353219628334,
0.03671908378601074,
-0.003107780823484063,
0.011347271502017975,
0.029015744104981422,
0.0006514614797197282,
0.012010391801595688,
0.022766204550862312,
-0.007259480655193329,
-0.01369682140648365,
0.006567992269992828,
-0.012083779089152813,
-0.03776143118739128,
-0.019711554050445557,
-0.05108916759490967,
0.020585384219884872,
0.004293257836252451,
-0.06010596454143524,
0.02717379666864872,
-0.019856175407767296,
-0.04358123987913132,
-0.015489913523197174,
0.013595419004559517,
0.02035120315849781,
0.004896475933492184,
0.0543941892683506,
0.017078537493944168,
0.0164750088006258,
-0.007825198583304882,
-0.032790474593639374,
-0.027336174622178078,
-0.014157097786664963,
-0.02569195255637169,
-0.024446874856948853,
-0.017131373286247253,
0.003899591974914074,
0.03381209075450897,
0.01642097346484661,
0.03563515841960907,
-0.04328496381640434,
-0.06403874605894089,
-0.03402304649353027,
0.04113340750336647,
0.027926340699195862,
-0.003708578646183014,
-0.021899163722991943,
0.03410384804010391,
-0.04698224738240242,
0.017253825441002846,
-0.014367853291332722,
-0.031683068722486496,
-0.028034323826432228,
0.013722531497478485,
-0.0003701658279169351,
-0.025417134165763855,
0.020296351984143257,
-0.008494488894939423,
-0.018797503784298897,
-0.011217692866921425,
-0.00432546017691493,
0.005336449947208166,
-0.10367053747177124,
-0.009445282630622387,
0.025213271379470825,
0.011162258684635162,
0.005414091981947422,
0.8099724650382996,
0.0032173895742744207,
-0.019543448463082314,
0.007696371991187334,
0.025628097355365753,
0.03146287798881531,
0.015279605984687805,
-0.021578265354037285,
-0.01906621642410755,
-0.012822113931179047,
-0.007059990894049406,
0.010176610201597214,
0.003114463994279504,
0.012742545455694199,
0.07908283174037933,
0.031162245199084282,
0.012375504709780216,
0.026169108226895332,
-0.019834302365779877,
0.010435434989631176,
0.0013482799986377358,
0.018726550042629242,
0.013405805453658104,
0.05051252990961075,
-0.028328336775302887,
-0.03828125819563866,
-0.14442110061645508,
-0.01835918240249157,
-7.293593471966894e-33,
0.02356698550283909,
-0.04916567727923393,
0.06024498492479324,
0.007897088304162025,
0.051191773265600204,
0.014620375819504261,
-0.044211190193891525,
-0.012052983045578003,
0.013923242688179016,
-0.022057458758354187,
-0.0531172938644886,
0.015072775073349476,
0.012320448644459248,
-0.01205673348158598,
-0.017228253185749054,
-0.003928749356418848,
-0.0039605023339390755,
0.011097104288637638,
-0.015001309104263783,
0.008833135478198528,
0.026029173284769058,
0.028108855709433556,
-0.029756473377346992,
0.04485021159052849,
0.023747017607092857,
0.011263261549174786,
0.023643191903829575,
-0.018690891563892365,
0.01822889782488346,
-0.027763618156313896,
-0.06265176832675934,
0.005817931145429611,
-0.010271023027598858,
-0.05514445900917053,
0.014088114723563194,
-0.068278968334198,
-0.03512868285179138,
0.01278869528323412,
-0.038590483367443085,
-0.04730953648686409,
-0.04551972821354866,
-0.02795766480267048,
-0.03855413943529129,
-0.02458016388118267,
-0.0465029701590538,
0.00837286189198494,
0.013988274149596691,
0.052145373076200485,
-0.02328481338918209,
0.03490859642624855,
-0.02037515677511692,
-0.007312531117349863,
0.0027718471828848124,
0.037957411259412766,
-0.014791144989430904,
-0.012075716629624367,
0.005094439722597599,
-0.013424084521830082,
0.0006438425625674427,
-0.006054678466171026,
0.0210578553378582,
0.008214798755943775,
-0.007297581527382135,
0.014009823091328144,
0.020477045327425003,
0.017707495018839836,
-0.005345182027667761,
0.03073194809257984,
0.005558286793529987,
0.03299492225050926,
-0.03388982638716698,
0.04987861588597298,
-0.007039206568151712,
-0.010295258834958076,
0.03694131225347519,
-0.04896293580532074,
0.0022822078317403793,
0.003870935644954443,
-0.01847606897354126,
0.02015160769224167,
-0.025409791618585587,
-0.012594272382557392,
-0.024448152631521225,
-0.014451391994953156,
-0.016414577141404152,
-0.046040989458560944,
0.02990518882870674,
0.042729176580905914,
0.03162679448723793,
0.0029748850502073765,
0.01905842497944832,
0.004612270276993513,
0.004026683978736401,
-0.022375643253326416,
-0.06625154614448547,
7.199691309803363e-33,
0.017724858596920967,
0.009609871543943882,
-0.021815555170178413,
0.011098705232143402,
0.03637940436601639,
0.000022444748537964188,
0.07022111117839813,
-0.02932722121477127,
-0.034248095005750656,
0.004675908479839563,
-0.04567083716392517,
-0.006893216632306576,
0.019701309502124786,
0.057114966213703156,
0.02310720831155777,
0.00012898190470878035,
-0.006854352541267872,
-0.029769986867904663,
0.0028051938861608505,
0.000036578563594957814,
-0.012390592135488987,
-0.0063759805634617805,
-0.01599894091486931,
0.03777560591697693,
0.045920588076114655,
0.014173539355397224,
-0.00492067588493228,
-0.00040773896034806967,
-0.030408179387450218,
0.0001766545610735193,
0.01268538273870945,
-0.0014517308445647359,
0.0037586535327136517,
-0.016880175098776817,
-0.004569949582219124,
0.005307963117957115,
0.01648920774459839,
0.015355599112808704,
-0.013732136227190495,
-0.010394169017672539,
0.0210976991802454,
-0.010087661445140839,
-0.030542602762579918,
0.05768536403775215,
-0.007999638095498085,
0.027551304548978806,
0.0001653115905355662,
0.03303934633731842,
-0.009887292981147766,
0.03379540890455246,
-0.04210005700588226,
0.008101456798613071,
0.01668725535273552,
0.0241805762052536,
-0.000873433833476156,
-0.04735054075717926,
0.019456615671515465,
0.07359854876995087,
-0.04032290354371071,
0.04665591940283775,
-0.004735609516501427,
-0.04527531936764717,
-0.00002467259946570266,
0.012851672247052193,
-0.03750772774219513,
-0.026297664269804955,
-0.021652964875102043,
-0.003493210067972541,
-0.02332816645503044,
-0.02788606844842434,
0.05487153306603432,
-0.02757708728313446,
-0.0056532761082053185,
0.05227917060256004,
0.03750557824969292,
-0.008376098237931728,
-0.01371754426509142,
0.008457864634692669,
-0.016989581286907196,
0.0020537092350423336,
0.016657555475831032,
0.0114704305306077,
0.024484574794769287,
-0.0031256433576345444,
0.005598315969109535,
0.0070658158510923386,
-0.02397850714623928,
0.01237504929304123,
0.003503750544041395,
-0.00116990867536515,
0.025500012561678886,
-0.024290991947054863,
-0.06566371768712997,
0.04851100593805313,
0.005192930810153484,
-1.2635115176351519e-8,
0.0068198274821043015,
0.009865430183708668,
0.013773534446954727,
0.012336471118032932,
-0.020771324634552002,
0.029556812718510628,
0.032247304916381836,
0.03678278997540474,
-0.03743389993906021,
0.010698464699089527,
0.02521650493144989,
-0.03857515752315521,
0.00497582508251071,
0.014675191603600979,
0.00624445453286171,
0.03293539583683014,
0.01254452858120203,
0.029209230095148087,
0.040925074368715286,
-0.003585690865293145,
0.004561147186905146,
0.016350068151950836,
0.0008062590495683253,
0.02151823416352272,
-0.03262040764093399,
-0.03340378403663635,
0.027687223628163338,
-0.08677347004413605,
-0.015851547941565514,
-0.0447891503572464,
-0.025326315313577652,
-0.025483764708042145,
-0.006043742876499891,
0.008336269296705723,
-0.04096779227256775,
-0.01949065923690796,
0.019532183185219765,
0.02623930387198925,
0.030164550989866257,
0.015425402671098709,
-0.06860411167144775,
0.004368699621409178,
-0.05446872115135193,
-0.06173982843756676,
-0.026265712454915047,
0.03978428989648819,
-0.033676572144031525,
0.03460902348160744,
0.002966697094962001,
0.006486877799034119,
-0.003474531229585409,
-0.0008184766047634184,
0.031118012964725494,
0.01754245162010193,
0.05525878816843033,
0.02459488809108734,
-0.025219738483428955,
0.0038726800121366978,
-0.019856685772538185,
-0.03956271708011627,
0.041081659495830536,
0.05336396396160126,
-0.013276458717882633,
-0.014347565360367298
] | pyspark-class-not-found-exception-org-graphframes-graphframepythonapi | https://markhneedham.com/blog/2019/04/17/pyspark-class-not-found-exception-org-graphframes-graphframepythonapi |
false | 2019-04-07 05:03:00 | Python: Getting GitHub download count from the GraphQL API using requests | [
"python",
"github"
] | [
"Python"
] | I was recently trying to use some code I shared just over a year ago to https://markhneedham.com/blog/2018/03/23/github-release-download-count/[compute GitHub Project download numbers from the GraphQL API^], and wanted to automate this in a Python script.
It was more fiddly than I expected, so I thought I'd share the code for the benefit of future me more than anything else!
== Pre requisites
We're going to use the popular requests library to query the API, so we need to import that.
We'll also be parsing JSON and reading environment variables, so we'll load libraries to help with those tasks as well.
[source,python]
----
import requests
import json
import os
----
== Creating the script
We can use the query from the original post, so let's create a string containing that:
[source,python]
----
query = """
query($owner:String!, $name: String!) {
repository(owner: $owner, name: $name) {
nameWithOwner
releases(first: 50, orderBy: {field:CREATED_AT, direction:DESC}) {
totalCount
nodes {
releaseAssets(first: 1) {
nodes {
name
downloadCount
createdAt
}
}
}
}
}
}
"""
----
That query takes in some variables.
We'll put those in a map:
[source, python]
----
variables = {"owner": "neo4j-contrib", "name": "neo4j-apoc-procedures"}
----
We're nearly ready to post a request to the GraphQL API, but first we need to create a personal access token.
The GitHub docs https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line[explain how to do this^].
Let's create a file containing the token.
It looks like this:
_devenv_
[source, bash]
----
export GITHUB_TOKEN="<github-token-here>"
----
We can now run the following commands so that the token is available as an environment variable:
[source,bash]
----
source devenv
----
Now we're ready to construct our POST request:
[source, python]
----
token = os.getenv("GITHUB_TOKEN")
headers = {"Authorization": f"bearer {token}"}
request = {"query": query, "variables": variables}
response = requests.post("https://api.github.com/graphql",
json=request,
headers=headers)
----
The response we get back is extremely nested!
We want to print the number of downloads per project, as well as the total download count.
The following code does this:
[source,python]
----
result = response.json()["data"]["repository"]["releases"]["nodes"]
total_downloads = 0
for item in result:
release = item["releaseAssets"]["nodes"][0]
print(
f"{release['name']:<35} {release['createdAt']} {release['downloadCount']}"
)
total_downloads += release["downloadCount"]
print(f"Total Downloads: {total_downloads}")
----
And if we run that we'll see this output:
[source,bash]
----
apoc-3.4.0.5-all.jar 2019-02-15T20:45:21Z 17622
apoc-3.5.0.2-all.jar 2019-02-15T21:28:31Z 7454
apoc-3.5.0.1-all.jar 2018-11-27T14:16:12Z 28113
apoc-3.4.0.4-all.jar 2018-11-16T17:37:27Z 5502
apoc-3.5.0.0-all.jar 2018-10-11T00:17:08Z 414
apoc-3.4.0.3-all.jar 2018-09-20T13:38:29Z 13498
apoc-3.4.0.2-all.jar 2018-08-08T23:51:40Z 10680
apoc-3.3.0.4-all.jar 2018-08-08T23:49:52Z 30670
apoc-3.3.0.3-all.jar 2018-05-16T16:17:20Z 7509
apoc-3.4.0.1-all.jar 2018-05-16T16:13:52Z 29150
apoc-3.1.3.9-all.jar 2018-02-23T19:52:54Z 478
apoc-3.3.0.2-all.jar 2018-02-23T19:26:26Z 16508
apoc-3.2.3.6-all.jar 2018-02-23T19:26:37Z 2596
apoc-3.2.3.5-all.jar 2017-10-23T15:53:42Z 5806
apoc-3.3.0.1-all.jar 2017-10-23T15:54:12Z 29825
apoc-3.2.0.5-beta-all.jar 2017-10-03T18:39:15Z 407
apoc-3.2.0.4-all.jar 2017-08-07T14:29:09Z 6776
apoc-3.1.3.8-all.jar 2017-07-22T09:31:43Z 1275
apoc-3.1.3.7-all.jar 2017-05-15T07:06:33Z 2250
apoc-3.2.0.3-all.jar 2017-05-15T07:28:20Z 6963
apoc-3.2.0.2-all.jar 2017-04-03T08:22:26Z 543
apoc-3.1.3.6-all.jar 2017-04-03T08:19:17Z 1609
apoc-3.0.8.6-all.jar 2017-04-03T02:15:46Z 1014
apoc-3.2.0.1.jar 2017-03-10T01:21:52Z 89
apoc-3.1.2.5.jar 2017-03-10T06:13:03Z 537
apoc-3.1.0.4.jar 2017-03-10T06:12:03Z 594
apoc-3.0.8.5.jar 2017-03-10T01:34:02Z 36
apoc-3.0.8.4-all.jar 2017-01-06T02:15:33Z 862
apoc-3.1.0.3-all.jar 2016-12-14T02:19:30Z 2990
apoc-3.1.0.2-all.jar 2016-11-06T15:09:44Z 201
apoc-3.0.4.2-all.jar 2016-10-29T08:36:49Z 4286
apoc-3.1.0.1-all.jar 2016-10-06T08:54:34Z 199
apoc-3.0.4.1-all.jar 2016-08-22T16:10:57Z 1267
apoc-1.1.0.jar 2016-07-11T05:22:14Z 630
apoc-1.0.0.jar 2016-05-07T22:53:24Z 535
apoc-1.0.0-RC1.jar 2016-04-15T23:26:37Z 53
Total Downloads: 238941
----
APOC all the things!
The full script is available below if you want to do the same for your project:
++++
<script src="https://gist.github.com/mneedham/f73d1d5494586d58d3b8988f54abf1d3.js"></script>
++++ | Learn how to write a Python script to get the number of downloads of a GitHub Project from the GraphQL API. | null | [
0.008135942742228508,
-0.01869705133140087,
-0.016679899767041206,
0.028768958523869514,
0.071951724588871,
0.01850656419992447,
0.010868307203054428,
0.0462917722761631,
0.003325714962556958,
-0.020958922803401947,
-0.030632153153419495,
-0.0132990637794137,
-0.08993193507194519,
0.0054703643545508385,
-0.0023748271632939577,
0.06026696786284447,
0.07572127133607864,
-0.004436179995536804,
0.022859206423163414,
0.004941853694617748,
0.013675292022526264,
0.05941786989569664,
-0.0077103180810809135,
0.025081699714064598,
0.018008233979344368,
0.007157003507018089,
0.0016713174991309643,
-0.019726261496543884,
-0.05992896482348442,
-0.011468903161585331,
0.037086885422468185,
-0.013849271461367607,
0.013327819295227528,
-0.03933819383382797,
0.0006374958320520818,
-0.008276291191577911,
-0.04111912474036217,
0.021915046498179436,
-0.0010232265340164304,
0.02788623608648777,
-0.05537280812859535,
0.02456425502896309,
-0.01702246256172657,
0.01278192363679409,
-0.04941856488585472,
0.02269451506435871,
-0.03344222903251648,
0.05571919307112694,
-0.010783805511891842,
-0.0011699377791956067,
-0.07174600660800934,
0.014821414835751057,
-0.023318108171224594,
-0.03980109468102455,
0.015634553506970406,
0.038346607238054276,
0.024388311430811882,
-0.07613851130008698,
0.01203972939401865,
-0.02284359186887741,
0.008423242717981339,
0.016307711601257324,
0.033464785665273666,
0.032530371099710464,
0.007517911493778229,
-0.03741135075688362,
-0.009237791411578655,
0.06989222019910812,
-0.048718828707933426,
-0.017472676932811737,
0.010636504739522934,
0.023839563131332397,
-0.06140856444835663,
-0.01288969162851572,
-0.0016171860042959452,
-0.05515593662858009,
0.012181024067103863,
0.08453366160392761,
0.029476085677742958,
0.05983031913638115,
-0.01909676194190979,
0.03102029673755169,
0.011040530167520046,
0.020990023389458656,
0.005817226599901915,
-0.03034459799528122,
-0.023188062012195587,
-0.02816549502313137,
-0.049190692603588104,
0.027629699558019638,
0.011585279367864132,
-0.06582839787006378,
-0.0038306855130940676,
-0.0054778289049863815,
-0.00006756651418982074,
0.017221981659531593,
0.017944645136594772,
0.012538837268948555,
0.011733753606677055,
-0.00812544021755457,
-0.03311357647180557,
-0.012740761041641235,
0.009964621625840664,
-0.008406240493059158,
-0.06355760991573334,
-0.01913950778543949,
-0.011699493043124676,
-0.03840704634785652,
0.009562091901898384,
-0.018187271431088448,
0.0003591204877011478,
0.0010896074818447232,
-0.025808487087488174,
0.015467935241758823,
-0.06855380535125732,
0.061847906559705734,
0.007015668787062168,
-0.041902266442775726,
-0.019336603581905365,
0.00910243857651949,
0.02831159718334675,
0.03888098895549774,
0.008127589710056782,
0.08875521272420883,
0.005071247462183237,
0.044763412326574326,
0.004264239687472582,
0.04893362894654274,
-0.010862263850867748,
-0.07037921994924545,
-0.02153836190700531,
0.06530557572841644,
-0.016150061041116714,
0.0018805598374456167,
0.006390145979821682,
-0.015127316117286682,
-0.011283821426331997,
0.02910705842077732,
0.05891057848930359,
0.018300330266356468,
-0.008282692171633244,
-0.045695386826992035,
-0.0005631627864204347,
-0.01951431855559349,
0.015620407648384571,
0.03016001731157303,
0.004423285834491253,
-0.05481104180216789,
-0.03986810892820358,
0.011017623357474804,
0.00969166960567236,
-0.00046174292219802737,
0.04944930225610733,
-0.0031451783142983913,
0.023474011570215225,
0.09665694832801819,
0.0425853356719017,
0.036787811666727066,
-0.01780780963599682,
0.007252808194607496,
0.038772787898778915,
0.04244687035679817,
0.008170375600457191,
0.04259345307946205,
-0.01147367898374796,
-0.01585637405514717,
-0.014111445285379887,
0.04804271459579468,
-0.0190843865275383,
-0.0016008105594664812,
-0.03899224475026131,
-0.05216185003519058,
0.06858888268470764,
-0.042627811431884766,
0.0017875679768621922,
0.03602398931980133,
0.06940171122550964,
0.005813999101519585,
0.03261032700538635,
0.02431003376841545,
-0.08078589290380478,
0.05680432543158531,
-0.0023114129435271025,
0.010211676359176636,
0.017673026770353317,
-0.01422749925404787,
0.07315247505903244,
0.015304996632039547,
0.01508595421910286,
0.018993347883224487,
-0.09107726812362671,
-0.07740601897239685,
-0.03334770351648331,
0.004970364272594452,
0.058957576751708984,
-0.039096154272556305,
0.011056795716285706,
0.07622484862804413,
0.011902878060936928,
0.0357864648103714,
-0.006157601252198219,
-0.0012998742749914527,
0.031155476346611977,
-0.05208352208137512,
-0.05617119371891022,
0.04185457155108452,
0.018129102885723114,
-0.04093213379383087,
-0.02916412428021431,
0.011482328176498413,
-0.014204309321939945,
0.008020373061299324,
0.03995547071099281,
-0.043229445815086365,
0.012620905414223671,
0.034338466823101044,
0.023618966341018677,
-0.025501200929284096,
0.03161417320370674,
-0.03498904034495354,
0.03187159448862076,
0.013484310358762741,
-0.0024067931808531284,
-0.008937903679907322,
-0.022337421774864197,
0.11236538738012314,
0.05878307297825813,
-0.03231585770845413,
-0.039084210991859436,
0.03614862263202667,
-0.00018625354277901351,
-0.04255983978509903,
-0.010223358869552612,
-0.035331808030605316,
-0.015518855303525925,
-0.017682479694485664,
-0.02693876437842846,
-0.016559364274144173,
-0.019558606669306755,
-0.029886240139603615,
0.020288875326514244,
0.06329668313264847,
-0.031200286000967026,
0.04435146600008011,
0.003949583508074284,
-0.01021633017808199,
-0.02474908158183098,
-0.03532617911696434,
-0.047488462179899216,
0.019528090953826904,
0.011316976509988308,
0.0004965484258718789,
0.047379106283187866,
-0.0231392253190279,
-0.03768875449895859,
-0.02238543890416622,
-0.04299193248152733,
0.03373483568429947,
0.032170552760362625,
0.055784922093153,
-0.0012301495298743248,
0.022430801764130592,
-0.025329891592264175,
0.026325734332203865,
-0.012446114793419838,
-0.03018314763903618,
-0.06402139365673065,
-0.03937261179089546,
0.014120695181190968,
0.029171766713261604,
0.026468954980373383,
0.030029568821191788,
0.03216105327010155,
0.0016085491515696049,
0.0037818325217813253,
0.0002502731222193688,
0.017804734408855438,
0.005096913781017065,
-0.01610998995602131,
-0.06222722679376602,
-0.0009302552207373083,
0.05868701636791229,
-0.06411153078079224,
-0.02091403678059578,
0.003691082587465644,
-0.07531172782182693,
0.06497450917959213,
-0.05739634484052658,
-0.011245428584516048,
-0.008059459738433361,
0.021641269326210022,
0.06955718994140625,
-0.009716134518384933,
0.03421298786997795,
0.07612257450819016,
-0.01766248606145382,
0.018265245482325554,
0.014377080835402012,
0.0055317808873951435,
0.050447866320610046,
-0.016071423888206482,
0.01925240457057953,
0.02135220542550087,
-0.017589394003152847,
-0.010627862066030502,
-0.041633281856775284,
0.018334608525037766,
-0.0321681834757328,
-0.28924858570098877,
0.0376325286924839,
-0.019683830440044403,
-0.03156062215566635,
0.011504268273711205,
0.00033677209285087883,
0.014281090348958969,
-0.018428515642881393,
-0.02443501725792885,
0.016218356788158417,
-0.018169378861784935,
-0.045539818704128265,
-0.026298735290765762,
0.05576744303107262,
0.005363587290048599,
0.05084193870425224,
-0.01749820075929165,
-0.04361557960510254,
0.005697209853678942,
0.038015518337488174,
-0.0228375643491745,
-0.0536048598587513,
0.011791841126978397,
0.017449112609028816,
0.02796727605164051,
0.015131344087421894,
-0.09598322212696075,
0.04201216995716095,
-0.06207028031349182,
-0.030135374516248703,
0.006905134301632643,
-0.00968305952847004,
0.007955720648169518,
0.006901592947542667,
-0.02243872359395027,
-0.0034059728495776653,
0.034437160938978195,
-0.00758973415941,
-0.002524713519960642,
0.011074179783463478,
-0.03483361378312111,
-0.03081318736076355,
-0.03537127375602722,
-0.017448658123612404,
0.0961683988571167,
0.000015715768313384615,
-0.07582144439220428,
-0.016946565359830856,
-0.02829856611788273,
0.08320629596710205,
-0.03207962214946747,
-0.028041834011673927,
-0.025311077013611794,
0.010614432394504547,
-0.009380057454109192,
-0.017176667228341103,
-0.013457806780934334,
0.02267487905919552,
-0.053693272173404694,
-0.020472774282097816,
0.0029176182579249144,
-0.029840169474482536,
0.0006826215540058911,
-0.04843202233314514,
-0.002218818524852395,
-0.06497249752283096,
-0.02738487906754017,
-0.050328243523836136,
0.06379026919603348,
0.036841634660959244,
-0.03722265735268593,
0.024346301332116127,
-0.016632918268442154,
-0.10579074174165726,
-0.018517255783081055,
-0.04915563762187958,
-0.015629516914486885,
0.02086338773369789,
0.001617406727746129,
0.028453797101974487,
-0.04907448589801788,
-0.05207248777151108,
0.02117658592760563,
0.007852878421545029,
0.004395768512040377,
0.005400107707828283,
0.01300408598035574,
-0.013573100790381432,
-0.04510928690433502,
0.013320060446858406,
0.05391738936305046,
-0.04349195957183838,
-0.021441524848341942,
-0.004155300557613373,
-0.011125601828098297,
0.007406654302030802,
0.02080700546503067,
0.011542243883013725,
0.0020455510821193457,
0.07089702785015106,
0.04508021101355553,
-0.043888553977012634,
-0.01414712518453598,
-0.03451821953058243,
-0.028256867080926895,
-0.014905815944075584,
-0.055305302143096924,
0.03005075454711914,
0.03139510378241539,
0.0367569699883461,
-0.01981416717171669,
-0.03613615408539772,
0.017647018656134605,
-0.061008475720882416,
-0.02432459406554699,
0.0031883118208497763,
0.016261428594589233,
0.010650585405528545,
0.01977110654115677,
-0.021011371165513992,
-0.06333013623952866,
0.024453354999423027,
0.03807276114821434,
-0.004706086590886116,
-0.05115721374750137,
-0.04046379029750824,
-0.03262152895331383,
-0.010022102855145931,
0.04734611138701439,
0.021711505949497223,
-0.01563703455030918,
0.03378566727042198,
0.002044173190370202,
-0.03790941834449768,
0.011601295322179794,
-0.02411128394305706,
-0.027238493785262108,
-0.04207994416356087,
0.025021322071552277,
0.007620478048920631,
-0.030255405232310295,
0.0054626669734716415,
-0.012465153820812702,
0.03975856304168701,
0.04114028438925743,
-0.00012052141391905025,
0.0353994220495224,
0.03185172379016876,
0.0045932261273264885,
-0.01646546646952629,
-0.0007993972394615412,
-0.05688907951116562,
0.010871460661292076,
-0.04336342215538025,
-0.02745542675256729,
-0.026327695697546005,
0.037132628262043,
-0.012968337163329124,
-0.013556484133005142,
-0.01818608120083809,
0.025999801233410835,
-0.05877770483493805,
0.005513693671673536,
-0.0012499497970566154,
-0.02285715378820896,
0.03865496441721916,
0.005008088890463114,
0.02392210252583027,
-0.02858969196677208,
-0.020910615101456642,
0.004079635255038738,
0.04184592887759209,
-0.0061196088790893555,
-0.012339986860752106,
-0.006585545837879181,
-0.0027378902304917574,
0.008531230501830578,
0.031989436596632004,
0.0264122374355793,
0.013793118298053741,
0.004855535924434662,
-0.007163878995925188,
0.0073805199936032295,
0.0274943970143795,
0.04723438620567322,
0.032644834369421005,
-0.003592744003981352,
0.00038170168409124017,
-0.013750942423939705,
0.0019969504792243242,
-0.03472307696938515,
-0.0006517151487059891,
-0.009414784610271454,
0.010647373273968697,
-0.006870205048471689,
-0.06891635805368423,
0.04168494790792465,
0.01869114674627781,
0.01415974460542202,
0.017207004129886627,
-0.003128265030682087,
0.010742660611867905,
-0.033346060663461685,
0.053882379084825516,
0.05537766218185425,
-0.04173361137509346,
-0.03219097480177879,
0.007310270331799984,
0.013974285684525967,
-0.01842382177710533,
0.01671341247856617,
-0.057662349194288254,
-0.04098983481526375,
-0.01457464974373579,
-0.008947345428168774,
0.011225836351513863,
-0.02674129791557789,
-0.006048691459000111,
-0.01130005344748497,
-0.006724026519805193,
0.00800557341426611,
0.009000341407954693,
0.021750064566731453,
-0.03332651033997536,
-0.007315726485103369,
0.023728126659989357,
-0.04367760941386223,
0.004938297439366579,
0.009375209920108318,
-0.006043766625225544,
0.026645220816135406,
-0.019596640020608902,
0.05050420016050339,
0.0023280286695808172,
0.00347281526774168,
0.014087161980569363,
-0.05920613184571266,
0.009749332442879677,
-0.0388159342110157,
0.033374983817338943,
-0.020346052944660187,
0.003757007187232375,
-0.04223470017313957,
-0.017102310433983803,
-0.020631780847907066,
-0.011594594456255436,
-0.022015376016497612,
0.010938221588730812,
0.017859669402241707,
0.052538517862558365,
0.03230665251612663,
0.041212767362594604,
-0.007854748517274857,
-0.03510498255491257,
0.05678948387503624,
-0.04176672175526619,
-0.038276009261608124,
-0.011904986575245857,
-0.04988782852888107,
0.0106810899451375,
0.04038800671696663,
0.028183186426758766,
-0.08707260340452194,
0.07174980640411377,
0.03176932781934738,
0.028479810804128647,
0.04691695421934128,
-0.024641908705234528,
0.03272578492760658,
-0.032791998237371445,
-0.01722605898976326,
-0.0901588723063469,
0.01177386473864317,
0.03640018403530121,
-0.02075003832578659,
-0.022406568750739098,
0.008346391841769218,
-0.026806071400642395,
0.0471804216504097,
-0.05228908360004425,
-0.02827167883515358,
0.0710267573595047,
0.006223498377948999,
-0.0027222665958106518,
0.011641625314950943,
-0.07657965272665024,
-0.0006980638136155903,
0.07913447171449661,
-0.051447127014398575,
-0.01903703063726425,
-0.02039230242371559,
0.06407005339860916,
-0.00538298487663269,
0.06444838643074036,
-0.01924091763794422,
-0.04462091997265816,
0.0897032767534256,
0.01520125474780798,
0.0021115478593856096,
0.052390336990356445,
-0.01006853487342596,
0.02232544682919979,
0.03618407994508743,
0.004813851788640022,
0.0018278780626133084,
0.04666280746459961,
-0.008939896710216999,
-0.0283728688955307,
0.02452664077281952,
-0.0015495828120037913,
-0.030538925901055336,
-0.04887722432613373,
0.06494399160146713,
0.0032220191787928343,
-0.05395915359258652,
-0.04563005641102791,
0.05041687935590744,
-0.053833119571208954,
-0.02999858558177948,
-0.03730304166674614,
-0.03127564489841461,
-0.03183559328317642,
0.049740422517061234,
-0.015472887083888054,
0.003589803818613291,
0.05858675763010979,
-0.0036736060865223408,
0.006025767885148525,
0.01460164412856102,
0.07176701724529266,
0.07870896905660629,
0.04629017040133476,
0.007755633443593979,
0.051390111446380615,
0.010090387426316738,
-0.02539193071424961,
-0.010435106232762337,
-0.01952076144516468,
-0.0324467271566391,
-0.0016798338619992137,
-0.011346874758601189,
0.0756211206316948,
-0.009104971773922443,
0.05973297730088234,
-0.025999924167990685,
-0.006062609143555164,
-0.01580546796321869,
0.015641160309314728,
0.026993408799171448,
0.06793635338544846,
0.015378949232399464,
0.03996431082487106,
-0.04558148607611656,
-0.03588099032640457,
0.017154112458229065,
-0.028946630656719208,
-0.022166570648550987,
0.05473804101347923,
-0.011000036261975765,
0.014100254513323307,
0.015768053010106087,
0.044169891625642776,
0.08598261326551437,
-0.035305291414260864,
-0.011377762071788311,
-0.0015588599490001798,
0.0296357199549675,
-0.0025935617741197348,
0.02885461412370205,
-0.016893915832042694,
-0.008534724824130535,
0.018521521240472794,
-0.060487400740385056,
-0.0022546991240233183,
0.00932501070201397,
-0.05052617937326431,
0.03988127037882805,
-0.006751595996320248,
-0.001458471640944481,
-0.0009599959594197571,
0.01527674961835146,
-0.0014288187958300114,
-0.04489322379231453,
-0.04637406766414642,
-0.0474233441054821,
-0.043738462030887604,
-0.030884115025401115,
0.01583257131278515,
-0.01043621078133583,
-0.03526577726006508,
-0.009584179148077965,
-0.018393954262137413,
-0.007774758152663708,
0.03433153033256531,
-0.03452964127063751,
-0.013853227719664574,
0.008097602054476738,
0.010410649701952934,
-0.011708798818290234,
-0.010998506098985672,
0.052452147006988525,
-0.014470553025603294,
0.01078252773731947,
-0.03144364058971405,
0.05061686038970947,
0.035236384719610214,
0.01925520785152912,
0.0009128710953518748,
-0.062726691365242,
0.008002232760190964,
-0.0024599262978881598,
0.007870692759752274,
-0.06719211488962173,
0.026555750519037247,
0.042282454669475555,
0.005003406200557947,
0.07755450904369354,
-0.00409361906349659,
-0.004388236906379461,
-0.037850674241781235,
0.009176947176456451,
0.009793955832719803,
-0.00020882573153357953,
0.06002603843808174,
-0.010718690231442451,
0.08102337270975113,
0.021559393033385277,
-0.03008442558348179,
-0.015236387960612774,
-0.018602291122078896,
-0.010007699951529503,
0.0064879851415753365,
-0.0351610891520977,
-0.03795906528830528,
-0.03489678353071213,
-0.06979549676179886,
-0.03365489840507507,
0.00424150051549077,
-0.024307170882821083,
-0.01937223970890045,
-0.0008385970140807331,
0.027721205726265907,
-0.0366872102022171,
0.041969653218984604,
-0.027764633297920227,
0.04815448448061943,
-0.0016782438615337014,
-0.034846022725105286,
-0.016644999384880066,
0.02507544681429863,
-0.008039283566176891,
0.023038377985358238,
0.033117447048425674,
-0.04600485414266586,
-0.04492172598838806,
0.004410042427480221,
0.014043718576431274,
0.0499265119433403,
-0.015375297516584396,
0.017640726640820503
] | [
-0.07946207374334335,
-0.04995162785053253,
-0.0448264442384243,
-0.03992779552936554,
0.03766290470957756,
-0.06341025233268738,
-0.021374506875872612,
0.012779179029166698,
-0.016887474805116653,
-0.00981052964925766,
0.005525049287825823,
-0.04875210300087929,
0.015324209816753864,
-0.008453130722045898,
0.07988650351762772,
0.013496572151780128,
-0.044473011046648026,
-0.06922024488449097,
-0.03151438757777214,
0.03892262652516365,
-0.01244816929101944,
-0.025591488927602768,
-0.020986167713999748,
-0.054142553359270096,
-0.011094974353909492,
0.0404556542634964,
0.010799980722367764,
-0.025591526180505753,
0.0064929574728012085,
-0.18103358149528503,
0.022352708503603935,
-0.013324444182217121,
0.002440017182379961,
-0.008411233313381672,
0.029671793803572655,
0.01886332780122757,
0.039251893758773804,
-0.022250207141041756,
-0.003253028029575944,
0.05578389763832092,
0.038312774151563644,
0.003880064934492111,
-0.05717633664608002,
-0.01374847162514925,
0.04770452156662941,
0.0010995831107720733,
-0.032080285251140594,
0.0018845116719603539,
-0.013757847249507904,
0.015619030222296715,
-0.033441271632909775,
0.007175862323492765,
-0.016804182901978493,
-0.028816355392336845,
-0.013043435290455818,
0.002435001777485013,
0.03994808718562126,
0.08844369649887085,
0.018967216834425926,
0.025378908962011337,
0.021104419603943825,
-0.007325564045459032,
-0.12686753273010254,
0.10081297159194946,
0.02281334437429905,
0.06820566207170486,
-0.05679241195321083,
-0.0034809401258826256,
0.006521493196487427,
0.0838814303278923,
-0.005129527300596237,
-0.018248895183205605,
-0.0492013543844223,
0.053752727806568146,
0.0054796854965388775,
-0.017233913764357567,
0.007407848257571459,
0.0526641383767128,
0.050381850451231,
-0.04413120448589325,
-0.04968034476041794,
0.006008711643517017,
-0.006978953257203102,
-0.0003854749375022948,
-0.04191424325108528,
0.016547122970223427,
-0.01512707769870758,
0.08797954767942429,
0.035123541951179504,
0.0073112789541482925,
0.043740417808294296,
-0.03535020723938942,
0.057999175041913986,
0.02932874672114849,
-0.07811006903648376,
0.003330643055960536,
0.019491378217935562,
0.0010336992563679814,
-0.034562405198812485,
0.4028928577899933,
0.009563008323311806,
-0.023033546283841133,
0.01665329374372959,
0.03972147777676582,
0.015019732527434826,
-0.024382969364523888,
-0.007652281783521175,
-0.04907725378870964,
0.02991889789700508,
-0.03583734109997749,
-0.0023959267418831587,
-0.007479576859623194,
0.05829901248216629,
-0.0918613001704216,
0.008815647102892399,
0.01383102685213089,
0.003384280949831009,
0.012516793794929981,
-0.024925366044044495,
0.017742736265063286,
-0.007200832478702068,
-0.0010961330262944102,
0.037107259035110474,
-0.00017939442477654666,
0.024593275040388107,
0.03156227245926857,
0.02796586975455284,
0.03678343445062637,
0.01224993821233511,
0.027855170890688896,
0.0485154390335083,
-0.00011271430412307382,
-0.06169356033205986,
0.02598944865167141,
-0.006657182238996029,
-0.007998107001185417,
0.03309508040547371,
-0.029894663020968437,
-0.02709226682782173,
0.031252793967723846,
0.004772183485329151,
-0.01106588076800108,
0.008651277981698513,
-0.012990129180252552,
-0.03967220336198807,
0.11278200149536133,
0.012872547842562199,
-0.029888221994042397,
-0.03835349157452583,
-0.06942833214998245,
0.0008966890163719654,
0.062294650822877884,
0.026292961090803146,
-0.05934365838766098,
0.005007511470466852,
0.022047055885195732,
0.09184273332357407,
-0.0038858363404870033,
-0.06276069581508636,
-0.0035480866208672523,
-0.018261807039380074,
-0.06324958801269531,
-0.04476287215948105,
0.061423543840646744,
0.05121952295303345,
-0.12731340527534485,
-0.020089691504836082,
0.006332150660455227,
0.007815881632268429,
-0.060653381049633026,
0.021275274455547333,
0.006240871734917164,
-0.05861092731356621,
-0.006407805718481541,
0.05172682926058769,
-0.024393079802393913,
-0.021472452208399773,
0.007564475294202566,
0.059380438178777695,
0.005788068752735853,
-0.046916939318180084,
-0.006795933470129967,
-0.049439799040555954,
-0.02339988201856613,
-0.0573100708425045,
-0.056568942964076996,
-0.08209982514381409,
0.025208456441760063,
-0.026743290945887566,
-0.04546916484832764,
-0.012558633461594582,
0.013974466361105442,
-0.05395174026489258,
0.054610274732112885,
-0.023602444678544998,
-0.01170241367071867,
0.0034245760180056095,
-0.013186497613787651,
-0.004714479204267263,
-0.015455116517841816,
0.026876302435994148,
0.010743129067122936,
-0.0009551423718221486,
0.032337483018636703,
-0.07781019061803818,
0.03629383072257042,
0.059683334082365036,
-0.03021406941115856,
0.07052668929100037,
0.024932341650128365,
-0.04066065326333046,
0.00518953800201416,
-0.006768770050257444,
0.01757323369383812,
-0.041926685720682144,
-0.045292239636182785,
0.000179075010237284,
-0.014230110682547092,
0.04996442422270775,
0.03993673995137215,
-0.05726497992873192,
-0.01341978833079338,
-0.011187474243342876,
-0.3522079586982727,
-0.04510607197880745,
-0.01672457531094551,
0.013232328929007053,
0.02475329115986824,
-0.06359343975782394,
0.024195441976189613,
-0.019792405888438225,
-0.0016072376165539026,
0.051011618226766586,
0.13438446819782257,
-0.0042398544028401375,
0.01075753103941679,
-0.0785137265920639,
-0.007394182495772839,
0.029953720048069954,
-0.032948002219200134,
-0.00011632637324510142,
-0.009237008169293404,
0.01988057792186737,
-0.016742022708058357,
-0.04777984321117401,
-0.014076786115765572,
-0.05904088914394379,
-0.0021783264819532633,
-0.02000911347568035,
0.1161869540810585,
0.017046893015503883,
0.039662182331085205,
-0.05150654539465904,
0.0477605015039444,
-0.003419114276766777,
0.00924972165375948,
-0.11689531058073044,
-0.008862246759235859,
-0.016781581565737724,
-0.018006309866905212,
0.0554015152156353,
0.007758576422929764,
-0.005368990823626518,
-0.0356471873819828,
0.02652529813349247,
-0.03389783948659897,
-0.025247149169445038,
-0.01695723459124565,
0.012576829642057419,
-0.051721177995204926,
-0.017837630584836006,
-0.01122670341283083,
0.07426676154136658,
0.005744910798966885,
0.03125971555709839,
0.020361613482236862,
0.027598315849900246,
-0.014855152927339077,
-0.030572989955544472,
-0.03971002995967865,
-0.0018288188148289919,
0.023036466911435127,
0.005884729325771332,
0.005603541620075703,
0.02006678096950054,
0.027719436213374138,
-0.05975961685180664,
0.012493453919887543,
-0.01441170834004879,
0.013249721378087997,
0.013538923114538193,
0.03722241148352623,
-0.02665030024945736,
-0.008076101541519165,
0.10630467534065247,
0.004934928845614195,
0.05466320365667343,
0.010973282158374786,
0.041471268981695175,
0.008295832201838493,
0.012374309822916985,
0.028300466015934944,
-0.0075477962382137775,
0.022608673200011253,
-0.015569600276648998,
0.05410975217819214,
-0.02536289021372795,
0.005000738892704248,
0.047776978462934494,
-0.008091794326901436,
-0.005368645302951336,
0.06269651651382446,
0.008065559901297092,
-0.006116647273302078,
-0.007760834414511919,
-0.018763763830065727,
-0.06354738026857376,
0.05467595160007477,
-0.012908239848911762,
-0.2682807743549347,
0.03830031678080559,
0.04407190904021263,
0.053021982312202454,
-0.0066660125739872456,
0.0038605169393122196,
0.057508181780576706,
-0.017325598746538162,
-0.01720493845641613,
0.02470768429338932,
0.025440577417612076,
0.054057005792856216,
-0.008991993963718414,
-0.011895159259438515,
0.007571522146463394,
-0.008861118927598,
0.0231623575091362,
0.014236005023121834,
-0.010112903080880642,
0.02599845454096794,
0.033802829682826996,
-0.0281695444136858,
0.1793968826532364,
0.03618072718381882,
0.014943796209990978,
0.05916585028171539,
-0.019344821572303772,
0.026990313082933426,
0.09057934582233429,
0.0067161270417273045,
-0.020498696714639664,
0.022931916639208794,
0.040815528482198715,
-0.0009886681800708175,
0.0308255422860384,
-0.07133537530899048,
-0.015157523564994335,
0.030864233151078224,
0.0142450500279665,
-0.012332914397120476,
-0.03737019747495651,
0.004811805207282305,
-0.017695879563689232,
0.04655568674206734,
0.06238456070423126,
-0.015499738976359367,
-0.008755778893828392,
-0.05801891162991524,
-0.04533251374959946,
0.004934464581310749,
-0.04677693545818329,
-0.05413518473505974,
-0.017283830791711807,
-0.005621753167361021,
0.02099638245999813,
0.06744472682476044,
0.05390197038650513,
-0.01627102494239807,
0.005912897642701864,
0.007619740441441536,
-0.018536539748311043,
-0.06564309448003769,
0.11332453787326813,
0.012239637784659863,
-0.014161900617182255
] | [
0.011919336393475533,
0.04907466843724251,
-0.02712816558778286,
0.03645968437194824,
-0.031003732234239578,
-0.0345485545694828,
-0.0018443359294906259,
0.026217028498649597,
0.0027766975108534098,
0.015256799757480621,
-0.014300744980573654,
-0.0014048258308321238,
0.05987060070037842,
-0.00247176899574697,
0.024071061983704567,
0.021953966468572617,
0.002557820174843073,
0.015063083730638027,
0.04294813424348831,
-0.0390898734331131,
-0.027943888679146767,
0.04237917810678482,
0.022763371467590332,
0.006022944115102291,
0.013938076794147491,
-0.01641257107257843,
-0.055475473403930664,
0.020726393908262253,
0.03252791240811348,
-0.09924039244651794,
-0.007431605830788612,
-0.017934871837496758,
0.0013491822173818946,
0.007188861723989248,
0.01847025193274021,
0.024666134268045425,
0.011942374520003796,
-0.023668278008699417,
0.032174304127693176,
0.023517917841672897,
0.04046633839607239,
-0.0032288101501762867,
-0.011251993477344513,
-0.016902649775147438,
-0.005361032672226429,
0.007368283346295357,
-0.028702260926365852,
-0.004587452858686447,
0.00589428236708045,
-0.00005201695239520632,
-0.020077098160982132,
-0.014009621925652027,
-0.019500495865941048,
-0.01038487907499075,
0.00919979065656662,
-0.031335629522800446,
-0.02362912893295288,
-0.018108708783984184,
0.03257691487669945,
-0.024631543084979057,
0.023347793146967888,
-0.013018644414842129,
-0.03295448422431946,
-0.024676604196429253,
-0.014465252868831158,
-0.01352679543197155,
-0.03061395324766636,
0.019420035183429718,
0.03091590292751789,
0.015368402935564518,
0.022910382598638535,
-0.0004058732301928103,
-0.06472547352313995,
-0.05527365952730179,
-0.02877161093056202,
-0.009064174257218838,
0.002267166506499052,
0.009455187246203423,
-0.020481538027524948,
0.009574705734848976,
-0.03184269368648529,
0.007848828099668026,
-0.014065087772905827,
0.018403565511107445,
-0.043610140681266785,
0.028426844626665115,
0.04640097916126251,
0.018555879592895508,
0.011428149417042732,
0.005300919990986586,
-0.011822679080069065,
-0.006811381783336401,
0.020642487332224846,
0.0035517243668437004,
-0.08432333171367645,
-0.0059833647683262825,
0.009960053488612175,
-0.022231658920645714,
-0.017217697575688362,
0.8401280641555786,
0.009282968007028103,
-0.028857003897428513,
0.01589556224644184,
0.006129245273768902,
-0.0015659446362406015,
0.00886973924934864,
0.010511397384107113,
0.008629354648292065,
0.024937694892287254,
0.005658996757119894,
-0.0013990165898576379,
0.018405620008707047,
0.0018596636364236474,
0.025487642735242844,
0.029234275221824646,
0.036921605467796326,
0.019501447677612305,
-0.0028730786871165037,
0.013967284001410007,
0.016433294862508774,
0.05427059158682823,
0.003069787286221981,
0.008108377456665039,
0.004927234258502722,
0.0026209948118776083,
-0.17281562089920044,
0.035040270537137985,
-7.549408960696655e-33,
0.041851844638586044,
-0.0274860467761755,
0.02849877066910267,
-0.014635579660534859,
0.024419430643320084,
0.018071716651320457,
0.0013896757736802101,
-0.005177681799978018,
-0.015822486951947212,
-0.02572103962302208,
-0.010742264799773693,
-0.0010429129470139742,
0.004975182004272938,
0.010506999678909779,
-0.0009013520902954042,
-0.009914008900523186,
-0.0030068878550082445,
0.029057873412966728,
0.01663854718208313,
0.04200189560651779,
0.010093314573168755,
0.003907007165253162,
-0.018527310341596603,
0.08429773151874542,
0.031176680698990822,
0.021241847425699234,
0.010153823532164097,
0.0017183669842779636,
0.0050477152690291405,
-0.04202428460121155,
-0.028920410200953484,
0.027871666476130486,
0.004556339234113693,
-0.05083412677049637,
-0.002917670411989093,
-0.06130165234208107,
-0.016831811517477036,
0.010845729149878025,
-0.015506771393120289,
-0.06183110177516937,
-0.02638295106589794,
0.011115018278360367,
-0.017771506682038307,
-0.043073732405900955,
-0.04516389220952988,
-0.012542407028377056,
0.012836652807891369,
0.01181282289326191,
0.0023163477890193462,
0.011408465914428234,
0.0031230037566274405,
0.01748024672269821,
0.013151331804692745,
-0.008562210015952587,
-0.004648590926080942,
-0.01896843872964382,
0.001957985106855631,
-0.0006497857975773513,
-0.015235216356813908,
-0.008433765731751919,
0.006012825295329094,
-0.015546337701380253,
0.023281993344426155,
0.0137167451903224,
0.03706776723265648,
-0.01027629990130663,
-0.016483062878251076,
0.049929551780223846,
0.018514789640903473,
0.041713129729032516,
-0.06074933707714081,
0.03430210426449776,
-0.026874860748648643,
-0.02634955197572708,
0.02269471250474453,
-0.0412391759455204,
0.009219142608344555,
0.02173113450407982,
0.004853428341448307,
0.06085281819105148,
0.002190832979977131,
-0.03071834333240986,
-0.025514615699648857,
-0.006174405105412006,
-0.02634929120540619,
0.032162513583898544,
0.03689195215702057,
0.018969951197504997,
-0.012461035512387753,
0.015739422291517258,
0.043339598923921585,
0.019856220111250877,
-0.012468514032661915,
-0.02285730093717575,
-0.05878950655460358,
7.48272022743863e-33,
-0.015162797644734383,
-0.01443409826606512,
-0.007885962724685669,
0.004146400839090347,
0.008186177350580692,
-0.03192039206624031,
0.0032730847597122192,
-0.007268112152814865,
-0.01627953350543976,
0.05404316261410713,
-0.034595005214214325,
0.0019313559168949723,
-0.029984936118125916,
0.032660242170095444,
0.056877244263887405,
-0.0106993168592453,
-0.01361472811549902,
-0.017703592777252197,
0.0237440075725317,
0.001230516005307436,
-0.028870142996311188,
0.025037674233317375,
-0.012569684535264969,
0.017744362354278564,
0.03176421299576759,
0.033425550907850266,
-0.05086797475814819,
-0.002771588508039713,
-0.004570886958390474,
0.0030358622316271067,
-0.013529393821954727,
-0.022753356024622917,
-0.003901168704032898,
-0.050925981253385544,
-0.03235083818435669,
0.008365721441805363,
0.005121714901179075,
0.012567521072924137,
0.03341422602534294,
-0.005730250850319862,
0.014824548736214638,
0.01196496281772852,
-0.006947807967662811,
0.004541473463177681,
0.017343435436487198,
0.026955561712384224,
-0.0010540068615227938,
0.02308376133441925,
-0.02671302855014801,
0.006293277256190777,
-0.004721491131931543,
0.03284042328596115,
0.014555011875927448,
0.006535678636282682,
0.004749559797346592,
-0.04102499037981033,
0.0004647026362363249,
0.03034880943596363,
-0.03053874522447586,
-0.019008630886673927,
-0.03797176480293274,
-0.003480115905404091,
0.0033761977683752775,
0.01869494467973709,
-0.06760846078395844,
-0.038249045610427856,
-0.04852086305618286,
-0.013133038766682148,
-0.003748934483155608,
-0.016782550141215324,
0.019781146198511124,
-0.02600237727165222,
-0.02876620925962925,
0.00695250416174531,
0.022473353892564774,
-0.021547304466366768,
-0.029509803280234337,
0.005164153408259153,
-0.04599021375179291,
0.03672308847308159,
0.00436833780258894,
0.04052870720624924,
0.013205061666667461,
0.021609248593449593,
-0.0038869562558829784,
-0.00502817565575242,
-0.03152013197541237,
0.005548846907913685,
0.028691144660115242,
0.029309503734111786,
-0.014546495862305164,
-0.028712943196296692,
-0.04490057751536369,
0.016170263290405273,
-0.03486530855298042,
-1.3095030837462218e-8,
-0.029422441497445107,
0.03263340890407562,
-0.011451002210378647,
0.042431604117155075,
0.018886514008045197,
0.033506788313388824,
-0.009537599049508572,
0.010578719899058342,
0.006385248154401779,
0.0206541009247303,
0.03279350325465202,
-0.025821305811405182,
0.008572423830628395,
0.020590126514434814,
-0.0036633783020079136,
-0.01650192402303219,
0.01661725528538227,
-0.023993227630853653,
0.03850497305393219,
-0.002481534145772457,
0.0015606238739565015,
0.023387102410197258,
0.011511586606502533,
-0.020483333617448807,
-0.004496082663536072,
-0.022636065259575844,
0.036648090928792953,
-0.06257086992263794,
-0.041748013347387314,
-0.013150375336408615,
0.01960035040974617,
-0.029981503263115883,
-0.03746684640645981,
-0.011204530484974384,
-0.020933976396918297,
-0.046010930091142654,
0.01750550977885723,
0.0078085558488965034,
0.024056516587734222,
0.024027854204177856,
-0.00704917823895812,
0.019094595685601234,
-0.01673707365989685,
-0.01773570291697979,
-0.054017532616853714,
-0.009299312718212605,
-0.017444342374801636,
-0.002460374031215906,
0.045578572899103165,
-0.04527807980775833,
0.026629284024238586,
-0.039272233843803406,
-0.0023751412518322468,
0.024854198098182678,
0.04236279055476189,
0.020318306982517242,
0.008399946615099907,
-0.042516790330410004,
-0.026229966431856155,
-0.018354423344135284,
0.03178969770669937,
0.03310208395123482,
-0.019163357093930244,
-0.03540443629026413
] | python-github-download-count-graphql-requests | https://markhneedham.com/blog/2019/04/07/python-github-download-count-graphql-requests |
false | 2019-04-01 05:03:00 | Finding famous MPs based on their Wikipedia Page Views | [
"python",
"wikipedia",
"brexit"
] | [
"Python"
] | As part of the https://towardsdatascience.com/graphing-brexit-bbe4314cf70[Graphing^] https://medium.com/neo4j/graphing-brexit-clustering-edition-3b966694e723[Brexit^] series of blog posts, I wanted to work out who were the most important Members of the UK parliament, and after a bit of Googling I realised that views of their Wikipedia pages would do the trick.
I initially found my way to https://tools.wmflabs.org/pageviews/?project=en.wikipedia.org&platform=all-access&agent=spider&start=2018-01&end=2019-02&pages=Theresa_May[tools.wmflabs.org^], which is great for exploring the popularity of an individual MP, but not so good if you want to extract the data for 600 of them.
I then came to learn that Wikimedia have https://wikimedia.org/api/rest_v1/[a REST API^] and, https://blog.wikimedia.org/2015/12/14/pageview-data-easily-accessible/[hidden at the bottom of a blog post^] from 2015, a Python library called myviews.
Yay!
It's really easy to use as well.
Installation is via PyPi:
[source, bash]
----
pip install mwviews
----
And then if we want to find the page views from the last week for our current Prime Minister, Theresa May, we can write the following code:
[source, python]
----
from mwviews.api import PageviewsClient
p = PageviewsClient("mark-needham")
views = p.article_views("en.wikipedia", ["Theresa May"], start="20190324", end="20190331")
----
And now let's iterate over `views` to find the number of pageviews per day:
[source, python]
----
for day in views:
print(day, views[day])
2019-03-24 00:00:00 {'Theresa_May': 23461}
2019-03-25 00:00:00 {'Theresa_May': 22272}
2019-03-26 00:00:00 {'Theresa_May': 18661}
2019-03-27 00:00:00 {'Theresa_May': 42541}
2019-03-28 00:00:00 {'Theresa_May': 34310}
2019-03-29 00:00:00 {'Theresa_May': 34514}
2019-03-30 00:00:00 {'Theresa_May': 20604}
2019-03-31 00:00:00 {'Theresa_May': 18137}
----
We can extend our example to compute pageviews for multiple people by adding their names to the array, and we'll also extend the date range back to the EU referendum of 2016:
[source, python]
----
people = [
"Boris Johnson", "Theresa May", "Jacob Rees-Mogg", "Jeremy Corbyn"
]
views = p.article_views("en.wikipedia", people, start="20160624", end="20190331")
----
That's a lot of days so, rather than printing out each day on its own, let's sum up the pageviews:
[source, python]
----
votes = {person: 0 for person in people }
for key in views.keys():
for person_key in views[key].keys():
person = person_key.replace("_", " ")
if views[key][person_key]:
votes[person] += views[key][person_key]
----
And who's the most famous of them all?
[source,python]
----
max_width = max([len(key) for key in votes.keys()])
for person in votes:
print(f"{person:<{max_width}} {votes[person]:,}")
Boris Johnson 5,727,213
Theresa May 12,844,215
Jacob Rees-Mogg 3,631,652
Jeremy Corbyn 5,965,669
---- | Learn how to find out the number of pageviews Wikipedia pages have. | null | [
0.01857904903590679,
-0.03460222855210304,
0.023535065352916718,
0.013143450953066349,
0.045408282428979874,
0.005635394249111414,
0.0381099134683609,
0.015952391549944878,
0.01617240533232689,
-0.0015337533550336957,
-0.02856668084859848,
-0.018683742731809616,
-0.07675602287054062,
0.02151562087237835,
0.005732384510338306,
0.06570174545049667,
0.03997081518173218,
-0.0003650765575002879,
0.004765717778354883,
-0.012953107245266438,
0.07822220772504807,
0.07762138545513153,
-0.0032554196659475565,
0.021688833832740784,
0.018145734444260597,
-0.013719400390982628,
0.057601746171712875,
-0.02287483774125576,
-0.04612405598163605,
-0.01679367385804653,
0.024718908593058586,
-0.03459857031702995,
-0.010823511518537998,
0.014568878337740898,
0.03960670530796051,
0.004793544299900532,
-0.01672305539250374,
0.015963083133101463,
-0.008296268060803413,
0.015836291015148163,
-0.05641588568687439,
0.016816280782222748,
0.005642385222017765,
0.031512413173913956,
-0.04299984872341156,
-0.0032357326708734035,
-0.0017241226742044091,
0.07138877362012863,
0.008119584992527962,
0.0018415861995890737,
-0.05332603678107262,
0.03679119795560837,
0.008043412119150162,
0.008657663129270077,
-0.013554779812693596,
0.04502425342798233,
0.005156634841114283,
-0.07002951949834824,
0.01917700655758381,
-0.02384553663432598,
0.006666967645287514,
-0.0181070938706398,
0.035266537219285965,
0.020260296761989594,
0.020685458555817604,
-0.03830333054065704,
-0.040157169103622437,
0.07327423244714737,
-0.03911195695400238,
-0.013750271871685982,
0.008224300108850002,
-0.006071856711059809,
-0.0271714199334383,
0.04052271321415901,
0.009395110420882702,
-0.03615207597613335,
0.022788597270846367,
0.0764726921916008,
0.036983612924814224,
0.027768002822995186,
0.0035526705905795097,
0.018663331866264343,
-0.0010515967151150107,
0.05014343559741974,
0.002190721221268177,
-0.019516386091709137,
-0.028436459600925446,
-0.01713722199201584,
-0.04708455502986908,
0.050014011561870575,
0.009684756398200989,
-0.052264779806137085,
-0.0008965091546997428,
0.023899231106042862,
-0.006395416799932718,
0.000029987138987053186,
0.03932745382189751,
-0.002974933944642544,
0.002269141608849168,
-0.05608667805790901,
-0.009022481739521027,
-0.011841727420687675,
0.03881523758172989,
-0.0032856380566954613,
-0.06571540236473083,
-0.028142830356955528,
-0.053745392709970474,
-0.020925110206007957,
0.02014513500034809,
-0.008332410827279091,
-0.007217369042336941,
0.024388587102293968,
-0.03409354016184807,
0.0079078683629632,
-0.06851588934659958,
0.047632597386837006,
0.010836920700967312,
-0.05245886370539665,
0.002898308914154768,
0.03351539373397827,
0.03725862875580788,
0.04320317134261131,
-0.002053172793239355,
0.07218611985445023,
0.020969461649656296,
0.022531194612383842,
-0.013135065324604511,
0.02120356820523739,
-0.018479548394680023,
-0.046061113476753235,
0.0024779578670859337,
0.05451352521777153,
-0.03849663585424423,
-0.01738576404750347,
-0.01849599927663803,
-0.01970267854630947,
0.002314503537490964,
0.025616366416215897,
0.061219774186611176,
0.04926848039031029,
0.01814335584640503,
-0.041880033910274506,
0.01106326188892126,
0.01418161392211914,
0.028927598148584366,
0.005399810615926981,
-0.02956836111843586,
-0.018206054344773293,
-0.04417423903942108,
0.0003219728241674602,
-0.0005600692820735276,
0.02163078635931015,
0.05938023328781128,
-0.020834490656852722,
-0.0010463419603183866,
0.07991582155227661,
0.0592169314622879,
-0.00022570056898985058,
0.007859264500439167,
0.00883779488503933,
0.05453011393547058,
0.027715660631656647,
0.022145621478557587,
0.0663427859544754,
-0.0011504762805998325,
-0.017095528542995453,
-0.008010213263332844,
0.0325654111802578,
0.009036763571202755,
-0.0008466034778393805,
-0.06178333982825279,
-0.052228253334760666,
0.07455477118492126,
-0.032671306282281876,
-0.017352310940623283,
0.045672815293073654,
0.07688667625188828,
0.00550263375043869,
0.02887623757123947,
0.011139503680169582,
-0.0737871527671814,
0.04525187611579895,
-0.006861296948045492,
0.01420858595520258,
0.02986202947795391,
-0.016175605356693268,
0.09520257264375687,
0.039693303406238556,
-0.004765728488564491,
0.02479987032711506,
-0.07271041721105576,
-0.07908724993467331,
-0.02419339120388031,
-0.022489799186587334,
0.05981171503663063,
-0.018310504034161568,
0.01496330089867115,
0.07349308580160141,
0.019100019708275795,
0.05006901174783707,
-0.013517029583454132,
-0.0013473224826157093,
0.03402328863739967,
-0.045726943761110306,
-0.062160033732652664,
0.02234167605638504,
0.040410421788692474,
-0.01623251847922802,
-0.03604624792933464,
0.021488897502422333,
-0.03646758943796158,
0.009153936058282852,
0.021261565387248993,
0.000043159438064321876,
0.0048839435912668705,
0.030170772224664688,
0.036091580986976624,
-0.019587306305766106,
0.030910983681678772,
-0.022016054019331932,
0.031145328655838966,
0.011777442879974842,
-0.02874288335442543,
-0.02919069677591324,
-0.006239788141101599,
0.10272189229726791,
0.053692400455474854,
-0.015166997909545898,
-0.040086548775434494,
-0.004707348998636007,
-0.002911291318014264,
-0.005949971731752157,
-0.019512448459863663,
-0.011714699678122997,
-0.012938318774104118,
-0.024575375020503998,
-0.04411576688289642,
-0.009583656676113605,
0.018035870045423508,
-0.05988398566842079,
0.00416945805773139,
0.046884685754776,
0.02412528358399868,
0.046575192362070084,
-0.005115661304444075,
0.000034910546673927456,
0.00476837856695056,
-0.02170145884156227,
-0.06343096494674683,
0.027845432981848717,
0.024024229496717453,
0.011072395369410515,
0.026599928736686707,
-0.027117015793919563,
-0.01601123809814453,
-0.014697875827550888,
-0.04371307045221329,
0.025324229151010513,
0.04661554470658302,
0.0815042182803154,
-0.023088369518518448,
0.0361773706972599,
-0.01709720492362976,
0.0493839867413044,
-0.004800904076546431,
-0.028699439018964767,
-0.06683177500963211,
-0.06363586336374283,
0.02026469260454178,
0.006236323155462742,
0.058879073709249496,
-0.014217792078852654,
0.014789395034313202,
-0.009624338708817959,
0.032015979290008545,
0.017213672399520874,
0.025801977142691612,
0.003081487026065588,
-0.004066602326929569,
-0.05588451400399208,
-0.03502308204770088,
0.06720203161239624,
-0.038271740078926086,
-0.017476508393883705,
0.013745897449553013,
-0.07106323540210724,
0.07145588099956512,
-0.061976682394742966,
-0.03377208486199379,
0.04823392257094383,
0.035627350211143494,
0.01890839822590351,
0.02402646094560623,
-0.005579519085586071,
0.05096200853586197,
-0.0010494483867660165,
0.0010451964335516095,
0.011470197699964046,
-0.014068975113332272,
0.039774056524038315,
-0.017813755199313164,
0.02313643880188465,
0.05281095206737518,
-0.03777829557657242,
0.033702265471220016,
-0.051514334976673126,
0.012936463579535484,
-0.04481286182999611,
-0.2959618866443634,
0.03150498867034912,
0.005351650062948465,
-0.05464499071240425,
0.036980681121349335,
-0.030378637835383415,
0.004710196051746607,
-0.059553857892751694,
-0.035873670130968094,
-0.007605638820677996,
0.01503421925008297,
-0.05079095438122749,
-0.025301238521933556,
0.047357432544231415,
0.01624157838523388,
0.0068994974717497826,
-0.005644644610583782,
-0.052959322929382324,
0.04364452511072159,
0.041859690099954605,
0.008967516012489796,
-0.03774125501513481,
0.014992177486419678,
0.029359599575400352,
0.031888920813798904,
0.020890139043331146,
-0.06435975432395935,
0.006002094130963087,
-0.03975527733564377,
-0.006352102383971214,
0.03493795171380043,
-0.010990627110004425,
0.016368631273508072,
-0.011803219094872475,
-0.00124157196842134,
-0.03544241562485695,
0.04682506248354912,
0.00893239863216877,
-0.00880273524671793,
-0.010088875889778137,
-0.035412706434726715,
-0.027553806081414223,
-0.0016900311456993222,
-0.01820337399840355,
0.08613854646682739,
0.007888558320701122,
-0.06691443175077438,
-0.020294083282351494,
-0.03210919722914696,
0.06896456331014633,
-0.04501864314079285,
-0.005882075056433678,
-0.021840352565050125,
0.02911323495209217,
-0.04440281540155411,
0.0015701904194429517,
-0.0198617372661829,
-0.007140808738768101,
-0.0683450773358345,
-0.0625343769788742,
-0.016902200877666473,
-0.02144143171608448,
0.004301009234040976,
-0.04477238655090332,
-0.02270619198679924,
-0.04736854135990143,
-0.07064508646726608,
-0.03947437182068825,
0.06299111992120743,
0.008114582858979702,
-0.046510398387908936,
-0.029702434316277504,
-0.03556264191865921,
-0.10602130740880966,
0.013056308031082153,
-0.03716724365949631,
-0.024903418496251106,
0.035787809640169144,
0.02674676477909088,
0.03202814981341362,
-0.03973656892776489,
-0.054005179554224014,
0.029598401859402657,
0.020484762266278267,
0.015513550490140915,
-0.047709956765174866,
0.02211003378033638,
0.006657726597040892,
-0.03862106427550316,
-0.0032509248703718185,
0.04150917008519173,
-0.02940831147134304,
-0.03029612824320793,
-0.007043438032269478,
-0.026012223213911057,
0.0164534542709589,
-0.012544387020170689,
0.0203576497733593,
-0.0011276601580902934,
0.0507943294942379,
0.012918848544359207,
-0.03335286304354668,
-0.004562998656183481,
-0.028925130143761635,
-0.029356209561228752,
-0.013687951490283012,
-0.037473164498806,
0.020191973075270653,
0.018228525295853615,
0.01660819537937641,
-0.014919466339051723,
-0.042772937566041946,
0.0014669258380308747,
-0.037845246493816376,
-0.03813512250781059,
-0.009001657366752625,
0.017652196809649467,
0.00909146387130022,
0.032722096890211105,
-0.051670487970113754,
-0.06443432718515396,
0.0022290553897619247,
-0.009387199766933918,
-0.00981803797185421,
-0.07363805174827576,
-0.030527537688612938,
-0.030626924708485603,
-0.03121132217347622,
0.031031614169478416,
0.044059235602617264,
-0.024338211864233017,
-0.00221645156852901,
0.015003852546215057,
-0.03673700615763664,
0.046266451478004456,
-0.04651414602994919,
-0.0250565018504858,
-0.037314362823963165,
0.03232353925704956,
0.02917921543121338,
-0.028080208227038383,
0.006849026773124933,
0.022807477042078972,
0.028812265023589134,
0.03579127416014671,
0.00028220078092999756,
0.028894690796732903,
0.034346383064985275,
0.0029134652577340603,
0.017598135396838188,
-0.01156799215823412,
-0.004295819438993931,
0.014721556566655636,
-0.031688522547483444,
0.000044479627831606194,
0.0013951691798865795,
0.027962304651737213,
-0.029031751677393913,
-0.025117242708802223,
-0.04291839897632599,
0.00683930329978466,
-0.057126037776470184,
-0.01335118804126978,
0.000574776902794838,
0.0017757972236722708,
0.05004027113318443,
-0.0024929451756179333,
0.04577159136533737,
0.019077949225902557,
-0.036347366869449615,
0.013580729253590107,
0.02817920222878456,
-0.020652122795581818,
0.018364660441875458,
-0.015347684733569622,
-0.0061067924834787846,
-0.009359408169984818,
0.04864444583654404,
0.02096225693821907,
0.029618067666888237,
-0.010908206924796104,
-0.0036972479429095984,
0.0434861034154892,
0.016986995935440063,
0.024981768801808357,
0.06663210690021515,
-0.03595782816410065,
-0.001768796588294208,
-0.018611019477248192,
-0.021917812526226044,
0.00975887943059206,
0.022485276684165,
-0.047125816345214844,
-0.005297320429235697,
-0.030126409605145454,
-0.06452226638793945,
0.009817278943955898,
-0.019228162243962288,
-0.00039177376311272383,
0.0028810047078877687,
-0.024586647748947144,
-0.009825272485613823,
-0.027197523042559624,
0.05400916934013367,
0.029748009517788887,
-0.056897375732660294,
-0.026552967727184296,
0.026490626856684685,
-0.009310548193752766,
0.014855415560305119,
0.00592406140640378,
-0.04729297012090683,
-0.021830661222338676,
-0.01883803680539131,
0.000517230830155313,
-0.024259425699710846,
-0.03947339206933975,
-0.03226355463266373,
0.033058490604162216,
-0.006761095020920038,
0.01680753193795681,
-0.034167200326919556,
-0.00979106966406107,
-0.011457601562142372,
-0.002901419997215271,
0.030849255621433258,
-0.020183198153972626,
-0.014667008072137833,
0.015975667163729668,
-0.021370278671383858,
-0.006559076718986034,
-0.018121585249900818,
0.04126954451203346,
0.030557142570614815,
-0.01202093530446291,
0.023193636909127235,
-0.03380972146987915,
0.00006805489829275757,
-0.004406319465488195,
0.06051478534936905,
0.0021473525557667017,
-0.0023884184192866087,
-0.03332436829805374,
-0.009556771256029606,
-0.03125838190317154,
0.028981786221265793,
0.014908864162862301,
0.010332752950489521,
0.0181802399456501,
0.021969912573695183,
-0.014021516777575016,
0.020382583141326904,
-0.007347397040575743,
-0.0403045192360878,
0.053688060492277145,
-0.04132239148020744,
-0.02610331028699875,
-0.025922147557139397,
-0.04060386121273041,
0.006667196284979582,
0.007475827820599079,
0.0255462396889925,
-0.029143325984477997,
0.059370748698711395,
0.04346994310617447,
0.01668027974665165,
0.05047878995537758,
-0.010588819161057472,
0.01853533461689949,
-0.04308309033513069,
-0.015523579902946949,
-0.07870129495859146,
-0.030246173962950706,
0.023457365110516548,
0.019723517820239067,
-0.023904865607619286,
0.0075563471764326096,
-0.03750932961702347,
0.054011404514312744,
-0.0826900452375412,
-0.03452988713979721,
0.008656905964016914,
-0.0419808104634285,
-0.005227565299719572,
0.03297452628612518,
-0.06098848208785057,
0.03318854048848152,
0.03394659608602524,
-0.03378279507160187,
-0.03689262643456459,
-0.017856966704130173,
0.06432662159204483,
-0.02641124650835991,
0.023670414462685585,
-0.0301872156560421,
-0.019956890493631363,
0.06229458376765251,
0.023687882348895073,
0.014698042534291744,
0.03982629254460335,
-0.02104298770427704,
0.011935189366340637,
0.012351106852293015,
0.004955109674483538,
-0.007561803795397282,
0.031201839447021484,
-0.03635074570775032,
-0.06959892064332962,
0.05648355931043625,
0.002962950151413679,
0.0013481780188158154,
-0.04269740357995033,
0.07577851414680481,
-0.00048096413956955075,
-0.026552576571702957,
-0.05479264631867409,
0.030792826786637306,
-0.044643886387348175,
-0.022537164390087128,
-0.023298241198062897,
0.00012193952716188505,
-0.02124413102865219,
0.05350165069103241,
0.0018959291046485305,
0.019420402124524117,
0.07108932733535767,
-0.005032304674386978,
0.010915081948041916,
-0.0004189446335658431,
0.07558833062648773,
0.06909169256687164,
0.06875914335250854,
-0.004461177624762058,
0.08319958299398422,
-0.020275328308343887,
-0.05196702107787132,
-0.01160118356347084,
0.0011357850162312388,
0.0020686814095824957,
-0.00676704291254282,
-0.014441212639212608,
0.06259869039058685,
-0.02627316303551197,
0.06251457333564758,
-0.021993646398186684,
-0.005459826905280352,
-0.016835810616612434,
-0.0016796851996332407,
0.03454500436782837,
0.07241334021091461,
0.034477267414331436,
0.05134966969490051,
-0.028418682515621185,
-0.03677874803543091,
0.04174790158867836,
-0.00824201013892889,
-0.016609227284789085,
0.040533240884542465,
-0.030878854915499687,
-0.0010396558791399002,
0.02112540975213051,
0.051985740661621094,
0.06608736515045166,
-0.016003906726837158,
-0.020017949864268303,
-0.007635530550032854,
-0.0036316688638180494,
0.038134582340717316,
0.04126382991671562,
-0.009831099770963192,
0.04096992313861847,
-0.0118263466283679,
-0.06365721672773361,
-0.01587275229394436,
-0.025071337819099426,
-0.050980567932128906,
0.017199955880641937,
-0.052630458027124405,
-0.005665966775268316,
-0.01008885633200407,
-0.01814519427716732,
-0.0160380732268095,
-0.035030435770750046,
-0.04825899749994278,
-0.03978327661752701,
-0.051061589270830154,
-0.02526862360537052,
0.0027552417013794184,
-0.011072061955928802,
-0.02108004316687584,
-0.04850200563669205,
-0.008450565859675407,
-0.038224756717681885,
0.020870227366685867,
-0.039523251354694366,
-0.021986007690429688,
0.027092158794403076,
0.011286587454378605,
0.010046366602182388,
0.016740763559937477,
0.05909094214439392,
0.023029446601867676,
-0.019133634865283966,
-0.014839659444987774,
0.034189622849226,
0.052451420575380325,
0.00099101138766855,
0.01575787551701069,
-0.1066836342215538,
-0.014854011125862598,
-0.004231662023812532,
0.001964275725185871,
-0.06251344084739685,
0.004958515055477619,
0.03534771874547005,
0.005931064952164888,
0.047811344265937805,
-0.008413980714976788,
0.00916160549968481,
-0.008770979009568691,
-0.006072562653571367,
-0.003340125782415271,
0.009431286714971066,
0.027608638629317284,
-0.03441116586327553,
0.0870145857334137,
0.03624372184276581,
0.019202131778001785,
-0.02210969105362892,
-0.02763054333627224,
-0.05071231722831726,
0.022421542555093765,
-0.025067567825317383,
-0.031744059175252914,
-0.05781538784503937,
-0.07545120269060135,
-0.047809384763240814,
0.038773685693740845,
-0.04732600972056389,
-0.03491716459393501,
-0.0018769836751744151,
0.018766414374113083,
-0.019293751567602158,
0.0036926225293427706,
-0.03249712660908699,
-0.019660640507936478,
0.0022114000748842955,
-0.005791785661131144,
-0.018506135791540146,
0.04337124526500702,
0.03175125643610954,
0.037959761917591095,
0.01492429431527853,
-0.05363166332244873,
0.000786731019616127,
-0.024638885632157326,
0.03333728387951851,
0.05477243661880493,
-0.0076462263241410255,
0.014595645479857922
] | [
-0.046416714787483215,
-0.032618578523397446,
-0.041740745306015015,
-0.01185501180589199,
0.08426795154809952,
0.003871786640956998,
-0.02221725881099701,
0.016740255057811737,
0.00366282113827765,
0.02115873247385025,
0.005159853491932154,
-0.06305281817913055,
0.0025003014598041773,
0.008334788493812084,
0.06135133281350136,
0.0002484690921846777,
-0.013393585570156574,
-0.07358232885599136,
-0.012975610792636871,
0.05031801015138626,
0.002175677102059126,
-0.031097320839762688,
0.006973946932703257,
-0.00806512776762247,
0.012053211219608784,
0.013185772113502026,
0.05171579867601395,
-0.017240596935153008,
-0.029846005141735077,
-0.21096909046173096,
0.022414542734622955,
-0.025379106402397156,
0.017930055037140846,
-0.005128056742250919,
0.04926958307623863,
0.03009326383471489,
0.0690816342830658,
0.033139340579509735,
0.02567829005420208,
0.016818206757307053,
0.022774485871195793,
-0.010453621856868267,
-0.023159852251410484,
-0.010991238988935947,
0.04941647872328758,
0.01317634154111147,
-0.009616837836802006,
0.022688349708914757,
-0.05160896107554436,
-0.004583387169986963,
-0.03391658514738083,
0.002137064002454281,
0.008269117213785648,
-0.04678686708211899,
-0.001062704250216484,
0.026237113401293755,
0.015443440526723862,
0.06433651596307755,
0.035050973296165466,
0.021257922053337097,
0.03196645900607109,
0.032516345381736755,
-0.19070158898830414,
0.10805141180753708,
-0.0036252622958272696,
0.04451591148972511,
-0.029859622940421104,
-0.010161925107240677,
-0.04667114466428757,
0.0431535430252552,
-0.008956062607467175,
-0.007068797945976257,
-0.007117601577192545,
0.0039208740927278996,
0.010746361687779427,
-0.021844834089279175,
-0.0034572610165923834,
0.0526740737259388,
0.014224286191165447,
-0.05639748275279999,
-0.013151543214917183,
0.05524199828505516,
-0.0069482699036598206,
-0.027004508301615715,
0.03611051291227341,
0.01504491176456213,
-0.018358152359724045,
0.028299840167164803,
-0.02008969336748123,
0.012917140498757362,
0.016885913908481598,
-0.03190384805202484,
0.04089931771159172,
0.011045386083424091,
-0.08943360298871994,
-0.045192405581474304,
0.037347130477428436,
0.033457107841968536,
-0.008011016994714737,
0.4160042107105255,
-0.04410993680357933,
0.02210182696580887,
0.07001668214797974,
0.041629865765571594,
0.01825561188161373,
-0.046243757009506226,
-0.002374212956055999,
-0.04980255663394928,
0.014684580266475677,
-0.010226274840533733,
0.021463455632328987,
-0.035489290952682495,
0.051251549273729324,
-0.07972817867994308,
0.01742858812212944,
-0.03866613656282425,
0.018485285341739655,
0.022863944992423058,
-0.014218991622328758,
0.014553285203874111,
-0.044351521879434586,
-0.0060319239273667336,
0.04151180014014244,
-0.020638927817344666,
0.005558960605412722,
0.04231845587491989,
0.0578153021633625,
0.05153755098581314,
0.046353019773960114,
0.006989623419940472,
0.018991950899362564,
-0.008047454990446568,
-0.07846435159444809,
0.00032722955802455544,
-0.023259270936250687,
-0.010601810179650784,
0.038494277745485306,
-0.040908437222242355,
-0.028910284861922264,
-0.003133307443931699,
-0.00451870821416378,
-0.06563852727413177,
-0.00529834209010005,
0.023499201983213425,
-0.06055771932005882,
0.1430128514766693,
0.0017703379271551967,
-0.023612339049577713,
-0.02573116309940815,
-0.004872459918260574,
-0.013098985888063908,
0.06365391612052917,
0.01754114404320717,
-0.08355918526649475,
0.03128921613097191,
0.04379800334572792,
0.06929592788219452,
0.015581042505800724,
-0.0408986434340477,
0.0018446831963956356,
0.02106977440416813,
-0.05232393741607666,
-0.03274814784526825,
0.04999517276883125,
0.029117587953805923,
-0.16514666378498077,
-0.005171617958694696,
0.01648392342031002,
-0.024344950914382935,
-0.07669957727193832,
0.026868104934692383,
0.02543998509645462,
-0.022557733580470085,
0.011522145941853523,
0.1025034636259079,
-0.022218167781829834,
0.012232341803610325,
0.034320149570703506,
0.05913552641868591,
-0.010324043221771717,
-0.020179228857159615,
-0.04338419809937477,
-0.0726751834154129,
-0.006813748739659786,
-0.05535697937011719,
-0.007041380740702152,
-0.04726571589708328,
-0.014995322562754154,
-0.00953799206763506,
-0.0015053839888423681,
-0.005800263490527868,
0.014627371914684772,
-0.07506851851940155,
0.06835300475358963,
-0.02994256280362606,
-0.03164145350456238,
-0.02694476582109928,
0.002313495147973299,
-0.00318231456913054,
0.003460625419393182,
-0.014345993287861347,
-0.03303734213113785,
-0.08406270295381546,
0.04096592590212822,
-0.041703000664711,
0.02611714042723179,
0.039877165108919144,
-0.0024267672561109066,
0.11679855734109879,
0.01938481628894806,
-0.014016320928931236,
-0.0071073248982429504,
-0.015651987865567207,
-0.026072530075907707,
0.0027093070093542337,
-0.041512083262205124,
0.016823993995785713,
-0.005679251626133919,
0.029108885675668716,
0.03905129432678223,
0.013607336208224297,
-0.06288878619670868,
-0.025647621601819992,
-0.3426090180873871,
-0.09507086127996445,
-0.04690546914935112,
0.01951693929731846,
0.010625741444528103,
-0.08109675347805023,
0.02521718665957451,
0.0001997772342292592,
-0.015782585367560387,
0.0844588652253151,
0.057409241795539856,
0.0001476112665841356,
-0.015020285733044147,
-0.035554978996515274,
-0.00031718419631943107,
0.015603444539010525,
-0.0227337796241045,
0.011381919495761395,
-0.03967851772904396,
0.05220593512058258,
0.011740898713469505,
-0.023296814411878586,
-0.057013802230358124,
-0.03609774261713028,
-0.0032967706210911274,
-0.02864927612245083,
0.13088901340961456,
0.04704340919852257,
0.01178671233355999,
-0.04220056161284447,
0.021277496591210365,
0.03677237778902054,
-0.02906152606010437,
-0.11636945605278015,
-0.016445662826299667,
0.018811866641044617,
0.004165156278759241,
-0.010095654986798763,
-0.007243416737765074,
-0.04824884235858917,
-0.02731349691748619,
0.030125273391604424,
-0.03606559708714485,
-0.02935737930238247,
-0.057164840400218964,
0.02924313023686409,
0.0010460029589012265,
-0.027381975203752518,
0.000749681203160435,
0.06467628479003906,
-0.011671801097691059,
-0.014285526238381863,
0.01785394735634327,
0.02048000693321228,
-0.01904108002781868,
-0.006526645738631487,
-0.05331410840153694,
-0.009902311488986015,
-0.040403399616479874,
0.021989615634083748,
-0.029534928500652313,
0.008645791560411453,
0.019926104694604874,
-0.06562911719083786,
-0.014252514578402042,
0.006767806597054005,
-0.00864881370216608,
0.020439568907022476,
-0.00870069582015276,
-0.0033806415740400553,
-0.0011339412303641438,
0.09958463907241821,
-0.04176132008433342,
-0.017485709860920906,
0.01397655252367258,
0.046412765979766846,
0.016014644876122475,
0.053376585245132446,
0.043487146496772766,
-0.002956336596980691,
0.034933678805828094,
-0.002346814377233386,
0.03929466754198074,
-0.026129065081477165,
-0.014195891097187996,
0.0450446642935276,
-0.008940188214182854,
-0.020561276003718376,
0.05224556103348732,
0.01954044960439205,
-0.005537960212677717,
0.0022798501886427402,
-0.04352519288659096,
-0.010672363452613354,
0.04159438982605934,
0.003897623158991337,
-0.24013134837150574,
0.03700689971446991,
0.02254566363990307,
0.056228186935186386,
0.03514359891414642,
-0.014733132906258106,
0.033230431377887726,
-0.030812222510576248,
0.010571351274847984,
-0.002737277653068304,
0.009259706363081932,
0.07034716010093689,
-0.00015891410293988883,
-0.029656725004315376,
-0.018903043121099472,
0.007725709117949009,
0.02293485775589943,
0.03190125524997711,
-0.013336008414626122,
0.03364899009466171,
0.010632533580064774,
-0.028098294511437416,
0.13940086960792542,
0.021952060982584953,
0.005732063204050064,
0.007991842925548553,
-0.015854831784963608,
0.011220365762710571,
0.03041324019432068,
0.0016486425884068012,
0.0050440216436982155,
-0.02923738956451416,
-0.0003329789324197918,
0.006574058905243874,
0.02052617259323597,
-0.050993192940950394,
-0.018434420228004456,
0.005853037349879742,
0.015137182548642159,
-0.033798232674598694,
0.040669213980436325,
0.007815351709723473,
-0.01451957318931818,
0.015159843489527702,
0.07535603642463684,
0.011065701022744179,
0.017749235033988953,
-0.01806294359266758,
-0.03697450831532478,
0.01075394544750452,
-0.00983148068189621,
-0.054396916180849075,
-0.03465092554688454,
0.05014723539352417,
0.0324820801615715,
0.07752656191587448,
0.02919100597500801,
0.004178300499916077,
0.03335859999060631,
0.007583105470985174,
-0.0516650415956974,
-0.04158833622932434,
0.08313937485218048,
-0.00040637102210894227,
0.0520104356110096
] | [
0.03346720710396767,
0.019851699471473694,
-0.024898573756217957,
0.044286925345659256,
-0.005275822710245848,
0.01667780615389347,
-0.01125483587384224,
-0.02631833590567112,
-0.025173284113407135,
-0.021275538951158524,
-0.008417131379246712,
-0.00718141533434391,
0.046375617384910583,
-0.007120216265320778,
0.023557063192129135,
0.00883916299790144,
-0.01388362143188715,
-0.01985383965075016,
0.017475740984082222,
-0.011131997220218182,
-0.03861871734261513,
0.01810026355087757,
0.043236929923295975,
0.02467295527458191,
-0.007521488703787327,
0.03614410012960434,
-0.032827772200107574,
-0.004920448642224073,
0.03371591866016388,
-0.13109561800956726,
0.0069447169080376625,
-0.017848988994956017,
-0.007695450913161039,
0.009986227378249168,
0.014067224226891994,
-0.010167690925300121,
0.023800497874617577,
-0.019395114853978157,
0.016463959589600563,
0.01789151504635811,
-0.012095761485397816,
-0.019922658801078796,
-0.023440977558493614,
0.02397199720144272,
-0.01331379171460867,
0.0027508526109158993,
-0.04013383015990257,
0.02132626622915268,
-0.016483280807733536,
-0.00012045435869367793,
-0.026043085381388664,
-0.0186455100774765,
-0.046041060239076614,
-0.017603395506739616,
0.02249496430158615,
-0.05581881105899811,
-0.03747139498591423,
-0.013887649402022362,
0.02317066490650177,
-0.070013627409935,
0.008466236293315887,
-0.006389324553310871,
-0.0025571221485733986,
-0.022742532193660736,
-0.016626087948679924,
-0.019282639026641846,
-0.0126630375161767,
-0.003893730929121375,
0.02048802189528942,
-0.010120930150151253,
-0.03659500181674957,
0.02050214819610119,
-0.02833186462521553,
-0.026003440842032433,
-0.03026391752064228,
-0.02525676041841507,
0.039962247014045715,
-0.019905630499124527,
-0.010996478609740734,
-0.005717470310628414,
-0.00037119214539416134,
0.016713710501790047,
0.003754270263016224,
0.05676949396729469,
0.03104628250002861,
-0.0580412894487381,
-0.014400043524801731,
0.023533383384346962,
0.021102052181959152,
0.004567887168377638,
-0.03940344974398613,
0.009862343780696392,
0.016793763265013695,
0.03743571788072586,
-0.09044605493545532,
-0.010429920628666878,
0.015643704682588577,
0.015123783610761166,
-0.0066884104162454605,
0.8339587450027466,
-0.0051209526136517525,
0.005324083846062422,
-0.007312668487429619,
0.02080971747636795,
-0.010088378563523293,
-0.02153272181749344,
-0.016378700733184814,
0.002990028588101268,
-0.012342602014541626,
-0.04191199690103531,
0.015680309385061264,
0.02125832438468933,
0.018401166424155235,
0.016617264598608017,
0.023976486176252365,
0.01948467083275318,
0.05478358268737793,
-0.0051429783925414085,
-0.002898129401728511,
0.021735554561018944,
0.01526844222098589,
0.03409188240766525,
0.019203294068574905,
0.0016971721779555082,
0.015910392627120018,
-0.15453201532363892,
0.015989448875188828,
-6.23634209789382e-33,
0.043604977428913116,
-0.029926393181085587,
0.0247544776648283,
-0.004859803710132837,
-0.007265729829668999,
0.012811615131795406,
-0.0014132404467090964,
-0.0049264095723629,
-0.00501971272751689,
-0.03916991129517555,
-0.017139475792646408,
0.008446025662124157,
0.03959352523088455,
-0.018029946833848953,
0.049705423414707184,
-0.00602329708635807,
-0.011838671751320362,
0.0492519810795784,
0.0008148991619236767,
0.001738166669383645,
0.02378249727189541,
0.02485549822449684,
0.005125611089169979,
0.005226768087595701,
-0.000677711155731231,
0.05126101151108742,
0.037790678441524506,
0.0056810686364769936,
0.012796273455023766,
-0.05069568753242493,
-0.0022734308149665594,
0.016378136351704597,
0.0014116376405581832,
-0.01754225604236126,
-0.016226964071393013,
-0.038403719663619995,
-0.023136548697948456,
-0.017230356112122536,
-0.012177171185612679,
-0.051637906581163406,
-0.04788966849446297,
0.025724250823259354,
-0.020492907613515854,
-0.06366414576768875,
-0.025930235162377357,
-0.0003897870483342558,
-0.009319078177213669,
0.018158787861466408,
0.0005384497926570475,
-0.006676481571048498,
0.001282092765904963,
-0.005842865910381079,
-0.02163337543606758,
0.003144674003124237,
-0.02320837788283825,
0.0008470411412417889,
0.014262782409787178,
0.009687676094472408,
0.026086201891303062,
-0.032461654394865036,
0.023675326257944107,
-0.04225394129753113,
0.015536452643573284,
0.029461197555065155,
0.021326789632439613,
0.016502821817994118,
0.014735952019691467,
0.04043281078338623,
0.006409510970115662,
0.0300948154181242,
-0.031894098967313766,
0.026630345731973648,
-0.018566319718956947,
-0.022086990997195244,
0.018158847466111183,
-0.02746989019215107,
0.0027563299518078566,
-0.008503587916493416,
-0.017838606610894203,
0.08160913735628128,
0.03179454803466797,
-0.019681116566061974,
0.013317350298166275,
-0.03281928226351738,
-0.010520324110984802,
-0.022862864658236504,
0.0523100271821022,
0.015951557084918022,
-0.013890882022678852,
0.008102623745799065,
0.022179244086146355,
0.00749106565490365,
0.007820364087820053,
-0.03571845963597298,
-0.017276164144277573,
6.395135956326557e-33,
0.0005818323697894812,
0.009850811213254929,
-0.002357141114771366,
0.005050167441368103,
0.0017271358519792557,
-0.020184505730867386,
0.009066851809620857,
0.027504805475473404,
-0.03653262183070183,
0.06112520396709442,
0.011922486126422882,
-0.03308706730604172,
-0.020396940410137177,
0.04666357487440109,
0.05573493614792824,
-0.007347872015088797,
0.014035898260772228,
-0.015798745676875114,
0.03632024675607681,
0.027100540697574615,
-0.0024320867378264666,
0.003485501278191805,
0.009484629146754742,
0.016924528405070305,
0.027164429426193237,
0.04045615345239639,
0.000892884680069983,
-0.021708961576223373,
-0.003501405706629157,
-0.006485560908913612,
-0.006237551104277372,
-0.04694042354822159,
-0.009663449600338936,
-0.027858678251504898,
-0.00865174364298582,
0.04783949255943298,
-0.01623573526740074,
-0.014244056306779385,
0.016505524516105652,
-0.013682831078767776,
0.012406033463776112,
0.026774650439620018,
0.008086237125098705,
0.0028160300571471453,
-0.004464761354029179,
0.013708078302443027,
-0.0016635381616652012,
0.026584595441818237,
-0.01741074211895466,
0.013283795677125454,
0.0074878293089568615,
0.020628882572054863,
-0.002186709316447377,
0.01929697021842003,
0.0030853860080242157,
-0.023960178717970848,
-0.001900004455819726,
0.010688754729926586,
-0.03571728989481926,
-0.024082772433757782,
-0.03821510821580887,
-0.0037245710846036673,
-0.04940129071474075,
0.005272763315588236,
-0.04213068261742592,
-0.018910517916083336,
-0.08126084506511688,
-0.04208548739552498,
0.014719118364155293,
0.027845006436109543,
-0.003108968958258629,
-0.02026677504181862,
0.021597713232040405,
0.03274941444396973,
0.017859024927020073,
0.015781298279762268,
-0.013061949983239174,
0.04141572117805481,
-0.022751551121473312,
0.02430722303688526,
0.00402111979201436,
-0.010420205071568489,
0.033964093774557114,
-0.01314399391412735,
-0.0049262274987995625,
-0.01223564799875021,
-0.03769709914922714,
0.018344871699810028,
0.010401524603366852,
-0.006746345199644566,
0.006588880438357592,
-0.05788173899054527,
-0.002951465779915452,
0.03085688129067421,
0.02469499781727791,
-1.2351418554601423e-8,
-0.07263128459453583,
-0.027708545327186584,
-0.015055947005748749,
0.03650382533669472,
-0.0023197901900857687,
0.001781635801307857,
0.012452268972992897,
-0.013547061942517757,
-0.02196381986141205,
0.003927126061171293,
0.1059013307094574,
-0.031205903738737106,
-0.011884904466569424,
0.010520887561142445,
-0.006349298171699047,
-0.04557371884584427,
0.02255283109843731,
-0.02493486925959587,
0.04499993100762367,
-0.011409755796194077,
0.0023143095895648003,
-0.00818516407161951,
0.02652864344418049,
0.007151613477617502,
0.023090993985533714,
0.017039000988006592,
0.016640804708003998,
-0.08226647973060608,
-0.0194796621799469,
-0.03718788921833038,
0.006749443244189024,
-0.03306841477751732,
-0.02568008005619049,
0.02093392051756382,
-0.01906117983162403,
-0.029167605563998222,
-0.014442185871303082,
0.0353105328977108,
-0.011109099723398685,
0.011134667322039604,
0.025461900979280472,
-0.010300809517502785,
-0.02030990831553936,
-0.02271227166056633,
-0.008213106542825699,
0.024372585117816925,
-0.016301076859235764,
0.003193771233782172,
0.032053541392087936,
-0.05404742807149887,
0.01757950708270073,
-0.031123146414756775,
0.049039438366889954,
0.004492522682994604,
0.018683085218071938,
0.0365779772400856,
0.031007440760731697,
-0.015111922286450863,
-0.009589205496013165,
0.0071886684745550156,
0.016190309077501297,
0.028144093230366707,
-0.016915028914809227,
-0.03291034325957298
] | famous-mps-wikipedia-pageviews | https://markhneedham.com/blog/2019/04/01/famous-mps-wikipedia-pageviews |
false | 2019-04-14 12:52:00 | Neo4j: Delete all nodes | [
"neo4j",
"cypher",
"apoc"
] | [
"Neo4j"
] | When experimenting with a new database, at some stage we'll probably want to delete all our data and start again.
I was trying to do this with Neo4j over the weekend and it didn't work as I expected, so I thought I'd write the lessons I learned.
We'll be using Neo4j via the https://neo4j.com/developer/neo4j-desktop/[Neo4j Desktop^] with the default settings.
This means that we have a maximum heap size of 1GB.
_This blog post assumes that you've got the https://neo4j.com/developer/neo4j-apoc/[Neo4j APOC^] library installed._
_We can find https://neo4j-contrib.github.io/neo4j-apoc-procedures/#_installation_with_neo4j_desktop[instructions for installing that library in the docs^]._
== Cypher Shell
In this post we'll be executing Cypher queries using the https://neo4j.com/docs/operations-manual/current/tools/cypher-shell/[Cypher Shell^].
We can launch that from the Neo4j Desktop like this:
image::{{<siteurl>}}/uploads/2019/04/cypher-shell.png[]
== Creating data
Once we've done that we're ready to create 1 million nodes using APOC's https://neo4j-contrib.github.io/neo4j-apoc-procedures/#commit-batching[periodic iterate^] procedure.
[source,cypher]
----
neo4j> CALL apoc.periodic.iterate(
'UNWIND range(1, 1000000) as id RETURN id',
'CREATE (:Node {id: id})',
{}
)
YIELD timeTaken, operations
RETURN timeTaken, operations;
+-------------------------------------------------------------------------+
| timeTaken | operations |
+-------------------------------------------------------------------------+
| 8 | {total: 1000000, committed: 1000000, failed: 0, errors: {}} |
+-------------------------------------------------------------------------+
1 row available after 8249 ms, consumed after another 0 ms
----
Let's check how many nodes our database contains:
[source, cypher]
----
neo4j> MATCH () RETURN count(*);
+----------+
| count(*) |
+----------+
| 1000000 |
+----------+
1 row available after 0 ms, consumed after another 0 ms
----
Great, 1 million nodes, all ready to be deleted!
== Deleting nodes
My first attempt to delete all this nodes was the following query, which finds all the nodes and then attempts to delete them:
[source, cypher]
----
neo4j> MATCH (n)
DETACH DELETE n;
There is not enough memory to perform the current task. Please try increasing 'dbms.memory.heap.max_size' in the neo4j configuration (normally in 'conf/neo4j.conf' or, if you you are using Neo4j Desktop, found through the user interface) or if you are running an embedded installation increase the heap by using '-Xmx' command line flag, and then restart the database.
----
Hmmm, an OutOfMemory exception.
I had some ideas as to why that might be happening, but it's best to get a heap dump to know for sure.
We can add the following lines to the Neo4j settings or configuration file to create a heap dump when an OutOfMemory exception is thrown:
[source, text]
----
dbms.jvm.additional=-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/neo4jdump.hprof
----
If you're using the Neo4j Desktop, you can find this file from the 'Settings' tab:
image::{{<siteurl>}}/uploads/2019/04/settings.png[]
We can visualise the contents of this file using a tool like https://www.yourkit.com/[YourKit^] or https://visualvm.github.io/[VisualVM^].
I have VisualVM installed on my machine, so we'll use that.
Below is a print screen showing the heap dump:
image::{{<siteurl>}}/uploads/2019/04/hdump.png[]
Many of the classes taking up space on the heap are used to create the commands that get stored in the https://neo4j.com/docs/operations-manual/current/configuration/transaction-logs/[transaction log^] whenever we execute a write query.
== Batching deletes
We need to delete our nodes in batches so that we don't end up with so much in memory state.
My go to procedure is `apoc.periodic.iterate`, so let's give that a try:
[source,cypher]
----
CALL apoc.periodic.iterate(
'MATCH (n) RETURN n',
'DELETE n',
{batchSize: 10000}
)
YIELD timeTaken, operations
RETURN timeTaken, operations
----
I found that sometimes this works, but sometimes we end up with the whole heap being filled, and a lot of garbage collection pauses:
image::{{<siteurl>}}/uploads/2019/04/gc.png[]
We can also see all the GC pauses by searching the debug log, which we can access via the 'Terminal' tab:
[source, bash]
----
$ grep VmPauseMonitorComponent logs/debug.log | tail -n 10
2019-04-14 16:14:22.377+0000 WARN [o.n.k.i.c.VmPauseMonitorComponent] Detected VM stop-the-world pause: {pauseTime=9143, gcTime=4619, gcCount=7}
2019-04-14 16:14:28.845+0000 WARN [o.n.k.i.c.VmPauseMonitorComponent] Detected VM stop-the-world pause: {pauseTime=6367, gcTime=6451, gcCount=10}
2019-04-14 16:14:35.730+0000 WARN [o.n.k.i.c.VmPauseMonitorComponent] Detected VM stop-the-world pause: {pauseTime=2131, gcTime=6875, gcCount=12}
2019-04-14 16:14:44.455+0000 WARN [o.n.k.i.c.VmPauseMonitorComponent] Detected VM stop-the-world pause: {pauseTime=9080, gcTime=4523, gcCount=5}
2019-04-14 16:14:46.721+0000 WARN [o.n.k.i.c.VmPauseMonitorComponent] Detected VM stop-the-world pause: {pauseTime=6364, gcTime=6449, gcCount=18}
2019-04-14 16:15:09.106+0000 WARN [o.n.k.i.c.VmPauseMonitorComponent] Detected VM stop-the-world pause: {pauseTime=19938, gcTime=22355, gcCount=28}
2019-04-14 16:15:13.288+0000 WARN [o.n.k.i.c.VmPauseMonitorComponent] Detected VM stop-the-world pause: {pauseTime=6428, gcTime=4176, gcCount=7}
2019-04-14 16:15:17.807+0000 WARN [o.n.k.i.c.VmPauseMonitorComponent] Detected VM stop-the-world pause: {pauseTime=4418, gcTime=4515, gcCount=5}
2019-04-14 16:16:00.108+0000 WARN [o.n.k.i.c.VmPauseMonitorComponent] Detected VM stop-the-world pause: {pauseTime=19724, gcTime=42279, gcCount=40}
2019-04-14 16:16:00.209+0000 WARN [o.n.k.i.c.VmPauseMonitorComponent] Detected VM stop-the-world pause: {pauseTime=22476, gcTime=10, gcCount=1}
----
If we take a heap dump using VisualVM, we'll see something like this:
image::{{<siteurl>}}/uploads/2019/04/heap-periodic.png[]
This time it's not commands that are taking up the space, but rather objects holding all the nodes that we want to delete.
To avoid loading all those nodes into memory, we can use the `apoc.periodic.commit` procedure instead.
With this procedure we provide one query that must contain a `LIMIT` clause.
We also need to include a `RETURN` clause at the end of our query, and as long as a result is returned, it will keep on iterating.
[source,cypher]
----
neo4j> CALL apoc.periodic.commit(
'MATCH (n) WITH n LIMIT $limit DELETE n RETURN count(*)',
{limit: 10000}
)
YIELD updates, executions, runtime, batches
RETURN updates, executions, runtime, batches;
+------------------------------------------+
| updates | executions | runtime | batches |
+------------------------------------------+
| 1000000 | 100 | 7 | 101 |
+------------------------------------------+
1 row available after 7540 ms, consumed after another 0 ms
----
Good times! All the nodes are deleted and we can get on with our day.
////
[source,cypher]
----
CREATE INDEX ON :Node(id)
----
[source,cypher]
----
CALL apoc.periodic.iterate(
'WITH ["FOO", "BAR", "BAX"] AS prefixes
UNWIND prefixes AS prefix
UNWIND range(0, 100000) AS id
RETURN prefix, id',
'MERGE (node1:Node {id: id + prefix})
MERGE (node2:Node {id: (id+1) + prefix})
WITH node1, node2, prefix, id
CALL apoc.create.relationship(node1, prefix + "_" + toInteger(rand() * 10.0), {}, node2)
YIELD rel
RETURN count(*)', {})
YIELD operations
RETURN operations
----
What if we want to delete all the relationships with the `BAX` prefix?
//// | Learn how to delete all the nodes in a Neo4j Database | null | [
0.010561274364590645,
-0.0068884920328855515,
-0.0036655340809375048,
0.04151686653494835,
0.0953177660703659,
0.011699313297867775,
0.022013792768120766,
0.040287382900714874,
-0.0000789318946772255,
-0.011565789580345154,
-0.01153812650591135,
-0.028951868414878845,
-0.06766758859157562,
0.007823088206350803,
0.002612472278997302,
0.04611155763268471,
0.061276208609342575,
0.007824684493243694,
0.031209321692585945,
-0.012933244928717613,
0.025982322171330452,
0.0394890122115612,
0.002035710262134671,
0.06347617506980896,
0.03871770575642586,
0.01680159755051136,
0.006720894947648048,
-0.007266889326274395,
-0.05140029639005661,
-0.011039731092751026,
0.051822878420352936,
-0.013330626301467419,
0.01743728667497635,
-0.006381107959896326,
0.0460197813808918,
-0.0015704917022958398,
-0.05182134732604027,
0.01679658330976963,
-0.019069600850343704,
-0.012912028469145298,
-0.06971962749958038,
0.03093957155942917,
-0.019276989623904228,
0.014220423065125942,
-0.038114890456199646,
-0.007772933691740036,
-0.040515221655368805,
0.03250012919306755,
0.0007656904053874314,
-0.00040216484921984375,
-0.10040141642093658,
0.02231203392148018,
-0.003774260636419058,
-0.011953317560255527,
-0.00443974370136857,
0.03329278156161308,
0.02139359712600708,
-0.06239324435591698,
0.03895985335111618,
-0.018122011795639992,
0.008458388037979603,
-0.02492382377386093,
0.003429551376029849,
0.03195202350616455,
0.006500497926026583,
-0.054927561432123184,
0.02487289533019066,
0.05839536339044571,
-0.04054984077811241,
-0.0026068587321788073,
0.001598980976268649,
0.0011490735923871398,
-0.023575330153107643,
-0.013350539840757847,
0.000757436384446919,
-0.0676058828830719,
0.012753896415233612,
0.04272032529115677,
0.03652503341436386,
0.06708989292383194,
-0.02741468884050846,
0.00850213598459959,
0.02278122864663601,
0.030047457665205002,
0.003393847029656172,
-0.029062096029520035,
-0.03848661482334137,
-0.016388345509767532,
-0.05694674700498581,
0.029825009405612946,
0.019242292270064354,
-0.04248856380581856,
0.007748206611722708,
-0.00018744840053841472,
-0.03411707282066345,
0.03217325359582901,
-0.011947786435484886,
0.024113377556204796,
0.030671073123812675,
0.010552844032645226,
-0.028422823175787926,
-0.022520164027810097,
-0.016811152920126915,
0.0062582362443208694,
-0.06830291450023651,
-0.013911032117903233,
-0.04556305333971977,
-0.027496803551912308,
0.001332156010903418,
-0.024201728403568268,
-0.016059527173638344,
0.006847497075796127,
-0.003916442394256592,
0.015869921073317528,
-0.09668146073818207,
0.07079076021909714,
0.024394787847995758,
-0.01355708111077547,
-0.008450530469417572,
0.0050413343124091625,
0.04427989572286606,
0.03893011808395386,
0.0008195288246497512,
0.05712804198265076,
-0.03314672410488129,
0.033271096646785736,
0.022032126784324646,
0.03768211230635643,
-0.0014699369203299284,
-0.07111942023038864,
-0.012460180558264256,
0.060200367122888565,
0.017770346254110336,
0.004002467263489962,
-0.005343758035451174,
-0.021268710494041443,
-0.01650223135948181,
0.022768549621105194,
0.08724157512187958,
0.02186904288828373,
0.0032105022110044956,
-0.06699232012033463,
0.030364874750375748,
0.0029049692675471306,
0.03981580585241318,
0.021164754405617714,
-0.021963365375995636,
-0.04317089542746544,
-0.022802826017141342,
-0.004318660590797663,
0.02229555882513523,
0.03994229808449745,
0.03132910653948784,
-0.02577505074441433,
0.010505717247724533,
0.1142449751496315,
0.01903562992811203,
-0.003849754109978676,
-0.031980641186237335,
0.02126188948750496,
0.04427831247448921,
0.02868906408548355,
0.004000488668680191,
0.05410563573241234,
-0.022551314905285835,
-0.01677079312503338,
0.009605464525520802,
0.06293151527643204,
-0.013187007047235966,
0.01857849769294262,
-0.04456423968076706,
-0.05568624660372734,
0.05161372199654579,
-0.05657460168004036,
-0.018935061991214752,
0.06433826684951782,
0.06517540663480759,
0.014630681835114956,
0.002359350211918354,
0.013996897265315056,
-0.0813560038805008,
0.06878428161144257,
0.007002458907663822,
0.01056694332510233,
0.002261569956317544,
-0.007646144367754459,
0.07744476944208145,
0.03379746153950691,
0.018583975732326508,
0.0289896409958601,
-0.08827701956033707,
-0.07500509172677994,
0.005189888179302216,
0.0011730592232197523,
0.05466928333044052,
-0.02331727370619774,
-0.00292210397310555,
0.044672947376966476,
0.011239240877330303,
0.025591565296053886,
0.00868832878768444,
0.0006498366128653288,
0.044908180832862854,
-0.07769521325826645,
-0.061975136399269104,
0.0400465689599514,
0.006574308965355158,
-0.05230310931801796,
-0.04674351587891579,
0.011916602961719036,
-0.03191347420215607,
-0.00763660529628396,
0.02623092755675316,
-0.02447308786213398,
0.04474550858139992,
0.005583341233432293,
0.017034096643328667,
-0.021782824769616127,
0.02144535630941391,
-0.03641912713646889,
0.02846030704677105,
0.013658301904797554,
-0.026659458875656128,
0.011848420836031437,
0.006606278009712696,
0.09708167612552643,
0.043678101152181625,
-0.04599177837371826,
-0.045933451503515244,
0.03560295328497887,
0.025684840977191925,
-0.030115362256765366,
0.005710539408028126,
-0.021474864333868027,
0.003512103110551834,
0.01672019064426422,
-0.02617497369647026,
-0.02590290829539299,
-0.008682424202561378,
-0.020474588498473167,
-0.000417572126025334,
0.05260400101542473,
-0.012690689414739609,
0.05620521306991577,
0.02605905570089817,
-0.0034293592907488346,
-0.0033109034411609173,
-0.03269048407673836,
-0.05354856327176094,
0.022692618891596794,
0.029994405806064606,
-0.011964790523052216,
0.06354667991399765,
-0.010009496472775936,
0.005639439914375544,
-0.05829991400241852,
-0.00900969933718443,
0.03545542433857918,
0.014721089974045753,
0.0645468533039093,
-0.009288668632507324,
0.04406338557600975,
-0.04494284465909004,
0.021421309560537338,
-0.004564099945127964,
-0.057177986949682236,
-0.027515176683664322,
-0.029790928587317467,
0.025577064603567123,
-0.006784053519368172,
0.0038644003216177225,
-0.02755764313042164,
0.04170772060751915,
-0.011868873611092567,
0.028216205537319183,
-0.022119397297501564,
0.029730133712291718,
-0.001198971294797957,
-0.02464628778398037,
-0.04107602313160896,
-0.026951191946864128,
0.056806862354278564,
-0.05721919611096382,
-0.01544332504272461,
0.005002140067517757,
-0.03749114274978638,
0.07210175693035126,
-0.07929951697587967,
-0.04951348155736923,
-0.010655021294951439,
0.019078003242611885,
0.05100001022219658,
0.010760623030364513,
0.01570354588329792,
0.08981052041053772,
0.015574765391647816,
0.013353663496673107,
-0.008336660452187061,
0.0006584448856301606,
0.04182248190045357,
-0.014254127629101276,
0.03310351446270943,
0.02943328581750393,
-0.021836761385202408,
-0.002346786903217435,
-0.03521094471216202,
0.0052135479636490345,
-0.021065689623355865,
-0.2760436534881592,
0.05725468322634697,
-0.026197439059615135,
-0.054036080837249756,
-0.007007502019405365,
-0.038495272397994995,
-0.01887957565486431,
-0.01478941086679697,
-0.027780836448073387,
0.015860816463828087,
-0.026919081807136536,
-0.0317227840423584,
-0.019010894000530243,
0.05211912840604782,
0.018213076516985893,
0.05071282759308815,
0.013503840193152428,
-0.020592503249645233,
-0.01204396691173315,
0.01776786521077156,
0.000562844448722899,
-0.05162281543016434,
0.001320075010880828,
-0.002071146620437503,
0.027738068252801895,
0.0459238700568676,
-0.07194170355796814,
0.04068659618496895,
-0.060708094388246536,
-0.027617210522294044,
-0.0021252650767564774,
-0.03234173730015755,
0.02356993407011032,
0.003669245634227991,
-0.021714501082897186,
-0.011135905049741268,
0.026812097057700157,
-0.004943317733705044,
0.006872450467199087,
0.007673338055610657,
-0.028556697070598602,
-0.06915523111820221,
-0.011274971999228,
0.01083189807832241,
0.08213941752910614,
0.013657339848577976,
-0.08041665703058243,
-0.016380295157432556,
-0.011880485340952873,
0.061252351850271225,
-0.01940152607858181,
-0.03091786801815033,
-0.027331095188856125,
0.024636054411530495,
-0.034522756934165955,
-0.01609731651842594,
-0.01990068145096302,
0.018285440281033516,
-0.06601643562316895,
-0.023290187120437622,
0.004653092939406633,
-0.03589731827378273,
0.014909021556377411,
-0.03799726441502571,
-0.0032458126079291105,
-0.048499178141355515,
-0.07183466106653214,
-0.02949337102472782,
0.06066480651497841,
0.028317784890532494,
-0.015157574787735939,
0.03414696082472801,
-0.0005153159145265818,
-0.09543708711862564,
-0.046203188598155975,
-0.04375740513205528,
-0.017340175807476044,
0.027230817824602127,
-0.03291689604520798,
0.07019728422164917,
-0.04092617705464363,
-0.02972029708325863,
0.012009182944893837,
0.013339890167117119,
0.015162015333771706,
0.000057182838645530865,
0.009723285213112831,
-0.0033335937187075615,
-0.02122410386800766,
0.037216007709503174,
0.06847043335437775,
-0.030190642923116684,
-0.010051185265183449,
0.008121658116579056,
0.0031302247662097216,
0.015794968232512474,
0.0004561966343317181,
0.0005806871340610087,
0.02307831309735775,
0.020220579579472542,
0.052725307643413544,
-0.016573194414377213,
0.02096935175359249,
-0.03919076547026634,
-0.024303236976265907,
-0.019169392064213753,
-0.053252074867486954,
0.022861693054437637,
0.029679270461201668,
0.037876322865486145,
0.007969362661242485,
0.005525337066501379,
0.035030003637075424,
-0.06237823888659477,
-0.027409572154283524,
0.002272717421874404,
0.014697314240038395,
0.011685491539537907,
0.04374155029654503,
-0.03189732879400253,
-0.08136971294879913,
0.03401384875178337,
0.03373299911618233,
-0.0049964990466833115,
-0.045084018260240555,
-0.039391469210386276,
-0.015426854602992535,
-0.020144978538155556,
-0.01455424539744854,
0.01747981086373329,
-0.026633363217115402,
0.03870828449726105,
0.026631658896803856,
-0.01784369722008705,
0.0315689742565155,
-0.02534831315279007,
-0.03171132504940033,
-0.06009403243660927,
0.030132848769426346,
0.006438476033508778,
-0.011622573249042034,
0.030387032777071,
0.009033121168613434,
0.04781268164515495,
0.03733653575181961,
0.015919430181384087,
0.0280042365193367,
-0.006677922792732716,
0.03622772544622421,
-0.004065090324729681,
-0.004742395598441362,
-0.05355821177363396,
0.012541481293737888,
-0.049370743334293365,
-0.03708286210894585,
-0.020358817651867867,
0.049239467829465866,
-0.03927530348300934,
-0.024716412648558617,
-0.025832705199718475,
-0.0014257546281442046,
-0.07153837382793427,
-0.0027324899565428495,
-0.0365462563931942,
-0.0068892305716872215,
0.06226546689867973,
-0.011906484141945839,
0.02270359732210636,
-0.024734152480959892,
-0.009814429096877575,
0.026626888662576675,
0.01014412846416235,
-0.04623715952038765,
0.00018784977146424353,
0.024880724027752876,
0.0037089483812451363,
0.021234678104519844,
0.03664996102452278,
0.028091393411159515,
0.022650400176644325,
-0.009249878115952015,
0.0019894943106919527,
0.014673089608550072,
-0.009799459017813206,
0.049656081944704056,
0.048825953155756,
-0.034045252948999405,
0.012358532287180424,
-0.03488818556070328,
-0.01954592391848564,
-0.03153057396411896,
-0.003940225578844547,
-0.02186272293329239,
0.000032115862268256024,
-0.0036543821915984154,
-0.060785338282585144,
0.05786922574043274,
0.009819841012358665,
-0.0020332420244812965,
0.05932203307747841,
0.010563092306256294,
-0.00976353045552969,
-0.023646242916584015,
0.05150873586535454,
0.051358334720134735,
-0.04872852563858032,
-0.024198995903134346,
0.005957453511655331,
0.010306921787559986,
0.0102105513215065,
0.023061642423272133,
-0.040705084800720215,
-0.03353719040751457,
0.0014291098341345787,
0.02210312709212303,
-0.013596337288618088,
-0.047328460961580276,
-0.011437306180596352,
-0.008270777761936188,
-0.014288078062236309,
0.007922518998384476,
0.027441008016467094,
0.007903074845671654,
-0.0309404619038105,
-0.02009863220155239,
0.034808654338121414,
-0.020233767107129097,
-0.03141161799430847,
0.0010794263798743486,
-0.020980210974812508,
0.024548370391130447,
-0.023736508563160896,
0.024970615282654762,
0.013776319101452827,
-0.007461925502866507,
0.002755991416051984,
-0.04092402383685112,
0.0272420272231102,
-0.016096236184239388,
0.055551785975694656,
-0.02743065357208252,
0.0016650705365464091,
-0.03113389015197754,
-0.0013229679316282272,
-0.030904917046427727,
-0.008716202341020107,
-0.023205287754535675,
-0.004575932864099741,
0.014522356912493706,
0.035111598670482635,
0.0007644310244359076,
0.029653912410140038,
-0.006841899361461401,
-0.0214451402425766,
0.047427188605070114,
-0.04453113302588463,
-0.044378332793712616,
-0.011048034764826298,
-0.0612155981361866,
0.018798334524035454,
0.03216017782688141,
-0.007940392941236496,
-0.032077252864837646,
0.0627661943435669,
0.05128618702292442,
0.01953759603202343,
0.02058311551809311,
-0.012257234193384647,
0.03661508485674858,
-0.027602216228842735,
-0.013559327460825443,
-0.0905216783285141,
-0.009681222960352898,
0.04101257026195526,
0.002094017108902335,
0.01733582466840744,
0.005723785143345594,
-0.029492370784282684,
0.021239792928099632,
-0.04794567823410034,
-0.032858673483133316,
0.0456475205719471,
-0.0017036863137036562,
0.00495167076587677,
0.00159254961181432,
-0.060011278837919235,
0.009151382371783257,
0.04987182840704918,
-0.02691410668194294,
-0.01743374578654766,
-0.014697826467454433,
0.05772088095545769,
-0.009528239257633686,
0.03998178616166115,
-0.041491858661174774,
-0.02254777029156685,
0.09656545519828796,
0.0004930843133479357,
0.024007553234696388,
0.05647348240017891,
-0.017056457698345184,
0.04748371243476868,
0.01846405491232872,
-0.022753359749913216,
0.0022419122979044914,
0.014725239016115665,
-0.018331624567508698,
-0.03596499189734459,
0.006012985948473215,
-0.012928240932524204,
-0.015907496213912964,
-0.035335540771484375,
0.05606038123369217,
0.018057210370898247,
-0.04646844044327736,
-0.055975332856178284,
0.04483230784535408,
-0.03648609668016434,
-0.02436487190425396,
-0.061980705708265305,
-0.003981302957981825,
-0.041476696729660034,
0.04919643700122833,
-0.04009435325860977,
0.004796240013092756,
0.07875999063253403,
-0.014149564318358898,
-0.021524935960769653,
0.006613250821828842,
0.06581956148147583,
0.09964083880186081,
0.03395963832736015,
-0.0014294137945398688,
0.07214931398630142,
-0.0011552396463230252,
-0.04253702983260155,
-0.0157371424138546,
-0.03858735412359238,
-0.0459456630051136,
-0.0027710474096238613,
0.033559177070856094,
0.06632968783378601,
-0.03900030255317688,
0.07156649976968765,
-0.027408167719841003,
0.009291186928749084,
-0.015123005025088787,
-0.00023377158504445106,
0.041011709719896317,
0.07209138572216034,
0.022699320688843727,
0.03828940540552139,
-0.04009345546364784,
-0.02762029692530632,
0.010826154612004757,
0.0018116376595571637,
-0.003115450730547309,
0.040153324604034424,
-0.012038147076964378,
-0.008511045016348362,
0.02623220533132553,
0.042831458151340485,
0.08547718077898026,
-0.028494618833065033,
-0.0015205898089334369,
-0.00011764877854147926,
0.012597263790667057,
0.0077187553979456425,
0.008580152876675129,
-0.00970739871263504,
-0.018880214542150497,
-0.0009948082733899355,
-0.03505972772836685,
-0.03594617918133736,
-0.021675972267985344,
-0.05422819033265114,
0.00013793424295727164,
-0.0052503738552331924,
-0.008086378686130047,
-0.01571320742368698,
-0.02317335642874241,
-0.03879562392830849,
-0.03160092979669571,
-0.03683636710047722,
-0.044615909457206726,
-0.06805524230003357,
0.02688651718199253,
-0.006551183760166168,
0.020868640393018723,
-0.014100098982453346,
0.004882554057985544,
0.0015566447982564569,
-0.032697178423404694,
0.04410085082054138,
-0.04181012511253357,
-0.02031128481030464,
0.01429918222129345,
0.007979032583534718,
0.008037478663027287,
0.024437732994556427,
0.05863557383418083,
0.002607123227789998,
0.012156529352068901,
-0.026566635817289352,
0.014886489138007164,
0.04539068043231964,
0.015340645797550678,
-0.013309900648891926,
-0.08364202827215195,
0.0028986334800720215,
0.01642581820487976,
-0.0058266399428248405,
-0.07706327736377716,
-0.001910057500936091,
0.05452417954802513,
0.012078694067895412,
0.03852514550089836,
-0.01286370400339365,
0.0049672252498567104,
-0.031804248690605164,
0.025682363659143448,
-0.019883813336491585,
-0.011751039884984493,
0.0399075411260128,
-0.020068248733878136,
0.07687543332576752,
0.045154597610235214,
-0.03734421730041504,
-0.025778375566005707,
-0.02014959417283535,
-0.011957650072872639,
0.0186866894364357,
-0.04146851226687431,
-0.02247733809053898,
-0.03915239870548248,
-0.08362424373626709,
-0.04177720472216606,
0.003383026923984289,
-0.029609685763716698,
-0.020554574206471443,
0.008232048712670803,
0.01373189128935337,
-0.024531541392207146,
0.012947836890816689,
-0.03312637656927109,
0.04624953493475914,
-0.04039372131228447,
-0.020335616543889046,
-0.009342833422124386,
-0.00019136867194902152,
-0.01712767593562603,
-0.01273171603679657,
0.04590325802564621,
-0.04804685339331627,
-0.027892490848898888,
-0.028076793998479843,
0.048021506518125534,
0.0248210858553648,
0.03228377550840378,
0.0047858841717243195
] | [
-0.057244472205638885,
-0.0205132644623518,
-0.034669000655412674,
-0.03630364313721657,
0.0519552007317543,
-0.03465474024415016,
-0.02871518023312092,
0.004774258937686682,
0.023678462952375412,
-0.022814271971583366,
0.023443765938282013,
-0.015308762900531292,
0.0030381930992007256,
0.011892184615135193,
0.08094773441553116,
-0.002881404245272279,
-0.036365874111652374,
-0.069400854408741,
-0.035746388137340546,
0.050287503749132156,
0.006248377729207277,
-0.05287143588066101,
-0.022370781749486923,
-0.04206255450844765,
0.004840484820306301,
0.039278898388147354,
0.04086197540163994,
-0.03528918698430061,
-0.010067489929497242,
-0.20393489301204681,
0.017935292795300484,
-0.0029778308235108852,
0.012250776402652264,
-0.022173041477799416,
0.01762918010354042,
0.036431245505809784,
0.05522717162966728,
-0.014883884228765965,
-0.016107812523841858,
0.06986265629529953,
0.03489378094673157,
0.03522345423698425,
-0.07571125775575638,
-0.017691737040877342,
0.04776495695114136,
0.020832156762480736,
-0.009292995557188988,
-0.04310556501150131,
0.0065633817575871944,
0.043551184237003326,
-0.02692093513906002,
-0.008747270330786705,
-0.009675870649516582,
-0.003993630409240723,
0.011165756732225418,
0.03301754966378212,
0.04535560682415962,
0.07124834507703781,
0.024259250611066818,
0.030569681897759438,
0.009827687405049801,
0.0018145712092518806,
-0.10447266697883606,
0.07118671387434006,
0.015398627147078514,
0.008153780363500118,
-0.04755019396543503,
-0.014812955632805824,
-0.027947774156928062,
0.09205590188503265,
0.016399580985307693,
-0.0008999124984256923,
-0.041141021996736526,
0.07899510860443115,
-0.009093677625060081,
0.025243444368243217,
-0.028688114136457443,
0.026102924719452858,
0.038911644369363785,
-0.04378652572631836,
-0.04913806542754173,
-0.00466869305819273,
-0.04100131243467331,
-0.019347315654158592,
-0.061721574515104294,
0.01668481156229973,
-0.04082251712679863,
0.08473740518093109,
-0.013557028956711292,
0.03385099768638611,
0.05102507770061493,
0.03677620366215706,
0.07182922959327698,
0.02380211651325226,
-0.07336883246898651,
-0.018756015226244926,
0.006740505341440439,
0.040843043476343155,
-0.016218209639191628,
0.37717097997665405,
0.005488970782607794,
0.006219327915459871,
0.027096882462501526,
0.04963324964046478,
-0.011141151189804077,
-0.0030236702878028154,
0.00862323958426714,
-0.036665257066488266,
0.04134425148367882,
-0.002213867148384452,
0.00033185217762365937,
-0.04455071687698364,
0.04705784469842911,
-0.08817234635353088,
0.029082462191581726,
0.0220671147108078,
0.048414986580610275,
0.02608172409236431,
-0.03939474746584892,
0.028603777289390564,
-0.01617627963423729,
0.013793903402984142,
0.050243835896253586,
0.0070259845815598965,
0.05083673819899559,
0.024947475641965866,
0.008201493881642818,
0.03828633204102516,
0.0269785039126873,
0.006069687660783529,
0.02899898961186409,
-0.0010500424541532993,
-0.07962773740291595,
0.038710128515958786,
0.0006236634799279273,
-0.012851635925471783,
0.027945810928940773,
-0.05368000641465187,
-0.01046180073171854,
0.0005159076536074281,
-0.01760142110288143,
-0.005076432600617409,
0.044327545911073685,
-0.013579495251178741,
-0.038277484476566315,
0.12488845735788345,
0.012271569110453129,
-0.023712176829576492,
-0.023416580632328987,
-0.05473756045103073,
0.007362336851656437,
0.03625783696770668,
0.002902708249166608,
-0.0915411189198494,
-0.01730279251933098,
0.01764451339840889,
0.0660737007856369,
0.00020446220878511667,
-0.08129909634590149,
-0.022471392527222633,
-0.056015558540821075,
0.0049644042737782,
-0.032807424664497375,
0.07553306967020035,
0.036549925804138184,
-0.10299936681985855,
-0.03224887326359749,
0.026204517111182213,
0.021572956815361977,
-0.047823019325733185,
-0.0065622348338365555,
0.00212157447822392,
-0.053929295390844345,
-0.04455810785293579,
0.09726286679506302,
-0.034717828035354614,
-0.020787646993994713,
-0.02377239614725113,
0.01910402625799179,
0.011843261308968067,
-0.008555934764444828,
-0.0071530877612531185,
-0.031039495021104813,
0.0014895587228238583,
-0.08032458275556564,
-0.07802054286003113,
-0.06371264904737473,
0.037321537733078,
-0.014265753328800201,
-0.036369532346725464,
-0.04792555794119835,
0.0034979660995304585,
-0.0443350113928318,
0.07900193333625793,
-0.06319720298051834,
-0.052024275064468384,
-0.019614357501268387,
0.04242314398288727,
-0.029417505487799644,
-0.048037633299827576,
0.01839800737798214,
0.0309091005474329,
-0.021111270412802696,
0.045500192791223526,
-0.04488958790898323,
0.03970921039581299,
0.06370636820793152,
-0.03399421647191048,
0.0826939195394516,
0.03334725648164749,
-0.05043775588274002,
0.0010691304923966527,
-0.006844658404588699,
0.0251504834741354,
0.00960073433816433,
-0.013659512624144554,
-0.008569895289838314,
-0.024818209931254387,
0.017778024077415466,
0.04299876093864441,
-0.007392937317490578,
-0.019655445590615273,
-0.021853813901543617,
-0.3614619970321655,
-0.04224695637822151,
-0.03085554577410221,
-0.01697029359638691,
0.031148338690400124,
-0.025459399446845055,
0.042185284197330475,
-0.025252554565668106,
0.0009063869365490973,
-0.03257538005709648,
0.06786798685789108,
-0.030600877478718758,
-0.012776496820151806,
-0.0787692591547966,
0.0006976899458095431,
0.041436705738306046,
-0.018812403082847595,
-0.0018655023304745555,
-0.016585860401391983,
-0.011971122585237026,
0.01823939010500908,
-0.05283043161034584,
-0.014977452345192432,
-0.04849192872643471,
0.0005834122421219945,
-0.01194027066230774,
0.11170495301485062,
-0.043496571481227875,
0.03483837470412254,
-0.058921441435813904,
0.06000682711601257,
-0.01828123815357685,
-0.0127467792481184,
-0.07784385979175568,
-0.008768364787101746,
-0.0015040159923955798,
0.023432724177837372,
0.024859067052602768,
-0.011656103655695915,
0.0037591122090816498,
-0.06460709124803543,
-0.006102646701037884,
-0.06343593448400497,
-0.0643853172659874,
-0.024554146453738213,
0.022351788356900215,
-0.05290915071964264,
0.005377746187150478,
0.018577249720692635,
0.06687740236520767,
0.022229652851819992,
0.025097554549574852,
0.011268568225204945,
0.028481636196374893,
0.024699978530406952,
-0.039130523800849915,
-0.07639729976654053,
-0.01977001130580902,
0.008274693042039871,
0.03323173522949219,
-0.008763332851231098,
0.026189180091023445,
0.004026411101222038,
-0.07183651626110077,
0.034569334238767624,
0.017377113923430443,
-0.010809537954628468,
-0.0009577086893841624,
0.03011345863342285,
-0.07595795392990112,
-0.01661558635532856,
0.10582704097032547,
-0.01531726960092783,
-0.016988426446914673,
0.0438666045665741,
0.02930622547864914,
-0.01854155771434307,
-0.001285807928070426,
0.02429601550102234,
0.009289950132369995,
0.03170735761523247,
-0.045916564762592316,
0.07475777715444565,
-0.009409042075276375,
-0.03246549516916275,
0.063898004591465,
0.0030599816236644983,
-0.04561591520905495,
0.034826941788196564,
0.023622076958417892,
-0.02026226371526718,
-0.001883622258901596,
-0.03583688288927078,
-0.06881114095449448,
0.06953191757202148,
-0.03510989248752594,
-0.2616657018661499,
0.04347046837210655,
0.02257680334150791,
0.07228422164916992,
0.012366725131869316,
0.01881907694041729,
0.029796244576573372,
0.022168612107634544,
0.02340913563966751,
0.022831879556179047,
0.01882389560341835,
0.054076820611953735,
0.001398976193740964,
0.006003442220389843,
0.023593900725245476,
0.007119536399841309,
0.023894693702459335,
0.0332380011677742,
0.02160564996302128,
-0.0019722506403923035,
0.038702696561813354,
-0.0408322848379612,
0.15813636779785156,
0.03707386553287506,
0.0024345917627215385,
0.05050068348646164,
-0.027216177433729172,
0.0378345251083374,
0.0464453361928463,
-0.0026768497191369534,
-0.033252324908971786,
0.042161889374256134,
0.003176856553182006,
-0.0004096217453479767,
0.012427304871380329,
-0.037281427532434464,
-0.02472085691988468,
0.04043814539909363,
0.037740059196949005,
-0.01794254407286644,
0.013342265039682388,
0.01183616928756237,
-0.030943501740694046,
0.04018823429942131,
0.09880292415618896,
-0.0232530664652586,
0.0010686046443879604,
-0.028847884386777878,
-0.06270284205675125,
-0.012791890650987625,
-0.038091279566287994,
-0.033995047211647034,
-0.015486219897866249,
0.00014429519069381058,
-0.00627966457977891,
0.08456417173147202,
0.026806287467479706,
-0.008668124675750732,
0.030643530189990997,
0.01606932282447815,
-0.005682078190147877,
-0.03233825042843819,
0.10546833276748657,
-0.015995429828763008,
0.01090247556567192
] | [
0.06389468908309937,
0.06723599135875702,
-0.02147330716252327,
0.022962192073464394,
-0.03911370038986206,
-0.019500162452459335,
-0.017301592975854874,
-0.005535487085580826,
-0.019263755530118942,
-0.01374840084463358,
-0.025650765746831894,
0.0363314226269722,
0.07284002006053925,
0.008784524165093899,
-0.04867865517735481,
0.03317900002002716,
-0.008883756585419178,
0.0451318696141243,
0.019948460161685944,
-0.000036861663829768077,
-0.040055856108665466,
-0.02095683664083481,
0.04945279285311699,
-0.015030592679977417,
-0.022230273112654686,
0.004241854418069124,
-0.029169563204050064,
0.0051371571607887745,
0.01766272261738777,
-0.11248963326215744,
-0.020445358008146286,
-0.011946946382522583,
-0.01881745271384716,
0.0062668840400874615,
-0.0027112732641398907,
0.0260674599558115,
0.03628037869930267,
0.011428291909396648,
-0.007449695374816656,
0.03349447250366211,
0.049461279064416885,
0.0017293499549850821,
-0.031789448112249374,
0.03302455320954323,
0.027993252500891685,
0.00424552708864212,
-0.04122142866253853,
-0.043966423720121384,
0.022167105227708817,
-0.029830435290932655,
-0.02314717508852482,
0.005562137812376022,
-0.032785624265670776,
0.0013862343039363623,
-0.022087136283516884,
0.01367452833801508,
-0.017826512455940247,
-0.0014028210425749421,
0.008368571288883686,
0.021926630288362503,
0.0180096123367548,
-0.01231132447719574,
-0.05415485426783562,
-0.02078425884246826,
0.0067456490360200405,
0.009173228405416012,
0.02572285197675228,
0.018134944140911102,
-0.009367741644382477,
0.015973050147294998,
0.007515820674598217,
0.05818437412381172,
-0.08302230387926102,
-0.02581643871963024,
-0.023227591067552567,
0.03517632186412811,
0.05305401608347893,
-0.03859515115618706,
-0.049154188483953476,
0.009738816879689693,
-0.028948353603482246,
0.02797028049826622,
-0.029622822999954224,
-0.03325417637825012,
-0.04940646141767502,
0.030690759420394897,
-0.000793797429651022,
0.00015936004638206214,
0.0027966222260147333,
0.007515820674598217,
-0.01238410733640194,
0.014364171773195267,
-0.03462198004126549,
-0.028690461069345474,
-0.08592098206281662,
-0.014346352778375149,
0.056090254336595535,
-0.008386483415961266,
0.023429295048117638,
0.7958666086196899,
0.009722860530018806,
-0.024791637435555458,
0.0016635255888104439,
0.011536855250597,
0.001410001888871193,
0.02265588752925396,
0.03239360824227333,
-0.0011169355129823089,
-0.0323149673640728,
0.04477979242801666,
-0.02961115725338459,
0.008207122795283794,
0.011623772792518139,
0.015127797611057758,
0.017397377640008926,
0.03705674409866333,
-0.007388025522232056,
-0.014055520296096802,
-0.023617608472704887,
0.032376307994127274,
0.019307421520352364,
0.0162771325558424,
-0.026035593822598457,
0.016112875193357468,
-0.01699201948940754,
-0.1622723489999771,
-0.019845932722091675,
-7.00272547637958e-33,
0.03894955664873123,
-0.0226098895072937,
0.09857836365699768,
0.025953512638807297,
0.0028624634724110365,
0.02765149250626564,
-0.004268900956958532,
-0.05929608270525932,
-0.014400516636669636,
-0.033143334090709686,
-0.031145529821515083,
-0.01066506840288639,
-0.014995365403592587,
-0.03272031620144844,
-0.0032069250009953976,
-0.029643606394529343,
0.022286564111709595,
0.016726097092032433,
-0.0030635902658104897,
0.02005699835717678,
-0.01953023485839367,
0.03998922184109688,
-0.04888799041509628,
0.037510406225919724,
0.005878526717424393,
0.02155977115035057,
0.017373453825712204,
-0.008539576083421707,
0.008200372569262981,
-0.05282287672162056,
-0.08271519839763641,
0.01758323609828949,
-0.04280058667063713,
-0.022422119975090027,
0.015355984680354595,
-0.06693001091480255,
-0.045397136360406876,
0.009031957015395164,
-0.006969457026571035,
-0.0728779137134552,
-0.048048235476017,
-0.010547833517193794,
-0.011417961679399014,
-0.02332479879260063,
-0.03733750432729721,
-0.017713390290737152,
0.0055342260748147964,
0.01419329084455967,
-0.016321102157235146,
-0.004698591306805611,
0.01576462760567665,
0.04032866656780243,
0.005127268843352795,
0.014078257605433464,
-0.05733310431241989,
0.004960063844919205,
0.033276524394750595,
-0.01418457180261612,
-0.007470294367522001,
0.022507688030600548,
0.0688013881444931,
0.012121510691940784,
-0.016806386411190033,
0.046204134821891785,
0.0211241003125906,
0.00979914516210556,
0.004344694782048464,
0.02661263383924961,
0.0009708835859782994,
0.06330975890159607,
-0.0343501977622509,
0.016173385083675385,
-0.013114000670611858,
-0.014222747646272182,
0.019674032926559448,
-0.047502778470516205,
0.012928720563650131,
-0.023719025775790215,
-0.00826853234320879,
0.037893932312726974,
-0.013021465390920639,
-0.035286515951156616,
-0.006443869788199663,
-0.03932296484708786,
0.005789473652839661,
-0.0033318335190415382,
0.045853085815906525,
0.04538328945636749,
0.027203531935811043,
0.03777923807501793,
0.06353699415922165,
0.010020880959928036,
-0.007279801182448864,
-0.024696998298168182,
-0.039333634078502655,
6.435082193103375e-33,
-0.008376270532608032,
0.002088183304294944,
-0.01807647943496704,
0.0044927275739610195,
0.019762566313147545,
0.027511416003108025,
-0.006463785655796528,
0.002579277381300926,
-0.045722443610429764,
0.04156149923801422,
-0.009666277095675468,
-0.006224618759006262,
0.005857100244611502,
0.02033502422273159,
0.05040980502963066,
0.02949633076786995,
-0.00046726453001610935,
-0.054968662559986115,
-0.015299268998205662,
0.03288764879107475,
-0.021944845095276833,
0.009007464163005352,
-0.0005059544928371906,
0.0158271174877882,
0.012022869661450386,
-0.001996613573282957,
0.011457069776952267,
0.012082639150321484,
-0.006284218281507492,
-0.014138991013169289,
-0.022179014980793,
-0.07268733531236649,
-0.018174588680267334,
0.01040645781904459,
0.011418834328651428,
-0.013529992662370205,
0.009883150458335876,
-0.0062638563103973866,
-0.004181203432381153,
0.023780765011906624,
0.02401397004723549,
0.0013337048003450036,
-0.04740375652909279,
0.06888303905725479,
0.024677373468875885,
0.032297566533088684,
-0.010459937155246735,
0.03264861926436424,
0.008335299789905548,
0.0061094737611711025,
-0.0056074815802276134,
0.037701983004808426,
-0.002131545916199684,
0.016475239768624306,
0.05369231104850769,
-0.07971149682998657,
-0.013313375413417816,
0.0032002017833292484,
0.021143004298210144,
-0.0055128359235823154,
-0.018451519310474396,
-0.025053076446056366,
-0.019987784326076508,
0.02000744454562664,
-0.03302013874053955,
-0.020979786291718483,
0.000012450273970898706,
-0.016017640009522438,
-0.05859857797622681,
0.005050301551818848,
0.01436791755259037,
0.013170971535146236,
0.0007332017412409186,
0.018739085644483566,
0.026426278054714203,
-0.008069150149822235,
-0.04306561499834061,
-0.023857535794377327,
-0.04363164305686951,
0.027234191074967384,
0.007044527214020491,
0.05132748559117317,
0.00979247223585844,
-0.009081377647817135,
0.0011505428701639175,
-0.018444525077939034,
-0.02146684005856514,
0.015273725613951683,
-0.048970893025398254,
-0.015764566138386726,
0.06534066051244736,
-0.01012684591114521,
-0.02869783341884613,
0.06368888914585114,
-0.028748126700520515,
-1.2285752859497734e-8,
-0.003355066291987896,
0.019354723393917084,
0.010517176240682602,
-0.006008965894579887,
-0.0002683981729205698,
-0.013686589896678925,
0.01575804315507412,
0.023624828085303307,
0.005490419454872608,
0.028611943125724792,
0.031082605943083763,
-0.02911537140607834,
0.014113984070718288,
0.0021748309955000877,
0.018269266933202744,
-0.010707276873290539,
-0.0014698533341288567,
-0.04663647711277008,
0.04066008701920509,
0.014543594792485237,
-0.021429643034934998,
0.04009836167097092,
-0.036564186215400696,
0.01904383860528469,
-0.004804681986570358,
0.007485235575586557,
0.03911284729838371,
-0.0397767648100853,
-0.00318407965824008,
-0.03767309710383415,
0.007611679378896952,
-0.03056381456553936,
-0.03667693957686424,
-0.013296288438141346,
-0.0453651025891304,
-0.026821976527571678,
0.020721744745969772,
0.0593474805355072,
0.01725601777434349,
0.04667544737458229,
-0.0114131486043334,
-0.005216083023697138,
-0.015575692988932133,
-0.02863427996635437,
-0.03403923287987709,
0.00833357498049736,
-0.04979037493467331,
-0.00021208362886682153,
0.05975889414548874,
-0.024539662525057793,
-0.005031336564570665,
0.008838712237775326,
0.022200042381882668,
0.03206874802708626,
0.041213080286979675,
-0.007606817875057459,
0.0010923439403995872,
-0.010989020578563213,
0.005965691991150379,
-0.015061328187584877,
0.026625653728842735,
0.004396447911858559,
-0.024659795686602592,
-0.008597251027822495
] | neo4j-delete-all-nodes | https://markhneedham.com/blog/2019/04/14/neo4j-delete-all-nodes |
false | 2019-05-20 11:43:00 | KSQL: Create Stream - extraneous input 'properties' | [
"kafka",
"ksql"
] | [
"Kafka"
] | In my continued playing with the https://www.confluent.io/product/ksql/[KSQL streaming engine for Kafka^], I came across another interesting error while trying to put a stream on top of a topic generated by the https://neo4j-contrib.github.io/neo4j-streams/[Neo4j Streams Library^].
We'll simplify the events being posted on the topic for this blog post, so this is what the events on the topic look like:
[source, javascript]
----
{
"id":"ABCDEFGHI",
"properties": {
"name":"Mark",
"location":"London"
}
}
----
We then create a stream on that topic:
[source, sql]
----
CREATE STREAM users_original(
id varchar,
properties STRUCT<
name varchar,
location varchar
>
)
WITH(KAFKA_TOPIC='users', value_format='json');
----
But when we execute that query we'll get the following exception:
[source, text]
----
line 3:3: extraneous input 'properties' expecting {'INTEGER', 'DATE', 'TIME', 'TIMESTAMP', 'INTERVAL', 'YEAR', 'MONTH', 'DAY', 'HOUR', 'MINUTE', 'SECOND', 'ZONE', 'PARTITION', 'STRUCT', 'EXPLAIN', 'ANALYZE', 'TYPE', 'SHOW', 'TABLES', 'COLUMNS', 'COLUMN', 'PARTITIONS', 'FUNCTIONS', 'FUNCTION', 'ARRAY', 'MAP', 'SET', 'RESET', 'SESSION', 'IF', IDENTIFIER, DIGIT_IDENTIFIER, QUOTED_IDENTIFIER, BACKQUOTED_IDENTIFIER}
Statement: CREATE STREAM users_original(
----
I thought I might have a trailing comma or colon - two mistakes I've made before - but on this occassion the problem is that `properties` is a reserved word in KSQL.
Luckily it's an https://docs.confluent.io/current/ksql/docs/developer-guide/syntax-reference.html[easy problem to fix^]:
[quote, KSQL Syntax Reference]
____
If the name of a column in your source topic is one of the reserved words in KSQL you can use back quotes to define the column. The same applies to the field names in a STRUCT type. For instance, if in the above example we had another field called Properties, which is a reserved word in KSQL, you can use the following statement to declare your stream:
____
The fixed syntax is below:
[source, sql]
----
CREATE STREAM users_original(
id varchar,
`properties` STRUCT<
name varchar,
location varchar
>
)
WITH(KAFKA_TOPIC='users', value_format='json');
----
And if we run that the stream will be created:
[source, text]
----
Message
----------------
Stream created
----------------
---- | Learn how to create a KSQL stream from a source topic that contains a column with a reserved word. | null | [
-0.002574405400082469,
-0.022898638620972633,
-0.0059980168007314205,
0.057751670479774475,
0.07924123853445053,
-0.012620201334357262,
0.031102072447538376,
0.05044278874993324,
0.014788183383643627,
0.004165478050708771,
-0.026936229318380356,
-0.0158479493111372,
-0.07360189408063889,
0.03289076313376427,
0.009550146758556366,
0.05168090760707855,
0.0628884881734848,
0.011907991953194141,
0.031031304970383644,
-0.01180697325617075,
0.0059843831695616245,
0.030003415420651436,
0.013234836980700493,
0.0341411717236042,
0.023610075935721397,
0.011375842615962029,
-0.025572149083018303,
0.021650046110153198,
-0.05396183952689171,
0.02281908318400383,
0.04669162631034851,
0.026938609778881073,
-0.006391806993633509,
-0.020593762397766113,
0.027630144730210304,
0.008817213587462902,
-0.02580116130411625,
-0.00022523380175698549,
-0.007797201629728079,
0.03474440425634384,
-0.07398242503404617,
0.03382597118616104,
0.0015380490804091096,
0.023599835112690926,
-0.020247187465429306,
0.008708839304745197,
-0.026288744062185287,
0.028904331848025322,
-0.02388559654355049,
0.004227412398904562,
-0.0669068694114685,
0.03373374417424202,
-0.02305140346288681,
0.006770349107682705,
0.014809628017246723,
0.03950321674346924,
0.029222114011645317,
-0.06786520779132843,
0.04788436368107796,
-0.010812889784574509,
0.01887717843055725,
-0.023575592786073685,
0.011653571389615536,
0.01921987161040306,
0.01299884170293808,
-0.024008482694625854,
-0.008489968255162239,
0.06254716962575912,
-0.03534097597002983,
-0.015691395848989487,
0.011879056692123413,
0.06432804465293884,
-0.01387363113462925,
-0.010035749524831772,
0.015295214019715786,
-0.06113426014780998,
-0.00012737659562844783,
0.06383266299962997,
0.04456166923046112,
0.051923271268606186,
-0.015553424134850502,
0.00015885238826740533,
0.019973356276750565,
0.041571274399757385,
0.02331087738275528,
-0.04099637269973755,
-0.037271685898303986,
-0.029997531324625015,
-0.031047888100147247,
0.024646790698170662,
0.031002862378954887,
-0.047819409519433975,
0.007864191196858883,
0.004753796383738518,
-0.020741162821650505,
0.03152812272310257,
-0.013467752374708652,
0.0038976657669991255,
0.009239403530955315,
-0.03412117063999176,
-0.06868492066860199,
-0.005245585925877094,
-0.01282345037907362,
0.06524726748466492,
-0.0718202069401741,
-0.03391129523515701,
-0.04891947656869888,
-0.019533522427082062,
0.06343711167573929,
0.028405772522091866,
-0.019513431936502457,
0.017917422577738762,
0.005268081557005644,
0.011549776419997215,
-0.10658659785985947,
0.06872062385082245,
0.016425790265202522,
-0.029026150703430176,
0.016554266214370728,
0.017818106338381767,
0.04962537810206413,
0.011851736344397068,
-0.011522963643074036,
0.07696975022554398,
-0.01989247091114521,
0.028393544256687164,
0.00004591029210132547,
0.04005362093448639,
-0.007031791377812624,
-0.06835770606994629,
-0.023811453953385353,
0.04520650953054428,
0.007757038809359074,
0.000004211490704619791,
0.004481743089854717,
0.004592075943946838,
-0.0031061344780027866,
-0.0027816055808216333,
0.05933336168527603,
0.039864614605903625,
0.004312227480113506,
-0.06801427155733109,
0.0032787914387881756,
0.004419469740241766,
0.023725997656583786,
0.027923356741666794,
-0.024599909782409668,
-0.048662684857845306,
-0.017474189400672913,
0.013777079060673714,
0.016649829223752022,
0.03571617230772972,
0.08368576318025589,
-0.010203748010098934,
-0.016830740496516228,
0.08506088703870773,
0.008290812373161316,
0.01142542902380228,
-0.017486853525042534,
0.028152067214250565,
0.04290126636624336,
0.051919855177402496,
0.0022665937431156635,
0.03573008254170418,
0.007413238752633333,
-0.017004134133458138,
-0.009965897537767887,
0.02648773603141308,
-0.014780445955693722,
0.015640487894415855,
-0.023273957893252373,
-0.03086174465715885,
0.05180865898728371,
-0.042164742946624756,
0.013918260112404823,
0.025174567475914955,
0.06144044175744057,
0.025911634787917137,
0.04055207595229149,
0.03931644931435585,
-0.08186399936676025,
0.03594761714339256,
-0.021442674100399017,
0.008031066507101059,
-0.008434507995843887,
0.009707643650472164,
0.04526044428348541,
0.04793943837285042,
-0.001482751569710672,
0.02931838296353817,
-0.08562959730625153,
-0.0764705240726471,
-0.04728669300675392,
0.005949765909463167,
0.06474743038415909,
-0.04977532476186752,
0.01458766683936119,
0.046743232756853104,
0.014454953372478485,
0.0336172990500927,
0.011335852555930614,
-0.0015437608817592263,
0.01076953113079071,
-0.0386219285428524,
-0.06619352102279663,
0.06860993802547455,
0.0014475848292931914,
-0.04591643437743187,
-0.04590795934200287,
-0.01674511283636093,
-0.03432553634047508,
0.0031394059769809246,
0.028255995362997055,
-0.015310743823647499,
0.05278734862804413,
0.0029863822273910046,
0.027090733870863914,
-0.011530240066349506,
0.01923992857336998,
-0.03596619516611099,
0.06222489848732948,
0.022962309420108795,
-0.002222696552053094,
-0.0007628278690390289,
-0.022566726431250572,
0.11502853780984879,
0.04315994679927826,
-0.007210373412817717,
-0.044330283999443054,
0.028092380613088608,
-0.0010894039878621697,
-0.02823338285088539,
0.01621960662305355,
-0.031381335109472275,
-0.0064878626726567745,
0.003764724126085639,
-0.010075702331960201,
-0.04479662701487541,
-0.0019910763949155807,
-0.022919338196516037,
0.018479131162166595,
0.07469259947538376,
-0.02796606533229351,
0.0543438196182251,
0.03184755891561508,
-0.02456921525299549,
0.0020592280197888613,
-0.030014069750905037,
-0.055427178740501404,
0.004801182076334953,
0.002277255989611149,
-0.007657053414732218,
0.06023647263646126,
-0.06452745199203491,
-0.03323691338300705,
-0.003813710995018482,
-0.038180332630872726,
0.04898816719651222,
0.05346344783902168,
0.02325225993990898,
-0.015522711910307407,
0.03675740212202072,
-0.03282923623919487,
-0.003095356049016118,
-0.024915555492043495,
-0.040064115077257156,
-0.020980646833777428,
-0.019821517169475555,
0.006730231456458569,
0.0018985681235790253,
0.04071267694234848,
-0.014595020562410355,
0.028520407155156136,
0.001638395362533629,
-0.004579062573611736,
-0.0065281204879283905,
0.03556377440690994,
0.002925688400864601,
0.01704854518175125,
-0.016974227502942085,
-0.038340725004673004,
0.047473687678575516,
-0.06871925294399261,
-0.03202681243419647,
-0.00743471086025238,
-0.04105369374155998,
0.029254192486405373,
-0.030866777524352074,
-0.035329654812812805,
0.01941199041903019,
0.013126589357852936,
0.03857378661632538,
-0.0006553166313096881,
-0.022898171097040176,
0.09805252403020859,
0.025468183681368828,
0.005817063618451357,
0.005860504228621721,
-0.009163322858512402,
0.04483668506145477,
-0.04010270908474922,
0.04568204656243324,
0.08280368149280548,
-0.0020445622503757477,
-0.0007876690942794085,
-0.042483679950237274,
0.007051890715956688,
-0.016475332900881767,
-0.25832173228263855,
0.03745395317673683,
-0.021928656846284866,
-0.03648165240883827,
0.029988877475261688,
-0.022856224328279495,
0.020008916035294533,
-0.034396909177303314,
-0.02330472506582737,
0.009926654398441315,
-0.015410910360515118,
-0.034865640103816986,
-0.021252291277050972,
0.03226315602660179,
0.022464711219072342,
-0.0239273551851511,
-0.004766520578414202,
-0.02636699005961418,
-0.015876034274697304,
0.011416896246373653,
-0.00978928990662098,
-0.031267616897821426,
0.0021007834002375603,
0.032786641269922256,
0.05327267944812775,
0.03325334191322327,
-0.09872684627771378,
0.05858859792351723,
-0.03594924136996269,
-0.03809056431055069,
0.009878458455204964,
-0.033543866127729416,
0.0008327461546286941,
-0.021825382485985756,
-0.017022449523210526,
0.0034368494525551796,
0.011867999099195004,
0.003732952754944563,
0.010659800842404366,
0.020640455186367035,
-0.023457016795873642,
-0.058975640684366226,
-0.0028198272921144962,
-0.016254577785730362,
0.07221875339746475,
-0.00447417888790369,
-0.07962869107723236,
0.023069022223353386,
-0.017068982124328613,
0.05395054444670677,
-0.02167891338467598,
-0.041837941855192184,
-0.002242530230432749,
0.04011952877044678,
-0.020188311114907265,
-0.013146172277629375,
-0.014014543034136295,
-0.020650310441851616,
-0.01876174844801426,
-0.006705723702907562,
0.0022031187545508146,
-0.04882068932056427,
0.028874734416604042,
-0.028192413970828056,
-0.023085754364728928,
-0.05752827227115631,
-0.060564443469047546,
-0.009305905550718307,
0.08709972351789474,
0.025034794583916664,
-0.04518038034439087,
-0.0005026643048040569,
-0.008709469810128212,
-0.1064903512597084,
-0.04334335774183273,
-0.021741358563303947,
-0.024247832596302032,
-0.001759850769303739,
-0.0244415495544672,
0.04218584671616554,
-0.03598973900079727,
-0.04884834215044975,
0.0055060298182070255,
0.02794385515153408,
0.04021453112363815,
-0.030098773539066315,
0.009691169485449791,
-0.01674325205385685,
-0.030403636395931244,
-0.0007431338308379054,
0.042489949613809586,
-0.04430828616023064,
-0.01758899725973606,
-0.01049534510821104,
-0.017442189157009125,
0.056705884635448456,
-0.028437955304980278,
-0.004077281337231398,
0.011846734210848808,
0.025266367942094803,
0.04648040980100632,
-0.05969054996967316,
0.005159494932740927,
-0.06243523210287094,
-0.004694846924394369,
-0.016324860975146294,
-0.04515092447400093,
0.01464673038572073,
-0.007345549296587706,
0.021477052941918373,
0.00017702244804240763,
-0.02990187145769596,
0.010481747798621655,
-0.04890081286430359,
-0.03141589090228081,
-0.016459740698337555,
0.019516266882419586,
0.04201899841427803,
0.03323427215218544,
-0.02940126694738865,
-0.03824156895279884,
0.032244645059108734,
0.021585891023278236,
-0.013596384786069393,
-0.04870948940515518,
-0.02961013838648796,
-0.021705856546759605,
-0.04243384301662445,
-0.011868592351675034,
-0.003530490444973111,
-0.01012661773711443,
0.021935561671853065,
0.03376549109816551,
-0.021443385630846024,
0.03352496400475502,
-0.035201966762542725,
-0.025718074291944504,
-0.039871200919151306,
-0.003895258065313101,
-0.021532949060201645,
0.0016220395918935537,
-0.018326597288250923,
-0.0028168237768113613,
0.0525224395096302,
0.03319887816905975,
0.004629630595445633,
0.016902098432183266,
0.022824106737971306,
0.018877999857068062,
0.01110762171447277,
-0.006993092130869627,
-0.029893964529037476,
0.03518125042319298,
-0.03204891458153725,
-0.05481449142098427,
0.007108914665877819,
0.06197628751397133,
0.010011482052505016,
-0.019377950578927994,
-0.014545096084475517,
0.021091697737574577,
-0.07444146275520325,
-0.027235843241214752,
-0.0019498354522511363,
-0.0031147755216807127,
0.02729613520205021,
-0.03669387847185135,
0.035171251744031906,
-0.027865465730428696,
-0.01999104581773281,
-0.011199538595974445,
-0.011533535085618496,
-0.04703062027692795,
0.025980589911341667,
0.029750028625130653,
-0.014998487196862698,
0.02251875028014183,
0.021249491721391678,
0.027560872957110405,
0.0202250424772501,
0.01343571487814188,
0.008686689659953117,
0.01789633184671402,
0.027324970811605453,
0.04645451903343201,
0.05250217020511627,
-0.012346300296485424,
-0.005798676051199436,
-0.028373664245009422,
-0.016347264871001244,
-0.0078051332384347916,
-0.016663167625665665,
-0.011937993578612804,
-0.00018673708837013692,
-0.022390250116586685,
-0.047011952847242355,
0.059999968856573105,
0.013863920234143734,
0.015454279258847237,
0.02039645053446293,
0.0019803179893642664,
0.00846790336072445,
-0.01828189752995968,
0.034208886325359344,
0.06263989210128784,
-0.057732753455638885,
-0.0015635531162843108,
-0.017212819308042526,
-0.013187441974878311,
0.019474687054753304,
0.0078020296059548855,
-0.06980033963918686,
-0.015021918341517448,
-0.011577601544559002,
0.0037644733674824238,
-0.03569351136684418,
-0.02645864151418209,
-0.031161099672317505,
0.002542374888435006,
0.013158810324966908,
0.019585350528359413,
0.007685578428208828,
0.029423948377370834,
-0.03050830215215683,
-0.0023149584885686636,
0.05406841263175011,
-0.044233132153749466,
0.003796835895627737,
0.015373886562883854,
-0.0072373137809336185,
0.011354687623679638,
-0.03754860907793045,
0.028176741674542427,
0.01806652918457985,
-0.01747232861816883,
-0.026401206851005554,
-0.04991936311125755,
0.006051697302609682,
-0.00022930241539143026,
0.06272311508655548,
0.0180882066488266,
-0.035436347126960754,
-0.007440837565809488,
-0.003737659426406026,
-0.01364433765411377,
0.01810673624277115,
-0.0007475832244381309,
0.023681769147515297,
0.003671151353046298,
0.028936345130205154,
0.02261311560869217,
0.026611683890223503,
-0.010770906694233418,
-0.03142279013991356,
0.07397251576185226,
-0.05674849450588226,
-0.012171381153166294,
-0.011397532187402248,
-0.070490762591362,
0.009104150347411633,
0.003556810086593032,
0.0025928851682692766,
-0.04356362298130989,
0.05912947282195091,
0.05978409945964813,
0.025575827807188034,
0.031367477029561996,
0.009962101466953754,
0.00902655627578497,
-0.008010557852685452,
-0.025953318923711777,
-0.10789883881807327,
-0.0004862392379436642,
0.022625790908932686,
0.004878033883869648,
0.005984138231724501,
-0.017115933820605278,
-0.02220327779650688,
0.014093132689595222,
-0.05110708251595497,
-0.021738067269325256,
0.028370754793286324,
-0.04005453735589981,
0.019976947456598282,
0.030543508008122444,
-0.05382879823446274,
0.0166698656976223,
0.050737544894218445,
-0.03305131942033768,
-0.04976954311132431,
-0.020174207165837288,
0.05377719923853874,
-0.0073736258782446384,
0.05504666268825531,
-0.02536097727715969,
-0.04844215139746666,
0.07678092271089554,
0.01801738142967224,
0.03758072480559349,
0.07643715292215347,
-0.03704463690519333,
0.026800470426678658,
0.054898399859666824,
0.0016789911314845085,
0.02802160196006298,
0.026853928342461586,
-0.045848820358514786,
-0.06298168748617172,
0.03337939828634262,
0.032483309507369995,
-0.009691979736089706,
-0.024960832670331,
0.06683152168989182,
-0.006557259242981672,
-0.0558067187666893,
-0.04003646597266197,
0.020270012319087982,
-0.022404300048947334,
-0.0065032001584768295,
-0.04603799059987068,
0.02823847532272339,
-0.06715178489685059,
0.0670459046959877,
-0.0148201584815979,
0.013208565302193165,
0.08765939623117447,
-0.012277019210159779,
0.027324184775352478,
0.0009392261854372919,
0.0928676426410675,
0.08443331718444824,
0.025539150461554527,
-0.018335483968257904,
0.05585193634033203,
-0.0699765533208847,
-0.019770031794905663,
-0.0081449830904603,
-0.01988930255174637,
-0.06259448826313019,
0.00044822331983596087,
0.0032967140432447195,
0.07000354677438736,
-0.010490823537111282,
0.08975648134946823,
-0.03763309121131897,
-0.01377942506223917,
-0.002359856618568301,
0.00872625969350338,
0.02411254122853279,
0.007608737796545029,
0.00903434306383133,
0.03162325173616409,
-0.01188696175813675,
-0.048833515495061874,
0.03463657200336456,
0.022081896662712097,
-0.026520805433392525,
-0.0006110151298344135,
-0.008805962279438972,
0.011367591097950935,
0.019299115985631943,
0.018064679577946663,
0.0675143152475357,
-0.020777156576514244,
-0.0015290079172700644,
0.0037193004973232746,
0.007334274239838123,
-0.04026387631893158,
0.0400446355342865,
-0.03619867190718651,
-0.01776844635605812,
-0.020285528153181076,
-0.057936958968639374,
-0.00674071628600359,
-0.02988632582128048,
-0.03363486006855965,
0.010029390454292297,
-0.0311385877430439,
0.021487539634108543,
0.0033088079653680325,
-0.01266330573707819,
-0.04068288579583168,
-0.06648287177085876,
-0.03316788747906685,
-0.05393412709236145,
-0.06885732710361481,
-0.0018718464998528361,
-0.019848734140396118,
-0.026461318135261536,
-0.023107577115297318,
-0.022421594709157944,
-0.03310925140976906,
0.008616301231086254,
0.04247892275452614,
-0.04052488133311272,
-0.018535979092121124,
0.003813997143879533,
-0.004249261692166328,
0.006950218230485916,
0.03615633770823479,
0.04623682051897049,
-0.012081246823072433,
0.005317374598234892,
-0.019972749054431915,
-0.012053629383444786,
0.046898484230041504,
-0.008506632409989834,
0.008170397020876408,
-0.0883878841996193,
0.029381778091192245,
0.010023539885878563,
-0.020986637100577354,
-0.06961557269096375,
0.022638272494077682,
0.06341000646352768,
-0.0062297130934894085,
0.04915957152843475,
-0.004927699454128742,
-0.013094202615320683,
-0.04724690690636635,
-0.0186599250882864,
-0.0025618402287364006,
0.017249638214707375,
0.03943512588739395,
-0.03129936009645462,
0.06372299045324326,
0.05728213116526604,
-0.028875920921564102,
-0.015132802538573742,
-0.01304232981055975,
-0.007722425274550915,
-0.01295552123337984,
-0.032045263797044754,
-0.033390678465366364,
-0.0589635968208313,
-0.07273280620574951,
-0.020619845017790794,
0.02137184888124466,
0.004274026025086641,
-0.010661346837878227,
0.040342338383197784,
0.04115431755781174,
-0.018221314996480942,
0.014963042922317982,
-0.04090138524770737,
0.026654761284589767,
-0.039143603295087814,
-0.04175453633069992,
-0.03712181746959686,
-0.019358094781637192,
0.023157622665166855,
-0.04128779470920563,
-0.027397310361266136,
-0.056565284729003906,
0.013876747339963913,
-0.029291238635778427,
0.010118560865521431,
0.0399300716817379,
-0.006973144598305225,
0.014726361259818077
] | [
-0.05238964781165123,
-0.0322110690176487,
-0.028960909694433212,
-0.022573217749595642,
0.05663313716650009,
-0.061177898198366165,
-0.0301619004458189,
0.01280516479164362,
0.006226012017577887,
-0.008177060633897781,
-0.007343479432165623,
-0.029330162331461906,
-0.02828865312039852,
-0.012911639176309109,
0.08358180522918701,
0.022456374019384384,
-0.025229867547750473,
-0.04638085514307022,
-0.04351502284407616,
0.05807150900363922,
0.011524925008416176,
-0.04630420729517937,
-0.0060121756978333,
-0.05348900705575943,
-0.00031365573522634804,
0.005167600233107805,
0.04230743274092674,
-0.03137534111738205,
-0.023350700736045837,
-0.20460058748722076,
-0.0257742777466774,
-0.016806306317448616,
-0.0016041806666180491,
0.005136747844517231,
-0.005838863551616669,
-0.002301714848726988,
0.01157520990818739,
0.004505742806941271,
0.011345556937158108,
0.05234300717711449,
0.004546720068901777,
-0.018375525251030922,
-0.02893453650176525,
-0.013559211045503616,
0.024223625659942627,
0.004057526588439941,
-0.010063521564006805,
-0.005594922229647636,
-0.017176494002342224,
0.016700072214007378,
-0.06743767112493515,
-0.007777489721775055,
0.010784581303596497,
-0.015330196358263493,
0.02636430412530899,
0.012534189969301224,
0.02386469580233097,
0.08171823620796204,
0.06574691087007523,
0.007963966578245163,
-0.0009392406209371984,
-0.0028165860567241907,
-0.15057966113090515,
0.07929155230522156,
-0.01925629936158657,
0.051689330488443375,
-0.024207940325140953,
0.002811180427670479,
-0.019817866384983063,
0.03695343807339668,
0.02395886741578579,
-0.003613806329667568,
0.004070674069225788,
0.08550293743610382,
0.016368530690670013,
0.013680931180715561,
-0.03669588267803192,
0.020896034315228462,
0.021949531510472298,
-0.007124949246644974,
-0.06555961817502975,
-0.009129648096859455,
-0.018643686547875404,
-0.017006246373057365,
-0.07316268235445023,
0.05356397479772568,
-0.013233179226517677,
0.03087647631764412,
-0.00157300871796906,
0.03973548486828804,
0.01795044168829918,
-0.0016475484007969499,
0.054754599928855896,
0.014488738030195236,
-0.07941379398107529,
0.0052889203652739525,
-0.030264444649219513,
0.0017878422513604164,
0.016135986894369125,
0.3869161307811737,
0.022112015634775162,
0.005616107024252415,
0.01334442850202322,
0.06180062144994736,
0.010834445245563984,
-0.02583511918783188,
-0.006537122186273336,
-0.0370301678776741,
0.043522484600543976,
-0.02432173117995262,
-0.0038632568903267384,
-0.008965483866631985,
0.028656257316470146,
-0.0736459270119667,
0.02467087097465992,
0.012659027241170406,
0.07184416800737381,
0.010649739764630795,
-0.03246447443962097,
0.042100127786397934,
0.008867058902978897,
0.014914002269506454,
0.027980130165815353,
-0.0028388374485075474,
0.053950920701026917,
0.019986003637313843,
0.025111502036452293,
0.052790965884923935,
0.027458950877189636,
0.0043037706054747105,
0.04371752589941025,
-0.0037348084151744843,
-0.06392870098352432,
-0.01666945032775402,
-0.00848798081278801,
-0.008179248310625553,
0.030268726870417595,
-0.06586267799139023,
0.00796479918062687,
0.024459704756736755,
-0.015045177191495895,
-0.03421103581786156,
-0.013588840141892433,
-0.009225808084011078,
-0.019480187445878983,
0.13127727806568146,
0.005959517788141966,
-0.014845050871372223,
-0.03056488186120987,
-0.017462383955717087,
-0.004393274430185556,
0.022226199507713318,
-0.011964719742536545,
-0.07182715833187103,
0.009573070332407951,
-0.001666784519329667,
0.057634394615888596,
-0.003992720507085323,
-0.07620580494403839,
0.008553917519748211,
-0.016414625570178032,
-0.05594700202345848,
-0.040667880326509476,
0.060101255774497986,
0.007818236015737057,
-0.10477311164140701,
-0.02391156740486622,
0.013911666348576546,
0.004151978529989719,
-0.04677676409482956,
0.011418703943490982,
0.004817953798919916,
-0.04539093002676964,
-0.0022963592782616615,
0.05071089416742325,
0.005417831242084503,
-0.0316765122115612,
0.007959405891597271,
0.041992876678705215,
0.006309149321168661,
0.0015682351076975465,
0.02326885238289833,
-0.016771718859672546,
0.005962144583463669,
-0.05201663449406624,
-0.10458347946405411,
-0.07234623283147812,
0.017661096528172493,
-0.004727158695459366,
-0.009120623581111431,
-0.03719424456357956,
-0.022118935361504555,
-0.0301806777715683,
0.06295760720968246,
0.001507300534285605,
0.0030560800805687904,
0.030555767938494682,
0.0025455281138420105,
0.023411519825458527,
-0.0551922507584095,
0.03177767992019653,
0.028747718781232834,
-0.018733985722064972,
0.01825593411922455,
-0.0706113651394844,
0.03162461891770363,
0.04898791015148163,
-0.026614436879754066,
0.0431947335600853,
0.011899695731699467,
-0.037355292588472366,
0.016480805352330208,
-0.06836775690317154,
0.007279711775481701,
-0.017953116446733475,
-0.012328213080763817,
-0.01902816817164421,
0.001282667857594788,
0.008897475898265839,
0.0034389453940093517,
-0.011567858047783375,
-0.014491629786789417,
-0.026575449854135513,
-0.37761545181274414,
-0.015957219526171684,
-0.010689610615372658,
-0.041852064430713654,
-0.028724491596221924,
-0.01308891549706459,
0.008261029608547688,
-0.002963004168123007,
0.019399793818593025,
0.04937884584069252,
0.08793560415506363,
-0.029879696667194366,
-0.005039463751018047,
-0.11092381924390793,
0.010258279740810394,
0.04697185382246971,
-0.05458541214466095,
-0.0024279572535306215,
-0.010063491761684418,
0.01295255683362484,
-0.004545224364846945,
-0.008604299277067184,
0.008780444040894508,
-0.08288900554180145,
0.015418789349496365,
0.009679491631686687,
0.09907615929841995,
0.04306461289525032,
0.047538407146930695,
-0.08062213659286499,
0.056958120316267014,
0.012131660245358944,
-0.011422432959079742,
-0.09287717938423157,
-0.005885172635316849,
-0.022115545347332954,
0.01641874946653843,
0.044465310871601105,
-0.006448297295719385,
-0.005746718496084213,
-0.04195452854037285,
0.000504303490743041,
-0.06051819026470184,
-0.05660899728536606,
-0.004165837541222572,
0.007566492073237896,
-0.04454725980758667,
0.012371696531772614,
-0.031040696427226067,
0.07373491674661636,
-0.009592343121767044,
0.013385902158915997,
0.030520819127559662,
0.046502117067575455,
0.0369841568171978,
-0.020935041829943657,
-0.03002915531396866,
-0.0162724107503891,
0.02640167996287346,
0.023504432290792465,
0.06015467643737793,
0.05661981552839279,
0.034761663526296616,
-0.046137675642967224,
0.012842051684856415,
-0.01331465132534504,
-0.0050938804633915424,
0.038118746131658554,
0.0260270107537508,
-0.022249318659305573,
-0.05615200102329254,
0.1189880222082138,
-0.00040432659443467855,
0.03561897575855255,
0.05203106999397278,
0.060648806393146515,
-0.010339578613638878,
-0.03391303867101669,
0.0463792160153389,
0.03388231247663498,
0.034454215317964554,
-0.03836188465356827,
0.08197429031133652,
-0.030516544356942177,
0.023133210837841034,
0.0789848119020462,
-0.015411322936415672,
-0.025998996570706367,
0.04289526864886284,
-0.03791145980358124,
-0.02817757986485958,
0.0025307973846793175,
-0.0438661202788353,
-0.07807458192110062,
0.05606677383184433,
-0.038358017802238464,
-0.28341737389564514,
0.04412929341197014,
0.017594289034605026,
0.04065771400928497,
0.01350444182753563,
-0.005707676522433758,
-0.011906030587852001,
-0.023502297699451447,
-0.031132124364376068,
0.022692816331982613,
0.0002480677794665098,
0.05141943320631981,
-0.03140094503760338,
0.006136842537671328,
0.02357983961701393,
0.010166436433792114,
0.01780589297413826,
0.020510779693722725,
0.026038847863674164,
0.0017077297670766711,
0.038047172129154205,
0.01658734306693077,
0.17318598926067352,
0.07170749455690384,
-0.019165869802236557,
0.02834942936897278,
-0.023679206147789955,
0.033423472195863724,
0.0644250139594078,
0.007069921586662531,
-0.023382505401968956,
0.07186045497655869,
0.06581418961286545,
0.04472923278808594,
0.041843000799417496,
-0.05371068790555,
0.02629202790558338,
0.03143175318837166,
0.022209765389561653,
-0.05224694311618805,
-0.0325150340795517,
0.04096633568406105,
-0.013556034304201603,
0.01552066020667553,
0.046721260994672775,
0.002107919193804264,
-0.0003761715197470039,
-0.07166413217782974,
-0.05761741101741791,
-0.03711200878024101,
-0.010414090938866138,
-0.04251324385404587,
0.020580507814884186,
0.009037556126713753,
-0.009702344425022602,
0.040334027260541916,
0.0171317458152771,
-0.009919289499521255,
0.012242773547768593,
0.013049413450062275,
0.0021079303696751595,
-0.04465055093169212,
0.0859106108546257,
-0.02181236259639263,
0.007907716557383537
] | [
0.032004278153181076,
0.030483467504382133,
-0.027898414060473442,
0.030402330681681633,
-0.0011228090152144432,
0.021556060761213303,
0.018456026911735535,
0.015166133642196655,
0.024338316172361374,
-0.03470368683338165,
-0.053656913340091705,
-0.04265816509723663,
0.01961700990796089,
-0.016878610476851463,
-0.0030663299839943647,
-0.028642181307077408,
-0.00963176041841507,
-0.008481373079121113,
0.007204338908195496,
-0.05325732007622719,
-0.02475556917488575,
-0.028252169489860535,
0.021414384245872498,
0.0017124803271144629,
-0.004472894128412008,
0.040255479514598846,
0.0008592532831244171,
0.021675577387213707,
0.02198457345366478,
-0.10584288090467453,
-0.012889613397419453,
-0.05362095683813095,
-0.04096631333231926,
-0.02255101129412651,
0.003059274982661009,
0.0012870249338448048,
-0.006368201691657305,
-0.010042457841336727,
-0.02803337574005127,
0.027625272050499916,
0.07741857320070267,
-0.06252673268318176,
-0.02137487567961216,
0.005769690033048391,
-0.02190760336816311,
0.013956072740256786,
-0.03488942235708237,
-0.02071450464427471,
-0.006384182255715132,
0.01067691296339035,
-0.06571206450462341,
-0.019810792058706284,
0.010523220524191856,
0.03239845111966133,
0.03874070197343826,
-0.010153794661164284,
-0.04200650751590729,
0.027720578014850616,
0.02746395394206047,
-0.03266635909676552,
0.02307765744626522,
0.007790240924805403,
-0.039380304515361786,
-0.010156548582017422,
-0.025027113035321236,
-0.024476898834109306,
-0.04403262957930565,
0.0633009746670723,
0.0442047119140625,
0.011785204522311687,
0.02362491562962532,
0.0409056656062603,
-0.06602835655212402,
-0.01724243350327015,
-0.011344937607645988,
-0.01707516424357891,
0.011883402243256569,
-0.011332031339406967,
-0.005239373072981834,
0.02746475674211979,
-0.025562431663274765,
0.009152639657258987,
-0.05586667358875275,
-0.04468176141381264,
-0.059933267533779144,
-0.00327329826541245,
0.011602537706494331,
-0.04653346166014671,
0.025407319888472557,
0.03862743824720383,
-0.050221752375364304,
0.025479689240455627,
0.021019140258431435,
-0.031102944165468216,
-0.07951106131076813,
0.01390351727604866,
-0.021498924121260643,
-0.01494250912219286,
0.04194050282239914,
0.7867518663406372,
0.031016431748867035,
0.038103025406599045,
0.01305458415299654,
0.021889103576540947,
0.0011814612662419677,
-0.0628741979598999,
-0.009703803807497025,
0.05352067947387695,
-0.003052541520446539,
-0.02748711034655571,
-0.008869229815900326,
0.01491333544254303,
0.03350638598203659,
-0.005718572530895472,
0.04929681122303009,
0.03139747306704521,
0.010412109084427357,
-0.016767747700214386,
-0.01631060428917408,
0.041803255677223206,
0.010359163396060467,
-0.01972424052655697,
0.007513473276048899,
0.03893011063337326,
0.04581914097070694,
-0.1061297282576561,
0.018774205818772316,
-6.703533511420507e-33,
0.06711268424987793,
-0.039238110184669495,
0.05645660683512688,
0.015343799255788326,
0.03409453108906746,
-0.042974986135959625,
0.003263401333242655,
-0.014114785939455032,
-0.023987384513020515,
-0.036043718457221985,
0.006494798697531223,
-0.007126701530069113,
-0.024965092539787292,
-0.04502300173044205,
0.0034033653791993856,
-0.015895990654826164,
-0.017998989671468735,
-0.0028396169655025005,
0.006929568946361542,
0.01418380904942751,
0.03622206300497055,
0.028572214767336845,
-0.011769754812121391,
0.03930775076150894,
0.008470607921481133,
0.006948955822736025,
0.02333470620214939,
0.0074080051854252815,
-0.014841310679912567,
-0.029705636203289032,
-0.06258945912122726,
0.043004292994737625,
-0.030311686918139458,
-0.055269669741392136,
0.009794606827199459,
-0.0741439238190651,
-0.030881647020578384,
0.012904509902000427,
-0.03774748742580414,
-0.025974471122026443,
-0.06165292114019394,
-0.0035141000989824533,
-0.03433219715952873,
-0.04126660153269768,
-0.017166785895824432,
-0.0005734586738981307,
0.01963682286441326,
0.003004505531862378,
0.00446348637342453,
-0.007910196669399738,
0.02620319090783596,
-0.002787600504234433,
0.037752822041511536,
0.056849732995033264,
0.03699488192796707,
0.011933059431612492,
0.010075941681861877,
-0.008702777326107025,
-0.019731633365154266,
-0.008561032824218273,
0.017217261716723442,
0.003920185845345259,
-0.013697595335543156,
0.02984604798257351,
0.06381253898143768,
-0.00892703514546156,
0.039692092686891556,
0.03672843798995018,
0.022530194371938705,
-0.002147367689758539,
-0.040341828018426895,
0.003062350442633033,
-0.028276098892092705,
-0.036524347960948944,
0.035181719809770584,
-0.04540630057454109,
0.005659810733050108,
-0.00884843710809946,
0.010206161066889763,
0.071492500603199,
0.02532580867409706,
-0.030713459476828575,
0.03857734054327011,
0.011707670986652374,
-0.015405681915581226,
-0.022385405376553535,
0.011286136694252491,
0.0017046643188223243,
-0.012001470662653446,
0.006986758206039667,
0.04148304462432861,
0.07169429212808609,
0.036988887935876846,
-0.019490081816911697,
-0.04112136736512184,
6.827099273527038e-33,
-0.005074534565210342,
-0.026290901005268097,
-0.020524008199572563,
0.0032670735381543636,
0.03744819760322571,
-0.022089587524533272,
0.014685951173305511,
0.040582675486803055,
0.02479439787566662,
0.0626540258526802,
-0.033777181059122086,
-0.033711738884449005,
-0.039097435772418976,
0.02633630856871605,
0.05580058693885803,
-0.016902625560760498,
0.00422641821205616,
-0.051433008164167404,
0.013528105802834034,
0.004299551248550415,
-0.005733124446123838,
0.0018795912619680166,
-0.006695812102407217,
0.011670376174151897,
0.03928070515394211,
0.011516548693180084,
-0.002002035966143012,
0.0078045958653092384,
-0.056650176644325256,
-0.024315398186445236,
0.025388550013303757,
-0.037064410746097565,
-0.022143326699733734,
-0.02103329449892044,
-0.012247019447386265,
-0.006030386779457331,
0.04216686263680458,
0.023194395005702972,
-0.009128502570092678,
0.011427589692175388,
0.001915819477289915,
0.03914555534720421,
0.02414924092590809,
0.04459626227617264,
0.02254791557788849,
0.0353241004049778,
0.023575132712721825,
-0.010028431192040443,
0.004413921851664782,
0.0005304290098138154,
-0.00906432420015335,
0.0011616515694186091,
0.00328620383515954,
0.03703826293349266,
0.0059869615361094475,
-0.04251600429415703,
0.04543619975447655,
0.03823798894882202,
-0.03077881596982479,
-0.0032222201116383076,
-0.04011347144842148,
-0.0387285016477108,
0.022589877247810364,
0.0011054774513468146,
-0.012082315981388092,
-0.034661829471588135,
-0.004778655711561441,
0.03744511306285858,
-0.018772078678011894,
-0.05541697144508362,
0.00010550966544542462,
-0.0454862080514431,
-0.0007638367242179811,
0.03719143941998482,
0.03890521451830864,
-0.016458237543702126,
-0.006987609900534153,
0.047948624938726425,
-0.028748946264386177,
0.031809378415346146,
0.015597905032336712,
0.03926282748579979,
-0.020574357360601425,
-0.032588694244623184,
0.03690989315509796,
0.006986062042415142,
0.003232743125408888,
-0.04103932902216911,
-0.019458148628473282,
0.03292191028594971,
0.009871434420347214,
-0.032364752143621445,
-0.051341570913791656,
0.025198135524988174,
-0.0574137382209301,
-1.204887922767739e-8,
-0.035802893340587616,
0.005576385650783777,
-0.04163084551692009,
0.006322844419628382,
0.022207124158740044,
0.014015446417033672,
-0.009761162102222443,
-0.007917745970189571,
-0.003822954138740897,
0.0030219596810638905,
0.01943848840892315,
-0.008341589011251926,
0.059110138565301895,
0.021324964240193367,
0.02846553921699524,
-0.07427679002285004,
-0.023937329649925232,
-0.03772854432463646,
0.019421763718128204,
0.0010163967963308096,
0.049515120685100555,
0.03751516714692116,
-0.022662324830889702,
0.0021847314201295376,
0.0007694640662521124,
0.0017478389199823141,
0.04932679980993271,
-0.05997209623456001,
-0.00416478980332613,
-0.02224467322230339,
-0.015035557560622692,
-0.018349554389715195,
-0.008463824167847633,
0.035902537405490875,
0.008503635413944721,
-0.020156290382146835,
0.033485863357782364,
0.04636147618293762,
-0.030726300552487373,
0.03198240324854851,
-0.008458642289042473,
0.009009255096316338,
-0.02278374880552292,
-0.01905447244644165,
-0.033573489636182785,
0.029523048549890518,
-0.05267300829291344,
0.04368159919977188,
0.034192297607660294,
-0.018811210989952087,
-0.03950490057468414,
-0.0048735300078988075,
0.036716725677251816,
0.03242975473403931,
0.04599452763795853,
-0.023148654028773308,
0.020972777158021927,
-0.038494281470775604,
-0.00875512883067131,
-0.043823499232530594,
0.05754242092370987,
0.05030831694602966,
-0.03993982449173927,
0.004226440563797951
] | kql-create-stream-extraneous-input | https://markhneedham.com/blog/2019/05/20/kql-create-stream-extraneous-input |
false | 2019-05-29 06:50:00 | Twint: Loading tweets into Kafka and Neo4j | [
"kafka",
"twitter",
"twint",
"neo4j",
"kafka-connect"
] | [
"Kafka",
"Neo4j"
] | In this post we're going to load tweets via the https://github.com/twintproject/twint[twint library^] into Kafka, and once we've got them in there we'll use the https://www.confluent.io/blog/kafka-connect-neo4j-sink-plugin[Kafka Connect Neo4j Sink Plugin^] to get them into Neo4j.
== What is twint?
Twitter data has always been some of the most fun to play with, but over the years the official API has become more and more restritive, and it now takes a really long time to download enough data to do anything interesting.
I was therefore intrigued when Michael showed me the https://github.com/twintproject/twint[twint^] library, which describes itself as:
____
An advanced Twitter scraping & OSINT tool written in Python that doesn't use Twitter's API, allowing you to scrape a user's followers, following, Tweets and more while evading most API limitations
____
We can install the library via pip using the following command:
[source, bash]
----
pip install --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint
----
== Retrieving tweets
Let's learn how to use the library.
The following code will retrieve tweets since 20th May 2019 for the search term `neo4j OR "graph database" OR "graph databases" OR graphdb OR graphconnect OR @neoquestions OR @Neo4jDE OR @Neo4jFr OR neotechnology` and save them into the file `tweets.json`:
[source, python]
----
import twint
import json
c = twint.Config()
c.Search = "neo4j OR \"graph database\" OR \"graph databases\" OR graphdb OR graphconnect OR @neoquestions OR @Neo4jDE OR @Neo4jFr OR neotechnology"
c.Store_json = True
c.Custom["user"] = ["id", "tweet", "user_id", "username", "hashtags", "mentions"]
c.User_full = True
c.Output = "tweets.json"
c.Since = "2019-05-20"
c.Hide_output = True
twint.run.Search(c)
----
We can have a look at the contents of that file by running the following command:
[source, bash]
----
$ head -n5 tweets.json
{"id": 1133394643830345728, "conversation_id": "1133334287841992704", "created_at": 1559057315000, "date": "2019-05-28", "time": "16:28:35", "timezone": "BST", "user_id": 900548798, "username": "geolytix", "name": "GEOLYTIX", "place": null, "tweet": "have you benchmarked against OSRM? that is best of the 'standard' approaches. I know others ...incluidng us ;-)... doing interesting r&d with massively parallel approach with 1000's of graph database for crazy speeds.", "mentions": ["murraydata", "rapidsai", "ordnancesurvey", "transportgovuk", "puntofisso"], "urls": [], "photos": [], "replies_count": 1, "retweets_count": 0, "likes_count": 1, "location": "", "hashtags": [], "link": "https://twitter.com/Geolytix/status/1133394643830345728", "retweet": null, "quote_url": "", "video": 0}
{"id": 1133393703148687361, "conversation_id": "1133393703148687361", "created_at": 1559057090000, "date": "2019-05-28", "time": "16:24:50", "timezone": "BST", "user_id": 892256485, "username": "neoquestions", "name": "Neo Questions", "place": null, "tweet": "\"neo4j - Return single instance of node - querying by property?\" #neo4jquestions https://stackoverflow.com/questions/56307118/neo4j-return-single-instance-of-node-querying-by-property …", "mentions": "", "urls": ["https://stackoverflow.com/questions/56307118/neo4j-return-single-instance-of-node-querying-by-property"], "photos": [], "replies_count": 0, "retweets_count": 0, "likes_count": 0, "location": "", "hashtags": ["#neo4jquestions"], "link": "https://twitter.com/NeoQuestions/status/1133393703148687361", "retweet": null, "quote_url": "", "video": 0}
{"id": 1133393003656167424, "conversation_id": "1133393003656167424", "created_at": 1559056924000, "date": "2019-05-28", "time": "16:22:04", "timezone": "BST", "user_id": 135805905, "username": "phermar", "name": "Pablo Hernández", "place": null, "tweet": "An illuminating story of @emileifrem, the #Entrepreneur who founded @neo4j, the #Startup offering a graph platform for Data Analysis. https://www.forbes.com/sites/alejandrocremades/2019/05/28/this-entrepreneur-went-from-having-2000-left-in-the-bank-to-building-a-billion-dollar-business/#3d0f1b7b3192 …", "mentions": ["emileifrem", "neo4j"], "urls": ["https://www.forbes.com/sites/alejandrocremades/2019/05/28/this-entrepreneur-went-from-having-2000-left-in-the-bank-to-building-a-billion-dollar-business/#3d0f1b7b3192"], "photos": [], "replies_count": 0, "retweets_count": 0, "likes_count": 0, "location": "", "hashtags": ["#entrepreneur", "#startup"], "link": "https://twitter.com/phermar/status/1133393003656167424", "retweet": null, "quote_url": "", "video": 0}
{"id": 1133392446279344128, "conversation_id": "1133392446279344128", "created_at": 1559056791000, "date": "2019-05-28", "time": "16:19:51", "timezone": "BST", "user_id": 892256485, "username": "neoquestions", "name": "Neo Questions", "place": null, "tweet": "\"How to efficiently store time-series values for each node in NEO4J?\" #neo4jquestions https://stackoverflow.com/questions/56345345/how-to-efficiently-store-time-series-values-for-each-node-in-neo4j …", "mentions": "", "urls": ["https://stackoverflow.com/questions/56345345/how-to-efficiently-store-time-series-values-for-each-node-in-neo4j"], "photos": [], "replies_count": 0, "retweets_count": 0, "likes_count": 0, "location": "", "hashtags": ["#neo4jquestions"], "link": "https://twitter.com/NeoQuestions/status/1133392446279344128", "retweet": null, "quote_url": "", "video": 0}
{"id": 1133392332416606214, "conversation_id": "1132026469675225088", "created_at": 1559056764000, "date": "2019-05-28", "time": "16:19:24", "timezone": "BST", "user_id": 954001, "username": "ryguyrg", "name": "ryan boyd", "place": null, "tweet": "agreed on the spider :-( sounds like a valid comment on the amazon review! https://www.amazon.com/Graph-Algorithms-Practical-Examples-Apache/dp/1492047686/ …", "mentions": ["odbmsorg", "neo4j", "amyhodler", "markhneedham"], "urls": ["https://www.amazon.com/Graph-Algorithms-Practical-Examples-Apache/dp/1492047686/"], "photos": [], "replies_count": 0, "retweets_count": 0, "likes_count": 0, "location": "", "hashtags": [], "link": "https://twitter.com/ryguyrg/status/1133392332416606214", "retweet": null, "quote_url": "", "video": 0}
----
What about if we don't want to write to a JSON file, but want to write those JSON objects to somewhere not supported by the library?
The writing of data to the JSON file is done by the `twint.storage.write.Json` function, which we can https://yuji.wordpress.com/2011/01/13/python-globally-override-function-imports/[replace with our own function^] using the following code:
[source, python]
----
import twint
import sys
module = sys.modules["twint.storage.write"]
def Json(obj, config):
tweet = obj.__dict__
print(tweet)
module.Json = Json
c = twint.Config()
c.Search = "neo4j OR \"graph database\" OR \"graph databases\" OR graphdb OR graphconnect OR @neoquestions OR @Neo4jDE OR @Neo4jFr OR neotechnology"
c.Store_json = True
c.Custom["user"] = ["id", "tweet", "user_id", "username", "hashtags", "mentions"]
c.User_full = True
c.Output = "tweets.json"
c.Since = "2019-05-20"
c.Hide_output = True
twint.run.Search(c)
----
If we run that tweets will now be printed to stdout instead of being written to `tweets.json`:
[source, bash]
----
$ python print_tweets.py | head -n5
{'id': 1133418564013174784, 'id_str': '1133418564013174784', 'conversation_id': '1133412611347886080', 'datetime': 1559063018000, 'datestamp': '2019-05-28', 'timestamp': '18:03:38', 'user_id': 2481818113, 'user_id_str': '2481818113', 'username': 'onejsninja', 'name': 'ECONNREFUSED', 'profile_image_url': 'https://pbs.twimg.com/profile_images/1122732844231610368/ccIfr_eK.jpg', 'place': None, 'timezone': 'BST', 'mentions': ['pensnaku', 'neo4j'], 'urls': [], 'photos': [], 'video': 0, 'tweet': '🙌', 'location': '', 'hashtags': [], 'replies_count': '0', 'retweets_count': '0', 'likes_count': '0', 'link': 'https://twitter.com/onejsninja/status/1133418564013174784', 'retweet': None, 'quote_url': ''}
{'id': 1133417664347594752, 'id_str': '1133417664347594752', 'conversation_id': '1133417664347594752', 'datetime': 1559062803000, 'datestamp': '2019-05-28', 'timestamp': '18:00:03', 'user_id': 2355868690, 'user_id_str': '2355868690', 'username': 'theokraay', 'name': 'Theo van Kraay', 'profile_image_url': 'https://pbs.twimg.com/profile_images/953427963227394050/zMqFsTlX.jpg', 'place': None, 'timezone': 'BST', 'mentions': '', 'urls': ['https://lnkd.in/dC9jYFC'], 'photos': [], 'video': 0, 'tweet': 'Discover how to use the execution profile step for #AzureCosmosDB Gremlin API graph databases. Samples...... https://lnkd.in/dC9jYFC\xa0', 'location': '', 'hashtags': ['#azurecosmosdb'], 'replies_count': '0', 'retweets_count': '0', 'likes_count': '0', 'link': 'https://twitter.com/TheoKraay/status/1133417664347594752', 'retweet': None, 'quote_url': ''}
{'id': 1133412611347886080, 'id_str': '1133412611347886080', 'conversation_id': '1133412611347886080', 'datetime': 1559061598000, 'datestamp': '2019-05-28', 'timestamp': '17:39:58', 'user_id': 378668650, 'user_id_str': '378668650', 'username': 'pensnaku', 'name': 'Eedee Naku', 'profile_image_url': 'https://pbs.twimg.com/profile_images/1123867014903287808/1QKtbWAt.jpg', 'place': None, 'timezone': 'BST', 'mentions': ['neo4j'], 'urls': [], 'photos': [], 'video': 0, 'tweet': 'Enjoying my first few days with @neo4j and Cypher. ASCII art. ( ) - [ ] -> ( );', 'location': '', 'hashtags': [], 'replies_count': '1', 'retweets_count': '2', 'likes_count': '7', 'link': 'https://twitter.com/pensnaku/status/1133412611347886080', 'retweet': None, 'quote_url': ''}
{'id': 1133410865607319559, 'id_str': '1133410865607319559', 'conversation_id': '1133410865607319559', 'datetime': 1559061182000, 'datestamp': '2019-05-28', 'timestamp': '17:33:02', 'user_id': 2545730773, 'user_id_str': '2545730773', 'username': 'wbsbike', 'name': 'Will Snipes', 'profile_image_url': 'https://pbs.twimg.com/profile_images/474224499441688576/_qqblwJY.jpeg', 'place': None, 'timezone': 'BST', 'mentions': ['youtube'], 'urls': ['https://youtu.be/v6QI3YlYPrE'], 'photos': [], 'video': 0, 'tweet': 'How Graph Technology is Changing AIJake Graham Neo4j,Alicia Frame Neo4j https://youtu.be/v6QI3YlYPrE\xa0 via @YouTube', 'location': '', 'hashtags': [], 'replies_count': '0', 'retweets_count': '0', 'likes_count': '0', 'link': 'https://twitter.com/wbsbike/status/1133410865607319559', 'retweet': None, 'quote_url': ''}
{'id': 1133410195537833985, 'id_str': '1133410195537833985', 'conversation_id': '1133410195537833985', 'datetime': 1559061023000, 'datestamp': '2019-05-28', 'timestamp': '17:30:23', 'user_id': 872808354720223236, 'user_id_str': '872808354720223236', 'username': 'oraclecourse', 'name': 'Oracle DBA Courses', 'profile_image_url': 'https://pbs.twimg.com/profile_images/956551490205835264/ODMsVpoX.jpg', 'place': None, 'timezone': 'BST', 'mentions': '', 'urls': ['https://twitter.com/OracleCourse/status/1133409940289277953'], 'photos': [], 'video': 0, 'tweet': '#ECO18 #ERP #ExploreOracle #ethereum #TDD #Essbase25 #EmergingTech #futurecities #frontend #Followback #FakeData #Fintech #fintechgeek #freeads #fourweeks #financecourses #fastest #financialservices #groundbreakerstour #ggupgrade #GraphDB #goals #GDPR #GoOracle #GoldenGate https://twitter.com/OracleCourse/status/1133409940289277953\xa0…', 'location': '', 'hashtags': ['#eco18', '#erp', '#exploreoracle', '#ethereum', '#tdd', '#essbase25', '#emergingtech', '#futurecities', '#frontend', '#followback', '#fakedata', '#fintech', '#fintechgeek', '#freeads', '#fourweeks', '#financecourses', '#fastest', '#financialservices', '#groundbreakerstour', '#ggupgrade', '#graphdb', '#goals', '#gdpr', '#gooracle', '#goldengate'], 'replies_count': '0', 'retweets_count': '0', 'likes_count': '0', 'link': 'https://twitter.com/OracleCourse/status/1133410195537833985', 'retweet': None, 'quote_url': 'https://twitter.com/OracleCourse/status/1133409940289277953'}
----
So far so good.
Now that we can get access to the tweet objects we can store them in Kafka instead of printing them to the console.
== Storing tweets in Kafka
I've created a Docker Compose template that launches the containers we'll use for the rest of the post.
It's available in the https://github.com/mneedham/kafka-connect-neo4j[kafka-connect-neo4j^] GitHub repository.
[source, bash]
----
git clone [email protected]:mneedham/kafka-connect-neo4j.git && cd kafka-connect-neo4j
docker-compose up
----
We should see the following output from running that command:
[source, bash]
----
Starting zookeeper-kc ... done
Starting broker-kc ... done
Starting neo4j-kc ... done
Starting schema_registry-kc ... done
Starting ksql-server-kc ... done
Starting connect-kc ... done
Starting control-center-kc ... done
Attaching to zookeeper-kc, broker-kc, ksql-server-kc, neo4j-kc, schema_registry-kc, connect-kc, control-center-kc
----
While that's running, we'll install the https://github.com/confluentinc/confluent-kafka-python[confluent-kafka-python^] driver using the following command:
[source, bash]
----
pip install confluent-kafka[avro]
----
We can now update the `Json` function that we wrote earlier to store our tweets into the `tweets` topic:
[source, python]
----
import twint
import sys
import json
from confluent_kafka import avro
from confluent_kafka.avro import AvroProducer
# Define Avro schema
value_schema_str = """
{
"namespace": "my.test",
"name": "value",
"type": "record",
"fields" : [
{ "name": "id", "type": "long" },
{ "name": "tweet", "type": "string" },
{ "name": "datetime", "type": "long" },
{ "name": "username", "type": "string" },
{ "name": "user_id", "type": "long" },
{ "name": "hashtags", "type": {"type": "array", "items": "string"} }
]
}
"""
key_schema_str = """
{
"namespace": "my.test",
"name": "key",
"type": "record",
"fields" : [
{
"name" : "name",
"type" : "string"
}
]
}
"""
kafka_broker = 'localhost:9092'
schema_registry = 'http://localhost:8081'
value_schema = avro.loads(value_schema_str)
key_schema = avro.loads(key_schema_str)
producer = AvroProducer({
'bootstrap.servers': kafka_broker,
'schema.registry.url': schema_registry
}, default_key_schema=key_schema, default_value_schema=value_schema)
module = sys.modules["twint.storage.write"]
def Json(obj, config):
tweet = obj.__dict__
print(tweet)
producer.produce(topic='tweets', value=tweet, key={"name": "Key"})
producer.flush()
module.Json = Json
c = twint.Config()
c.Search = "neo4j OR \"graph database\" OR \"graph databases\" OR graphdb OR graphconnect OR @neoquestions OR @Neo4jDE OR @Neo4jFr OR neotechnology"
c.Store_json = True
c.Custom["user"] = ["id", "tweet", "user_id", "username", "hashtags", "mentions"]
c.User_full = True
c.Output = "tweets.json"
c.Since = "2019-05-20"
c.Hide_output = True
twint.run.Search(c)
----
Since the events we stored used an Avro schema, we'll use the `kafka-avro-console-consumer` command to query the topic:
[source, bash]
----
$ docker exec schema_registry-kc kafka-avro-console-consumer --topic tweets --bootstrap-server broker:9093 --from-beginning
[2019-05-28 17:10:59,610] INFO Registered kafka:type=kafka.Log4jController MBean (kafka.utils.Log4jControllerRegistration$)
....
[2019-05-28 17:10:59,918] INFO Kafka version : 2.1.1-cp1 (org.apache.kafka.common.utils.AppInfoParser)
[2019-05-28 17:10:59,918] INFO Kafka commitId : 9aa84c2aaa91e392 (org.apache.kafka.common.utils.AppInfoParser)
[2019-05-28 17:11:00,035] INFO Cluster ID: Ai8uZd6RS7iUToW3jRwBTQ (org.apache.kafka.clients.Metadata)
[2019-05-28 17:11:00,036] INFO [Consumer clientId=consumer-1, groupId=console-consumer-8062] Discovered group coordinator broker:9093 (id: 2147483646 rack: null) (org.apache.kafka.clients.consumer.internals.AbstractCoordinator)
[2019-05-28 17:11:00,038] INFO [Consumer clientId=consumer-1, groupId=console-consumer-8062] Revoking previously assigned partitions [] (org.apache.kafka.clients.consumer.internals.ConsumerCoordinator)
[2019-05-28 17:11:00,038] INFO [Consumer clientId=consumer-1, groupId=console-consumer-8062] (Re-)joining group (org.apache.kafka.clients.consumer.internals.AbstractCoordinator)
[2019-05-28 17:11:00,047] INFO [Consumer clientId=consumer-1, groupId=console-consumer-8062] Successfully joined group with generation 1 (org.apache.kafka.clients.consumer.internals.AbstractCoordinator)
[2019-05-28 17:11:00,048] INFO [Consumer clientId=consumer-1, groupId=console-consumer-8062] Setting newly assigned partitions [tweets-0] (org.apache.kafka.clients.consumer.internals.ConsumerCoordinator)
[2019-05-28 17:11:00,065] INFO [Consumer clientId=consumer-1, groupId=console-consumer-8062] Resetting offset for partition tweets-0 to offset 0. (org.apache.kafka.clients.consumer.internals.Fetcher)
{"id":1133394643830345728,"tweet":"have you benchmarked against OSRM? that is best of the 'standard' approaches. I know others ...incluidng us ;-)... doing interesting r&d with massively parallel approach with 1000's of graph database for crazy speeds.","datetime":1559057315000,"username":"geolytix","user_id":900548798,"hashtags":[]}
{"id":1133393703148687361,"tweet":"\"neo4j - Return single instance of node - querying by property?\" #neo4jquestions https://stackoverflow.com/questions/56307118/neo4j-return-single-instance-of-node-querying-by-property …","datetime":1559057090000,"username":"neoquestions","user_id":892256485,"hashtags":["#neo4jquestions"]}
{"id":1133393003656167424,"tweet":"An illuminating story of @emileifrem, the #Entrepreneur who founded @neo4j, the #Startup offering a graph platform for Data Analysis. https://www.forbes.com/sites/alejandrocremades/2019/05/28/this-entrepreneur-went-from-having-2000-left-in-the-bank-to-building-a-billion-dollar-business/#3d0f1b7b3192 …","datetime":1559056924000,"username":"phermar","user_id":135805905,"hashtags":["#entrepreneur","#startup"]}
{"id":1133392446279344128,"tweet":"\"How to efficiently store time-series values for each node in NEO4J?\" #neo4jquestions https://stackoverflow.com/questions/56345345/how-to-efficiently-store-time-series-values-for-each-node-in-neo4j …","datetime":1559056791000,"username":"neoquestions","user_id":892256485,"hashtags":["#neo4jquestions"]}
{"id":1133392332416606214,"tweet":"agreed on the spider :-( sounds like a valid comment on the amazon review! https://www.amazon.com/Graph-Algorithms-Practical-Examples-Apache/dp/1492047686/ …","datetime":1559056764000,"username":"ryguyrg","user_id":954001,"hashtags":[]}
----
Great, all good so far!
Now we're ready to get the tweets from Kafka into Neo4j.
== Storing tweets in Neo4j
As mentioned at the beginning of this post, we're going to use the Kafka Connect Neo4j Sink Plugin to get the data from Kafka into Neo4j.
The https://www.confluent.io/blog/kafka-connect-neo4j-sink-plugin[Kafka Connect Neo4j Sink Plugin^] was launched in February, and is a tool that makes it easy to load streaming data from Kafka into Neo4j.
You control ingestion by defining Cypher statements per topic that you want to ingest.
Those are then executed for batches of events coming in.
We can create a new connector by running the following command:
[source, bash]
----
curl -i -X POST -H "Accept:application/json" \
-H "Content-Type:application/json" http://localhost:8083/connectors/ \
-d '{
"name": "connect.sink.neo4j.tweets",
"config": {
"topics": "tweets",
"connector.class": "streams.kafka.connect.sink.Neo4jSinkConnector",
"neo4j.server.uri": "bolt://neo4j:7687",
"neo4j.authentication.basic.username": "neo4j",
"neo4j.authentication.basic.password": "neo",
"neo4j.topic.cypher.tweets": "WITH event AS data MERGE (t:Tweet {id: data.id}) SET t.text = data.tweet, t.createdAt = datetime({epochmillis:data.datetime}) MERGE (u:User {username: data.username}) SET u.id = data.user_id MERGE (u)-[:POSTED]->(t) FOREACH (ht IN data.hashtags | MERGE (hashtag:HashTag {value: ht}) MERGE (t)-[:HAS_HASHTAG]->(hashtag))"
}
}'
----
This creates a consumer that takes messages from the `tweets` topic and runs the Cypher query defined by `neo4j.topic.cypher.tweets`.
We can then run the following Cypher query to explore the data that's been loaded into Neo4j:
[source, cypher]
----
MATCH path = (u:User)-[:POSTED]->(t:Tweet)-[:HAS_HASHTAG]->(ht)
RETURN path
LIMIT 100
----
image::{{<siteurl>}}/uploads/2019/05/twitter.png[]
== Summary
And that's it!
Hopefully this post has shown how easy it is to load data from Kafka into Neo4j using the Kafka Connect Sink.
Below are useful resources in case you want to reproduce any part of this post:
* https://www.confluent.io/blog/kafka-connect-neo4j-sink-plugin[Blog post^] announcing the launch of the Kafka Connect Neo4j Sink Plugin
* https://gist.github.com/mneedham/fd0aece612896b8ef7cabd2943d6d90c[GitHub gist^] showing the evolution of our tweet processing code
* https://github.com/mneedham/kafka-connect-neo4j[kafka-connect-neo4j^] repository for launching all the infrastructure used | Learn how to load tweets via the twint library into Kafka, and then use the Kafka Connect Sink to load them into Neo4j as well. | null | [
0.03607296943664551,
-0.0371607169508934,
0.0007781368913128972,
0.056055404245853424,
0.07908134162425995,
0.02756582945585251,
0.029985984787344933,
0.057188574224710464,
0.004132446367293596,
-0.004894078243523836,
-0.003966652788221836,
-0.014752949588000774,
-0.0731453076004982,
0.009109328500926495,
-0.0221896693110466,
0.039297185838222504,
0.06379157304763794,
-0.01208137534558773,
0.03712034970521927,
0.023809053003787994,
0.022860514000058174,
0.06072394549846649,
0.01750878617167473,
0.032372333109378815,
0.019288960844278336,
0.006207125727087259,
0.0017269302625209093,
0.009100654162466526,
-0.026079412549734116,
-0.01375528797507286,
0.03986793011426926,
0.00740568432956934,
0.020517118275165558,
-0.027942875400185585,
0.017398471012711525,
-0.0006750361062586308,
-0.031741850078105927,
0.014833939261734486,
0.005171175580471754,
0.021543394774198532,
-0.07323143631219864,
0.0512261725962162,
-0.007562086917459965,
0.01693805679678917,
-0.03332234174013138,
0.02126244455575943,
-0.03248338773846626,
0.048340994864702225,
0.007451551966369152,
0.001790213631466031,
-0.0750415176153183,
0.012086952105164528,
-0.011143659241497517,
-0.01245269924402237,
0.006129005458205938,
0.046841155737638474,
-0.007009904365986586,
-0.07511648535728455,
0.04026128351688385,
-0.022753160446882248,
0.00908849947154522,
-0.025165138766169548,
0.01366648729890585,
0.017222432419657707,
0.001351921702735126,
-0.046912092715501785,
0.001766946050338447,
0.06518331915140152,
-0.036943044513463974,
-0.012479891069233418,
0.005670484621077776,
0.031014589592814445,
-0.03607930988073349,
-0.003231762209907174,
0.017966007813811302,
-0.05464247986674309,
-0.0074734315276145935,
0.06301593035459518,
0.05017034709453583,
0.047891199588775635,
-0.03029252029955387,
0.021001441404223442,
0.004752615001052618,
0.046781208366155624,
0.0032868308480829,
-0.030103551223874092,
-0.03600841015577316,
0.0014661848545074463,
-0.08165356516838074,
0.04579272121191025,
-0.005360259674489498,
-0.054163094609975815,
-0.0057863215915858746,
-0.005832675378769636,
-0.014907428994774818,
0.030281146988272667,
0.01794947125017643,
-0.00033749494468793273,
0.016372915357351303,
-0.02065572701394558,
-0.041043080389499664,
-0.009409015066921711,
-0.02067071944475174,
0.030072921887040138,
-0.06949466466903687,
-0.042212340980768204,
-0.01362587884068489,
-0.02068963088095188,
0.012600746005773544,
-0.00320645235478878,
-0.009969351813197136,
0.004405572544783354,
-0.034559816122055054,
0.0066803228110075,
-0.08480224758386612,
0.0823732316493988,
0.014127851463854313,
-0.05179069936275482,
-0.020362457260489464,
0.031159481033682823,
0.04392189905047417,
0.040033407509326935,
0.0010234557557851076,
0.06823468953371048,
0.009067492559552193,
0.03193177655339241,
0.0007624332793056965,
0.04247818514704704,
-0.02642737329006195,
-0.047840215265750885,
-0.01481869537383318,
0.053697843104600906,
-0.015714386478066444,
0.012381056323647499,
-0.006221085321158171,
-0.018720515072345734,
-0.007407533936202526,
0.03773289918899536,
0.05762996897101402,
0.029386213049292564,
-0.003027851227670908,
-0.057916123420000076,
0.002440046053379774,
0.0024189967662096024,
0.030759256333112717,
0.009051786735653877,
-0.005621209274977446,
-0.03230901062488556,
-0.027637677267193794,
0.016183657571673393,
0.010918731801211834,
0.016329599544405937,
0.049674924463033676,
-0.0344221368432045,
0.012713533826172352,
0.09908999502658844,
0.034970980137586594,
-0.0008923424175009131,
-0.015297713689506054,
0.04112982377409935,
0.05032939836382866,
0.055119406431913376,
0.0024643312208354473,
0.04177092760801315,
-0.0030388508457690477,
-0.055245865136384964,
-0.00624068733304739,
0.05026687681674957,
-0.007752768229693174,
0.00571289099752903,
-0.03540899604558945,
-0.04785550385713577,
0.061443861573934555,
-0.028017893433570862,
0.006020333617925644,
0.03354234993457794,
0.07072409242391586,
-0.0061226109974086285,
0.02547275833785534,
0.02132236585021019,
-0.07521428167819977,
0.07277216762304306,
0.03224753588438034,
0.019997799769043922,
0.011862711049616337,
-0.012617290019989014,
0.06565254926681519,
0.007180648390203714,
0.004847364965826273,
0.01870161108672619,
-0.06641022861003876,
-0.06976787745952606,
-0.030275391414761543,
-0.0002423007390461862,
0.07474335283041,
-0.04766734316945076,
0.0036035410594195127,
0.0774502158164978,
0.02152327634394169,
0.02306799404323101,
0.009461174719035625,
-0.012813099659979343,
0.012289335951209068,
-0.07482884079217911,
-0.05751161649823189,
0.03591770678758621,
0.018215766176581383,
-0.04387545585632324,
-0.04942537099123001,
-0.0004714551323559135,
-0.029203789308667183,
-0.024052126333117485,
0.020547693595290184,
-0.055008139461278915,
0.03407074138522148,
0.03172289580106735,
0.028302885591983795,
0.004069359973073006,
0.04590106010437012,
-0.04900941997766495,
0.05524177849292755,
-0.012991980649530888,
-0.008785294368863106,
-0.03220955654978752,
-0.010465532541275024,
0.1220145970582962,
0.06580314040184021,
-0.03300151228904724,
-0.05024858936667442,
0.04373957961797714,
0.008913763798773289,
-0.02705547772347927,
0.008865294978022575,
-0.024708090350031853,
-0.01193767599761486,
-0.0031133173033595085,
-0.06497783213853836,
-0.03441785275936127,
0.004930051509290934,
-0.03273994103074074,
0.007367019075900316,
0.08623278886079788,
-0.034522928297519684,
0.06158484145998955,
0.0218337569385767,
-0.018823202699422836,
-0.0035334189888089895,
-0.03946729004383087,
-0.057812102138996124,
0.02478596195578575,
0.01137084886431694,
-0.0031944329384714365,
0.038917962461709976,
-0.034049976617097855,
-0.02597264014184475,
-0.020085738971829414,
-0.028128501027822495,
0.03788655996322632,
0.029058245941996574,
0.07412275671958923,
-0.002624767366796732,
0.02758401446044445,
-0.043362464755773544,
0.01755109243094921,
-0.02153944969177246,
-0.035782232880592346,
-0.02410805970430374,
-0.03109097294509411,
0.02904682420194149,
0.023171432316303253,
0.028795583173632622,
-0.01519341766834259,
0.026134202256798744,
0.012801512144505978,
0.004322737921029329,
0.008992851711809635,
0.025861060246825218,
0.01434799563139677,
-0.010375761426985264,
-0.05130375176668167,
-0.06156398355960846,
0.06623227149248123,
-0.07736490666866302,
-0.011015086434781551,
-0.016820484772324562,
-0.07562097162008286,
0.04733837768435478,
-0.05678008496761322,
-0.008063122630119324,
-0.01852608285844326,
0.017526786774396896,
0.038139842450618744,
0.014572378247976303,
-0.014478293247520924,
0.05059395730495453,
0.010849811136722565,
0.006180223543196917,
0.0101931132376194,
0.001168683753348887,
0.04515238478779793,
-0.013223996385931969,
0.03378363326191902,
0.056141745299100876,
-0.010238098911941051,
-0.007880225777626038,
-0.03335621953010559,
0.023970672860741615,
-0.0199553482234478,
-0.2816433906555176,
0.05619359016418457,
0.005622223950922489,
-0.058600299060344696,
0.02159213274717331,
-0.021781539544463158,
0.015975046902894974,
-0.03978023678064346,
-0.013112029992043972,
0.010699561797082424,
-0.004627609625458717,
-0.0026296605356037617,
-0.010673146694898605,
0.037577930837869644,
-0.0028266299050301313,
0.00472298776730895,
-0.027379797771573067,
-0.03996582701802254,
0.0009331374894827604,
0.0357702262699604,
-0.016931165009737015,
-0.036780573427677155,
-0.011291940696537495,
0.031626150012016296,
0.03122018277645111,
0.030501920729875565,
-0.12006573379039764,
0.028391534462571144,
-0.04801301285624504,
0.007729914505034685,
0.012531370855867863,
-0.023734841495752335,
0.001496911863796413,
-0.0005957384710200131,
-0.012271026149392128,
-0.01830356754362583,
0.03087400272488594,
0.011242602951824665,
0.0021768840961158276,
0.015922032296657562,
-0.03504426032304764,
-0.023502707481384277,
-0.040633272379636765,
-0.02438773587346077,
0.08987832069396973,
0.012310095131397247,
-0.07102702558040619,
0.011293461546301842,
-0.014374437741935253,
0.06315819174051285,
-0.025620512664318085,
-0.03908470273017883,
-0.028541535139083862,
0.016486328095197678,
-0.016388259828090668,
-0.018646102398633957,
-0.014833914116024971,
0.008416377007961273,
-0.0446523055434227,
-0.044627733528614044,
-0.01836533285677433,
-0.00812878180295229,
-0.00765226362273097,
-0.050462935119867325,
-0.02968471683561802,
-0.06539667397737503,
-0.06326037645339966,
-0.00790285412222147,
0.08778709173202515,
0.026212789118289948,
-0.051717884838581085,
0.018200905993580818,
-0.0060782344080507755,
-0.1076386421918869,
0.0061237262561917305,
-0.039090920239686966,
-0.04295307770371437,
0.027054311707615852,
-0.0009036915726028383,
0.04745003208518028,
-0.04719755798578262,
-0.04190252721309662,
-0.004326583351939917,
0.010413387790322304,
0.012077388353645802,
-0.0035549316089600325,
0.01186496950685978,
-0.03389766439795494,
-0.02046152949333191,
0.01615738496184349,
0.05218388885259628,
-0.04958156496286392,
-0.03719789534807205,
-0.009286019019782543,
-0.021968182176351547,
0.02698945440351963,
0.01921314373612404,
0.017694462090730667,
-0.005125738214701414,
0.06842906773090363,
0.04743661358952522,
-0.05350781977176666,
-0.015191077254712582,
-0.041242219507694244,
-0.0018977697473019361,
-0.01805279217660427,
-0.06477340310811996,
0.009230397641658783,
0.004460800904780626,
0.0348866805434227,
-0.018127501010894775,
-0.030005943030118942,
0.012638134881854057,
-0.05589212849736214,
-0.033280663192272186,
-0.019850239157676697,
-0.004175234120339155,
0.02339032292366028,
0.0007759879226796329,
-0.020153213292360306,
-0.06163196638226509,
0.027177264913916588,
0.030940528959035873,
0.0007523593376390636,
-0.04031722992658615,
-0.038827456533908844,
-0.01539088599383831,
-0.03313230350613594,
0.017461255192756653,
0.0061930641531944275,
-0.014408158138394356,
0.030305037274956703,
0.021983958780765533,
-0.037771522998809814,
0.03038310632109642,
-0.03356623277068138,
-0.034601982682943344,
-0.04802229627966881,
0.04048649221658707,
-0.0011887962464243174,
-0.0169781856238842,
0.0014599472051486373,
-0.015121194534003735,
0.022206986322999,
0.05399102345108986,
0.021516308188438416,
0.022235943004488945,
0.02457396313548088,
0.008724392391741276,
-0.005257375538349152,
0.015144460834562778,
-0.03841787204146385,
0.008269337937235832,
-0.030228927731513977,
-0.023465342819690704,
-0.021308541297912598,
0.03827449306845665,
0.008006480522453785,
-0.011723978444933891,
-0.03320347145199776,
0.025674007833003998,
-0.05704730004072189,
0.02059360407292843,
0.00030574071570299566,
-0.021901968866586685,
0.03875979408621788,
-0.014009412378072739,
0.029751956462860107,
-0.02386150322854519,
-0.03179899603128433,
0.010588176548480988,
0.019612155854701996,
-0.013944416306912899,
0.01403573527932167,
0.020646991208195686,
-0.0032071073073893785,
-0.0001092738239094615,
0.031078441068530083,
0.04609186574816704,
0.012578374706208706,
-0.021273231133818626,
-0.0033559808507561684,
0.008225004188716412,
0.016183417290449142,
0.03636075556278229,
0.055913295596838,
-0.023324880748987198,
-0.01150277815759182,
-0.014548872597515583,
0.009132412262260914,
-0.025518033653497696,
-0.008664017543196678,
0.0068974364548921585,
0.005748950410634279,
-0.0031652452889829874,
-0.06116789951920509,
0.03609488531947136,
0.014256921596825123,
0.014044983312487602,
0.038790587335824966,
-0.01749466173350811,
0.029137883335351944,
-0.03442231938242912,
0.04924887418746948,
0.049721747636795044,
-0.04456106200814247,
-0.005951823201030493,
0.004270428791642189,
0.0031419657170772552,
-0.00633902195841074,
0.03287876024842262,
-0.07026021927595139,
-0.027447408065199852,
0.003370987717062235,
0.017076056450605392,
-0.02273043617606163,
-0.02961750328540802,
-0.023940222337841988,
0.017856257036328316,
0.0028038225136697292,
0.003882377641275525,
-0.010823762975633144,
-0.012624500319361687,
-0.016683360561728477,
-0.014064086601138115,
0.04511911794543266,
-0.00494043854996562,
0.0023113680072128773,
0.010462743230164051,
-0.033287473022937775,
0.02054254151880741,
-0.028752343729138374,
0.02157421037554741,
0.030311884358525276,
-0.03520886227488518,
0.022522397339344025,
-0.034313518553972244,
0.01717512682080269,
-0.007844665087759495,
0.03340434283018112,
-0.013259410858154297,
-0.0023297618608921766,
-0.038623981177806854,
-0.01760092005133629,
-0.03898373991250992,
-0.001242519123479724,
0.006094050128012896,
0.01664387434720993,
0.02349282242357731,
0.017447426915168762,
-0.001994098536670208,
0.0101240249350667,
-0.014811406843364239,
-0.02869274467229843,
0.042954836040735245,
-0.05466702952980995,
-0.05149643495678902,
-0.028384197503328323,
-0.035801444202661514,
0.0022618595976382494,
0.018377531319856644,
0.01970824785530567,
-0.05462876334786415,
0.06085465848445892,
0.029433390125632286,
0.008928822353482246,
0.0529337115585804,
0.004438260570168495,
0.030534597113728523,
-0.042378079146146774,
-0.02306266501545906,
-0.07725846022367477,
-0.017439676448702812,
0.0378875657916069,
-0.02507275715470314,
-0.005419156514108181,
0.005258167628198862,
-0.020356155931949615,
-0.002659663325175643,
-0.05473775044083595,
-0.012034332379698753,
0.043927695602178574,
-0.012170162051916122,
0.012195651419460773,
0.01122294645756483,
-0.05273818224668503,
0.022468678653240204,
0.03190503269433975,
-0.02956504188477993,
-0.034321386367082596,
-0.015654809772968292,
0.058070600032806396,
0.00012731131573673338,
0.04267705976963043,
-0.006488132756203413,
-0.04791731759905815,
0.07774049043655396,
0.027415819466114044,
0.01903320848941803,
0.0535815954208374,
-0.021350638940930367,
0.010185940191149712,
0.03154905140399933,
-0.006545547395944595,
0.025557884946465492,
0.04109600931406021,
-0.018269483000040054,
-0.057040583342313766,
0.026594815775752068,
0.01274897251278162,
-0.033189110457897186,
-0.023935751989483833,
0.0761282816529274,
0.020942961797118187,
-0.049087539315223694,
-0.0569903738796711,
0.04599390923976898,
-0.03769679740071297,
-0.020178498700261116,
-0.047693219035863876,
0.00825212337076664,
-0.05526461452245712,
0.058099281042814255,
-0.02703275717794895,
0.0008671975811012089,
0.0716886818408966,
-0.0036188140511512756,
0.0070963697507977486,
-0.014079693704843521,
0.07162249833345413,
0.09130185097455978,
0.04497024416923523,
-0.008233103901147842,
0.06641804426908493,
0.01394746731966734,
-0.038011759519577026,
-0.015199641697108746,
0.006322321016341448,
-0.030900022014975548,
0.0008425532723776996,
-0.0015599792823195457,
0.07079707831144333,
-0.030770644545555115,
0.08261775225400925,
-0.03782676160335541,
-0.00588733796030283,
-0.01253307331353426,
0.008612035773694515,
0.009334074333310127,
0.04966576769948006,
-0.0039727818220853806,
0.06063786894083023,
-0.03916266933083534,
-0.03153733164072037,
0.03287548944354057,
-0.01130385510623455,
-0.009994146414101124,
0.021169688552618027,
-0.027325546368956566,
0.013453049585223198,
0.04543287679553032,
0.03988609090447426,
0.06877808272838593,
-0.0544450506567955,
-0.004960455000400543,
-0.01750466786324978,
0.006017834879457951,
-0.0031900499016046524,
0.0384819395840168,
-0.01117140706628561,
0.01319542620331049,
-0.0017999706324189901,
-0.03135114908218384,
-0.007632449269294739,
-0.005355639848858118,
0.0002681970363482833,
0.023385776206851006,
-0.01864025741815567,
0.008954380638897419,
0.0020686255302280188,
-0.026962341740727425,
-0.028755050152540207,
-0.045003414154052734,
-0.029374312609434128,
-0.0685572698712349,
-0.06965282559394836,
-0.014990368857979774,
0.013844285160303116,
-0.0014997111866250634,
-0.03196579962968826,
-0.018316607922315598,
-0.011131317354738712,
-0.007814050652086735,
0.046911776065826416,
-0.052652593702077866,
-0.013420715928077698,
0.015409615822136402,
0.03216863423585892,
-0.012300312519073486,
0.014416102319955826,
0.0630357563495636,
0.010346004739403725,
-0.02578401379287243,
-0.019479122012853622,
0.040324386209249496,
0.05090782046318054,
0.030530232936143875,
-0.012543627060949802,
-0.07628326117992401,
0.0027037847321480513,
-0.0021298304200172424,
-0.023975921794772148,
-0.07026362419128418,
-0.0023518360685557127,
0.05230563506484032,
0.012399910017848015,
0.03151934966444969,
0.0009704288677312434,
0.002393742324784398,
-0.02219497039914131,
-0.013375204056501389,
-0.007757540326565504,
0.004386081360280514,
0.032536622136831284,
-0.02411073073744774,
0.09496719390153885,
0.03139851987361908,
-0.01401831116527319,
-0.025976765900850296,
-0.036547187715768814,
-0.008137017488479614,
0.00355087174102664,
-0.03694523125886917,
-0.0363810770213604,
-0.03650067746639252,
-0.09985431283712387,
-0.03464183956384659,
0.02910868637263775,
-0.011263425461947918,
-0.022641725838184357,
0.025706475600600243,
0.03112144023180008,
-0.013205342926084995,
0.038018036633729935,
-0.05532151088118553,
0.01755668967962265,
0.0034191273152828217,
-0.018184999004006386,
-0.01952594704926014,
0.0027579711750149727,
-0.0023390143178403378,
-0.006049559451639652,
0.002914477838203311,
-0.04736560955643654,
-0.014966475777328014,
-0.017788179218769073,
0.042296621948480606,
0.040809813886880875,
-0.004128501750528812,
0.003885808400809765
] | [
-0.05003013089299202,
-0.04263164848089218,
-0.04251441732048988,
-0.026882534846663475,
0.06561578065156937,
-0.05508630722761154,
-0.032754845917224884,
0.05531545355916023,
0.0015721098752692342,
-0.02625616081058979,
0.012014421634376049,
-0.040083806961774826,
-0.004309982992708683,
-0.018350008875131607,
0.12058687955141068,
0.017901238054037094,
-0.003124045906588435,
-0.09343789517879486,
-0.03475841507315636,
0.016665123403072357,
0.0010243448195979,
-0.02945556864142418,
0.0064011733047664165,
-0.05743902549147606,
0.0209007877856493,
0.016948753967881203,
0.049572352319955826,
-0.05684983357787132,
-0.01226745080202818,
-0.18479527533054352,
0.03837650641798973,
-0.0051358724012970924,
0.010091469623148441,
-0.0016267170431092381,
0.011443505994975567,
0.03101833537220955,
0.024324728175997734,
-0.033066920936107635,
0.0006688889698125422,
0.04204869270324707,
0.013146906159818172,
-0.023338455706834793,
-0.0752270296216011,
-0.010685145854949951,
0.0482010543346405,
0.00406415481120348,
-0.026716774329543114,
0.013279435224831104,
-0.03520743176341057,
0.030877292156219482,
-0.05362969636917114,
0.010818888433277607,
0.015005279332399368,
-0.025740480050444603,
0.007217177655547857,
0.04854557663202286,
0.040276072919368744,
0.07677784562110901,
0.032633133232593536,
0.026520509272813797,
0.048697590827941895,
-0.003957222681492567,
-0.12585556507110596,
0.09369641542434692,
-0.0011244779452681541,
0.030437985435128212,
-0.04026397317647934,
0.011177248321473598,
-0.012520799413323402,
0.06620702147483826,
0.025332733988761902,
-0.0064922235906124115,
-0.015532534569501877,
0.04488776624202728,
0.0009976492729038,
0.031795669347047806,
0.010690156370401382,
0.021592851728200912,
0.011604154482483864,
-0.043690167367458344,
-0.025569094344973564,
0.01249836664646864,
-0.029426928609609604,
-0.012607612647116184,
-0.05186554044485092,
-0.00020713778212666512,
-0.03989410027861595,
0.0709141418337822,
-0.008369765244424343,
0.024089917540550232,
0.012715701945126057,
-0.003853827016428113,
0.07152906060218811,
0.003080914728343487,
-0.11038658767938614,
-0.039584554731845856,
-0.0012727839639410377,
0.03372642770409584,
-0.001895266235806048,
0.4308130443096161,
-0.0026482136454433203,
0.01286230143159628,
0.05630224198102951,
0.04893167316913605,
0.00672016479074955,
-0.020858384668827057,
0.0012489872751757503,
-0.07064791023731232,
0.03632111847400665,
-0.023191163316369057,
0.00019083588267676532,
-0.025382062420248985,
0.06027046963572502,
-0.0670408084988594,
0.0323265939950943,
-0.0180595014244318,
0.022123439237475395,
0.036894865334033966,
-0.020439475774765015,
0.04131922870874405,
-0.028588835150003433,
0.028621865436434746,
0.03887554258108139,
-0.00909224059432745,
0.017817432060837746,
0.01846875622868538,
0.026454824954271317,
0.02265283837914467,
0.03503556549549103,
0.030635593459010124,
0.018993260338902473,
0.026641307398676872,
-0.0763309970498085,
0.01941276341676712,
-0.01313571073114872,
0.0011847338173538446,
-0.0004907945985905826,
-0.041450340300798416,
-0.03171684220433235,
0.0009308656444773078,
-0.01642708107829094,
-0.05124308168888092,
0.045357491821050644,
-0.010357054881751537,
-0.042389143258333206,
0.12335867434740067,
0.017124507576227188,
-0.029354894533753395,
-0.0002494798391126096,
-0.04676468297839165,
0.01981354132294655,
0.04737044498324394,
0.010621697641909122,
-0.06929260492324829,
0.019375132396817207,
-0.0034718650858849287,
0.07081052660942078,
0.001985539449378848,
-0.06743734329938889,
0.010917686857283115,
-0.013330275192856789,
-0.04869100823998451,
-0.048990849405527115,
0.022467130795121193,
0.03875954449176788,
-0.15342818200588226,
0.016934029757976532,
-0.001549394684843719,
0.03052234649658203,
-0.07854638993740082,
0.015167311765253544,
0.018730713054537773,
-0.030423685908317566,
-0.01712515391409397,
0.0598827563226223,
-0.022603580728173256,
-0.024331187829375267,
0.0030910128261893988,
0.0349266342818737,
0.014147520065307617,
-0.023486651480197906,
-0.026423169299960136,
-0.01916014589369297,
0.0068458751775324345,
-0.06832734495401382,
-0.0478070005774498,
-0.03719507157802582,
-0.013213257305324078,
-0.014410033822059631,
-0.006377229932695627,
0.0013612359762191772,
0.019680272787809372,
-0.06360257416963577,
0.06215497478842735,
-0.010808362625539303,
-0.01833784207701683,
-0.0002804713440127671,
0.005671265535056591,
0.015985483303666115,
-0.035250578075647354,
-0.018462056294083595,
-0.015139780007302761,
-0.044706713408231735,
0.022562576457858086,
-0.07333976030349731,
0.030740275979042053,
0.0646650567650795,
-0.03525282442569733,
0.09166132658720016,
0.01046741008758545,
0.004717409145087004,
-0.013457725755870342,
-0.007719896268099546,
0.022815026342868805,
-0.01721823588013649,
-0.008997325785458088,
0.02130323462188244,
0.0003428042109590024,
0.028369328007102013,
0.04251591116189957,
-0.03318819776177406,
-0.010837520472705364,
-0.02579820156097412,
-0.34668633341789246,
-0.04556611180305481,
-0.0017707195365801454,
0.011098312214016914,
0.00049152213614434,
-0.07200329005718231,
0.009383177384734154,
-0.05925683304667473,
0.03420044481754303,
0.04808754846453667,
0.11303213983774185,
-0.016029449179768562,
0.003975329454988241,
-0.09837621450424194,
0.01221019122749567,
0.03249995410442352,
-0.04088031128048897,
0.027718987315893173,
0.00011207615898456424,
0.004812255967408419,
-0.032374173402786255,
-0.015029165893793106,
-0.02152651734650135,
-0.04348054900765419,
0.00399220222607255,
-0.011131892912089825,
0.12038534879684448,
0.047859687358140945,
0.026173442602157593,
-0.05226031318306923,
0.045872561633586884,
0.023023899644613266,
0.002629404654726386,
-0.10832345485687256,
0.0041339946910738945,
-0.01464125793427229,
0.040887340903282166,
0.0016428761882707477,
-0.005360949784517288,
-0.020022694021463394,
-0.06332220882177353,
0.04024004936218262,
-0.022966591641306877,
-0.06949672847986221,
-0.02089943364262581,
0.027840159833431244,
-0.03207620233297348,
-0.024779273197054863,
-0.009637851268053055,
0.0775543600320816,
0.0061208405531942844,
0.007709975820034742,
0.020201891660690308,
0.016596335917711258,
-0.013274143449962139,
-0.020231621339917183,
-0.057701583951711655,
0.0012083316687494516,
0.008627641946077347,
0.0050111860036849976,
0.011330880224704742,
0.0371195450425148,
0.004918816965073347,
-0.05944404751062393,
0.01449438277631998,
0.02055828459560871,
-0.022365719079971313,
0.02501603588461876,
0.032366108149290085,
-0.015023849904537201,
-0.013275088742375374,
0.10323133319616318,
-0.026450663805007935,
0.07536488771438599,
0.026714231818914413,
0.03618677332997322,
0.003689342876896262,
0.020362166687846184,
0.025240270420908928,
0.03381004557013512,
0.04554857313632965,
-0.024863213300704956,
0.0645127072930336,
-0.029956141486763954,
-0.03721136227250099,
0.051929544657468796,
0.013434240594506264,
-0.03807196021080017,
0.05151244252920151,
0.014751138165593147,
-0.014190725050866604,
0.011013740673661232,
-0.004775472451001406,
-0.07466374337673187,
0.054123517125844955,
-0.012251480482518673,
-0.2480146884918213,
0.034246545284986496,
0.03298107907176018,
0.0489518977701664,
0.01014722976833582,
-0.012549768202006817,
0.024220742285251617,
-0.04617222025990486,
0.010638196021318436,
0.010984649881720543,
0.013628148473799229,
0.06653258949518204,
0.00018376436491962522,
-0.01615479402244091,
0.010645733214914799,
-0.006681387312710285,
0.02243090234696865,
0.010910743847489357,
-0.021654445677995682,
-0.002806704491376877,
0.03764328360557556,
-0.028959404677152634,
0.16468468308448792,
0.033443234860897064,
-0.015057399868965149,
0.035680197179317474,
-0.010660341009497643,
0.02019389159977436,
0.06157836690545082,
-0.006171040236949921,
-0.04387715458869934,
0.020972516387701035,
-0.012709168717265129,
-0.003333491738885641,
0.0430402047932148,
-0.06507798284292221,
-0.02782614901661873,
0.02704544924199581,
0.008576138876378536,
-0.02056110091507435,
-0.02068135514855385,
0.027515683323144913,
-0.028771597892045975,
0.028043171390891075,
0.0422884039580822,
-0.031650133430957794,
-0.017846211791038513,
-0.035430435091257095,
-0.07463876157999039,
-0.010479645803570747,
-0.013633978553116322,
-0.03642413020133972,
-0.007868554443120956,
0.0012517614522948861,
0.010270186699926853,
0.08876293897628784,
0.014452791772782803,
-0.010202781297266483,
0.016569586470723152,
-0.00515862787142396,
-0.02091594599187374,
-0.03555877506732941,
0.06728414446115494,
-0.0011584223248064518,
0.011415654793381691
] | [
-0.01045486330986023,
0.01823415420949459,
-0.016697708517313004,
0.025516154244542122,
-0.028847334906458855,
-0.002573414007201791,
-0.03165478631854057,
0.03547053039073944,
-0.006796292494982481,
0.014962474815547466,
-0.014380483888089657,
-0.008281001821160316,
0.04345544055104256,
-0.02885284833610058,
0.0419059582054615,
0.008798868395388126,
-0.02736738696694374,
0.018931174650788307,
0.05253562331199646,
-0.05375383794307709,
-0.030846133828163147,
-0.01088280975818634,
0.030779747292399406,
0.013958873227238655,
-0.0066503193229436874,
0.02161797694861889,
-0.04938805475831032,
-0.011610029265284538,
0.00412684166803956,
-0.07458758354187012,
-0.004247248638421297,
-0.04069150611758232,
-0.07016237080097198,
0.013665353879332542,
-0.01543736457824707,
-0.0013003963977098465,
0.003937442786991596,
0.0016919729532673955,
0.0063733793795108795,
0.010817895643413067,
0.028874456882476807,
-0.06129070371389389,
-0.046348508447408676,
0.006754166446626186,
-0.020289434120059013,
-0.03170577064156532,
-0.03149201348423958,
-0.023421892896294594,
0.01795930601656437,
0.013180764392018318,
-0.026585495099425316,
-0.049021974205970764,
0.0052652303129434586,
0.014257360249757767,
0.02137400396168232,
0.02018732577562332,
-0.024682356044650078,
0.018576469272375107,
0.04805857688188553,
0.03286244720220566,
0.029618138447403908,
-0.01599719375371933,
-0.01688111573457718,
-0.012138945050537586,
-0.028349144384264946,
-0.02762669138610363,
-0.057777877897024155,
-0.0074737826362252235,
-0.015281571075320244,
0.004801607690751553,
-0.0035072898026555777,
0.03639320284128189,
-0.08323242515325546,
-0.03350377827882767,
-0.01999046839773655,
0.007290564011782408,
0.04917449876666069,
-0.018750563263893127,
-0.03958439454436302,
0.03987559303641319,
-0.008676031604409218,
-0.0040252539329230785,
-0.020064163953065872,
0.01593664288520813,
-0.047045547515153885,
-0.0005849660374224186,
-0.003311790758743882,
0.0046082246117293835,
-0.006489983759820461,
0.02833576314151287,
-0.013424145989120007,
0.020497336983680725,
0.0051073613576591015,
0.0035322450567036867,
-0.09147346019744873,
0.0018192623974755406,
-0.02484440989792347,
0.001602577860467136,
0.0032657217234373093,
0.7976735234260559,
-0.009530513547360897,
-0.00887022539973259,
0.028615068644285202,
0.043599933385849,
0.03394751250743866,
-0.007992754690349102,
-0.019326798617839813,
-0.015314774587750435,
0.016624590381979942,
-0.010785886086523533,
0.015431377105414867,
-0.0006477467832155526,
0.03344455361366272,
0.02629409171640873,
0.049551140516996384,
0.040745217353105545,
0.020879477262496948,
0.03454354405403137,
0.026258835569024086,
0.04220644757151604,
0.010084414854645729,
-0.0030936088878661394,
0.00792840588837862,
-0.013700985349714756,
0.005257925484329462,
-0.15437746047973633,
0.003590785898268223,
-6.665454106609588e-33,
0.06899458914995193,
0.014135758392512798,
0.036484986543655396,
0.019211649894714355,
0.01001003198325634,
0.0011092209024354815,
-0.0292478296905756,
-0.031103864312171936,
-0.047556161880493164,
-0.01376208383589983,
-0.045223306864500046,
-0.013996624387800694,
0.01966208592057228,
0.011055627837777138,
-0.03586755692958832,
-0.016672711819410324,
0.011870245449244976,
0.028363360092043877,
0.017521100118756294,
0.0083996020257473,
0.007954061962664127,
0.05477117747068405,
0.007464094087481499,
0.05031856521964073,
0.009615889750421047,
0.02664285898208618,
0.007916206493973732,
-0.014894694089889526,
0.008687463589012623,
-0.04401148110628128,
-0.05489566549658775,
0.02553519792854786,
-0.0006309571326710284,
-0.023921338841319084,
0.01847970485687256,
-0.06290744990110397,
-0.022388366982340813,
0.002099543809890747,
-0.07054482400417328,
-0.05175459012389183,
-0.02746804989874363,
0.02822829782962799,
-0.007917983457446098,
-0.0779159665107727,
-0.023874912410974503,
0.007189843337982893,
0.03336220979690552,
0.0009231664589606225,
0.019599994644522667,
-0.0231325663626194,
0.003586029401049018,
0.02380765974521637,
-0.05369745194911957,
0.04626937955617905,
-0.006463082507252693,
0.015360812656581402,
0.0014454772463068366,
-0.003026823280379176,
0.04746217653155327,
0.009966404177248478,
0.04717416316270828,
-0.04407890513539314,
-0.001975929131731391,
-0.012192952446639538,
0.04127868264913559,
0.00669255293905735,
0.0022543431259691715,
0.017086956650018692,
0.02652326039969921,
0.02390073612332344,
-0.02983470819890499,
0.03197167068719864,
-0.032138507813215256,
-0.024973738938570023,
0.049163978546857834,
-0.07368674874305725,
0.023262763395905495,
-0.02141965925693512,
0.008240810595452785,
0.018184328451752663,
-0.011456752195954323,
-0.05067559331655502,
0.03652506321668625,
-0.017642991617321968,
-0.04696949943900108,
-0.040486693382263184,
0.01892983540892601,
0.01325580570846796,
-0.007651017513126135,
0.047847818583250046,
0.020926497876644135,
0.0689869076013565,
-0.02571275644004345,
-0.016462041065096855,
-0.03893256187438965,
6.823326671344868e-33,
-0.00809143390506506,
-0.041583385318517685,
-0.022840145975351334,
0.00369701674208045,
0.027868764474987984,
-0.003411550773307681,
-0.01110919937491417,
0.0073325857520103455,
-0.03128311038017273,
0.06599464267492294,
0.02319306507706642,
-0.03768891468644142,
-0.049737926572561264,
-0.010738345794379711,
0.09586288779973984,
-0.023729953914880753,
0.04444608464837074,
-0.020683910697698593,
-0.013957723043859005,
0.023778632283210754,
-0.017053434625267982,
0.010072275996208191,
-0.012152085080742836,
0.00913283135741949,
0.0809435248374939,
0.03244323655962944,
-0.02541995793581009,
0.011801529675722122,
-0.02793414704501629,
-0.0029667180497199297,
-0.0006991536938585341,
-0.0398833267390728,
0.018333615735173225,
-0.004830002784729004,
0.006991529371589422,
0.018310168758034706,
-0.011686708778142929,
-0.015317998826503754,
0.06609458476305008,
-0.018345577642321587,
0.021835125982761383,
0.036216143518686295,
-0.0019149129511788487,
0.05981301888823509,
-0.011627713218331337,
0.02385125868022442,
-0.011018853634595871,
0.022355522960424423,
-0.012534531764686108,
-0.004294665064662695,
0.007915212772786617,
0.030564436689019203,
0.005471936892718077,
0.024828383699059486,
0.02947959676384926,
-0.06725122779607773,
0.04049393907189369,
0.013473771512508392,
-0.0034601972438395023,
-0.008737700060009956,
-0.0033945823088288307,
-0.04694138467311859,
-0.02506362646818161,
0.017766788601875305,
-0.03254295513033867,
-0.019275778904557228,
-0.023736929520964622,
-0.019561054185032845,
-0.0038542193360626698,
0.014638093300163746,
0.035896122455596924,
-0.006813842337578535,
-0.00592096708714962,
0.012003930285573006,
0.07218398153781891,
-0.03017817623913288,
-0.039569225162267685,
0.037842802703380585,
-0.04656793177127838,
0.01191831473261118,
-0.016093526035547256,
0.027459068223834038,
0.01918858289718628,
-0.01653391867876053,
0.005274121183902025,
-0.011299983598291874,
0.011042682453989983,
0.04402889311313629,
-0.004429257474839687,
-0.009751633740961552,
-0.011454591527581215,
-0.002806078176945448,
-0.05248311534523964,
0.026630062609910965,
-0.011021138168871403,
-1.230886592651359e-8,
-0.03578715771436691,
-0.02304040640592575,
-0.03694367781281471,
0.031114675104618073,
-0.01708928495645523,
0.043921422213315964,
0.02791050635278225,
0.009561830200254917,
0.006361046805977821,
0.0176674984395504,
0.02794044278562069,
-0.017208676785230637,
0.03528646007180214,
-0.0034135065507143736,
0.03122672438621521,
-0.05280332639813423,
-0.019884474575519562,
-0.04314699396491051,
0.022346584126353264,
0.01465741079300642,
0.0023115708027035,
0.04847725108265877,
-0.0059688398614525795,
-0.00878236535936594,
0.001803858671337366,
0.010432926006615162,
0.027423936873674393,
-0.06547922641038895,
-0.012415936216711998,
-0.017804516479372978,
-0.014766841195523739,
-0.04100311920046806,
-0.031463030725717545,
0.01619061455130577,
-0.03056064434349537,
-0.004918436054140329,
0.04321018606424332,
0.02127932570874691,
-0.01996537856757641,
0.03245612606406212,
-0.0021142475306987762,
0.02171216905117035,
-0.02115345001220703,
-0.03413083404302597,
-0.035598475486040115,
0.02824566513299942,
-0.01303770113736391,
0.03833835944533348,
0.01753561943769455,
-0.03029959835112095,
-0.016197940334677696,
0.005267733242362738,
0.01692134700715542,
0.020489301532506943,
0.04728957265615463,
0.0034183994866907597,
0.010133126750588417,
-0.03299706056714058,
-0.023364264518022537,
-0.011135129258036613,
0.04536455124616623,
-0.010811272077262402,
-0.025995252653956413,
-0.04324093833565712
] | loading-tweets-twint-kafka-neo4j | https://markhneedham.com/blog/2019/05/29/loading-tweets-twint-kafka-neo4j |
false | 2019-05-16 10:02:00 | Kafka: A basic tutorial | [
"kafka",
"python"
] | [
"Kafka"
] | In this post we're going to learn how to launch Kafka locally and write to and read from a topic using one of the Python drivers.
To make things easy for myself, I've created a Docker Compose template that launches 3 containers:
* broker - our Kafka broker
* zookeeper - used by Kafka for leader election
* jupyter - notebooks for connecting to our Kafka broker
This template can be downloaded from the https://github.com/mneedham/basic-kafka-tutorial[mneedham/basic-kafka-tutorial^] repository, and reads as follows:
[source, yaml]
----
version: '3'
services:
zookeeper:
image: confluentinc/cp-zookeeper
hostname: zookeeper
container_name: zookeeper-tutorial
ports:
- "2181:2181"
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
broker:
image: confluentinc/cp-enterprise-kafka
hostname: broker
container_name: broker-tutorial
depends_on:
- zookeeper
ports:
- "9092:9092"
expose:
- "9093"
environment:
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://broker:9093,OUTSIDE://localhost:9092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,OUTSIDE:PLAINTEXT
KAFKA_LISTENERS: PLAINTEXT://0.0.0.0:9093,OUTSIDE://0.0.0.0:9092
CONFLUENT_METRICS_REPORTER_BOOTSTRAP_SERVERS: broker:9093
KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
KAFKA_BROKER_ID: 1
KAFKA_ZOOKEEPER_CONNECT: 'zookeeper:2181'
KAFKA_METRIC_REPORTERS: io.confluent.metrics.reporter.ConfluentMetricsReporter
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS: 0
jupyter:
container_name: jupyter-tutorial
image: jupyter/scipy-notebook:${JUPYTER_VERSION:-latest}
volumes:
- ./notebooks:/home/jovyan/
ports:
- "8888:8888"
----
The easiest way to use this template is to first clone the repository locally using the following command:
[source,bash]
----
git clone [email protected]:mneedham/basic-kafka-tutorial.git && cd basic-kafka-tutorial
----
And then launch the Docker containers using the following command:
[source, bash]
----
docker-compose up
----
This command outputs a lot of stuff, and we'll need to keep a close eye on the first few lines so that we can grab the Jupyter Notebook token.
The output we're looking for looks like this:
[source, bash]
----
jupyter-tutorial | [I 10:35:27.804 NotebookApp] The Jupyter Notebook is running at:
jupyter-tutorial | [I 10:35:27.804 NotebookApp] http://(4a031e4b5326 or 127.0.0.1):8888/?token=7907fef53948168308c829d48d9978b8f9c475b7c621c7d1
jupyter-tutorial | [I 10:35:27.804 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
jupyter-tutorial | [C 10:35:27.811 NotebookApp]
jupyter-tutorial |
jupyter-tutorial | To access the notebook, open this file in a browser:
jupyter-tutorial | file:///home/jovyan/.local/share/jupyter/runtime/nbserver-6-open.html
jupyter-tutorial | Or copy and paste one of these URLs:
jupyter-tutorial | http://(4a031e4b5326 or 127.0.0.1):8888/?token=7907fef53948168308c829d48d9978b8f9c475b7c621c7d1
----
We then need to navigate to `http://localhost:8888?token=<token>` in our web browser.
Based on the output above we'd navigate to `http://localhost:8888?token=7907fef53948168308c829d48d9978b8f9c475b7c621c7d1`.
Once we've done that we can open https://github.com/mneedham/basic-kafka-tutorial/blob/master/notebooks/Kafka%20Tutorial.ipynb[Kafka Tutorial.ipynb^].
Let's go through that notebook.
Once we've installed the `kafka-python` library we write the following functions to create a Kafka Producer and publish a message to a topic:
[source, python]
----
from kafka import KafkaConsumer, KafkaProducer
import json
import uuid
def publish_message(producer_instance, topic_name, key, value):
try:
key_bytes = bytes(key, encoding='utf-8')
value_bytes = bytes(value, encoding='utf-8')
producer_instance.send(topic_name, key=key_bytes, value=value_bytes)
producer_instance.flush()
print('Message published successfully.')
except Exception as ex:
print('Exception in publishing message')
print(str(ex))
def connect_kafka_producer(server):
_producer = None
try:
_producer = KafkaProducer(bootstrap_servers=[server], api_version=(0, 10))
except Exception as ex:
print('Exception while connecting Kafka')
print(str(ex))
finally:
return _producer
----
Now we'll create a producer:
[source, python]
----
server = 'broker:9093'
kafka_producer = connect_kafka_producer(server)
----
And publish a JSON message to the broker:
[source, python]
----
topic_name = "intro-to-kafka"
message = json.dumps({"name": "Mark"})
publish_message(kafka_producer, topic_name, str(uuid.uuid4()), message)
----
And now we'll create a consumer to process all the message on that topic:
[source, python]
----
consumer = KafkaConsumer(topic_name,
auto_offset_reset='earliest',
bootstrap_servers=[server],
api_version=(0, 10),
value_deserializer = json.loads,
consumer_timeout_ms=1000)
for msg in consumer:
print(msg.key.decode("utf-8"), msg.value)
----
If we run this code we'll see the following output:
[source,text]
----
716a46df-2b10-4270-b294-b04ced51bd73 {'name': 'Mark'}
----
And now we're ready to go and do some more fun stuff with streams! | An extremely basic introduction to Kafka, the stream-processing platform. | null | [
0.003298546653240919,
-0.02145075984299183,
-0.03358529135584831,
0.04938012361526489,
0.08693170547485352,
0.019624970853328705,
-0.010039085522294044,
0.06509006023406982,
0.0021148768719285727,
-0.023863444104790688,
0.017002888023853302,
-0.005447253584861755,
-0.05017760768532753,
0.011003460735082626,
0.0034311646595597267,
0.050259627401828766,
0.06027259677648544,
-0.000123174162581563,
0.005997628439217806,
0.028219126164913177,
0.017049754038453102,
0.04825105890631676,
0.018154513090848923,
0.04409484937787056,
-0.0036820536479353905,
0.01940082013607025,
0.008823346346616745,
0.011874561198055744,
-0.04990018531680107,
-0.013042372651398182,
0.02092195861041546,
0.01473397295922041,
0.0067798602394759655,
0.0015481668524444103,
0.022833334282040596,
-0.019452301785349846,
-0.025101520121097565,
0.008023611269891262,
0.004670673981308937,
0.01548682525753975,
-0.07916765660047531,
0.03993218019604683,
0.011670482344925404,
0.024171924218535423,
-0.03365739807486534,
0.018956871703267097,
-0.036661483347415924,
0.021075140684843063,
0.015224257484078407,
-0.015157162211835384,
-0.06002913787961006,
0.017824484035372734,
-0.019488822668790817,
-0.0008558416739106178,
0.01610502414405346,
0.04741893336176872,
0.021249927580356598,
-0.0808749571442604,
0.028165459632873535,
-0.00715057086199522,
-0.01907854527235031,
-0.023978812620043755,
0.032014962285757065,
0.03850381821393967,
0.022461168467998505,
-0.01865132339298725,
-0.019690614193677902,
0.055312711745500565,
-0.029631303623318672,
-0.02069578319787979,
-0.01231371983885765,
0.026507487520575523,
-0.009840850718319416,
-0.02041073516011238,
0.022685686126351357,
-0.04497421905398369,
-0.004789548926055431,
0.03630008548498154,
0.03541795164346695,
0.046505991369485855,
-0.014007167890667915,
-0.01738554611802101,
-0.003822638187557459,
0.03894645348191261,
0.007698148023337126,
-0.05055683106184006,
-0.07377387583255768,
0.007534866686910391,
-0.056634802371263504,
0.07353073358535767,
0.032507993280887604,
-0.03548585623502731,
0.015340574085712433,
-0.0018931193044409156,
-0.01451769657433033,
0.02960066683590412,
-0.0035150644835084677,
0.03357751667499542,
0.02541683055460453,
0.006521149538457394,
-0.04072487726807594,
0.011264012195169926,
-0.012824331410229206,
0.05668908730149269,
-0.07577754557132721,
-0.04229133948683739,
-0.046232230961322784,
-0.0191823560744524,
0.001617749105207622,
0.030519498512148857,
0.012998056598007679,
0.006147835403680801,
-0.02804436907172203,
0.015208972617983818,
-0.09505737572908401,
0.0852791965007782,
0.010499445721507072,
-0.0662483274936676,
0.02468445897102356,
-0.0013662067940458655,
0.025943076238036156,
0.04440461844205856,
0.013662319630384445,
0.07406780868768692,
-0.017468789592385292,
0.013669249601662159,
0.0022261766716837883,
0.06471417844295502,
-0.025881899520754814,
-0.04668128117918968,
-0.015002895146608353,
0.05927130952477455,
0.020650826394557953,
0.019600890576839447,
-0.006999313365668058,
-0.011076469905674458,
-0.010985198430716991,
0.03160104900598526,
0.03990577161312103,
0.04748336225748062,
-0.0157108623534441,
-0.04374183714389801,
0.022057531401515007,
0.018262289464473724,
0.020177418366074562,
0.030825018882751465,
0.021836115047335625,
-0.031076185405254364,
-0.02562284842133522,
0.03017452172935009,
0.010584999807178974,
0.013462543487548828,
0.053719695657491684,
-0.0219101719558239,
0.004850604571402073,
0.05606641620397568,
0.037815891206264496,
0.011237150058150291,
-0.024797610938549042,
0.012500695884227753,
0.02883606217801571,
0.03320218622684479,
0.007879328913986683,
0.026980044320225716,
0.024136468768119812,
-0.02323581837117672,
-0.008284867741167545,
0.03770608454942703,
0.018191726878285408,
-0.007055761758238077,
-0.05002474784851074,
-0.04487983137369156,
0.0508815236389637,
-0.02539578266441822,
0.009235150180757046,
0.017506498843431473,
0.08860708028078079,
0.01930873654782772,
0.058026205748319626,
0.00006826305616414174,
-0.0740755945444107,
0.041678961366415024,
-0.009391323663294315,
0.03029782325029373,
0.028424657881259918,
-0.02666373737156391,
0.04359053075313568,
0.03474629670381546,
0.011435307562351227,
0.02652084082365036,
-0.0705246701836586,
-0.0750482827425003,
-0.030254915356636047,
0.01602811925113201,
0.05858876183629036,
-0.05203535780310631,
-0.017058702185750008,
0.07081335783004761,
0.032582350075244904,
0.028468146920204163,
-0.003058407688513398,
0.01758822612464428,
0.002969027031213045,
-0.09105883538722992,
-0.07785529643297195,
0.05411910265684128,
0.019289853051304817,
-0.04893847554922104,
-0.06709125638008118,
-0.00907929614186287,
-0.08129150420427322,
-0.02179780602455139,
0.04307393729686737,
-0.03052176535129547,
0.06932719796895981,
0.005010766442865133,
0.02838418260216713,
-0.022361187264323235,
0.0402679406106472,
-0.03585522621870041,
0.024939673021435738,
-0.016675375401973724,
-0.028613897040486336,
0.008630827069282532,
-0.016739239916205406,
0.10642553120851517,
0.05251163989305496,
-0.021156681701540947,
-0.0494869165122509,
0.04920244961977005,
0.022337010130286217,
-0.022163113579154015,
-0.010754397138953209,
-0.028244856745004654,
-0.00877984520047903,
-0.003704438218846917,
-0.037523701786994934,
-0.05242704972624779,
-0.004307325463742018,
-0.023048510774970055,
0.015236993320286274,
0.06947063654661179,
-0.04239208996295929,
0.06450885534286499,
0.03827644884586334,
-0.019741738215088844,
-0.003797879908233881,
-0.04277711734175682,
-0.06846275180578232,
0.0023720725439488888,
0.001288009574636817,
-0.008517134003341198,
0.04224732145667076,
-0.05113432556390762,
-0.04071010276675224,
-0.03652813658118248,
-0.05926180258393288,
0.0201552864164114,
0.040152303874492645,
0.05419313162565231,
-0.027988659217953682,
0.0601031631231308,
-0.054309576749801636,
0.018196025863289833,
-0.021261515095829964,
-0.04833429306745529,
-0.003804241307079792,
-0.0019731430802494287,
0.009004445746541023,
0.03139514848589897,
0.011596727184951305,
0.012572437524795532,
0.03938008099794388,
-0.0025595971383154392,
0.002727245446294546,
0.006511701736599207,
0.025160791352391243,
-0.003834476927295327,
0.013647402636706829,
-0.02149643562734127,
-0.0384717732667923,
0.058726489543914795,
-0.07005549222230911,
0.002066569635644555,
0.03231874853372574,
-0.07303766906261444,
0.017862798646092415,
-0.06114150583744049,
-0.03664521872997284,
-0.028227346017956734,
0.030057767406105995,
0.026981502771377563,
0.03057084046304226,
0.02120647393167019,
0.058678481727838516,
0.03673012927174568,
-0.028815962374210358,
0.01908549666404724,
0.00543383602052927,
0.01993740350008011,
-0.028310637921094894,
0.00292008719407022,
0.04842517897486687,
-0.00859424564987421,
-0.010773384012281895,
-0.058974046260118484,
0.027675099670886993,
-0.03799998015165329,
-0.2756979465484619,
0.04690629616379738,
0.01108164805918932,
-0.02285763993859291,
0.013078468851745129,
0.009249363094568253,
0.03525850176811218,
-0.05195145308971405,
0.002874931553378701,
-0.010788807645440102,
-0.04037325829267502,
-0.011092816479504108,
-0.020309077575802803,
0.05204570293426514,
-0.0026456837076693773,
0.04261598736047745,
-0.0016952059231698513,
-0.035005006939172745,
0.01734008640050888,
-0.018411507830023766,
-0.015253818593919277,
-0.06934241205453873,
-0.008960197679698467,
0.03527066111564636,
0.03144492954015732,
0.019782667979598045,
-0.09026774019002914,
0.057318754494190216,
-0.03126135841012001,
0.002166704274713993,
-0.001133779645897448,
-0.03467442840337753,
-0.006805141922086477,
-0.02010849304497242,
-0.008966023102402687,
-0.011398195289075375,
0.008228804916143417,
-0.006947546266019344,
-0.010181386023759842,
0.011368388310074806,
-0.016980325803160667,
-0.03706034645438194,
-0.003765595844015479,
-0.024938955903053284,
0.07741333544254303,
-0.0015202972572296858,
-0.05783890187740326,
-0.011734703555703163,
-0.013478913344442844,
0.07512897998094559,
-0.03084748052060604,
-0.058949850499629974,
-0.016514455899596214,
0.033224329352378845,
-0.017242223024368286,
-0.002156288595870137,
-0.010990355163812637,
0.0014694964047521353,
-0.03854230046272278,
-0.04010613635182381,
0.007678125984966755,
-0.02960577793419361,
-0.023601531982421875,
-0.06435109674930573,
-0.03608975186944008,
-0.04820696637034416,
-0.05516774579882622,
-0.017000794410705566,
0.07753025740385056,
0.04923774674534798,
-0.07444586604833603,
-0.016031937673687935,
-0.010872387327253819,
-0.11147342622280121,
0.0037335699889808893,
-0.03648153319954872,
-0.05900582671165466,
0.013270481489598751,
-0.011462148278951645,
0.052529044449329376,
-0.04274480789899826,
-0.04456278681755066,
0.002506979973986745,
0.004757737275213003,
0.01967043988406658,
-0.051583029329776764,
0.035450391471385956,
-0.01610664837062359,
-0.00854817871004343,
-0.005370233673602343,
0.03572291508316994,
-0.03145148977637291,
-0.009373391047120094,
-0.028900127857923508,
-0.01693529635667801,
0.03757106140255928,
-0.003889225423336029,
0.02022404782474041,
0.0035021838266402483,
0.05965147912502289,
0.03968873620033264,
-0.04559891298413277,
-0.01245475560426712,
-0.036721717566251755,
-0.003777675796300173,
-0.00414882879704237,
-0.05376289039850235,
-0.0032807427924126387,
0.027822809293866158,
0.03010381944477558,
-0.0024088521022349596,
-0.04330741986632347,
0.01152025442570448,
-0.05564417317509651,
-0.002795006148517132,
0.007445931900292635,
0.027231182903051376,
0.042982570827007294,
0.004116944503039122,
-0.001589930965565145,
-0.07249905169010162,
0.03419434651732445,
-0.007198273204267025,
0.004040936473757029,
-0.03943629935383797,
-0.042345382273197174,
0.010689957067370415,
-0.01908288709819317,
0.007194616366177797,
0.03209507837891579,
-0.001559704658575356,
0.020740961655974388,
0.03974035754799843,
-0.020174020901322365,
0.027470530942082405,
-0.019573891535401344,
-0.03787393495440483,
-0.046145860105752945,
0.016210168600082397,
0.03310106694698334,
-0.021767904981970787,
-0.006493787746876478,
0.007435731589794159,
0.022356420755386353,
0.04462271183729172,
0.012758987955749035,
0.023052183911204338,
0.014695536345243454,
0.014069860801100731,
0.003253515111282468,
0.02198588289320469,
-0.033730410039424896,
0.0021976055577397346,
-0.02395891584455967,
-0.03441249206662178,
-0.018884219229221344,
0.03808481618762016,
-0.008842622861266136,
-0.016974730417132378,
-0.02145395241677761,
0.023301873356103897,
-0.07532264292240143,
-0.015912482514977455,
-0.02651534602046013,
0.017663026228547096,
0.04620969668030739,
-0.011190502904355526,
0.02022417262196541,
0.012630700133740902,
-0.019936367869377136,
-0.0038289877120405436,
0.0030865403823554516,
-0.018770460039377213,
0.02108791097998619,
0.004254116676747799,
-0.009814087301492691,
0.005604303441941738,
0.025126196444034576,
0.02919682301580906,
0.006154102273285389,
-0.012543671764433384,
0.004586419556289911,
0.03547560051083565,
0.0031116025056689978,
0.04960697516798973,
0.05298663675785065,
-0.03244181349873543,
0.003865276463329792,
-0.0013733516680076718,
-0.012564348988234997,
-0.014406166039407253,
0.020557286217808723,
0.0005703762290067971,
0.022777913138270378,
-0.009013512171804905,
-0.06705839186906815,
0.0380672812461853,
0.01721063069999218,
-0.0035065754782408476,
-0.004732620902359486,
-0.028459951281547546,
0.034938033670186996,
-0.03938215225934982,
0.04047255963087082,
0.06117517501115799,
-0.04989641159772873,
0.0033004065044224262,
-0.011219103820621967,
0.02881176397204399,
0.008274146355688572,
0.023771019652485847,
-0.07826096564531326,
-0.0074837845750153065,
0.005772901698946953,
-0.016594918444752693,
-0.051352765411138535,
-0.03594297915697098,
-0.028299635276198387,
0.023816732689738274,
0.023054519668221474,
0.022412117570638657,
0.00942607969045639,
0.0034965116064995527,
-0.044600531458854675,
-0.041924849152565,
0.03644927218556404,
-0.01635676622390747,
0.012620433233678341,
-0.02138042077422142,
-0.024685099720954895,
0.027713285759091377,
-0.036358848214149475,
0.028700808063149452,
-0.001255044131539762,
-0.02932078018784523,
-0.02325214445590973,
-0.04125094786286354,
0.0036229246761649847,
-0.008766727522015572,
0.053374290466308594,
0.02510458417236805,
0.0009446037583984435,
-0.04854059964418411,
0.0025917731691151857,
-0.02057611383497715,
0.01460176333785057,
0.02269548363983631,
0.025394458323717117,
0.022257283329963684,
0.010264326818287373,
-0.010169178247451782,
0.01599227637052536,
-0.022192981094121933,
-0.040404465049505234,
0.05788545310497284,
-0.055892735719680786,
-0.04094997048377991,
-0.012857782654464245,
-0.07070348411798477,
0.014450483955442905,
0.028829136863350868,
0.027278007939457893,
-0.05661425739526749,
0.05097481980919838,
0.02823762595653534,
0.0026929902378469706,
0.019453058019280434,
0.007879126816987991,
0.021958233788609505,
-0.011148453690111637,
-0.0007336321286857128,
-0.06702115386724472,
0.004103669431060553,
0.04828045889735222,
-0.00659525441005826,
0.011420606635510921,
-0.0033075185492634773,
-0.044370707124471664,
0.044511500746011734,
-0.06575214862823486,
-0.026904819533228874,
0.033174384385347366,
-0.0191790834069252,
-0.01982869766652584,
-0.008488104678690434,
-0.030916301533579826,
0.03961700573563576,
0.010217415168881416,
-0.04683929681777954,
-0.017186352983117104,
0.014522227458655834,
0.04870247840881348,
-0.0056440504267811775,
0.01745513454079628,
-0.0009017223492264748,
-0.028556164354085922,
0.11371208727359772,
0.01590365543961525,
0.010884840972721577,
0.03501912206411362,
-0.019464123994112015,
0.05589472874999046,
0.01643006131052971,
-0.016766808927059174,
0.02078818902373314,
0.015552918426692486,
-0.036436405032873154,
-0.05282961204648018,
0.03944535553455353,
0.021924631670117378,
-0.011958188377320766,
-0.03634246811270714,
0.0728190466761589,
0.008827375248074532,
-0.04710950329899788,
-0.051347516477108,
0.03398552164435387,
-0.05578875541687012,
-0.034161943942308426,
-0.021338101476430893,
0.031596966087818146,
-0.06429122388362885,
0.03218421712517738,
-0.010521159507334232,
0.008819250389933586,
0.05523889139294624,
-0.008413704112172127,
-0.01324728038161993,
0.015535765327513218,
0.07944420725107193,
0.08124097436666489,
0.04011078551411629,
-0.013179341331124306,
0.0654488131403923,
-0.0352468378841877,
-0.03598563373088837,
-0.009488810785114765,
-0.0005640662857331336,
-0.029054539278149605,
-0.03170216083526611,
0.0380665548145771,
0.06498418748378754,
-0.005344354081898928,
0.07026561349630356,
-0.000053234205552143976,
-0.022483589127659798,
-0.020243516191840172,
0.04194923862814903,
0.014906349591910839,
0.028408389538526535,
0.005837009288370609,
0.03847653046250343,
0.00010255722736474127,
-0.05639467015862465,
0.02980530634522438,
0.0009133260464295745,
-0.04176492616534233,
0.01997513696551323,
-0.02209833823144436,
0.028888965025544167,
0.020715907216072083,
0.028203383088111877,
0.06703885644674301,
-0.014456524513661861,
-0.019285675138235092,
0.01845546066761017,
0.028892114758491516,
-0.01096340175718069,
0.003935026004910469,
-0.036018289625644684,
-0.0010966554982587695,
-0.029238153249025345,
-0.02954671159386635,
-0.007374790497124195,
-0.026363063603639603,
-0.03066827543079853,
-0.010625824332237244,
-0.015669988468289375,
0.012074876576662064,
0.01490356307476759,
-0.0024825206492096186,
-0.04698717221617699,
-0.04302160441875458,
-0.04766136407852173,
-0.05747412517666817,
-0.037867989391088486,
-0.012115797027945518,
-0.008897749707102776,
0.0015612785937264562,
-0.03317966312170029,
-0.030649445950984955,
-0.03475997969508171,
0.006539962720125914,
0.03434431552886963,
-0.052420105785131454,
-0.029136639088392258,
0.021576466038823128,
0.02812938019633293,
0.0021773632615804672,
-0.010094764642417431,
0.07494109123945236,
0.019126297906041145,
-0.013574528507888317,
0.01351122185587883,
0.018447261303663254,
0.03629263862967491,
-0.03883577883243561,
-0.0067540863528847694,
-0.0794922485947609,
0.024174241349101067,
0.041998978704214096,
0.016170190647244453,
-0.07033725827932358,
0.029147043824195862,
0.03485149145126343,
0.03764830902218819,
0.04550526663661003,
-0.020994987338781357,
0.02380341850221157,
-0.0294817928224802,
-0.03202560544013977,
-0.009485158137977123,
0.022571466863155365,
0.04472678154706955,
0.00038436014438048005,
0.08205509185791016,
0.040373969823122025,
-0.012720893137156963,
-0.01901373267173767,
-0.004963047802448273,
-0.029704641550779343,
0.025233054533600807,
-0.03346862271428108,
-0.024561941623687744,
-0.03568192198872566,
-0.061060842126607895,
-0.011035858653485775,
0.024663086980581284,
-0.011268203146755695,
-0.037451110780239105,
0.04167076200246811,
-0.004065094981342554,
-0.01691199094057083,
-0.0011361342621967196,
-0.0425298735499382,
-0.013811455108225346,
-0.020777041092514992,
-0.025016529485583305,
-0.024527831003069878,
0.019965892657637596,
0.004182504490017891,
-0.036429405212402344,
-0.017691045999526978,
-0.03465111926198006,
-0.00792589969933033,
0.0002751029096543789,
0.0688098892569542,
0.05318982154130936,
-0.006913324352353811,
-0.02136296033859253
] | [
-0.0520339161157608,
-0.0452236644923687,
-0.007378031965345144,
-0.027068940922617912,
0.06905265152454376,
-0.061559174209833145,
-0.021266579627990723,
0.01145379338413477,
-0.006752321030944586,
-0.030704932287335396,
-0.01761147752404213,
-0.06634499132633209,
-0.023172220215201378,
-0.0276491641998291,
0.1003202423453331,
-0.010019641369581223,
-0.018598539754748344,
-0.04728483408689499,
-0.03351530060172081,
0.013509188778698444,
-0.004322712309658527,
-0.035494234412908554,
-0.06399677693843842,
-0.05471862852573395,
0.009388922713696957,
0.05385719984769821,
0.06613811105489731,
-0.026573771610856056,
-0.01705731824040413,
-0.1829734444618225,
0.01605837605893612,
-0.050288524478673935,
-0.0028227539733052254,
0.006071051117032766,
0.0023766583763062954,
0.045201513916254044,
0.033190980553627014,
0.006450872868299484,
0.014242572709918022,
0.05330248922109604,
0.05590304732322693,
-0.002517514396458864,
-0.03905554115772247,
0.01340615563094616,
0.013025798834860325,
-0.04147329181432724,
-0.011592407710850239,
-0.019855327904224396,
0.013776601292192936,
-0.02662857063114643,
-0.07465939968824387,
-0.004888937342911959,
-0.02803642861545086,
-0.04207192361354828,
-0.004656764212995768,
0.0036712957080453634,
0.06060062721371651,
0.06930092722177505,
0.041029926389455795,
0.026309017091989517,
0.01690322533249855,
0.00283230422064662,
-0.15318362414836884,
0.11264229565858841,
-0.01594562456011772,
0.036753568798303604,
-0.04479418694972992,
-0.0035146030131727457,
-0.014714332297444344,
0.05599954351782799,
0.01993142068386078,
-0.030396096408367157,
-0.01500431727617979,
0.07509790360927582,
0.021551549434661865,
-0.01127883605659008,
-0.03230449929833412,
0.05192982405424118,
0.03659604862332344,
-0.020209049805998802,
-0.05665408819913864,
0.02006632462143898,
-0.03940543532371521,
-0.005435480270534754,
-0.07350920885801315,
0.03788895159959793,
-0.016838867217302322,
0.04400032386183739,
0.011786771938204765,
0.0267485361546278,
0.01832096464931965,
-0.02002609334886074,
0.05637580528855324,
0.00038452018634416163,
-0.10489195585250854,
-0.023001693189144135,
-0.014608519151806831,
0.00023369755945168436,
-0.04968370497226715,
0.37804168462753296,
0.01868463307619095,
-0.022437792271375656,
0.037860237061977386,
0.05249951034784317,
0.009081226773560047,
0.0015853438526391983,
-0.00048278580652549863,
-0.053773943334817886,
0.037445858120918274,
-0.010894759558141232,
0.0025647287257015705,
-0.0022213261108845472,
0.02116183005273342,
-0.05665358528494835,
0.03308990225195885,
0.010993316769599915,
0.008521879091858864,
0.004960993304848671,
-0.03328844904899597,
0.0481918565928936,
-0.007608773652464151,
0.007314313668757677,
0.039822500199079514,
0.01400473527610302,
0.03403494134545326,
0.035000525414943695,
0.041546404361724854,
0.019598789513111115,
0.035026971250772476,
0.027666104957461357,
0.0036497144028544426,
-0.024310307577252388,
-0.05977168306708336,
-0.014176894910633564,
0.009867359884083271,
-0.012913458049297333,
0.02922859415411949,
-0.06703954935073853,
-0.00574877206236124,
0.02835201472043991,
-0.029725752770900726,
-0.04219714552164078,
0.022820305079221725,
-0.035025082528591156,
-0.002125789877027273,
0.12346567958593369,
0.025884171947836876,
-0.010292528197169304,
-0.038626305758953094,
-0.03891131654381752,
0.004294370301067829,
0.0541367344558239,
0.03502180054783821,
-0.06467902660369873,
0.02828315831720829,
0.0009621466160751879,
0.04845196008682251,
0.015194166451692581,
-0.05777936801314354,
0.0014076834777370095,
-0.04628558084368706,
-0.08900336921215057,
-0.038385339081287384,
0.018821531906723976,
0.02670808508992195,
-0.12178143113851547,
-0.014665811322629452,
0.00843157060444355,
0.009680386632680893,
-0.04603974148631096,
-0.010703831911087036,
0.04346928372979164,
-0.012150096707046032,
-0.00040533614810556173,
0.029743192717432976,
-0.0178484208881855,
-0.027169810608029366,
0.03106050007045269,
0.04355267062783241,
-0.010680394247174263,
-0.027640806511044502,
0.021375417709350586,
-0.04841763898730278,
-0.018074866384267807,
-0.030673149973154068,
-0.06504645198583603,
-0.05979323014616966,
-0.027717171236872673,
-0.057567059993743896,
-0.05133746564388275,
-0.03886445611715317,
0.008027829229831696,
-0.021411506459116936,
0.08181969821453094,
0.01495813112705946,
-0.022154193371534348,
0.027991902083158493,
0.03369700908660889,
0.026931200176477432,
-0.04226505383849144,
0.005206987727433443,
0.036429353058338165,
-0.049073293805122375,
0.03307381272315979,
-0.06953180581331253,
0.02869555540382862,
0.035869162529706955,
-0.010004292242228985,
0.07000546902418137,
0.01796012744307518,
-0.012434479780495167,
0.0138459587469697,
-0.029190318658947945,
0.04292159527540207,
-0.025220131501555443,
0.0034268375020474195,
-0.007180856540799141,
0.017164379358291626,
0.018235843628644943,
0.011085376143455505,
0.01304529421031475,
-0.03129418194293976,
-0.030056077986955643,
-0.37568199634552,
-0.015142995864152908,
-0.029634548351168633,
-0.007959766313433647,
-0.005654876120388508,
-0.058244507759809494,
0.017194537445902824,
0.0013354627881199121,
0.0008292538113892078,
0.011141935363411903,
0.10297354310750961,
-0.06520512700080872,
0.02614448592066765,
-0.0616966113448143,
0.008305045776069164,
0.06188757345080376,
-0.04033278301358223,
-0.013270839117467403,
-0.007807114627212286,
0.03154424950480461,
0.023549988865852356,
-0.023733844980597496,
-0.02449399046599865,
-0.023683816194534302,
0.013564036227762699,
-0.01354291196912527,
0.12420114874839783,
0.035569168627262115,
0.09856037050485611,
-0.06410335004329681,
0.04721374064683914,
0.029418475925922394,
0.011966370046138763,
-0.09487031400203705,
-0.019445903599262238,
-0.007838144898414612,
0.030318105593323708,
0.00295320269651711,
-0.006976959761232138,
-0.008944368921220303,
-0.04698006436228752,
0.08203399181365967,
-0.061896052211523056,
-0.06834311783313751,
-0.036260321736335754,
0.006062645930796862,
-0.02282377891242504,
0.014477921649813652,
-0.046150170266628265,
0.04324935004115105,
-0.0007280259160324931,
0.02130298689007759,
0.008757577277719975,
0.012132048606872559,
0.02135506272315979,
0.009158981963992119,
-0.03698766604065895,
-0.03323238715529442,
-0.0028496512677520514,
0.03995782136917114,
0.04755429923534393,
0.0625855028629303,
0.008983400650322437,
-0.04782925546169281,
0.017640361562371254,
-0.005322144366800785,
-0.007026432082056999,
0.0363970585167408,
0.054071057587862015,
-0.028775840997695923,
-0.031853847205638885,
0.07471710443496704,
0.009245671331882477,
0.011926003731787205,
0.07073185592889786,
0.04112115502357483,
-0.007674032356590033,
0.004556356463581324,
0.009785899892449379,
0.027533888816833496,
0.05801403895020485,
-0.02126334235072136,
0.02695421315729618,
-0.03555358573794365,
0.029920324683189392,
0.06149744242429733,
-0.00932554341852665,
-0.015265312045812607,
0.0681990310549736,
-0.02477356605231762,
-0.04396248981356621,
0.01032237522304058,
-0.017352500930428505,
-0.05196145921945572,
0.07505208253860474,
0.012458248995244503,
-0.2720334231853485,
0.05397499352693558,
0.04161201789975166,
0.05589400231838226,
0.024399645626544952,
-0.008430822752416134,
-0.0004470055573619902,
-0.05645296350121498,
-0.008556567132472992,
0.017996206879615784,
-0.006806471850723028,
0.03472353518009186,
-0.0032917328644543886,
0.007228020112961531,
0.012868492864072323,
0.00823396909981966,
0.04144730791449547,
0.0009120767354033887,
-0.005603972356766462,
-0.0257004015147686,
0.008397040888667107,
0.007646617013961077,
0.15659524500370026,
0.03883596137166023,
-0.018363075330853462,
0.010075674392282963,
0.018101638182997704,
0.023541919887065887,
0.05355321615934372,
0.026147564873099327,
0.023352202028036118,
-0.00823246967047453,
0.037575528025627136,
0.0017448619473725557,
0.054581448435783386,
-0.05612897872924805,
-0.01643088273704052,
0.018697574734687805,
0.012283801101148129,
-0.034835536032915115,
-0.016736647114157677,
0.04277796670794487,
-0.009307303465902805,
0.02404462732374668,
0.050043728202581406,
-0.029634328559041023,
-0.0005342909134924412,
-0.07842849940061569,
-0.04025974124670029,
-0.025709329172968864,
-0.0256208349019289,
-0.057747021317481995,
0.018572023138403893,
0.010840061120688915,
0.018746837973594666,
0.0633273720741272,
0.043014612048864365,
-0.04144740104675293,
-0.013465315103530884,
0.01834394410252571,
0.019594725221395493,
-0.04316403344273567,
0.10007584095001221,
0.000534255406819284,
0.03365315869450569
] | [
0.02173417992889881,
0.022206593304872513,
-0.010156724601984024,
0.013018851168453693,
0.006077541038393974,
-0.003609888721257448,
0.0009332156623713672,
0.015508782118558884,
-0.0038416930474340916,
0.00407659076154232,
-0.022579608485102654,
-0.01241406612098217,
0.006809544283896685,
-0.009508980438113213,
0.002728352788835764,
-0.06258594244718552,
0.0754907950758934,
0.015793174505233765,
0.031827569007873535,
0.0019801852758973837,
-0.05593001842498779,
0.026446737349033356,
0.026462921872735023,
0.0017750662518665195,
-0.002108641667291522,
0.00905840564519167,
-0.05656912550330162,
0.01628965511918068,
0.026752863079309464,
-0.10791890323162079,
-0.014579345472157001,
-0.04206077381968498,
-0.008199606090784073,
-0.021050862967967987,
0.06502949446439743,
0.01535204891115427,
-0.009094365872442722,
-0.0007019694894552231,
-0.02476320043206215,
0.007248038426041603,
0.05406193435192108,
-0.02373894490301609,
-0.025777172297239304,
0.00497740413993597,
-0.024806449189782143,
-0.031363338232040405,
-0.042253412306308746,
-0.04090043529868126,
0.012177958153188229,
-0.033997680991888046,
-0.059004709124565125,
0.01687421090900898,
-0.024239761754870415,
0.0019340838771313429,
0.012032712809741497,
-0.006229856517165899,
-0.0342562273144722,
0.011188956908881664,
0.03185270354151726,
0.015592026524245739,
-0.008490197360515594,
0.019148409366607666,
-0.030200868844985962,
-0.02861182950437069,
-0.0029014991596341133,
-0.028025934472680092,
-0.022397203370928764,
-0.005100262351334095,
0.0023696268908679485,
0.033308710902929306,
0.0034565136302262545,
0.019795915111899376,
-0.02904369868338108,
-0.03162678703665733,
-0.0037843859754502773,
-0.0007883210200816393,
0.015582792460918427,
0.01248642522841692,
0.01540828961879015,
-0.003721068147569895,
-0.025917239487171173,
-0.00871349684894085,
-0.03395634517073631,
0.0027187801897525787,
-0.03938243165612221,
-0.02610493265092373,
-0.017664119601249695,
-0.0006002607988193631,
0.035891998559236526,
-0.011038645170629025,
0.03127353638410568,
0.0165515448898077,
0.0060335672460496426,
-0.02040257677435875,
-0.07432791590690613,
-0.01914907619357109,
-0.0013409241801127791,
-0.015950076282024384,
0.009125969372689724,
0.8238734006881714,
-0.00388607126660645,
0.006868983618915081,
0.022613463923335075,
0.02541005052626133,
0.04209597781300545,
-0.005757628008723259,
-0.029415052384138107,
-0.02436688356101513,
0.005968121811747551,
-0.03255562484264374,
0.00001950505975401029,
-0.0005617077695205808,
0.013615821488201618,
0.029402220621705055,
0.0328347273170948,
0.032422516494989395,
0.022291149944067,
-0.024628352373838425,
-0.02511107549071312,
0.03453826531767845,
0.02731167897582054,
-0.07004552334547043,
0.008931184187531471,
-0.010096627287566662,
0.0004586155992001295,
-0.16373316943645477,
0.01989307627081871,
-6.67652212060655e-33,
0.04848947748541832,
-0.04899818077683449,
0.02609749510884285,
0.026288527995347977,
0.08460217714309692,
0.007114594802260399,
-0.005074538756161928,
-0.039936695247888565,
-0.02691372111439705,
0.0025192718021571636,
-0.016558803617954254,
0.010542333126068115,
-0.03375733271241188,
-0.019602349027991295,
-0.0013457383029162884,
-0.007215024437755346,
-0.034111086279153824,
0.02777937240898609,
-0.003117892425507307,
0.013508087955415249,
0.045229531824588776,
0.034937504678964615,
-0.020734108984470367,
0.008371347561478615,
0.049415964633226395,
0.0009550612885504961,
0.01458171010017395,
-0.03243807330727577,
0.021971751004457474,
-0.026616374030709267,
-0.027687203139066696,
-0.0010519110364839435,
-0.05242103338241577,
-0.04640435799956322,
-0.03408275172114372,
-0.06871562451124191,
-0.04708707332611084,
-0.019302766770124435,
-0.05855133384466171,
-0.021719010546803474,
-0.04382424056529999,
-0.010812489315867424,
-0.043067656457424164,
-0.024220461025834084,
-0.0410686731338501,
0.010924100875854492,
0.0240751001983881,
0.038587212562561035,
0.02489662915468216,
0.022633351385593414,
0.03772323951125145,
-0.033237654715776443,
0.006688571535050869,
0.021928416565060616,
-0.017388412728905678,
0.0383014902472496,
0.028768057003617287,
0.009912959299981594,
0.0007887352840043604,
-0.012729973532259464,
-0.010094440542161465,
-0.020180126652121544,
0.001887231832370162,
0.03171512484550476,
0.03385305777192116,
0.002615801291540265,
-0.012931764125823975,
0.05850859731435776,
0.016565900295972824,
0.04998563975095749,
-0.03962290659546852,
0.005304534919559956,
-0.025698523968458176,
-0.026725882664322853,
0.007514045108109713,
-0.046063654124736786,
0.009434248320758343,
0.0035585849545896053,
-0.025656722486019135,
0.04442151263356209,
0.006706008221954107,
0.029004035517573357,
-0.007720523048192263,
-0.005797944962978363,
-0.02358926273882389,
-0.023234764114022255,
0.018110813573002815,
0.025475895032286644,
0.01115178782492876,
0.015955669805407524,
0.035659607499837875,
0.03984523192048073,
0.033678799867630005,
-0.00434406753629446,
-0.07678060978651047,
6.610352808914794e-33,
-0.01099264994263649,
-0.032970864325761795,
-0.020498959347605705,
0.0011117156827822328,
0.006452207453548908,
-0.03001725859940052,
0.041297487914562225,
0.021902110427618027,
0.01046566478908062,
0.028771234676241875,
-0.03407188132405281,
0.018394870683550835,
-0.0029395639430731535,
0.04056072235107422,
0.022036897018551826,
-0.008567826822400093,
0.004835586063563824,
-0.011031562462449074,
0.021604377776384354,
-0.008222298696637154,
-0.005166508257389069,
-0.017728349193930626,
0.015803910791873932,
0.044008925557136536,
0.01998724974691868,
0.040715061128139496,
-0.00398319261148572,
0.018315497785806656,
-0.03625115752220154,
-0.024676019325852394,
0.02787812240421772,
-0.009562063030898571,
0.02317652478814125,
0.002632969059050083,
-0.014012626372277737,
0.01729254610836506,
0.003652088111266494,
0.03043998032808304,
-0.02507413551211357,
-0.016461918130517006,
0.041116729378700256,
-0.005589352920651436,
0.007419256027787924,
0.044356029480695724,
-0.011915452778339386,
-0.006776076275855303,
0.03338778391480446,
-0.004684950690716505,
0.0007470792625099421,
0.02141440473496914,
-0.030290523543953896,
-0.002818542765453458,
0.004061714746057987,
0.028422242030501366,
-0.002124689519405365,
0.0072318185120821,
-0.006274321116507053,
0.03989298269152641,
0.008442971855401993,
0.03864014148712158,
0.044317375868558884,
-0.027127256616950035,
0.000176866989932023,
0.01843932271003723,
-0.029361743479967117,
-0.013399430550634861,
-0.015937717631459236,
0.004674239549785852,
-0.004960130900144577,
-0.00705795967951417,
0.03620737046003342,
-0.006463374476879835,
-0.015485037118196487,
0.045211754739284515,
0.04561373218894005,
-0.0027198626194149256,
-0.0037959679029881954,
0.02276475913822651,
-0.029836595058441162,
0.014910111203789711,
0.02243201620876789,
0.012055236846208572,
-0.018688388168811798,
-0.027981219813227654,
-0.0025063594803214073,
-0.01005532406270504,
-0.015605502761900425,
0.043835703283548355,
0.04747446998953819,
-0.0009199724881909788,
0.003410719335079193,
-0.030572155490517616,
-0.02385026402771473,
0.03168332204222679,
-0.040422093123197556,
-1.2501392809838308e-8,
0.020745234563946724,
-0.01101903896778822,
-0.015228168107569218,
0.05083780363202095,
-0.020162394270300865,
0.017322979867458344,
0.010728574357926846,
-0.002134712180122733,
-0.04340625926852226,
0.02275007963180542,
0.02163972705602646,
-0.023560620844364166,
-0.013180548325181007,
0.02303973212838173,
0.04338821396231651,
0.01034056767821312,
-0.012696437537670135,
-0.009807742200791836,
0.022845374420285225,
-0.020891163498163223,
0.04087809845805168,
0.02400105446577072,
0.024547118693590164,
-0.00503504928201437,
-0.03174606338143349,
0.015803486108779907,
-0.016120223328471184,
-0.06989279389381409,
-0.01935351826250553,
-0.012563327327370644,
-0.02200959250330925,
-0.037791479378938675,
-0.04041960462927818,
0.02744956500828266,
-0.03085954301059246,
-0.005658947397023439,
-0.02134828269481659,
0.015528383664786816,
0.021352889016270638,
0.01593589037656784,
-0.056896012276411057,
0.007394975516945124,
-0.046501632779836655,
-0.041267119348049164,
-0.03492974489927292,
0.050848331302404404,
-0.03861802816390991,
0.0484587736427784,
0.014144654385745525,
-0.013054386712610722,
-0.010306772775948048,
-0.043914686888456345,
0.020558850839734077,
-0.007075200323015451,
0.027175530791282654,
0.019932786002755165,
-0.0025096172466874123,
-0.018970726057887077,
0.010227951221168041,
-0.04513818770647049,
0.01292190421372652,
0.030397051945328712,
-0.009319687262177467,
0.000813468242995441
] | kafka-basic-tutorial | https://markhneedham.com/blog/2019/05/16/kafka-basic-tutorial |
false | 2019-05-10 23:00:00 | Jupyter: RuntimeError: This event loop is already running | [
"python",
"jupyter"
] | [
"Python"
] | I've been using the https://github.com/twintproject/twint/wiki/Module[twint^] library to explore the Neo4j twitter community, and ran into an initially confusing error when I moved the code I'd written into a Jupyter notebook.
The first three cells of my notebook contain the following code:
Cell 1:
[source, python]
----
! pip install twint
----
Cell 2:
[source, python]
----
import json
import twint
----
Cell 3:
[source,python]
----
users = ["vikatakavi11", "tee_mars3"]
for username in users[:10]:
c = twint.Config()
c.Username = username
c.User_full = False
c.Store_object = True
c.Hide_output = True
twint.run.Followers(c)
followers = twint.output.follow_object
if not username in followers:
followers[username] = {"followers": []}
print(followers)
twint.output.follow_object = {}
----
If we execute those three cells we'll get the following error:
[source,text]
----
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-5-796d99d0022c> in <module>
6 c.Hide_output = True
7
----> 8 twint.run.Followers(c)
9 followers = twint.output.follow_object
10
~/projects/twitter-graph/a/src/twint/twint/run.py in Followers(config)
219 config.Favorites = False
220 config.TwitterSearch = False
--> 221 run(config)
222 if config.Pandas_au:
223 storage.panda._autoget("followers")
~/projects/twitter-graph/a/src/twint/twint/run.py in run(config, callback)
198 def run(config, callback=None):
199 logme.debug(__name__+':run')
--> 200 get_event_loop().run_until_complete(Twint(config).main(callback))
201
202 def Favorites(config):
/usr/lib/python3.6/asyncio/base_events.py in run_until_complete(self, future)
458 future.add_done_callback(_run_until_complete_cb)
459 try:
--> 460 self.run_forever()
461 except:
462 if new_task and future.done() and not future.cancelled():
/usr/lib/python3.6/asyncio/base_events.py in run_forever(self)
412 self._check_closed()
413 if self.is_running():
--> 414 raise RuntimeError('This event loop is already running')
415 if events._get_running_loop() is not None:
416 raise RuntimeError(
RuntimeError: This event loop is already running
----
I knew that the twint library was using an event loop, but I didn't realise that this would cause a problem with Jupyter until I read this https://github.com/jupyter/notebook/issues/3397#issuecomment-376803076[GitHub issue^], which explains that the Jupyter kernel is also running an event loop, and these loops can't be nested.
This thread (https://github.com/jupyter/notebook/issues/3397#issuecomment-376803076) explains that we have two event loops running - one in Jupyter and one in the twint library.
Luckily https://github.com/jupyter/notebook/issues/3397#issuecomment-419386811[Ewald de Wit^] created an awesome library called 'nest_asyncio' that we can use to workaround this error.
I added the following cells:
Cell 4:
[source, python]
----
!pip install nest_asyncio
----
And now we can apply this library:
[source,python]
----
import nest_asyncio
nest_asyncio.apply()
----
And finally, we'll try to find the followers for our users again:
[source, python]
----
for username in users[:10]:
c = twint.Config()
c.Username = username
c.User_full = False
c.Store_object = True
c.Hide_output = True
twint.run.Followers(c)
followers = twint.output.follow_object
if not username in followers:
followers[username] = {"followers": []}
print(followers)
twint.output.follow_object = {}
----
And this time it works!
[source,text]
----
{'vikatakavi11': {'followers': ['ganimohamed7861', 'ganimohamed7861']}}
{'tee_mars3': {'followers': ['christophe_cruz', 'leclercq_ub']}}
----
The full code for the notebook is in the gist below:
++++
<script src="https://gist.github.com/mneedham/5599bcc714ea97c1277da0afc786410a.js"></script>
++++ | Learn how to use a library that runs in an event loop inside a Jupyter notebook. | null | [
0.0408201664686203,
-0.03205421194434166,
-0.03274090588092804,
0.03639755770564079,
0.08215920627117157,
0.024298615753650665,
0.033847108483314514,
0.028346754610538483,
0.0004487795813474804,
-0.019362561404705048,
-0.019128771498799324,
0.009729580022394657,
-0.09032228589057922,
0.001578488270752132,
-0.04310303181409836,
0.03671329841017723,
0.08025682717561722,
-0.0032511756289750338,
0.02339557744562626,
0.023810019716620445,
0.01643914356827736,
0.050368811935186386,
-0.011660022661089897,
0.012025055475533009,
-0.007589866407215595,
0.004883084911853075,
0.004697186406701803,
-0.004693105351179838,
-0.04509514942765236,
-0.014720272272825241,
0.0286953654140234,
0.008776277303695679,
0.033035241067409515,
-0.01822083815932274,
0.025572488084435463,
0.025085773319005966,
-0.020997803658246994,
-0.005565362982451916,
-0.01694224588572979,
0.0223073773086071,
-0.05969689041376114,
0.012439361773431301,
-0.002265575109049678,
0.025067787617444992,
-0.016317475587129593,
0.013575129210948944,
-0.043159034103155136,
0.04862198606133461,
0.006438582669943571,
-0.004827890079468489,
-0.060028791427612305,
0.02459050714969635,
0.00947296991944313,
-0.047364868223667145,
0.012491374276578426,
0.05439756438136101,
0.028955873101949692,
-0.0642523318529129,
0.040668848901987076,
-0.04027099162340164,
-0.00313692563213408,
-0.00837008748203516,
-0.011879685334861279,
0.02283387817442417,
-0.02015741541981697,
-0.021856797859072685,
0.014065153896808624,
0.07843878865242004,
-0.06364649534225464,
-0.03642423823475838,
0.0075258491560816765,
0.04406764730811119,
-0.0455431267619133,
0.006833858322352171,
-0.008347216993570328,
-0.04119725152850151,
-0.015579668805003166,
0.05599091947078705,
0.0316292867064476,
0.06048038974404335,
-0.0023069623857736588,
0.04109300300478935,
0.005567261483520269,
0.030298598110675812,
0.00352949439547956,
-0.016225352883338928,
-0.035400740802288055,
0.006609966978430748,
-0.06416229158639908,
0.03581394627690315,
-0.018473632633686066,
-0.06114131584763527,
0.009214402176439762,
0.008343136869370937,
-0.008126375265419483,
0.01718800514936447,
0.009203746914863586,
0.0048025124706327915,
0.022678019478917122,
-0.0050271740183234215,
-0.04540783539414406,
-0.017259949818253517,
-0.0044646961614489555,
0.03042570874094963,
-0.07631434500217438,
-0.022786332294344902,
-0.00527137191966176,
-0.028104715049266815,
-0.0005331599968485534,
-0.0203658789396286,
-0.03139392286539078,
-0.006523905787616968,
-0.043530434370040894,
0.011106186546385288,
-0.09992039948701859,
0.08589567244052887,
-0.01217507105320692,
-0.01596377231180668,
-0.013051891699433327,
0.016305329278111458,
0.045020073652267456,
0.03531965613365173,
-0.014698590151965618,
0.09227662533521652,
-0.0018457252299413085,
0.059710677713155746,
0.008385713212192059,
0.06732914596796036,
-0.00472812307998538,
-0.044162604957818985,
-0.040116045624017715,
0.06966110318899155,
-0.03150065988302231,
0.00447083730250597,
-0.0066675893031060696,
-0.013226418755948544,
-0.03957805037498474,
0.049553532153367996,
0.05705944448709488,
0.04615863040089607,
0.008971060626208782,
-0.01596980355679989,
0.025639433413743973,
0.00916111096739769,
0.03344794362783432,
0.029733238741755486,
-0.016413280740380287,
-0.025353463366627693,
-0.03518319129943848,
-0.0054148412309587,
0.00019103045633528382,
0.011528665199875832,
0.0655379518866539,
-0.012231678701937199,
0.015336885116994381,
0.08159982413053513,
0.03398369252681732,
0.034261029213666916,
-0.0401134230196476,
0.04299323633313179,
0.032594792544841766,
0.0658489391207695,
-0.014171686954796314,
0.08515457808971405,
-0.00627337209880352,
-0.04275660961866379,
-0.004599268548190594,
0.06012891232967377,
0.0030490870121866465,
-0.010478594340384007,
-0.035312000662088394,
-0.06625436246395111,
0.04523457959294319,
-0.02225961908698082,
-0.0020896769128739834,
0.018280191347002983,
0.07809148728847504,
-0.015923600643873215,
0.022524017840623856,
0.01265623141080141,
-0.06107382848858833,
0.0729788988828659,
0.022019455209374428,
-0.0019170319428667426,
0.023818880319595337,
0.006294401362538338,
0.07877190411090851,
0.01756218820810318,
0.022616736590862274,
0.02097291871905327,
-0.05457316339015961,
-0.06612438708543777,
-0.001545651932246983,
-0.003598225535824895,
0.07154324650764465,
-0.039702821522951126,
-0.01835808716714382,
0.05908596143126488,
0.01772683672606945,
0.0046593742445111275,
-0.014300638809800148,
-0.005957667715847492,
0.0035188007168471813,
-0.025666408240795135,
-0.041030433028936386,
0.028574896976351738,
0.038565486669540405,
-0.03921085223555565,
-0.05856596305966377,
0.02240985818207264,
-0.021031945943832397,
-0.00984638649970293,
0.03194821998476982,
-0.03155699372291565,
0.050158943980932236,
0.03299195319414139,
0.03184719383716583,
0.009101564064621925,
0.04261093586683273,
-0.07075029611587524,
0.05042528361082077,
-0.028631675988435745,
0.0027640468906611204,
-0.04264995828270912,
-0.009896937757730484,
0.12323173880577087,
0.06430406123399734,
-0.035699669271707535,
-0.05894250422716141,
0.026035422459244728,
-0.02756488136947155,
-0.015720831230282784,
0.039935577660799026,
-0.0016473140567541122,
-0.035890839993953705,
0.013660077005624771,
-0.047976139932870865,
-0.026213783770799637,
0.0051677897572517395,
-0.04199283942580223,
-0.0018492123344913125,
0.07861067354679108,
-0.05503297597169876,
0.04430093616247177,
0.02820909209549427,
-0.009978532791137695,
-0.011304100044071674,
-0.02716543711721897,
-0.055109653621912,
0.021213781088590622,
0.02601386234164238,
-0.008358461782336235,
0.0721132904291153,
-0.008756744675338268,
-0.041874486953020096,
-0.014469067566096783,
-0.024220235645771027,
0.017760019749403,
0.0632118508219719,
0.05339426174759865,
-0.004805868957191706,
0.02228752337396145,
-0.046260882169008255,
-0.02529771812260151,
-0.013505750335752964,
-0.0415656603872776,
-0.04153858497738838,
-0.026557588949799538,
0.046841125935316086,
0.012623387388885021,
0.03792383149266243,
-0.030290137976408005,
-0.01085345633327961,
0.008815279230475426,
0.03977056220173836,
0.02749714069068432,
0.03701258823275566,
-0.0023024750407785177,
0.0019413222325965762,
-0.0502927266061306,
-0.03930823504924774,
0.03805471584200859,
-0.05571706220507622,
-0.024568049237132072,
-0.007083148695528507,
-0.04502355679869652,
0.030044713988900185,
-0.04738490283489227,
-0.021118445321917534,
0.01086895540356636,
0.001209467533044517,
0.04683241993188858,
-0.00886443816125393,
-0.015415947884321213,
0.03171051666140556,
0.0009582411148585379,
0.014794287271797657,
0.009135299362242222,
-0.018640950322151184,
0.05280096456408501,
0.0014163954183459282,
0.06551053375005722,
0.019832123070955276,
-0.047732751816511154,
-0.008922958746552467,
-0.024364862591028214,
-0.005877646617591381,
-0.033459827303886414,
-0.2591923773288727,
0.027279922738671303,
0.003751020412892103,
-0.06428758054971695,
0.014725452288985252,
-0.037432100623846054,
0.009939501993358135,
-0.031136346980929375,
-0.022047918289899826,
0.01567339338362217,
-0.005969624035060406,
-0.03737523406744003,
-0.0038663570303469896,
0.025179831311106682,
0.006946389563381672,
-0.00786694698035717,
-0.0512487068772316,
-0.03394085913896561,
0.028243834152817726,
0.05197608098387718,
0.0016369252698495984,
-0.03214925900101662,
-0.02958124317228794,
0.013259663246572018,
0.018879448994994164,
0.045534271746873856,
-0.09572543203830719,
0.021253513172268867,
-0.07264089584350586,
-0.03316633403301239,
-0.010381628759205341,
-0.01704912818968296,
-0.008605151437222958,
-0.001005859230645001,
-0.008624120615422726,
-0.025513892993330956,
0.028163976967334747,
0.007985914126038551,
0.002831632737070322,
0.017754383385181427,
-0.03752034530043602,
-0.035360462963581085,
-0.012869961559772491,
-0.024187711998820305,
0.08578887581825256,
0.008852997794747353,
-0.08797290176153183,
-0.004648072645068169,
-0.030423393473029137,
0.057983044534921646,
-0.03699591010808945,
-0.011190446093678474,
-0.008295834064483643,
0.019444705918431282,
-0.033327970653772354,
0.0058205025270581245,
-0.02214595302939415,
0.020898669958114624,
-0.05521037429571152,
-0.04015694558620453,
-0.03360840678215027,
-0.02640068531036377,
-0.023980915546417236,
-0.060366589576005936,
-0.0007646388257853687,
-0.059781212359666824,
-0.047771159559488297,
-0.012707415968179703,
0.0472399964928627,
0.023611903190612793,
-0.0577857531607151,
0.02394549548625946,
-0.011074626818299294,
-0.09794323891401291,
-0.01748138666152954,
-0.05165828764438629,
-0.0036526364274322987,
0.01448748167604208,
-0.007841290906071663,
0.03521209582686424,
-0.045931316912174225,
-0.059544991701841354,
0.015667786821722984,
0.010656075552105904,
0.006734954193234444,
-0.0023648382630199194,
-0.003283629659563303,
-0.015999875962734222,
-0.03022626042366028,
0.01137817744165659,
0.06154739856719971,
-0.03844931721687317,
-0.03892350196838379,
0.011580010876059532,
-0.029103940352797508,
0.04369024559855461,
0.03474170342087746,
0.010138469748198986,
0.00219918554648757,
0.06274145841598511,
0.0319637656211853,
-0.05896788835525513,
-0.0152485566213727,
-0.05797389894723892,
-0.02825716696679592,
0.03078254871070385,
-0.0648728460073471,
0.01626931130886078,
-0.0015643654624000192,
0.03706182539463043,
0.000049622194637777284,
-0.01839783787727356,
0.006862336304038763,
-0.03788362443447113,
-0.02794046886265278,
-0.027165424078702927,
0.017871376127004623,
0.010616364888846874,
0.02078251540660858,
-0.025542501360177994,
-0.0852566584944725,
0.00977530051022768,
0.019338658079504967,
0.006695974618196487,
-0.03714362531900406,
-0.02705017477273941,
-0.005282442085444927,
-0.012435213662683964,
0.017993956804275513,
-0.0066063180565834045,
-0.024710699915885925,
0.025231139734387398,
0.03917911276221275,
-0.03314107283949852,
0.019703883677721024,
-0.01957055926322937,
-0.052874915301799774,
-0.02536046877503395,
0.02403414621949196,
0.00033083593007177114,
-0.0032320916652679443,
0.0006734284106642008,
-0.00936537329107523,
0.017921706661581993,
0.05998271703720093,
0.0020976776722818613,
0.03278490528464317,
0.019073430448770523,
0.015304205007851124,
0.003727689851075411,
0.029721373692154884,
-0.01612020470201969,
0.02122921124100685,
-0.023218819871544838,
-0.0597970150411129,
0.00017135945381596684,
0.05652694031596184,
0.002308655297383666,
-0.005253637209534645,
-0.015707166865468025,
0.01781594567000866,
-0.042529843747615814,
0.032918110489845276,
-0.0072911931201815605,
-0.008136117830872536,
0.04776911064982414,
0.0007847367087379098,
0.02961064502596855,
-0.05493761971592903,
-0.026667168363928795,
0.0039759366773068905,
0.022227460518479347,
-0.012151030823588371,
0.016520874574780464,
0.0019933136645704508,
0.015569397248327732,
0.019192880019545555,
0.022660546004772186,
-0.0028508303221315145,
0.02210688218474388,
-0.03951298072934151,
-0.003331234212964773,
0.02666226401925087,
0.040155332535505295,
0.029869001358747482,
0.024466052651405334,
-0.03686363250017166,
-0.024588076397776604,
-0.0028164247050881386,
-0.0039056430105119944,
-0.03202676400542259,
-0.0062855747528374195,
-0.0012002185685560107,
0.00946730375289917,
-0.024010563269257545,
-0.04835374280810356,
0.0005575616378337145,
0.026944629848003387,
0.013308645226061344,
0.025637028738856316,
-0.04511671140789986,
0.03632938489317894,
-0.0324210599064827,
0.04524940624833107,
0.07246280461549759,
-0.04616471752524376,
-0.007868194952607155,
-0.02627016231417656,
0.009418433532118797,
-0.002690396271646023,
0.021668005734682083,
-0.06896823644638062,
-0.04692244157195091,
-0.013548174872994423,
0.02116984874010086,
0.0006637916667386889,
-0.05950428172945976,
-0.02551882527768612,
0.016561714932322502,
-0.03748616203665733,
0.021797455847263336,
-0.012462110258638859,
0.017557205632328987,
-0.01989092491567135,
-0.016098113730549812,
0.039468929171562195,
-0.010980967432260513,
-0.007768955547362566,
0.022742660716176033,
-0.002834248822182417,
0.04361169785261154,
-0.00639471085742116,
0.026343999430537224,
0.019594740122556686,
-0.004448964726179838,
0.0028615023475140333,
-0.016700295731425285,
-0.007199202198535204,
0.03130954131484032,
-0.004929432645440102,
-0.00011111047933809459,
0.027394963428378105,
-0.02379918284714222,
-0.021603552624583244,
0.0077131022699177265,
0.013878908939659595,
0.0136586744338274,
-0.038623277097940445,
-0.003966803662478924,
0.02976130321621895,
0.007499526720494032,
0.02014254406094551,
-0.01469594705849886,
-0.03507169336080551,
0.05541246756911278,
-0.016529789194464684,
-0.031639039516448975,
-0.0293849166482687,
-0.03681071847677231,
0.016496239230036736,
0.015465157106518745,
0.028871402144432068,
-0.057507067918777466,
0.04545105993747711,
0.042474158108234406,
0.035315077751874924,
0.04929622635245323,
-0.026261819526553154,
0.038006868213415146,
-0.054169442504644394,
-0.004875705111771822,
-0.09128730744123459,
-0.0048310100100934505,
0.03542682155966759,
-0.03700106963515282,
-0.03286948427557945,
0.008484256453812122,
0.008259514346718788,
-0.016377819702029228,
-0.042613059282302856,
-0.018738850951194763,
0.03546788543462753,
-0.00037440532469190657,
0.046828366816043854,
0.04254033416509628,
-0.02476366050541401,
0.009807034395635128,
0.03743360564112663,
-0.033639732748270035,
-0.019754715263843536,
-0.022567404434084892,
0.05040321126580238,
-0.017001712694764137,
0.035925086587667465,
-0.00697846757248044,
-0.03748367726802826,
0.05675564706325531,
0.02320144698023796,
0.029327142983675003,
0.04685840755701065,
-0.026948394253849983,
0.019535034894943237,
0.07364051043987274,
0.011370320804417133,
0.00708045857027173,
0.04906763881444931,
-0.015260020270943642,
-0.06471531838178635,
-0.0006428806809708476,
0.03440091386437416,
-0.0158260315656662,
-0.027231823652982712,
0.06746551394462585,
0.001986861228942871,
-0.053655825555324554,
-0.034545376896858215,
0.021257242187857628,
-0.05532880499958992,
-0.018602432683110237,
-0.06802954524755478,
-0.007046656217426062,
-0.030682170763611794,
0.07715404033660889,
-0.036614805459976196,
0.0004994251648895442,
0.0572630949318409,
-0.008486922830343246,
0.037136200815439224,
-0.00583493011072278,
0.05641637369990349,
0.07559379935264587,
0.03936699405312538,
-0.003147535491734743,
0.05608678236603737,
-0.026479924097657204,
-0.0350567102432251,
-0.014841843396425247,
-0.042837511748075485,
-0.012211697176098824,
0.0015312861651182175,
-0.012819591909646988,
0.06457915902137756,
-0.013732613064348698,
0.07576731592416763,
-0.04183056578040123,
0.033595677465200424,
-0.013191016390919685,
-0.0022228360176086426,
0.025029296055436134,
0.06097212806344032,
0.018286194652318954,
0.06683345884084702,
-0.03132160007953644,
0.00978139229118824,
0.02675827220082283,
-0.034736890345811844,
0.011497141793370247,
-0.0026018051430583,
-0.010622510686516762,
0.01451205275952816,
0.026825882494449615,
0.02736566960811615,
0.057190123945474625,
-0.030222853645682335,
-0.031111113727092743,
-0.012735783122479916,
0.02949603646993637,
-0.007122862618416548,
0.05199621990323067,
-0.0036313598975539207,
0.03495294600725174,
0.00870867446064949,
-0.04409551993012428,
-0.014285583049058914,
-0.04138332977890968,
-0.017152678221464157,
0.012932290323078632,
-0.016011420637369156,
0.0029387318063527346,
0.0039042981807142496,
-0.018192404881119728,
-0.00889457855373621,
-0.026587331667542458,
-0.01924954541027546,
-0.08187154680490494,
-0.07249195873737335,
-0.008347224444150925,
-0.005163062829524279,
-0.006807750090956688,
-0.031427353620529175,
-0.007020763587206602,
-0.014801216311752796,
0.01206926815211773,
0.02603389509022236,
-0.042936425656080246,
0.008079949766397476,
0.010380730032920837,
0.032950207591056824,
-0.007874208502471447,
0.026036493480205536,
0.03457808494567871,
-0.015738366171717644,
-0.04192798212170601,
0.009005917236208916,
0.005705189425498247,
0.03777267038822174,
0.021694978699088097,
0.012934667989611626,
-0.07468879222869873,
-0.014835508540272713,
0.015595299191772938,
0.0007923794910311699,
-0.06973016262054443,
0.016185900196433067,
0.06374865025281906,
0.014099812135100365,
0.005656683351844549,
-0.008727441541850567,
-0.01821429468691349,
-0.003426886396482587,
-0.004990608897060156,
0.0043376777321100235,
0.04064977169036865,
0.03904810547828674,
-0.0441640205681324,
0.07431638985872269,
0.028902694582939148,
-0.027855485677719116,
-0.015327262692153454,
-0.019679367542266846,
-0.03204701840877533,
-0.026065025478601456,
-0.03883037716150284,
-0.05830223485827446,
-0.0597255639731884,
-0.08835721015930176,
0.0002887598820962012,
0.035948216915130615,
-0.007455429527908564,
-0.03007529489696026,
0.0040771206840872765,
0.037332598119974136,
-0.05162506550550461,
0.06752824783325195,
-0.047900475561618805,
0.02599150873720646,
-0.021522749215364456,
-0.03097258135676384,
0.004697133786976337,
0.008930807933211327,
0.017046207562088966,
0.014344464987516403,
-0.004769385792315006,
-0.04965990409255028,
0.01961660571396351,
-0.028371507301926613,
0.023613452911376953,
0.043995387852191925,
-0.02377724088728428,
0.03560255840420723
] | [
-0.047322437167167664,
-0.01920129545032978,
-0.04025690257549286,
-0.03442053869366646,
0.05090701952576637,
-0.05305942893028259,
0.003607513615861535,
0.054955486208200455,
0.039586786180734634,
-0.0170187596231699,
0.057028114795684814,
-0.07475410401821136,
0.011241677217185497,
-0.03848337009549141,
0.09188679605722427,
0.0003409984929021448,
-0.03997485712170601,
-0.0798654705286026,
-0.04653264582157135,
0.022272532805800438,
-0.009005915373563766,
-0.03386267274618149,
0.020748216658830643,
-0.06797440350055695,
0.03849068284034729,
0.042568039149045944,
0.03622012585401535,
-0.05939224734902382,
-0.011653580702841282,
-0.20263679325580597,
0.010898889973759651,
0.007088328246027231,
-0.018594544380903244,
-0.008190452121198177,
0.028128042817115784,
0.03051096387207508,
0.02546069212257862,
-0.04480167105793953,
0.021536363288760185,
0.038478489965200424,
-0.020395491272211075,
-0.03103017248213291,
-0.07532225549221039,
-0.019142625853419304,
0.05579843372106552,
0.022845029830932617,
-0.03452549874782562,
0.0007569495937786996,
-0.02925574779510498,
0.008421836420893669,
-0.04685517027974129,
-0.008047443814575672,
0.018081625923514366,
-0.009131249040365219,
-0.005280576646327972,
0.0465056449174881,
0.061557937413454056,
0.1070362776517868,
0.033338114619255066,
0.014990566298365593,
0.021985439583659172,
-0.02931898459792137,
-0.11759256571531296,
0.08759701251983643,
-0.0142505569383502,
0.01702267676591873,
-0.04492783918976784,
-0.02061116322875023,
-0.024162419140338898,
0.06253226101398468,
-0.005071254447102547,
0.0005246670334599912,
-0.026741869747638702,
0.06014690175652504,
-0.011146176606416702,
0.02116355299949646,
0.005593426059931517,
0.02090569958090782,
0.046657368540763855,
-0.03989603370428085,
-0.04029672220349312,
-0.023238422349095345,
-0.024299146607518196,
-0.02606860361993313,
-0.0070100268349051476,
0.02670537680387497,
-0.028974030166864395,
0.0519394725561142,
-0.016686050221323967,
0.009180724620819092,
0.006014700047671795,
-0.00008427957072854042,
0.0674276202917099,
0.058568358421325684,
-0.10772928595542908,
-0.02734440565109253,
0.01941135711967945,
0.020095815882086754,
-0.04205968603491783,
0.4056256115436554,
0.011473173275589943,
0.001910606981255114,
0.02686651237308979,
0.08341731876134872,
0.020916061475872993,
-0.03145687282085419,
0.009274152107536793,
-0.06603100895881653,
0.03499791771173477,
-0.023646119982004166,
-0.013021928258240223,
-0.02321687340736389,
0.04651536047458649,
-0.07546938210725784,
0.033312298357486725,
0.008379961363971233,
0.028478635475039482,
-0.004715892020612955,
-0.038798894733190536,
0.05887540057301521,
-0.010925693437457085,
-0.0008679271559230983,
0.05695001408457756,
0.010521750897169113,
0.0026822425425052643,
0.05948048457503319,
0.04273040592670441,
0.031262557953596115,
0.02273010089993477,
0.01948932744562626,
0.03444606810808182,
0.05700991675257683,
-0.060344770550727844,
0.022859681397676468,
-0.002342755440622568,
0.006769695784896612,
-0.004113656003028154,
-0.036428052932024,
-0.017537031322717667,
-0.025773346424102783,
0.00023871712619438767,
-0.06108616292476654,
0.04297200217843056,
0.014447368681430817,
-0.0194651260972023,
0.10848883539438248,
-0.0284285731613636,
-0.03891286253929138,
-0.003386577358469367,
-0.02358400821685791,
0.005131949670612812,
0.03688739240169525,
-0.011958234943449497,
-0.04621615260839462,
-0.0003726891300175339,
0.012102143839001656,
0.05509648844599724,
0.004943331237882376,
-0.050835076719522476,
0.00502390693873167,
-0.002345510059967637,
-0.049483880400657654,
-0.0489155612885952,
0.029370082542300224,
0.03271608054637909,
-0.1456626057624817,
0.00023650845105294138,
0.000019274484657216817,
0.009308986365795135,
-0.08301445841789246,
0.02153788134455681,
-0.022912021726369858,
-0.03825820982456207,
-0.017605451866984367,
0.043193697929382324,
-0.02288047969341278,
-0.0482434518635273,
-0.007112144958227873,
0.03204445540904999,
0.03646957129240036,
-0.004983097780495882,
-0.021643515676259995,
-0.036442652344703674,
-0.013667023740708828,
-0.060915492475032806,
-0.02753526344895363,
-0.03886006399989128,
-0.013939172960817814,
-0.00487419543787837,
-0.010874035768210888,
-0.000328855705447495,
0.00917601864784956,
-0.09140245616436005,
0.03247818723320961,
-0.012737915851175785,
-0.031300872564315796,
0.00968601368367672,
-0.033065203577280045,
0.010427176021039486,
-0.062110163271427155,
0.03242863342165947,
0.023013684898614883,
0.006105173844844103,
0.022203419357538223,
-0.07662144303321838,
0.027972977608442307,
0.0395333431661129,
-0.041676606982946396,
0.0982850044965744,
-0.023115787655115128,
-0.043279629200696945,
0.003699320135638118,
-0.02394748106598854,
0.014864268712699413,
-0.015833724290132523,
0.01973598822951317,
0.0015235025202855468,
0.02341940440237522,
0.07969299703836441,
0.03238802030682564,
-0.04493072256445885,
-0.007302664220333099,
-0.05558076500892639,
-0.35361382365226746,
-0.05339115858078003,
0.01959490217268467,
0.01583973877131939,
-0.040677230805158615,
-0.032199133187532425,
0.004820914473384619,
-0.0640900507569313,
-0.0024345903657376766,
0.03247947245836258,
0.13110662996768951,
0.00476115895435214,
0.013448596000671387,
-0.10250455141067505,
0.027020033448934555,
0.053641099482774734,
-0.024666840210556984,
0.01630846969783306,
-0.014212249778211117,
0.026116086170077324,
-0.025198625400662422,
-0.025535976514220238,
-0.020133309066295624,
-0.039757225662469864,
0.0027520235162228346,
-0.01622883230447769,
0.12201987951993942,
0.04494698718190193,
0.038196124136447906,
-0.042168717831373215,
0.04218123480677605,
0.03159559145569801,
-0.01653655245900154,
-0.07206311821937561,
0.03304702416062355,
-0.020623160526156425,
0.01581055484712124,
0.01576949842274189,
-0.007003593724220991,
-0.01544890459626913,
-0.039469633251428604,
0.03716312348842621,
-0.030882369726896286,
-0.05306002125144005,
0.0010002149501815438,
0.013781229965388775,
-0.017114950343966484,
-0.018438082188367844,
0.016851790249347687,
0.07436500489711761,
0.011394377797842026,
0.028219252824783325,
0.0007719977875240147,
0.05309031158685684,
0.0014654577244073153,
-0.01372781116515398,
-0.0776824802160263,
0.027971848845481873,
-0.0154376570135355,
0.016261793673038483,
0.013075222261250019,
0.034519635140895844,
0.036478057503700256,
-0.06292306631803513,
0.01057141087949276,
0.015606410801410675,
0.004999698605388403,
0.0011291926493868232,
0.05053044483065605,
-0.01821087673306465,
0.00027654142468236387,
0.09711643308401108,
0.01486489549279213,
0.05947091802954674,
-0.005137903615832329,
0.017625408247113228,
-0.01253502257168293,
-0.0024298278149217367,
0.006174255162477493,
0.019254496321082115,
0.01271779090166092,
-0.00014338086475618184,
0.07698331773281097,
-0.03272528946399689,
-0.03847213089466095,
0.007031941320747137,
0.002003100235015154,
-0.010871315374970436,
0.0664304867386818,
-0.02183067798614502,
-0.01645120605826378,
0.011624254286289215,
0.00340559845790267,
-0.040670741349458694,
0.05851273983716965,
-0.0017084525898098946,
-0.26196226477622986,
-0.003207259578630328,
0.01769593171775341,
0.06729071587324142,
0.008396277204155922,
-0.009641331620514393,
0.016993314027786255,
-0.04800860956311226,
-0.009149907156825066,
0.012303014285862446,
0.01866901107132435,
0.04447464644908905,
0.013353902846574783,
-0.005496901925653219,
0.017856905236840248,
0.015376442112028599,
0.004760440904647112,
0.01066133938729763,
0.00311549985781312,
0.006406940054148436,
0.04684087261557579,
-0.021597063168883324,
0.1511915773153305,
0.027027664706110954,
0.003975385334342718,
0.035434968769550323,
-0.021269850432872772,
0.011922093108296394,
0.06168448179960251,
-0.004800999537110329,
-0.045466117560863495,
0.03372352570295334,
0.026806512847542763,
0.0010590588208287954,
0.02822142094373703,
-0.06848961114883423,
-0.009061688557267189,
-0.019548047333955765,
0.03536849096417427,
-0.035540804266929626,
-0.03204372152686119,
0.032591722905635834,
-0.0429321825504303,
0.016401082277297974,
0.06865938752889633,
-0.036991968750953674,
-0.00029677138081751764,
0.014169049449265003,
-0.05591778829693794,
-0.01068152952939272,
-0.02458166517317295,
-0.014285711571574211,
-0.032772716134786606,
-0.015740685164928436,
-0.004191843327134848,
0.08772949129343033,
0.01809213124215603,
-0.011911063455045223,
0.011022264137864113,
0.01332163903862238,
0.008378584869205952,
-0.03907006233930588,
0.09486580640077591,
0.03204798698425293,
-0.013591197319328785
] | [
-0.015026108361780643,
0.0070830755867064,
-0.017954230308532715,
0.005009699612855911,
-0.015393699519336224,
0.017223328351974487,
-0.035751257091760635,
0.04494437947869301,
-0.02467833273112774,
-0.001422856468707323,
0.03317340463399887,
-0.016906501725316048,
0.02758045122027397,
-0.05083774775266647,
0.04554058238863945,
-0.0325143039226532,
0.004792936611920595,
0.029542220756411552,
0.04090538248419762,
-0.042765166610479355,
-0.03520985692739487,
0.035887666046619415,
0.03134412690997124,
0.006491026375442743,
0.020062755793333054,
-0.02481999062001705,
-0.04512782767415047,
-0.007508924230933189,
0.00749832671135664,
-0.09046485275030136,
-0.004084825050085783,
-0.03516337648034096,
-0.036567896604537964,
0.02594161592423916,
0.019645899534225464,
0.016547664999961853,
0.007862516678869724,
-0.003290455788373947,
0.0037340400740504265,
-0.020709993317723274,
0.04114380478858948,
-0.02127629518508911,
-0.02648102305829525,
-0.0004312951350584626,
-0.037689387798309326,
-0.004368828143924475,
-0.044974979013204575,
-0.020139995962381363,
0.0076043372973799706,
0.0059889452531933784,
-0.04181867092847824,
-0.006970648188143969,
0.02935561165213585,
-0.00978032872080803,
0.01715608313679695,
0.014717192389070988,
-0.01694614067673683,
0.03322819620370865,
0.03944993019104004,
-0.012434188276529312,
0.02413979172706604,
-0.0014184800675138831,
-0.022602954879403114,
-0.024883097037672997,
-0.02114563249051571,
-0.05020153522491455,
-0.07018111646175385,
-0.0025946374516934156,
-0.00522196851670742,
-0.001842406578361988,
0.00960687454789877,
0.01917574368417263,
-0.05010030046105385,
-0.019252099096775055,
-0.02574998512864113,
-0.017619408667087555,
0.022681808099150658,
-0.0425698384642601,
-0.011008404195308685,
0.017138661816716194,
-0.030990224331617355,
-0.03211519122123718,
0.019146710634231567,
0.03147827833890915,
-0.025394275784492493,
-0.022853124886751175,
-0.001741486950777471,
0.012203569523990154,
-0.010507618077099323,
-0.0021378828678280115,
0.01265852153301239,
0.009482045657932758,
0.004963491577655077,
0.02132358029484749,
-0.12535110116004944,
0.02274971827864647,
0.004458953160792589,
-0.015521413646638393,
-0.02918400429189205,
0.8224391341209412,
-0.013679621741175652,
-0.02023683302104473,
0.06475207954645157,
0.042560875415802,
0.04897020012140274,
0.005965078715234995,
0.011002224870026112,
-0.025782115757465363,
0.02922212705016136,
-0.026102421805262566,
0.005405450705438852,
-0.0260871984064579,
0.0275618564337492,
0.010049802251160145,
0.03559679165482521,
0.029384389519691467,
0.03316108509898186,
0.03844698518514633,
0.042192745953798294,
0.03112746588885784,
0.0244344100356102,
-0.02039835788309574,
0.029599357396364212,
-0.008342104963958263,
-0.0024844424333423376,
-0.16616077721118927,
-0.002544649876654148,
-6.733006093531499e-33,
0.011855922639369965,
0.01200789026916027,
0.010415157303214073,
0.011874021030962467,
0.03078962303698063,
-0.0014806207036599517,
-0.01114182360470295,
-0.0171317458152771,
-0.04199280962347984,
-0.035842642188072205,
-0.018664829432964325,
-0.021141598001122475,
-0.003124421928077936,
0.040236782282590866,
-0.05062710493803024,
-0.02394077740609646,
0.011107795871794224,
0.04640631377696991,
0.007518927566707134,
0.011074807494878769,
0.04737386852502823,
0.02108626998960972,
0.021608799695968628,
0.03495080769062042,
-0.008487636223435402,
-0.017296621575951576,
0.007868616841733456,
-0.0019089728593826294,
-0.00852243509143591,
-0.03608345612883568,
-0.02494359016418457,
0.01655048318207264,
-0.010014120489358902,
-0.036048587411642075,
-0.004634886514395475,
-0.05302067846059799,
-0.009165908209979534,
-0.01784229278564453,
-0.04614517092704773,
-0.034169021993875504,
-0.05740088224411011,
0.030794553458690643,
-0.008836381137371063,
-0.06463053822517395,
-0.028451409190893173,
0.02770291082561016,
0.04728826880455017,
0.0399436317384243,
-0.006804606411606073,
0.006804408505558968,
0.004025524482131004,
0.010512372478842735,
-0.03710535541176796,
0.02552179992198944,
-0.0024319831281900406,
0.018002642318606377,
0.00501903286203742,
0.007286406587809324,
0.05444542318582535,
-0.009458882734179497,
0.047375041991472244,
-0.022701352834701538,
-0.02090347744524479,
0.02092224545776844,
0.021512318402528763,
0.01053967047482729,
0.010961588472127914,
-0.0075883581303060055,
0.030204787850379944,
0.033003609627485275,
-0.06466656923294067,
0.0073845707811415195,
-0.021967055276036263,
-0.04728832468390465,
0.03603113815188408,
-0.06755552440881729,
0.0028677841182798147,
-0.039375223219394684,
0.017852863296866417,
-0.005707485601305962,
-0.0014932829653844237,
-0.004844625014811754,
-0.005362991243600845,
0.0007153074257075787,
-0.03497979789972305,
-0.031007077544927597,
0.017840784043073654,
0.017331868410110474,
-0.027394535019993782,
0.03280608728528023,
0.04831332340836525,
0.04103303700685501,
-0.0047594839707016945,
-0.006057098042219877,
-0.05172882601618767,
6.586961206017399e-33,
-0.017623137682676315,
-0.0256723091006279,
-0.026230262592434883,
-0.008789113722741604,
0.043204501271247864,
-0.005040830932557583,
0.004196682944893837,
-0.011918659321963787,
-0.0076303016394376755,
0.023158865049481392,
0.019539950415492058,
-0.026333864778280258,
-0.04362226277589798,
0.024543819949030876,
0.054803527891635895,
0.004428329411894083,
0.04243972525000572,
0.01784338429570198,
0.0067063202150166035,
-0.005778505466878414,
-0.02585553005337715,
0.005827390123158693,
-0.01254050899296999,
0.017753668129444122,
0.06946272403001785,
0.010301413014531136,
-0.02806631289422512,
0.009568402543663979,
-0.01961563341319561,
-0.012553938664495945,
0.013560932129621506,
-0.009646689519286156,
0.011076664552092552,
-0.009042490273714066,
0.0382283590734005,
0.020984206348657608,
0.0009147821692749858,
-0.00814873818308115,
0.028956755995750427,
-0.031581904739141464,
0.0535130612552166,
0.025027547031641006,
-0.024113938212394714,
0.025520436465740204,
-0.00448981299996376,
0.026391102001070976,
0.0033539070282131433,
0.02579108625650406,
-0.02543456293642521,
0.0034518232569098473,
-0.0014667962677776814,
0.006806615740060806,
0.029692059382796288,
0.04060368612408638,
0.031014958396553993,
-0.036008112132549286,
0.029704948887228966,
0.036834072321653366,
-0.0057623013854026794,
-0.019608166068792343,
-0.0184494461864233,
-0.06747081130743027,
-0.02053016982972622,
0.024191839620471,
-0.03666384145617485,
-0.010632672347128391,
-0.034713659435510635,
0.010399608872830868,
0.0019433676498010755,
0.015724478289484978,
0.009059100411832333,
-0.0008711538976058364,
0.0027738974895328283,
0.026486288756132126,
0.005708129145205021,
-0.027222691103816032,
-0.03992825001478195,
-0.02395808696746826,
-0.028995251283049583,
0.010776563547551632,
0.0033562900498509407,
-0.01261779386550188,
0.015674032270908356,
-0.0223656315356493,
0.010960139334201813,
-0.003151216311380267,
0.0005522838910110295,
0.06429809331893921,
0.016107624396681786,
-0.017665239050984383,
0.003910734783858061,
-0.03322012722492218,
-0.018615346401929855,
0.03558541089296341,
-0.014265310019254684,
-1.255766157726157e-8,
-0.02558044344186783,
0.004695960786193609,
-0.008951605297625065,
0.0232861265540123,
-0.008030515164136887,
0.03282657265663147,
0.003485331078991294,
-0.02115383744239807,
0.01430710032582283,
0.03183960169553757,
0.011740164831280708,
0.01449624728411436,
0.01619693450629711,
0.0018670853460207582,
0.0414300411939621,
-0.021766263991594315,
-0.005837813951075077,
-0.01909780502319336,
0.02409117855131626,
-0.00015998593880794942,
0.0013543566456064582,
0.04545021802186966,
-0.011709589511156082,
-0.0018788801971822977,
0.0013140866067260504,
0.014585113152861595,
0.00404758658260107,
-0.09222373366355896,
-0.0002403642429271713,
-0.029653651639819145,
-0.014988723210990429,
-0.037104178220033646,
-0.028898555785417557,
0.020397000014781952,
-0.03924284130334854,
-0.006464819889515638,
0.014742951840162277,
0.005842160899192095,
0.007451795972883701,
0.032812755554914474,
0.015002984553575516,
0.028599951416254044,
-0.015328300185501575,
-0.03522390499711037,
-0.007197998464107513,
0.016001170501112938,
0.0074121044017374516,
-0.0035976411309093237,
-0.004614085424691439,
-0.06522804498672485,
-0.0114695243537426,
0.0023932545445859432,
0.03959665447473526,
0.0353793241083622,
0.026694178581237793,
-0.005724979564547539,
-0.04410772770643234,
0.010141058824956417,
-0.01953703537583351,
-0.009482618421316147,
0.048293985426425934,
0.005648359190672636,
-0.011075668968260288,
-0.03295622766017914
] | jupyter-runtimeerror-this-event-loop-is-already-running | https://markhneedham.com/blog/2019/05/10/jupyter-runtimeerror-this-event-loop-is-already-running |
false | 2019-05-19 19:21:00 | KSQL: Create Stream - Failed to prepare statement: name is null | [
"ksql",
"kafka"
] | [
"Kafka"
] | I've been playing with https://www.confluent.io/product/ksql/[KSQL^] over the weekend and ran into a basic error message that took me a little while to solve.
I was trying to create a stream over a topic `dummy1`, which is the simplest possible thing you can do with KSQL.
The events posted to `dummy1` are JSON messages containing only an `id` key.
Below is an example of a message posted to the topic:
[source, javascript]
----
{ "id": "ABCDEFGHI"}
----
I tried to create the stream `dummy1_original` over this topic with the following statement:
[source, sql]
----
ksql> CREATE STREAM dummy1_original (id varchar) WITH (kafka_topic='dummy1', value_format="JSON");
Failed to prepare statement: name is null
----
I didn't find any search results to explain this error message, but realised that I'd used double quotes on the `value_format`, which was different to all the examples I'd seen.
I've clearly been doing too much Cypher where you can use single or double quotes to represent string values.
Anyway...let's update our create statement to use only single quotes:
[source, sql]
----
ksql> CREATE STREAM dummy1_original (id varchar) WITH (kafka_topic='dummy1', value_format='JSON');
Message
----------------
Stream created
----------------
----
Success!
We can now query the stream like this:
[source, sql]
----
ksql> SELECT * FROM dummy1_original;
---- | Learn how to work around a weird KSQL error message. | null | [
-0.022863592952489853,
-0.026294805109500885,
-0.014612332917749882,
0.055663350969552994,
0.07842984050512314,
0.0015448114136233926,
0.03709067776799202,
0.0506230928003788,
0.010934139601886272,
-0.01872306689620018,
-0.03505576029419899,
-0.013768230564892292,
-0.10172711312770844,
0.03262760117650032,
0.0054733059369027615,
0.0594661571085453,
0.052744172513484955,
0.00254635326564312,
0.03427428379654884,
0.02512992173433304,
0.0026834176387637854,
0.026296282187104225,
0.010176761075854301,
0.028673529624938965,
0.03047790378332138,
0.02813110686838627,
-0.03813839331269264,
0.02238825149834156,
-0.0449492521584034,
0.016663243994116783,
0.06044384837150574,
-0.004162760451436043,
0.005536373239010572,
-0.01702931709587574,
-0.010983935557305813,
0.013349149376153946,
-0.010254907421767712,
0.010645412839949131,
0.004711028188467026,
0.030352642759680748,
-0.07558584213256836,
0.03087320737540722,
0.03090859390795231,
0.019998621195554733,
-0.01625361293554306,
-0.008972816169261932,
-0.01262164767831564,
0.007395962253212929,
-0.020207006484270096,
0.020154960453510284,
-0.04503878951072693,
0.021629849448800087,
-0.021519631147384644,
0.020631937310099602,
0.011643214151263237,
0.045940425246953964,
0.031569771468639374,
-0.07345277070999146,
0.02973078563809395,
-0.010289699770510197,
0.023939557373523712,
0.013391625136137009,
0.00006934375414857641,
0.03886013105511665,
0.021681703627109528,
-0.018636958673596382,
-0.0076514617539942265,
0.05596183240413666,
-0.03428305685520172,
-0.005063645076006651,
0.014665625989437103,
0.04124496504664421,
-0.010163550265133381,
-0.023118507117033005,
0.038271911442279816,
-0.0236333180218935,
0.009915264323353767,
0.06032010540366173,
0.013799605891108513,
0.06665061414241791,
-0.009764942340552807,
0.00798424519598484,
-0.002501476090401411,
0.02312178909778595,
0.030549226328730583,
-0.03398638963699341,
-0.009911266155540943,
-0.015472890809178352,
-0.05183742567896843,
0.04154794663190842,
0.028971901163458824,
-0.01860080473124981,
0.009816153906285763,
-0.026740606874227524,
-0.03661949932575226,
0.012125855311751366,
-0.003611692925915122,
0.008916065096855164,
-0.00459005031734705,
-0.043037254363298416,
-0.07172434031963348,
0.01811394654214382,
-0.024889113381505013,
0.03372211381793022,
-0.07648950815200806,
-0.002960044890642166,
-0.04036453738808632,
-0.013030008412897587,
0.06668147444725037,
0.02978191152215004,
-0.01273315493017435,
0.00007764900510665029,
-0.002224818104878068,
-0.0045303888618946075,
-0.09398466348648071,
0.07349048554897308,
0.008248424157500267,
-0.032386764883995056,
0.008611137978732586,
0.029284313321113586,
0.02370823547244072,
-0.0029541891999542713,
-0.007733468897640705,
0.072297103703022,
0.008116575889289379,
0.005605527199804783,
0.017171809449791908,
0.04326548054814339,
-0.021298987790942192,
-0.06399158388376236,
-0.00664410088211298,
0.03644353151321411,
0.03441857174038887,
-0.013480046764016151,
0.013958236202597618,
0.019558381289243698,
0.004751648288220167,
-0.019831379875540733,
0.048536188900470734,
0.030975045636296272,
-0.0012095398269593716,
-0.046084918081760406,
-0.005404543597251177,
0.01148219220340252,
0.036178238689899445,
0.036835771054029465,
-0.0003490945673547685,
-0.04334532469511032,
-0.04183559492230415,
0.04150964319705963,
0.024164965376257896,
0.03627737984061241,
0.07754139602184296,
-0.010108527727425098,
-0.019956223666667938,
0.0887989029288292,
-0.002149385865777731,
-0.011234789155423641,
-0.013636114075779915,
0.005749528296291828,
0.034983739256858826,
0.057562511414289474,
0.018513130024075508,
0.011644807644188404,
0.020399251952767372,
-0.03530824929475784,
0.019107293337583542,
0.015804115682840347,
-0.03479854762554169,
-0.017804091796278954,
-0.037411268800497055,
-0.046643685549497604,
0.0649048388004303,
-0.041057948023080826,
0.009781669825315475,
0.026527583599090576,
0.06398291140794754,
0.030318638309836388,
0.04722822085022926,
0.04017462581396103,
-0.0866219699382782,
0.02647230587899685,
-0.030491698533296585,
0.009205907583236694,
0.015291472896933556,
0.006750820204615593,
0.04315514490008354,
0.04112200811505318,
-0.014113729819655418,
0.03957843407988548,
-0.10256955772638321,
-0.07840104401111603,
-0.05514560639858246,
0.007116811349987984,
0.06742064654827118,
-0.08494438976049423,
-0.0017085308209061623,
0.06874603778123856,
0.028405506163835526,
0.019823914393782616,
0.025301307439804077,
0.007179298438131809,
-0.003023734549060464,
-0.05676526203751564,
-0.04964056611061096,
0.0760159119963646,
0.008756809867918491,
-0.04355155676603317,
-0.03785101696848869,
-0.023543667048215866,
-0.02663547359406948,
-0.027164237573742867,
0.01595359481871128,
-0.015710219740867615,
0.05245358124375343,
0.01581316441297531,
0.010047591291368008,
-0.011235219426453114,
0.03203415498137474,
-0.007070669438689947,
0.04888305440545082,
0.03535620495676994,
0.013855480588972569,
-0.008175725117325783,
-0.01888894848525524,
0.11121940612792969,
0.0448412150144577,
0.014876925386488438,
-0.061793409287929535,
0.041890449821949005,
0.00986926443874836,
-0.0007219976978376508,
0.009370362386107445,
-0.03319983556866646,
-0.023290617391467094,
-0.0054206326603889465,
-0.01591191627085209,
-0.02076660469174385,
0.007654150947928429,
-0.008123842999339104,
0.02133369632065296,
0.08496611565351486,
-0.06164335831999779,
0.031406328082084656,
0.02105240523815155,
-0.01968829147517681,
-0.008408896625041962,
-0.053343307226896286,
-0.054917119443416595,
-0.006696762051433325,
-0.021483279764652252,
0.01323393452912569,
0.07269828021526337,
-0.0671735629439354,
-0.01479782909154892,
0.009328327141702175,
-0.039609599858522415,
0.02131783589720726,
0.033593885600566864,
0.0317942276597023,
-0.056771110743284225,
0.02961982786655426,
-0.014134269207715988,
0.0075749000534415245,
-0.03212520107626915,
-0.01603289321064949,
-0.02742723748087883,
-0.004822105634957552,
-0.0010802177712321281,
0.03086354024708271,
0.0271573755890131,
-0.0038176029920578003,
0.014043922536075115,
0.023574667051434517,
-0.021497495472431183,
0.013493070378899574,
0.014158980920910835,
-0.008130328729748726,
0.0036166012287139893,
-0.016001947224140167,
-0.03297175094485283,
0.042274944484233856,
-0.05734695866703987,
-0.016291648149490356,
0.011094948276877403,
-0.040875233709812164,
0.011987405829131603,
-0.05724231153726578,
-0.040137555450201035,
0.011309977620840073,
0.018352800980210304,
0.03465960919857025,
-0.029771525412797928,
-0.020591827109456062,
0.10805551707744598,
0.008388232439756393,
0.012560836039483547,
0.024699948728084564,
0.016783863306045532,
0.05826640501618385,
-0.03061767667531967,
0.03464861959218979,
0.08218158036470413,
-0.012725031934678555,
-0.003372571896761656,
-0.03330008313059807,
0.013300388120114803,
-0.013315822929143906,
-0.2554161846637726,
0.02867642603814602,
-0.02953377738595009,
-0.044844046235084534,
0.03576657176017761,
-0.03182578831911087,
0.007729663979262114,
-0.03906792029738426,
-0.014966065995395184,
0.02503848448395729,
-0.016882071271538734,
-0.04342436417937279,
-0.0281695406883955,
0.03742113709449768,
0.010726183652877808,
-0.01678953692317009,
0.009674939326941967,
-0.030376967042684555,
0.006512776482850313,
-0.004375414922833443,
-0.01441742293536663,
-0.048615410923957825,
-0.015132250264286995,
0.07724770903587341,
0.04624141380190849,
0.033576011657714844,
-0.08093606680631638,
0.04465990513563156,
-0.01528710126876831,
0.015021337196230888,
0.004179313778877258,
-0.030140170827507973,
-0.0010902417125180364,
-0.008110914379358292,
-0.0266939215362072,
0.0006651967414654791,
0.019848542287945747,
-0.004659689497202635,
0.01050841435790062,
0.02742052637040615,
-0.022906824946403503,
-0.06345552206039429,
-0.020861223340034485,
-0.023532316088676453,
0.06354282051324844,
-0.003353603184223175,
-0.05726366490125656,
0.018430195748806,
-0.025501323863863945,
0.04919533059000969,
-0.04588037729263306,
-0.053489185869693756,
-0.01710990071296692,
0.021574178710579872,
-0.01888350583612919,
0.01256854459643364,
0.00912038329988718,
-0.015905601903796196,
-0.01378550287336111,
0.0069747609086334705,
0.017534805461764336,
-0.046734437346458435,
0.004305829759687185,
-0.01335057895630598,
0.018173782154917717,
-0.06460448354482651,
-0.04748032987117767,
-0.020673826336860657,
0.08777154982089996,
0.02118912898004055,
-0.03193553909659386,
-0.00982641614973545,
-0.02335609495639801,
-0.09000928699970245,
0.011266835033893585,
-0.022163670510053635,
-0.026988111436367035,
0.004305816721171141,
-0.028284473344683647,
0.03915388509631157,
-0.021937187761068344,
-0.020925551652908325,
0.002324738772585988,
0.009423565119504929,
0.01741371862590313,
-0.040405526757240295,
0.01747976802289486,
-0.009212364442646503,
-0.03389306738972664,
-0.02064257673919201,
0.04617663100361824,
-0.0786728635430336,
-0.013947171159088612,
0.026301251724362373,
-0.002132807159796357,
0.0645785704255104,
-0.022963188588619232,
-0.03331363573670387,
0.009001124650239944,
0.009420613758265972,
0.038328349590301514,
-0.05490338057279587,
-0.0018838659161701798,
-0.07285971939563751,
0.005197055172175169,
-0.015809224918484688,
-0.05970454216003418,
0.002866593189537525,
-0.009621165692806244,
0.0300882700830698,
-0.0238915104418993,
-0.022465325891971588,
-0.01598079316318035,
-0.035094134509563446,
-0.019789181649684906,
-0.014587159268558025,
0.020945075899362564,
0.035994891077280045,
0.012728866189718246,
-0.031665150076150894,
-0.030310533940792084,
0.034921795129776,
0.03485111519694328,
-0.010143750347197056,
-0.04849085211753845,
-0.027913397178053856,
-0.005117961671203375,
-0.01445787027478218,
-0.0172368623316288,
-0.022088106721639633,
0.004225305747240782,
0.02916567586362362,
0.03089950792491436,
-0.024156462401151657,
0.031206857413053513,
-0.02431478723883629,
-0.02229871042072773,
-0.04480178281664848,
-0.014954447746276855,
-0.016176793724298477,
0.0018474814714863896,
-0.023383893072605133,
0.015637708827853203,
0.03343665227293968,
0.009581164456903934,
0.0008926112786866724,
0.038925882428884506,
0.022549359127879143,
-0.006754194851964712,
0.0008411870803683996,
-0.0073603312484920025,
-0.04533182457089424,
0.034206781536340714,
-0.01934499479830265,
-0.03980414196848869,
0.00834073405712843,
0.06779114902019501,
0.005873821210116148,
-0.029246991500258446,
-0.03093765117228031,
0.003508183639496565,
-0.06752396374940872,
-0.037046294659376144,
0.005094669293612242,
-0.0023780919145792723,
0.023790383711457253,
-0.05459111928939819,
0.05114246904850006,
-0.008113888092339039,
-0.0013360671000555158,
-0.012575571425259113,
-0.04037462919950485,
-0.0309913270175457,
0.010822800919413567,
0.01635202392935753,
-0.011399255134165287,
0.009220205247402191,
0.004827608820050955,
0.03254757076501846,
-0.015039384365081787,
0.04424483701586723,
0.015988292172551155,
0.003422369249165058,
0.020979728549718857,
0.043953511863946915,
0.028768498450517654,
-0.013201382011175156,
-0.011469200253486633,
-0.01455623097717762,
-0.01038467139005661,
-0.00632240017876029,
-0.03368271514773369,
-0.010891011916100979,
0.00846419483423233,
-0.005940002854913473,
-0.0518832802772522,
0.05779053643345833,
0.03620000556111336,
-0.010435108095407486,
0.04173174872994423,
0.010157550685107708,
-0.013677527196705341,
-0.0028677608352154493,
0.030130764469504356,
0.06191134452819824,
-0.05952262133359909,
0.0026655562687665224,
-0.019264675676822662,
-0.014477578923106194,
0.02466481551527977,
0.01253004651516676,
-0.048165712505578995,
-0.012304260395467281,
-0.021946599707007408,
-0.014754937030375004,
-0.014241338707506657,
-0.01576182432472706,
-0.025031112134456635,
-0.0006666567060165107,
0.014561764895915985,
0.016318533569574356,
-0.004766743630170822,
0.01315099187195301,
-0.022012626752257347,
-0.01740030199289322,
0.0646146833896637,
-0.055996187031269073,
0.015301079489290714,
0.02147454209625721,
0.0010986871784552932,
0.022126108407974243,
-0.0408899188041687,
0.040489472448825836,
0.029082676395773888,
-0.00690397759899497,
-0.010642102919518948,
-0.05877183377742767,
0.010440031066536903,
-0.03552674502134323,
0.06109541654586792,
0.011280706152319908,
-0.044064879417419434,
-0.012477795593440533,
-0.005524560809135437,
-0.0040789395570755005,
0.007240870036184788,
-0.01714620739221573,
0.015199468471109867,
0.028594162315130234,
0.03162465989589691,
0.027076374739408493,
-0.0036055762320756912,
0.002094473224133253,
-0.05254831910133362,
0.060507774353027344,
-0.03534327819943428,
-0.01724618300795555,
0.005004839971661568,
-0.06765928119421005,
0.022361142560839653,
0.0025153919123113155,
0.01725732535123825,
-0.0815344825387001,
0.06101292371749878,
0.04305706545710564,
0.018820641562342644,
0.032206710427999496,
0.016245322301983833,
0.02467249520123005,
-0.010719449259340763,
-0.028815224766731262,
-0.09886424988508224,
0.009104509837925434,
0.022595971822738647,
0.009331819601356983,
-0.0012912587262690067,
-0.03148389607667923,
-0.04116467759013176,
-0.00007060644566081464,
-0.005696514155715704,
-0.015694906935095787,
0.029537564143538475,
-0.03326563537120819,
0.011180677451193333,
0.05444509908556938,
-0.053880784660577774,
0.012613732367753983,
0.05378510802984238,
-0.02030937746167183,
-0.06850052624940872,
-0.0010839913738891482,
0.057399362325668335,
0.010750297456979752,
0.062269434332847595,
0.002870304975658655,
-0.034668490290641785,
0.08039199560880661,
0.016153108328580856,
0.03252962976694107,
0.05937463045120239,
-0.03725021332502365,
0.029471196234226227,
0.036347225308418274,
-0.0040293908677995205,
0.03748786449432373,
0.039422281086444855,
-0.061493027955293655,
-0.05146891623735428,
0.029273735359311104,
0.030913149937987328,
-0.00047723762691020966,
-0.015310646966099739,
0.06925241649150848,
-0.013033812865614891,
-0.07643447071313858,
-0.0724557638168335,
0.004554610699415207,
-0.037927351891994476,
-0.01585621014237404,
-0.014122538268566132,
0.024296222254633904,
-0.06911768764257431,
0.07180961221456528,
-0.008166459389030933,
-0.016881806775927544,
0.08091949671506882,
0.0024369198363274336,
0.0054067750461399555,
-0.022219283506274223,
0.06614603847265244,
0.07756929099559784,
0.011518474668264389,
0.008846654556691647,
0.04742128401994705,
-0.0640462189912796,
-0.018502283841371536,
-0.0028281756676733494,
-0.021720867604017258,
-0.03205914422869682,
-0.006701300386339426,
-0.011936169117689133,
0.061821099370718,
-0.01416594348847866,
0.09619057178497314,
-0.03880178555846214,
-0.019113626331090927,
0.02276677079498768,
0.026625731959939003,
0.0043544159270823,
0.0367705263197422,
-0.017380889505147934,
0.026676161214709282,
0.009268765337765217,
-0.043191879987716675,
0.03202452510595322,
-0.0002584071771707386,
-0.02973465621471405,
-0.0122317373752594,
-0.019833961501717567,
0.007363951299339533,
0.017597947269678116,
0.004265428055077791,
0.07299124449491501,
-0.015895208343863487,
-0.017583182081580162,
0.00875027384608984,
0.010057210922241211,
-0.023795465007424355,
0.04811079055070877,
-0.025151336565613747,
-0.05046544224023819,
-0.03648729249835014,
-0.0630217120051384,
-0.009282699786126614,
-0.047226034104824066,
-0.0040672956965863705,
-0.00610978901386261,
-0.00005608036008197814,
0.01919875666499138,
0.010436316020786762,
-0.01568884402513504,
-0.06212783604860306,
-0.0694923847913742,
-0.04840022325515747,
-0.055114567279815674,
-0.038287047296762466,
-0.022966502234339714,
-0.006594425532966852,
-0.011051014997065067,
-0.009466673247516155,
-0.01531315315514803,
-0.050692345947027206,
0.024842990562319756,
0.016159063205122948,
-0.015494423918426037,
-0.027692334726452827,
0.03410112485289574,
-0.005982643458992243,
-0.01203402504324913,
0.022773809731006622,
0.02543727122247219,
-0.003595472313463688,
0.006816099397838116,
-0.020178522914648056,
0.0037830881774425507,
0.03751475363969803,
0.0039013016503304243,
0.0020587837789207697,
-0.07577192038297653,
0.03971792384982109,
0.00013563764514401555,
-0.012839166447520256,
-0.051162239164114,
0.00276222825050354,
0.04885996878147125,
0.014023867435753345,
0.07475251704454422,
0.0063391802832484245,
-0.005982175935059786,
-0.050942521542310715,
-0.04146191105246544,
-0.0022701951675117016,
0.02340993657708168,
0.04314298927783966,
-0.019154464825987816,
0.0831904262304306,
0.05282772332429886,
-0.009667904116213322,
-0.02312973327934742,
-0.007106247823685408,
-0.0015374141512438655,
-0.012270570732653141,
-0.006254847161471844,
-0.03642159700393677,
-0.0589243620634079,
-0.05845940485596657,
-0.027644848451018333,
0.03359218314290047,
-0.00301183620467782,
0.00419378187507391,
0.023677842691540718,
0.053798262029886246,
-0.011389068327844143,
0.006910661701112986,
-0.05322614312171936,
0.028931327164173126,
-0.03428535908460617,
-0.06256666034460068,
-0.02946329116821289,
-0.0012696126941591501,
0.030286522582173347,
-0.06174779683351517,
-0.02835266850888729,
-0.05043543130159378,
0.00915629044175148,
-0.012521427124738693,
0.020094215869903564,
0.04452440142631531,
-0.03991729021072388,
-0.01487356424331665
] | [
-0.07627886533737183,
-0.023259591311216354,
-0.039847131818532944,
-0.010196609422564507,
0.017704861238598824,
-0.038050055503845215,
-0.021482223644852638,
0.012496301904320717,
0.015848709270358086,
-0.02541634626686573,
-0.006532009690999985,
-0.03755227103829384,
0.0011824277462437749,
-0.03268922492861748,
0.07059591263532639,
0.018912607803940773,
-0.009541010484099388,
-0.06622921675443649,
-0.059658706188201904,
0.045118145644664764,
0.0003747966547962278,
-0.047405581921339035,
-0.03314347565174103,
-0.060279373079538345,
0.02044936828315258,
0.007526237051934004,
0.05361131206154823,
-0.03500834479928017,
-0.00184952886775136,
-0.20276272296905518,
0.0037333075888454914,
-0.024216867983341217,
0.0008456644718535244,
-0.0019920943304896355,
-0.012297319248318672,
0.005670107435435057,
0.031304676085710526,
0.002464194083586335,
-0.011448207311332226,
0.04430560767650604,
0.013740918599069118,
-0.03742896020412445,
-0.027080794796347618,
-0.015402652323246002,
0.014246062375605106,
-0.02255421131849289,
-0.02607627399265766,
-0.00885196216404438,
0.02376832813024521,
0.036939021199941635,
-0.0765504539012909,
-0.00022682188136968762,
-0.022350093349814415,
-0.03372635692358017,
0.01133791171014309,
0.018766790628433228,
0.024150868877768517,
0.08926211297512054,
0.04145409166812897,
-0.001664679846726358,
0.003238534554839134,
-0.010731580667197704,
-0.133231058716774,
0.1006169393658638,
-0.03426927328109741,
0.06666959822177887,
-0.019119951874017715,
-0.03272551670670509,
-0.027211463078856468,
0.052178896963596344,
0.02973899431526661,
-0.02794766239821911,
0.005335203371942043,
0.08366230130195618,
0.0028389624785631895,
-0.019387561827898026,
-0.04402349144220352,
0.024721339344978333,
0.03478506579995155,
0.017576947808265686,
-0.060893140733242035,
-0.014351326040923595,
-0.01458014640957117,
-0.034840598702430725,
-0.07339593023061752,
0.024071229621767998,
0.0013285590102896094,
0.022043485194444656,
0.019362961873412132,
0.017279047518968582,
0.05424206331372261,
-0.013754795305430889,
0.05070905759930611,
0.013022050261497498,
-0.10187448561191559,
-0.017958171665668488,
-0.06532003730535507,
-0.0005408803117461503,
-0.00017478680820204318,
0.3856944441795349,
-0.023242957890033722,
0.007314268499612808,
0.03051571734249592,
0.04063258692622185,
0.0018154365243390203,
-0.01997874490916729,
-0.00801464356482029,
-0.047941483557224274,
0.05916054546833038,
-0.04163746163249016,
-0.009133844636380672,
-0.012017384171485901,
0.04773344844579697,
-0.045099906623363495,
0.014048207551240921,
0.011310822330415249,
0.062431953847408295,
-0.0094301113858819,
-0.02261444367468357,
0.04019071161746979,
0.029379379004240036,
0.015356047078967094,
0.015262547880411148,
-0.0013388765510171652,
0.015224468894302845,
-0.008610542863607407,
0.016123346984386444,
0.06180708110332489,
0.028212646022439003,
0.01672673597931862,
0.05607135221362114,
-0.04706832021474838,
-0.08172144740819931,
-0.022244242951273918,
-0.021951965987682343,
-0.01403773482888937,
0.04278846085071564,
-0.024836070835590363,
0.004095925483852625,
0.011087416671216488,
-0.02715921960771084,
-0.04074382781982422,
0.002119298791512847,
-0.00612218352034688,
-0.029403628781437874,
0.11580544710159302,
0.015110272914171219,
-0.01258556917309761,
-0.015055217780172825,
-0.04209684208035469,
-0.030606746673583984,
0.008814364671707153,
0.0004270212957635522,
-0.06333638727664948,
0.015191850252449512,
0.019585581496357918,
0.05760863050818443,
0.013541783206164837,
-0.06705710291862488,
-0.0210746917873621,
-0.008558273315429688,
-0.08526356518268585,
-0.04367696866393089,
0.06369937211275101,
0.001781546976417303,
-0.1093987300992012,
-0.025992482900619507,
-0.001902752905152738,
0.023594766855239868,
-0.07413950562477112,
-0.005860909353941679,
0.03546832129359245,
-0.05937661603093147,
-0.008146916516125202,
0.03663104027509689,
-0.009589508175849915,
-0.014650193974375725,
0.03140777722001076,
0.03710304945707321,
0.011580897495150566,
-0.007977578788995743,
0.010600722394883633,
-0.01816125214099884,
-0.01342382188886404,
-0.048651762306690216,
-0.11173127591609955,
-0.055140089243650436,
0.01951443776488304,
-0.004850800149142742,
-0.02236446738243103,
-0.02577073685824871,
-0.013972952030599117,
-0.02120811864733696,
0.05019064247608185,
-0.003583746962249279,
-0.021687770262360573,
0.04757244884967804,
-0.004328809212893248,
0.03158962354063988,
-0.05144115537405014,
0.029389638453722,
0.04241752251982689,
-0.021801818162202835,
0.04055788367986679,
-0.05571989342570305,
0.015457628294825554,
0.06510373204946518,
-0.041283152997493744,
0.04664316028356552,
0.00297838868573308,
-0.016976751387119293,
0.01860363595187664,
-0.06890685111284256,
0.010707927867770195,
-0.011234438978135586,
-0.01998940110206604,
-0.0036276313476264477,
0.008437484502792358,
0.012806745246052742,
0.012266582809388638,
-0.021963045001029968,
-0.01707228645682335,
0.0012013205559924245,
-0.37196800112724304,
0.018312208354473114,
-0.03147682920098305,
-0.02081189677119255,
-0.012285412289202213,
-0.027707962319254875,
0.008802625350654125,
0.006243474315851927,
0.011789500713348389,
0.0400971882045269,
0.07669958472251892,
-0.023542575538158417,
0.006563518662005663,
-0.08406003564596176,
-0.017780302092432976,
0.052992675453424454,
-0.06520579010248184,
-0.013648778200149536,
0.010034662671387196,
0.02421126514673233,
-0.01010175608098507,
0.006038871128112078,
-0.005702335853129625,
-0.059712257236242294,
0.016954824328422546,
0.014942740090191364,
0.11367582529783249,
0.04979923740029335,
0.08003866672515869,
-0.07490570098161697,
0.05542616546154022,
0.020763805136084557,
0.00484594376757741,
-0.07712018489837646,
0.01363448053598404,
-0.036388054490089417,
-0.04037676379084587,
0.030170246958732605,
0.0005362754454836249,
-0.0006301179528236389,
-0.04370860382914543,
0.011193790473043919,
-0.0609305277466774,
-0.05505581572651863,
-0.016920408234000206,
-0.0005012208130210638,
-0.036759085953235626,
0.00283425091765821,
-0.03282532840967178,
0.09776481240987778,
-0.007426012773066759,
0.021322671324014664,
0.05583949014544487,
0.03951355442404747,
0.05315201357007027,
-0.0003196110192220658,
-0.05206524208188057,
-0.015448663383722305,
0.010698631405830383,
0.011552819050848484,
0.052437398582696915,
0.05978443846106529,
0.019701238721609116,
-0.01313893310725689,
0.006175207905471325,
0.0002653822011779994,
0.0052903261967003345,
0.041970014572143555,
0.05117921903729439,
-0.026570331305265427,
-0.04230703040957451,
0.09117815643548965,
-0.007958455011248589,
0.04514586925506592,
0.060289446264505386,
0.05982915684580803,
-0.020129891112446785,
-0.03319158777594566,
0.027256203815340996,
0.015447515062987804,
0.03160029649734497,
-0.038851890712976456,
0.0735805481672287,
-0.017896316945552826,
0.02427549473941326,
0.08914462476968765,
0.008012361824512482,
-0.002345847664400935,
0.04666487127542496,
-0.062275126576423645,
-0.05074422433972359,
-0.011143144220113754,
-0.007672696840018034,
-0.07804467529058456,
0.0740925520658493,
-0.02702999673783779,
-0.25372445583343506,
0.05854855477809906,
0.004120947327464819,
0.02865932136774063,
0.011176075786352158,
0.0010223971912637353,
0.0015848454786464572,
-0.04753504693508148,
-0.025668108835816383,
0.0013758226996287704,
0.019783681258559227,
0.039720699191093445,
0.004018689971417189,
0.000199136309674941,
0.027089403942227364,
0.010260813869535923,
0.02019461616873741,
0.002333136973902583,
0.013662474229931831,
0.02627885341644287,
0.03946350887417793,
0.015122083015739918,
0.16067522764205933,
0.061917051672935486,
-0.021503187716007233,
0.018650690093636513,
0.007292784750461578,
0.039303604513406754,
0.0668051466345787,
0.03535012528300285,
0.008642362430691719,
0.04237201437354088,
0.06907063722610474,
0.02506757527589798,
0.05958095192909241,
-0.049059197306632996,
-0.021025927737355232,
0.034464653581380844,
-0.0056335655972361565,
-0.028882252052426338,
-0.04194669798016548,
0.03585981950163841,
-0.005659299902617931,
0.04349841549992561,
0.07304856926202774,
0.008812911808490753,
-0.017286188900470734,
-0.07436041533946991,
-0.04255223274230957,
-0.048390503972768784,
0.0004699329729191959,
-0.013052570633590221,
0.03407621383666992,
0.00994880311191082,
-0.011075361631810665,
0.051424045115709305,
0.04793434590101242,
0.013357877731323242,
-0.001955292420461774,
0.0104080680757761,
-0.015165401622653008,
-0.024662695825099945,
0.10453853011131287,
0.00003486589412204921,
0.005367691162973642
] | [
-0.00989370048046112,
0.03381754085421562,
0.001427544397301972,
0.01707296445965767,
-0.015076802112162113,
0.026855528354644775,
0.003737163031473756,
0.02406083047389984,
0.024787137284874916,
-0.037398502230644226,
-0.04656721279025078,
-0.04288414120674133,
0.011758072301745415,
-0.02427004836499691,
0.006880453322082758,
-0.024844016879796982,
-0.010076886042952538,
-0.016062207520008087,
0.00698188366368413,
-0.07225833088159561,
-0.015945199877023697,
-0.020470866933465004,
0.028704864904284477,
-0.005362288560718298,
-0.005536509212106466,
0.04400947690010071,
0.004542483948171139,
0.020358264446258545,
0.026704370975494385,
-0.11740349233150482,
-0.029869748279452324,
-0.057746246457099915,
-0.04046877473592758,
-0.010602316819131374,
0.026437554508447647,
-0.012883652932941914,
-0.0015168453101068735,
0.030225619673728943,
-0.01015660259872675,
0.03418104350566864,
0.06986824423074722,
-0.03779926896095276,
-0.0303948987275362,
-0.01007846463471651,
-0.014249942265450954,
-0.013300769962370396,
-0.04708245396614075,
0.008993254974484444,
-0.016567131504416466,
0.0067341020330786705,
-0.045136772096157074,
-0.015791505575180054,
0.006033804267644882,
0.03755555674433708,
0.0517171248793602,
-0.015637537464499474,
-0.04721082001924515,
0.02283392660319805,
0.010030617006123066,
-0.01612187549471855,
-0.0006353542557917535,
0.018843604251742363,
-0.03269503638148308,
-0.002235752297565341,
-0.05431332066655159,
-0.049141786992549896,
-0.052746839821338654,
0.04277421161532402,
0.04726794734597206,
-0.010627145878970623,
-0.018655337393283844,
0.003838706063106656,
-0.065137580037117,
-0.0046283709816634655,
0.0029551046900451183,
-0.014994894154369831,
0.020591143518686295,
-0.03695179522037506,
-0.005618565250188112,
0.0375305712223053,
-0.031347595155239105,
0.013493354432284832,
-0.04662589728832245,
-0.06339502334594727,
-0.04840623214840889,
-0.009104383178055286,
-0.009202956221997738,
-0.005482004955410957,
0.023233389481902122,
0.02863379754126072,
-0.019427243620157242,
0.0010600319365039468,
0.03073098137974739,
-0.016979414969682693,
-0.039637599140405655,
0.022918077185750008,
-0.03949683532118797,
0.002070508198812604,
0.02966756373643875,
0.7988354563713074,
0.015441334806382656,
0.03061492368578911,
0.0205540731549263,
0.016369685530662537,
0.017431160435080528,
-0.05542696639895439,
-0.01563880778849125,
0.03622182458639145,
-0.004259628243744373,
-0.040613964200019836,
-0.0003981088811997324,
0.023352906107902527,
0.04336322844028473,
-0.012307798489928246,
0.03443862125277519,
0.05609843134880066,
0.005867138039320707,
0.0013287878828123212,
-0.010434353724122047,
0.022772978991270065,
0.03549690172076225,
-0.057550590485334396,
-0.006950285751372576,
0.05165552347898483,
0.0350223146378994,
-0.12814663350582123,
0.0043521057814359665,
-6.738475815682669e-33,
0.07498124986886978,
-0.04077255353331566,
0.07812009006738663,
-0.005089097656309605,
0.019841305911540985,
-0.0460641048848629,
-0.002307409653440118,
0.01467788778245449,
-0.016537994146347046,
-0.04529646784067154,
0.004783586598932743,
-0.01591295562684536,
-0.028588367626070976,
-0.028479475528001785,
-0.010181714780628681,
-0.003923011943697929,
-0.03706202656030655,
0.022570615634322166,
0.009898903779685497,
0.012102323584258556,
0.014632072299718857,
0.013267086818814278,
0.01370691042393446,
0.02497166022658348,
0.03860617056488991,
0.013389583677053452,
0.031788650900125504,
-0.011433898471295834,
-0.009290828369557858,
-0.030903371050953865,
-0.04337695240974426,
0.012307418510317802,
-0.010681631043553352,
-0.01811297796666622,
-0.0032733245752751827,
-0.04465467482805252,
-0.020853742957115173,
0.008877181448042393,
-0.01414702832698822,
-0.01435753796249628,
-0.0770692229270935,
-0.003526513697579503,
-0.02916494570672512,
-0.03184937685728073,
-0.005552757065743208,
-0.014684593304991722,
0.019848139956593513,
-0.009562629275023937,
0.0002220858441432938,
-0.029382623732089996,
0.0511087104678154,
-0.00545467110350728,
0.01891092024743557,
0.07203422486782074,
0.053552981466054916,
0.022331535816192627,
0.020770594477653503,
-0.03333010897040367,
-0.02924361638724804,
0.0050188032910227776,
0.01609928347170353,
0.009923106990754604,
-0.0315355621278286,
0.024877848103642464,
0.07039729505777359,
-0.016844799742102623,
0.0291205532848835,
0.01635240577161312,
0.01153799518942833,
-0.004326438531279564,
-0.022921565920114517,
0.003088410710915923,
-0.0193118117749691,
-0.058052048087120056,
0.023544933646917343,
-0.023172587156295776,
0.016828671097755432,
0.017930442467331886,
0.025257457047700882,
0.07628988474607468,
0.03356245532631874,
-0.022307533770799637,
0.028577428311109543,
0.009319392032921314,
-0.02939870022237301,
-0.023461537435650826,
-0.007812312804162502,
-0.013405511155724525,
0.003138350322842598,
-0.015479687601327896,
0.015840012580156326,
0.06772971153259277,
0.033667854964733124,
-0.020430732518434525,
-0.02985004335641861,
7.14397875504614e-33,
0.005631140898913145,
-0.01188435684889555,
0.005546556320041418,
-0.005653157364577055,
0.029645828530192375,
-0.03069685772061348,
0.020217694342136383,
0.017699597403407097,
0.02554970793426037,
0.05628593638539314,
-0.034994740039110184,
-0.011893408372998238,
-0.028641043230891228,
0.035897716879844666,
0.06138058379292488,
-0.029199542477726936,
0.019432764500379562,
0.006967276334762573,
0.0015507558127865195,
0.039487216621637344,
0.011888813227415085,
0.005862201564013958,
0.010783853009343147,
0.010838145390152931,
0.03373018279671669,
0.015130465850234032,
-0.01264141220599413,
0.012154570780694485,
-0.04328345134854317,
-0.013082568533718586,
0.019970647990703583,
-0.030996181070804596,
-0.0008918840321712196,
-0.05286421999335289,
-0.01151824276894331,
-0.007251187227666378,
0.014357548207044601,
0.01666289195418358,
0.019025107845664024,
0.005434521473944187,
-0.009029335342347622,
0.047843750566244125,
0.019483759999275208,
0.03845221549272537,
0.029523903504014015,
0.01956963911652565,
0.03255650773644447,
-0.0085159195587039,
0.008187917992472649,
-0.012904827482998371,
-0.028792742639780045,
0.013298284262418747,
0.0009486833587288857,
0.05229124054312706,
-0.002767898142337799,
-0.038585517555475235,
0.006439237855374813,
0.045569486916065216,
0.0033198606688529253,
-0.006552050355821848,
-0.022210819646716118,
-0.035243645310401917,
-0.008737915195524693,
-0.03423759713768959,
0.003998752683401108,
-0.019238950684666634,
-0.009459823369979858,
0.027623871341347694,
-0.030607562512159348,
-0.07046949118375778,
0.0030390636529773474,
-0.044514697045087814,
-0.002240025671198964,
0.03469362109899521,
0.042090997099876404,
-0.005370632745325565,
-0.023582641035318375,
0.027138888835906982,
-0.027379358187317848,
0.04251668602228165,
0.033663973212242126,
0.005839183460921049,
-0.03780647739768028,
0.006552258040755987,
0.050032004714012146,
0.023705914616584778,
0.011420764960348606,
-0.02518424019217491,
-0.006241241469979286,
0.024779316037893295,
-0.045374538749456406,
-0.033492036163806915,
-0.04236913472414017,
0.043218474835157394,
-0.03846719115972519,
-1.2176036179312177e-8,
-0.02030351012945175,
-0.015171362087130547,
-0.03181275725364685,
-0.011452428996562958,
0.03533417731523514,
0.0021591614931821823,
-0.03534562513232231,
-0.01587703451514244,
0.006422596517950296,
0.002691682893782854,
-0.004241793882101774,
0.009232563897967339,
0.04160377383232117,
0.01048992294818163,
0.037772368639707565,
-0.06509114801883698,
-0.06225651130080223,
-0.02827255241572857,
0.027565116062760353,
0.0028137380722910166,
0.05503886938095093,
0.05608292669057846,
-0.02879326418042183,
-0.012835553847253323,
-0.014049582183361053,
-0.004182172939181328,
0.07263630628585815,
-0.06138218194246292,
0.009880643337965012,
-0.002249845303595066,
-0.012528064660727978,
-0.005986793432384729,
0.01027583796530962,
0.044648971408605576,
-0.0019593890756368637,
-0.04047489911317825,
0.032950595021247864,
0.04698621481657028,
-0.008592639118432999,
0.002073087729513645,
0.0005644089542329311,
0.005457629449665546,
-0.006610379554331303,
-0.030789557844400406,
-0.031247511506080627,
0.030693190172314644,
-0.03522028028964996,
0.04343056678771973,
0.003943784162402153,
-0.006128499750047922,
-0.010911623015999794,
0.010841975919902325,
0.019073136150836945,
0.013512787409126759,
0.029154838994145393,
-0.008973649702966213,
0.005994833540171385,
-0.02503182925283909,
-0.005638149566948414,
-0.024667108431458473,
0.046455901116132736,
0.03195030987262726,
-0.018720081076025963,
-0.001621934468857944
] | ksql-create-stream-failed-to-prepare-statement-name-is-null | https://markhneedham.com/blog/2019/05/19/ksql-create-stream-failed-to-prepare-statement-name-is-null |
false | 2019-05-24 06:10:00 | Docker: Find the network for a container | [
"docker"
] | [
"Docker"
] | If we want two Docker containers to communicate with each other they need to belong to the same network.
In this post we'll learn how to find out the network of existing containers so that we can attach new containers to that network.
All the containers mentioned in this post can be launched locally from Docker compose, using the following command:
[source, bash]
----
git clone [email protected]:mneedham/ksql-kafka-neo4j-streams.git && cd ksql-kafka-neo4j-streams
docker-compose-up
----
Running this command will create four containers:
[source, bash]
----
Starting zookeeper-blog ...
Starting broker-blog ...
Starting ksql-server-blog ...
Starting neo4j-blog ...
----
What if we want to add another container and have it be able to communicate with these containers?
We want to know which network these containers are attached to, and a good place to start is the `docker inspect` command, which returns detailed information about containers.
We'll process the JSON document that the command returns using the https://stedolan.github.io/jq/[jq library^]:
[source, bash]
----
docker inspect neo4j-blog | jq
----
If we run that command, we'll see the following output:
image::{{<siteurl>}}/uploads/2019/05/docker_inspect.png[]
On the last line of this output we can see `NetworkMode`, which is described as follows in the documentation:
[quote, 'https://docs.docker.com/engine/api/v1.24/[Docker Documentation^]']
____
NetworkMode - Sets the networking mode for the container. Supported standard values are: bridge, host, none, and container:<name|id>. Any other value is taken as a custom network’s name to which this container should connect to.
____
We can write the following command to extract that value:
[source, bash]
----
$ docker inspect neo4j-blog --format='{{ .HostConfig.NetworkMode }}'
ksql-kafka-neo4j-streams_default
----
If we want to return the network for all running containers, we can just iterate over them and run the command for each one:
[source, bash]
----
for container in `docker container ls --format "{{.Names}}"`; do
network=`docker inspect $container --format="{{ .HostConfig.NetworkMode }}"`
image=`docker inspect $container --format="{{ .Config.Image }}"`
printf '%-20s %-35s %-15s\n' $container $image $network
done
ksql-server-blog confluentinc/cp-ksql-server:5.2.1 ksql-kafka-neo4j-streams_default
neo4j-blog neo4j:3.4.10 ksql-kafka-neo4j-streams_default
broker-blog confluentinc/cp-enterprise-kafka ksql-kafka-neo4j-streams_default
zookeeper-blog confluentinc/cp-zookeeper ksql-kafka-neo4j-streams_default
----
If we want to extract more detailed information about the network, we can find that under https://stackoverflow.com/questions/43904562/docker-how-to-find-the-network-my-container-is-in[`NetworkSettings.Network`^].
The following query returns this information for the `neo4j-blog` container:
[source, bash]
----
$ docker inspect neo4j-blog --format='{{ json .NetworkSettings.Networks }}' | jq
{
"ksql-kafka-neo4j-streams_default": {
"IPAMConfig": null,
"Links": null,
"Aliases": [
"c004bcd09652",
"neo4j"
],
"NetworkID": "f3bc43280a8a2ae764280e08fa9604097079d7020fac44d7d2012d2b2d353723",
"EndpointID": "3ed6ac3c03e83e96fc56b57aedff2606f264237998194ff5215480744ce0b303",
"Gateway": "172.27.0.1",
"IPAddress": "172.27.0.5",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:1b:00:05",
"DriverOpts": null
}
}
----
We can then write the following query to extract the name of the network:
[source, bash]
----
$ docker inspect neo4j-blog --format='{{range $k,$v := .NetworkSettings.Networks}} {{$k}} {{end}}'
ksql-kafka-neo4j-streams_default
----
And if we want to pull out a couple of properties, we can do that as well:
[source, bash]
----
$ docker inspect neo4j-blog --format='{{range $k,$v := .NetworkSettings.Networks}} {{$k}} {{$v.IPAddress}} {{$v.Aliases}} {{end}}'
ksql-kafka-neo4j-streams_default 172.27.0.5 [c004bcd09652 neo4j]
---- | Learn how to find the network that a Docker container is attached to. | null | [
-0.027760358527302742,
-0.04179975390434265,
-0.00046168529661372304,
0.02360987290740013,
0.08738356083631516,
0.005616881884634495,
-0.0016531390137970448,
0.043698910623788834,
-0.007416818756610155,
-0.04113979637622833,
0.006465996149927378,
-0.007732363883405924,
-0.06679298728704453,
0.011409211903810501,
0.02056972123682499,
0.037474170327186584,
0.08669088035821915,
0.015108714811503887,
0.012923683039844036,
0.028605880215764046,
-0.0014775876188650727,
0.03476151078939438,
0.0025627994909882545,
0.033542752265930176,
0.017374124377965927,
-0.014220772311091423,
0.010047242045402527,
0.027398578822612762,
-0.030187124386429787,
-0.017059002071619034,
0.04161084070801735,
-0.0001526014821138233,
0.028206944465637207,
-0.016280673444271088,
0.022927207872271538,
-0.023282958194613457,
-0.021294699981808662,
0.018168123438954353,
-0.0013011828996241093,
0.011923743411898613,
-0.09639032185077667,
0.037860434502363205,
0.01587904989719391,
0.005243388470262289,
-0.014209745451807976,
0.02022811956703663,
-0.03618323802947998,
0.008420481346547604,
0.027376404032111168,
0.0056235226802527905,
-0.09772780537605286,
0.004584777168929577,
-0.04001617059111595,
0.01178507599979639,
0.014962473884224892,
0.03371318057179451,
0.017067814245820045,
-0.0702715814113617,
0.0331626832485199,
-0.006441530305892229,
0.0026932493783533573,
-0.0120543846860528,
0.025323623791337013,
0.023193174973130226,
0.0043701957911252975,
-0.024484233930706978,
-0.008765493519604206,
0.052659180015325546,
-0.021164901554584503,
0.005826715379953384,
0.02594766765832901,
0.037882644683122635,
-0.005232114344835281,
-0.03194809332489967,
0.024721013382077217,
-0.044139314442873,
-0.005859377793967724,
0.02344781532883644,
0.0305536650121212,
0.04958431050181389,
-0.03375117480754852,
0.001912673469632864,
-0.012151560746133327,
0.02890651486814022,
0.010972977615892887,
-0.04983425885438919,
-0.041299112141132355,
0.021056203171610832,
-0.06849884241819382,
0.060226909816265106,
0.04651334881782532,
-0.03426142781972885,
-0.0024329591542482376,
-0.015086209401488304,
-0.009933168068528175,
0.045092832297086716,
-0.008438344113528728,
0.030497651547193527,
0.04037187993526459,
-0.0065343561582267284,
-0.03467800095677376,
0.01321044284850359,
-0.02980530634522438,
0.029804248362779617,
-0.06029754877090454,
-0.04740199074149132,
-0.02395964041352272,
-0.04482649266719818,
0.00356020568870008,
0.016383172944188118,
-0.006839727982878685,
0.02064204216003418,
-0.009560897946357727,
0.025219500064849854,
-0.10101214051246643,
0.0853492021560669,
0.008933385834097862,
-0.037092357873916626,
0.002110429108142853,
0.0022326577454805374,
0.012964957393705845,
0.03955623507499695,
-0.00035178608959540725,
0.05730488523840904,
-0.025124525651335716,
-0.0011714821448549628,
-0.008774159476161003,
0.04005974158644676,
-0.057624947279691696,
-0.06951911747455597,
-0.01198313757777214,
0.05945786461234093,
0.018786774948239326,
0.03366074711084366,
-0.01575961709022522,
-0.03462021425366402,
-0.007578694727271795,
0.01868606172502041,
0.05572870373725891,
0.05069458857178688,
-0.018938980996608734,
-0.04653822258114815,
0.04308805242180824,
0.006817160174250603,
0.027549125254154205,
0.032946642488241196,
-0.007140970788896084,
-0.057306140661239624,
-0.0327061265707016,
0.040671296417713165,
0.0034014820121228695,
0.026615779846906662,
0.06451676785945892,
-0.02969568595290184,
0.021994298323988914,
0.08692501485347748,
0.034853968769311905,
0.03109711781144142,
-0.025693126022815704,
0.0034801228903234005,
0.026315253227949142,
0.0031967000104486942,
0.009233850985765457,
0.03748873621225357,
0.010651420801877975,
-0.026824409142136574,
-0.02901734784245491,
0.046743396669626236,
0.013654093258082867,
-0.010890384204685688,
-0.03607257083058357,
-0.07140592485666275,
0.0538262277841568,
-0.020584067329764366,
0.04734838381409645,
0.005594703834503889,
0.058353491127491,
0.014847865328192711,
0.04346008971333504,
0.006211384199559689,
-0.0726730078458786,
0.055121082812547684,
-0.019381284713745117,
0.015087701380252838,
0.012770481407642365,
-0.011553013697266579,
0.04287275671958923,
0.03287029638886452,
-0.009808648377656937,
0.03920111432671547,
-0.08396591991186142,
-0.08283383399248123,
-0.023671794682741165,
0.008000890724360943,
0.031903304159641266,
-0.03648059442639351,
-0.0520639605820179,
0.061524875462055206,
0.020720329135656357,
0.004954710602760315,
0.01788926124572754,
-0.0010521066142246127,
0.04232447221875191,
-0.05900810658931732,
-0.06346551328897476,
0.07443486899137497,
0.004805132746696472,
-0.055321868509054184,
-0.05316977947950363,
0.0055834525264799595,
-0.0647565945982933,
-0.022415362298488617,
0.013384277001023293,
-0.044972725212574005,
0.10951541364192963,
0.01935199834406376,
0.014001548290252686,
-0.01973038725554943,
0.026864731684327126,
-0.03367135301232338,
0.03444652631878853,
0.003952325321733952,
-0.01530690398067236,
0.02012656256556511,
-0.009300410747528076,
0.09150420129299164,
0.05149711295962334,
-0.010741548612713814,
-0.06527118384838104,
0.07741562277078629,
0.03917209804058075,
-0.009328613989055157,
-0.001956908032298088,
-0.01123757753521204,
0.01645556278526783,
-0.0022953341249376535,
-0.015141096897423267,
-0.00926160253584385,
-0.023598821833729744,
-0.01786869950592518,
-0.005498988088220358,
0.05430760979652405,
-0.038459956645965576,
0.04976605251431465,
0.05859830230474472,
-0.020177245140075684,
0.007686505559831858,
-0.05836851894855499,
-0.07163950800895691,
0.002012774581089616,
0.021721459925174713,
-0.0001227362809004262,
0.055213525891304016,
-0.05900789424777031,
-0.006932573392987251,
-0.056455858051776886,
-0.03332088142633438,
0.022942133247852325,
0.01731778495013714,
0.05502557009458542,
-0.025626450777053833,
0.052195727825164795,
-0.043938130140304565,
0.025033192709088326,
-0.03671567514538765,
-0.03668007627129555,
-0.027619177475571632,
0.00625411793589592,
0.026621639728546143,
0.0025609720032662153,
0.0188320092856884,
-0.030765024945139885,
0.03786817938089371,
-0.015096953138709068,
0.010400321334600449,
-0.030790619552135468,
-0.002539349254220724,
0.0006266717100515962,
0.04038802161812782,
-0.03219158202409744,
-0.035888634622097015,
0.06482017040252686,
-0.07613479346036911,
-0.007273045834153891,
0.02042664773762226,
-0.06634590029716492,
0.008996625430881977,
-0.0577683262526989,
-0.014676323160529137,
-0.03216627985239029,
0.04316861554980278,
0.04034559428691864,
0.007986743934452534,
0.004878064151853323,
0.05116390436887741,
0.04501297324895859,
0.002533901948481798,
0.021663552150130272,
-0.002249937504529953,
0.03550361469388008,
-0.03465235233306885,
0.024647563695907593,
0.055943600833415985,
-0.02059941366314888,
-0.005248159170150757,
-0.046852365136146545,
0.0390789695084095,
-0.025895031169056892,
-0.26041242480278015,
0.043029069900512695,
-0.009127375669777393,
-0.024476779624819756,
0.02264655940234661,
-0.02041296847164631,
0.02565867081284523,
-0.03468545153737068,
0.014370214194059372,
0.0030492532532662153,
-0.037718527019023895,
-0.025279277935624123,
-0.005081765353679657,
0.03825836628675461,
-0.006943880580365658,
0.024261951446533203,
0.011035099625587463,
-0.03735565021634102,
0.0005924662109464407,
-0.030842145904898643,
-0.03349791094660759,
-0.040525805205106735,
0.0017771599814295769,
0.02513393945991993,
0.0010303043527528644,
0.03286312520503998,
-0.09479775279760361,
0.05216603726148605,
-0.03205149993300438,
-0.008063036017119884,
-0.011038989759981632,
-0.0158816110342741,
-0.021877409890294075,
0.01940884441137314,
-0.026542574167251587,
-0.005780269391834736,
0.027017654851078987,
-0.028042133897542953,
0.01161215826869011,
-0.012361477129161358,
-0.04631959646940231,
-0.029968569055199623,
-0.018429214134812355,
-0.015260359272360802,
0.06176181137561798,
-0.016963215544819832,
-0.06319314241409302,
0.012017972767353058,
-0.038456402719020844,
0.09338194131851196,
-0.02480900287628174,
-0.0389234721660614,
-0.0186819676309824,
0.0244918055832386,
-0.026653701439499855,
-0.011034765280783176,
-0.050850048661231995,
-0.003160536754876375,
-0.046715691685676575,
-0.03777192905545235,
-0.019666392356157303,
-0.03675873577594757,
-0.02247651480138302,
-0.06359793990850449,
-0.015585456974804401,
-0.04123298451304436,
-0.07288959622383118,
-0.02255796454846859,
0.07666922360658646,
0.020237036049365997,
-0.05537376552820206,
0.0010716266697272658,
-0.024639401584863663,
-0.11101548373699188,
-0.032805442810058594,
-0.02390684001147747,
-0.061850856989622116,
0.0032165891025215387,
0.0006990166148170829,
0.04105507582426071,
-0.04469233378767967,
-0.022675080224871635,
0.00005263152706902474,
0.035240836441516876,
0.009118588641285896,
-0.012780280783772469,
0.027494629845023155,
-0.024177176877856255,
-0.001974455313757062,
-0.0006216650363057852,
0.043809521943330765,
-0.040902312844991684,
-0.031739406287670135,
-0.02839333564043045,
0.006576814688742161,
0.044421758502721786,
-0.022237734869122505,
0.011966911144554615,
0.013996601104736328,
0.05146877467632294,
0.0733121931552887,
-0.03914007917046547,
-0.007365899626165628,
-0.011015374213457108,
-0.009026988409459591,
-0.022518448531627655,
-0.04962886869907379,
0.019744031131267548,
0.01663053408265114,
0.038356080651283264,
-0.006537217181175947,
-0.044296421110630035,
0.009392321109771729,
-0.06227722764015198,
0.014510059729218483,
0.012270519509911537,
0.015559329651296139,
0.050285033881664276,
0.03312879800796509,
0.004415350034832954,
-0.05552094057202339,
0.050166238099336624,
0.01737692393362522,
-0.008269653655588627,
-0.03863659128546715,
-0.040969353169202805,
-0.03615933656692505,
-0.04239687696099281,
0.015154085122048855,
0.025204190984368324,
-0.014638058841228485,
0.03503572195768356,
0.04832924157381058,
-0.03589663282036781,
0.036341845989227295,
-0.04422057420015335,
-0.031280290335416794,
-0.042335931211709976,
0.011081959120929241,
0.017995188012719154,
-0.04068281501531601,
0.010254877619445324,
-0.0146721713244915,
0.039328187704086304,
0.01205594651401043,
0.024997591972351074,
0.026730665937066078,
0.020302796736359596,
0.02444744110107422,
-0.010459628887474537,
-0.023730643093585968,
-0.03816462308168411,
0.001616209396161139,
-0.024784961715340614,
-0.022120531648397446,
-0.0014553385553881526,
0.04126046225428581,
-0.01678440347313881,
-0.05239882320165634,
-0.02932017855346203,
0.01701406016945839,
-0.06397054344415665,
-0.003293682588264346,
-0.023999741300940514,
0.0008807380218058825,
0.04747486114501953,
-0.019850311800837517,
0.03134908899664879,
-0.011727349832654,
-0.01729431562125683,
-0.0015421205898746848,
-0.002229142701253295,
-0.03510500118136406,
0.012352696619927883,
0.020473679527640343,
0.003908156882971525,
0.0016621857648715377,
0.0465955026447773,
0.04503261297941208,
0.013057693839073181,
0.016058506444096565,
0.0021220804192125797,
0.00873897410929203,
0.01578347198665142,
0.038805726915597916,
0.03521552309393883,
0.0006368478643707931,
0.004217573907226324,
-0.012880411930382252,
-0.0019244560971856117,
-0.021591147407889366,
0.020683417096734047,
-0.003112435108050704,
0.01168340165168047,
-0.013419498689472675,
-0.036931511014699936,
0.04999852553009987,
0.039881374686956406,
0.016910862177610397,
0.03107658587396145,
0.0010153934126719832,
0.018800146877765656,
-0.051543060690164566,
0.061718493700027466,
0.0718693807721138,
-0.0411270447075367,
-0.013445219025015831,
-0.0027728138957172632,
0.026436621323227882,
-0.009327666833996773,
0.02891169860959053,
-0.07868386805057526,
-0.009903499856591225,
-0.006906359456479549,
0.0074589368887245655,
-0.04281270503997803,
-0.05099913850426674,
-0.018191318958997726,
0.03010367415845394,
0.017003098502755165,
0.018024969846010208,
0.008966141380369663,
-0.0018961791647598147,
-0.04082533344626427,
-0.018136195838451385,
0.05223425477743149,
-0.02564251609146595,
0.02312665991485119,
-0.00716679310426116,
-0.00153816444799304,
0.017706580460071564,
-0.03383656218647957,
0.04349362105131149,
0.0023730776738375425,
-0.013413983397185802,
-0.008964800275862217,
-0.040552206337451935,
0.010307932272553444,
-0.012950741685926914,
0.038877420127391815,
0.016858458518981934,
0.0008733625872991979,
-0.041829194873571396,
-0.0033981273882091045,
-0.038568634539842606,
-0.013635330833494663,
0.014580740593373775,
0.03290611132979393,
0.03194648027420044,
0.018812792375683784,
0.003749576862901449,
0.0023835257161408663,
-0.016107093542814255,
-0.058498796075582504,
0.06130727007985115,
-0.07380194216966629,
-0.043247055262327194,
0.011758441105484962,
-0.06892523914575577,
0.00019173583132214844,
0.0208026934415102,
0.030200449749827385,
-0.05934635177254677,
0.049986373633146286,
0.055675819516181946,
-0.0014770373236387968,
0.0041487799026072025,
0.009141933172941208,
0.03271973505616188,
-0.004368615336716175,
-0.008558779023587704,
-0.08813352137804031,
0.0075095053762197495,
0.056556738913059235,
-0.004420723300427198,
0.027744479477405548,
-0.005413356702774763,
-0.023924188688397408,
0.0010814637644216418,
-0.049746472388505936,
-0.023959793150424957,
0.0383993498980999,
-0.049807969480752945,
-0.010046543553471565,
-0.013986088335514069,
-0.07078862935304642,
0.024440335109829903,
0.025288308039307594,
-0.03575723618268967,
-0.014810837805271149,
-0.019801806658506393,
0.03978895768523216,
-0.011102618649601936,
0.03198528662323952,
0.0029048295691609383,
-0.025986604392528534,
0.08671677112579346,
0.021789154037833214,
0.029513807967305183,
0.04043762758374214,
-0.014655685983598232,
0.043700434267520905,
0.010923981666564941,
-0.030167579650878906,
0.019148366525769234,
0.034086115658283234,
-0.05223657190799713,
-0.03985896334052086,
0.05453754588961601,
0.03819101303815842,
-0.03637874498963356,
-0.03320975974202156,
0.050621721893548965,
-0.006562596186995506,
-0.05942334234714508,
-0.03499894216656685,
0.05080818012356758,
-0.03859008848667145,
-0.01389082707464695,
-0.02701319009065628,
0.03552284836769104,
-0.08366629481315613,
0.01395036093890667,
-0.0009116972214542329,
0.009875060059130192,
0.06397120654582977,
0.011691046878695488,
-0.023000726476311684,
0.028340468183159828,
0.0922161340713501,
0.08692479133605957,
0.01752932369709015,
0.020041627809405327,
0.055161021649837494,
-0.03255880996584892,
-0.004767111036926508,
-0.014824707992374897,
-0.009507885202765465,
-0.02497796155512333,
0.0103407371789217,
0.0006839542184025049,
0.060236912220716476,
-0.029301146045327187,
0.06646173447370529,
-0.0118191447108984,
-0.011743457987904549,
-0.023358501493930817,
0.017233604565262794,
0.02022065408527851,
0.007249405607581139,
0.03339988365769386,
0.05021952837705612,
-0.002851115772500634,
-0.03268309310078621,
0.012733323499560356,
-0.009133493527770042,
-0.03189990669488907,
0.007547334767878056,
-0.0103226313367486,
0.013690349645912647,
0.038511622697114944,
0.0317717045545578,
0.07017257809638977,
-0.0226089246571064,
-0.008897648192942142,
0.02849460393190384,
0.020516688004136086,
-0.00689088087528944,
0.0046051605604588985,
-0.0010219429386779666,
-0.03586646169424057,
-0.0145883709192276,
-0.01934206113219261,
0.007704705465584993,
-0.02677285484969616,
0.003145453054457903,
-0.018482498824596405,
-0.0041353763081133366,
0.0024052290245890617,
0.00387182435952127,
0.0012117273872718215,
-0.008498049341142178,
-0.04196300730109215,
-0.04245416074991226,
-0.08073847740888596,
-0.039694275707006454,
-0.028737608343362808,
-0.0002978484844788909,
-0.0049331579357385635,
-0.0039656078442931175,
-0.023767909035086632,
-0.0029609089251607656,
-0.006440301425755024,
0.058036528527736664,
-0.059814754873514175,
0.012815519236028194,
0.012024221941828728,
0.02606300264596939,
0.017841598019003868,
-0.004836858715862036,
0.0503702312707901,
0.0007038030889816582,
0.015689818188548088,
-0.02186032198369503,
0.024333689361810684,
0.03415364399552345,
-0.013233809731900692,
-0.006058530416339636,
-0.07628732919692993,
0.010772991925477982,
0.038742054253816605,
0.024207521229982376,
-0.061641253530979156,
0.010042865760624409,
0.030646912753582,
0.01884584128856659,
0.05001296475529671,
-0.01562875509262085,
0.015475038439035416,
-0.02401105687022209,
-0.005023028701543808,
0.003070591716095805,
-0.009326843544840813,
0.026899907737970352,
-0.02074606902897358,
0.05552445352077484,
0.046638838946819305,
-0.008850818499922752,
-0.0003275350318290293,
-0.002596227452158928,
-0.0016509740380570292,
0.02028975635766983,
-0.0281092319637537,
-0.042448218911886215,
-0.026585547253489494,
-0.07231651991605759,
-0.05282450467348099,
-0.007571394555270672,
-0.007840163074433804,
-0.036009952425956726,
0.035929739475250244,
0.013820858672261238,
-0.009576921351253986,
0.00847580935806036,
-0.048731882125139236,
-0.007729948963969946,
-0.01950201578438282,
-0.031182726845145226,
-0.010317631997168064,
0.01048593781888485,
0.009331773966550827,
-0.03331681340932846,
0.01894761621952057,
-0.036900509148836136,
-0.02633061446249485,
-0.0227431021630764,
0.0578109435737133,
0.06031099334359169,
0.032504837960004807,
-0.014081235975027084
] | [
-0.04886104166507721,
-0.04848426952958107,
-0.012721576727926731,
-0.039964720606803894,
0.0650971382856369,
-0.051404863595962524,
-0.008767168037593365,
-0.00832501333206892,
-0.030635520815849304,
-0.03437976539134979,
-0.002748014871031046,
-0.051482394337654114,
-0.0023756108712404966,
-0.013286959379911423,
0.08890284597873688,
0.0012711220188066363,
-0.03689507767558098,
-0.043428707867860794,
-0.02874613180756569,
0.039040908217430115,
-0.020936910063028336,
-0.05744347721338272,
-0.04778354614973068,
-0.06281173229217529,
-0.00804586336016655,
0.06379716843366623,
0.029221922159194946,
-0.02906777150928974,
-0.001344336080364883,
-0.19271337985992432,
0.003188231261447072,
0.005491448100656271,
-0.009532722644507885,
-0.012486249208450317,
0.024182621389627457,
0.0315241739153862,
0.04713395982980728,
-0.018593935295939445,
0.0023659993894398212,
0.042128778994083405,
0.06810032576322556,
-0.007266412489116192,
-0.03964552655816078,
0.014673144556581974,
0.013260671868920326,
-0.008100735023617744,
-0.0034166292753070593,
-0.030130093917250633,
0.048157405108213425,
-0.058928508311510086,
-0.010446770116686821,
-0.021147603169083595,
-0.026139037683606148,
-0.02960403449833393,
0.002921047620475292,
0.019987881183624268,
0.027179960161447525,
0.07615591585636139,
0.01907610520720482,
0.02981187216937542,
0.03007686696946621,
-0.007444045972079039,
-0.15084627270698547,
0.08654427528381348,
0.05690279230475426,
0.0050902036018669605,
-0.05756833031773567,
0.012042224407196045,
-0.013795255683362484,
0.06258425861597061,
0.05414151772856712,
-0.024744270369410515,
-0.03278323635458946,
0.07512977719306946,
0.007810039445757866,
0.019341135397553444,
-0.033367909491062164,
0.05462169274687767,
0.04077867418527603,
-0.03594134375452995,
-0.042973946779966354,
0.0006520928000099957,
-0.017148492857813835,
-0.010729090310633183,
-0.06168968603014946,
0.008549848571419716,
-0.014674783684313297,
0.029320282861590385,
-0.020585855469107628,
0.026156581938266754,
-0.021940171718597412,
0.011780752800405025,
0.07415255159139633,
0.00989061314612627,
-0.09671894460916519,
0.0070484415628015995,
-0.017330048605799675,
-0.022796623408794403,
-0.0169734675437212,
0.37653160095214844,
0.020155293866991997,
-0.012242825701832771,
0.04728863760828972,
0.040690626949071884,
0.02579561620950699,
-0.003919554408639669,
-0.008954456076025963,
-0.054132502526044846,
0.05090612918138504,
0.008164131082594395,
0.0037531396374106407,
-0.015439440496265888,
0.03767476603388786,
-0.08647973090410233,
-0.005832853727042675,
0.007448429707437754,
0.0105806365609169,
0.033838313072919846,
-0.02415771782398224,
-0.0036697660107165575,
-0.023232247680425644,
-0.017552450299263,
0.06545627117156982,
0.03348042070865631,
0.05172229930758476,
0.015105783939361572,
0.014463484287261963,
0.003933476749807596,
0.006844752002507448,
0.031215181574225426,
0.02753966860473156,
-0.011317589320242405,
-0.0010668329196050763,
0.00839010626077652,
0.019101813435554504,
-0.004025094211101532,
0.04469464719295502,
-0.09018591046333313,
-0.04179876670241356,
0.048233963549137115,
-0.03139195591211319,
-0.03738816827535629,
0.04591895639896393,
-0.043016962707042694,
-0.028315041214227676,
0.12419361621141434,
0.015508160926401615,
-0.03771215304732323,
-0.030735980719327927,
-0.04914861172437668,
-0.025473032146692276,
0.05858469754457474,
0.031384892761707306,
-0.048765141516923904,
-0.00861690565943718,
-0.0014758514007553458,
0.06518710404634476,
0.0032861228100955486,
-0.07975975424051285,
0.03020596131682396,
-0.045990411192178726,
-0.044176191091537476,
-0.051038406789302826,
0.08077792823314667,
0.03341801092028618,
-0.11587930470705032,
-0.009778573177754879,
0.005541473627090454,
0.0031228892039507627,
-0.0621044859290123,
-0.024654215201735497,
0.04873107373714447,
0.007333028595894575,
-0.03297322615981102,
0.040477581322193146,
-0.04100612550973892,
-0.011246579699218273,
0.007778853643685579,
0.04544756934046745,
0.0010076813632622361,
-0.03818036615848541,
0.021988142281770706,
-0.06011304259300232,
-0.01490961667150259,
-0.037469204515218735,
-0.0763021856546402,
-0.0821935161948204,
0.0076142605394124985,
-0.06510255485773087,
-0.046139322221279144,
-0.057758867740631104,
0.023020360618829727,
-0.0016097240149974823,
0.13882291316986084,
-0.0014465106651186943,
-0.05921429023146629,
0.01925070397555828,
-0.0011922749690711498,
-0.0006996438605710864,
-0.039398424327373505,
0.039165426045656204,
0.030729923397302628,
-0.008973502553999424,
0.044723451137542725,
-0.09510595351457596,
0.021341493353247643,
0.06175963953137398,
0.00806693360209465,
0.052701786160469055,
0.016232112422585487,
-0.046950750052928925,
0.03181765228509903,
-0.008519592694938183,
0.010772192850708961,
-0.014980573207139969,
-0.014202125370502472,
0.01578793115913868,
0.031148012727499008,
0.0038238954730331898,
0.028205053880810738,
0.0038769820239394903,
-0.024868199601769447,
-0.02877555973827839,
-0.35607826709747314,
-0.02351820096373558,
0.0017465107375755906,
0.008841466158628464,
0.02478380873799324,
-0.01819327473640442,
0.03635583445429802,
0.013164081610739231,
-0.013873488642275333,
-0.0006874252576380968,
0.0974082425236702,
-0.022703900933265686,
0.009609299711883068,
-0.07358380407094955,
0.018481772392988205,
0.05950793996453285,
0.010899149812757969,
0.022387994453310966,
-0.0021572806872427464,
0.012668457813560963,
-0.007470677141100168,
-0.018768083304166794,
-0.029115863144397736,
-0.009976941160857677,
0.03477504476904869,
0.010323752649128437,
0.10097295045852661,
-0.014741942286491394,
0.06824159622192383,
-0.028375821188092232,
0.05410846322774887,
0.05103408917784691,
-0.0025901945773512125,
-0.08391635864973068,
-0.030609088018536568,
-0.004666648339480162,
0.019905216991901398,
0.015437754802405834,
-0.007185779046267271,
0.018818382173776627,
-0.06181861087679863,
0.023712720721960068,
-0.050604965537786484,
-0.060199663043022156,
-0.0053822812624275684,
-0.01619470864534378,
-0.03704389929771423,
0.016982918605208397,
-0.02870851941406727,
0.0036697431933134794,
-0.0012724981643259525,
0.029243454337120056,
-0.015848500654101372,
-0.01587943732738495,
0.005870687775313854,
0.009721468202769756,
-0.03496254235506058,
-0.037362560629844666,
0.005147586110979319,
0.01869533583521843,
0.02551967091858387,
0.09298831969499588,
0.0028637046925723553,
-0.0762961357831955,
0.032049231231212616,
0.004130313638597727,
-0.02368999272584915,
0.042396191507577896,
0.05064808204770088,
-0.04276347905397415,
0.006982836872339249,
0.08731572329998016,
0.02433359995484352,
0.05419986695051193,
0.049955543130636215,
0.01921055279672146,
-0.029812831431627274,
0.024366464465856552,
0.024358145892620087,
-0.0016567601123824716,
0.035372551530599594,
-0.058683376759290695,
0.05749280005693436,
-0.016755910590291023,
0.022448884323239326,
0.06351884454488754,
0.02344684861600399,
-0.0009041908197104931,
0.04684535413980484,
-0.015561175532639027,
-0.04029285907745361,
0.006024961359798908,
0.0032579710241407156,
-0.07154965400695801,
0.05895230174064636,
-0.0027162388432770967,
-0.2560999095439911,
0.05010741204023361,
0.05211597681045532,
0.0566517598927021,
-0.006265980191528797,
-0.012950990349054337,
0.04154602438211441,
-0.008835497312247753,
0.003469974733889103,
0.011001956649124622,
0.0090818265452981,
0.03693708777427673,
-0.025935081765055656,
0.004855353385210037,
0.001984685892239213,
0.016229260712862015,
0.057396695017814636,
-0.00511726550757885,
0.002754576038569212,
-0.01666470803320408,
0.019648997113108635,
0.0006267551216296852,
0.16185374557971954,
0.01982993632555008,
0.007615767419338226,
0.02861037664115429,
-0.01675940491259098,
0.01946084387600422,
0.029262518510222435,
0.02187909185886383,
-0.002316542901098728,
0.0483938604593277,
0.01134041789919138,
-0.0399995855987072,
0.029894109815359116,
-0.02780451439321041,
0.021066254004836082,
0.026217328384518623,
0.01242542453110218,
-0.04748888686299324,
-0.040148284286260605,
0.00779454130679369,
-0.023426642641425133,
0.01623924821615219,
0.06762272119522095,
-0.048789553344249725,
-0.011836163699626923,
-0.06017511337995529,
-0.04941413924098015,
-0.023790860548615456,
-0.04712463170289993,
-0.050322193652391434,
0.04360636696219444,
-0.028915774077177048,
0.0007184394053183496,
0.04880852997303009,
0.012371361255645752,
-0.06737767159938812,
-0.00595844304189086,
0.029912320896983147,
-0.004434645641595125,
-0.07148660719394684,
0.10457722097635269,
-0.01767078787088394,
0.06146959960460663
] | [
0.03988237679004669,
0.03517277166247368,
0.005629638209939003,
0.0372919961810112,
0.021703094244003296,
0.0031141946092247963,
-0.0005927191232331097,
-0.01685548946261406,
-0.0007756092236377299,
-0.0009878866840153933,
-0.04839262366294861,
0.004010370466858149,
0.028860369697213173,
0.017703475430607796,
-0.008848353289067745,
-0.024198655039072037,
0.025850769132375717,
0.04045635461807251,
0.022743599489331245,
-0.006594314705580473,
-0.040066540241241455,
-0.01214943453669548,
0.03987252339720726,
-0.030665313825011253,
-0.018088897690176964,
0.026038283482193947,
-0.05972123146057129,
-0.020140690729022026,
0.011748463846743107,
-0.12350524216890335,
0.004837295971810818,
-0.01817866414785385,
-0.0149763785302639,
-0.005231325514614582,
0.023616183549165726,
0.0259536299854517,
0.017905505374073982,
0.012881722301244736,
0.002326121786609292,
0.03322470188140869,
0.050244033336639404,
-0.03613375872373581,
-0.0034467908553779125,
-0.007980501279234886,
-0.010850231163203716,
-0.04595818370580673,
-0.05423637479543686,
-0.036481261253356934,
0.012518211267888546,
-0.001544865546748042,
-0.04675602167844772,
-0.04174214228987694,
-0.011002018116414547,
-0.004827178083360195,
0.020708754658699036,
0.022214876487851143,
-0.040358129888772964,
0.011297591030597687,
0.020863370969891548,
-0.0035707950592041016,
0.04510308429598808,
0.018017258495092392,
-0.06211526691913605,
-0.01610257476568222,
0.011675135232508183,
-0.03883825242519379,
-0.006724512670189142,
0.01631978712975979,
-0.0037622663658112288,
0.01362113282084465,
0.020153475925326347,
0.06107718124985695,
-0.04026366025209427,
-0.045157309621572495,
-0.013698959723114967,
0.04335121065378189,
0.05226839333772659,
0.0018538179574534297,
-0.024071456864476204,
0.02647792361676693,
-0.012976682744920254,
0.029635485261678696,
-0.03229387849569321,
-0.025432152673602104,
-0.05898517370223999,
0.016163911670446396,
0.014599170535802841,
-0.021259767934679985,
0.02939300425350666,
-0.006504013668745756,
-0.004026944283396006,
-0.005584998056292534,
-0.02214828133583069,
-0.04203297570347786,
-0.06554890424013138,
-0.036857571452856064,
-0.02913334034383297,
-0.006988747976720333,
0.024162139743566513,
0.7985385060310364,
0.017398150637745857,
-0.00012636669271159917,
0.02633570320904255,
0.020888417959213257,
0.06813192367553711,
-0.010459586046636105,
0.000976319017354399,
0.0005656893481500447,
0.007596179842948914,
-0.007385865319520235,
-0.010175973176956177,
0.019989006221294403,
-0.005451632663607597,
0.026460492983460426,
0.02159198746085167,
0.025261517614126205,
0.03917250782251358,
-0.041627272963523865,
-0.00993763841688633,
0.011499984189867973,
0.018108107149600983,
-0.02849043719470501,
0.03208053112030029,
-0.010187571868300438,
-0.002958226716145873,
-0.1548623889684677,
-0.0025900008622556925,
-6.711995601378489e-33,
0.05359223857522011,
-0.05050172284245491,
0.04192693158984184,
0.013062230311334133,
0.07715729624032974,
-0.0016230606706812978,
-0.006348504684865475,
-0.045889705419540405,
-0.04716525226831436,
-0.019745105877518654,
-0.053693171590566635,
0.02549898810684681,
-0.0058417958207428455,
-0.011855769902467728,
-0.004637954756617546,
-0.02006523683667183,
-0.008616168983280659,
0.008026832714676857,
0.030959300696849823,
0.0018144615460187197,
0.025080597028136253,
0.013554563745856285,
-0.0519692525267601,
0.019001828506588936,
0.03330263867974281,
-0.02101541869342327,
0.02708156779408455,
-0.04604882374405861,
0.00158941769041121,
-0.0424608550965786,
-0.029505467042326927,
0.026617303490638733,
-0.01987415924668312,
-0.02849598415195942,
-0.0069047813303768635,
-0.07178288698196411,
-0.02404194138944149,
0.0202255267649889,
-0.050929319113492966,
-0.049357254058122635,
-0.04579856991767883,
-0.031066259369254112,
-0.016836339607834816,
-0.017601631581783295,
-0.010886900126934052,
-0.01650981977581978,
-0.0004353993572294712,
0.024026134982705116,
-0.003685515373945236,
0.026187829673290253,
0.05035589635372162,
-0.010334828868508339,
-0.01570740155875683,
0.03645626828074455,
-0.020207291468977928,
0.012242943048477173,
0.029486237093806267,
-0.014118719846010208,
0.005113833583891392,
-0.004438166040927172,
-0.01446005329489708,
-0.000172759682754986,
-0.022687571123242378,
0.035433556884527206,
0.051638711243867874,
0.03398826718330383,
0.008840315043926239,
0.057821616530418396,
0.0015016236575320363,
0.07007329165935516,
-0.03956432640552521,
0.002824424998834729,
-0.026252899318933487,
-0.020529989153146744,
0.025646287947893143,
-0.044195473194122314,
-0.008519383147358894,
-0.009641086682677269,
-0.01573087088763714,
0.08246182650327682,
0.007252865470945835,
0.022237379103899002,
-0.02964744158089161,
0.0003226573171559721,
-0.040118176490068436,
-0.022188501432538033,
0.042946189641952515,
0.01505428645759821,
0.023661796003580093,
0.049175649881362915,
0.0442139096558094,
0.06395965814590454,
0.009911530651152134,
-0.031086735427379608,
-0.05373377725481987,
6.558566405289318e-33,
-0.013138395734131336,
0.002384293358772993,
-0.04606504738330841,
0.0023833427112549543,
-0.010536203160881996,
-0.01407715305685997,
0.06700071692466736,
0.01838258095085621,
-0.005826058331876993,
0.023837685585021973,
-0.0004512917366810143,
0.007963468320667744,
-0.02339174784719944,
0.0484643392264843,
0.03067731112241745,
-0.002227507531642914,
0.0007518251077271998,
-0.04482835531234741,
0.02947285585105419,
0.018030928447842598,
0.0071699596010148525,
0.00513885635882616,
-0.004225621465593576,
0.04003359004855156,
0.020484087988734245,
0.034445907920598984,
0.04072904214262962,
0.010683112777769566,
-0.05130777508020401,
-0.05074649676680565,
-0.004073170945048332,
-0.046763624995946884,
0.03940724581480026,
0.02918214723467827,
-0.0017261509783565998,
0.02798544615507126,
-0.004783208016306162,
0.05657486617565155,
-0.020528070628643036,
-0.027074428275227547,
0.027484314516186714,
0.007737071253359318,
-0.02047327347099781,
0.060079578310251236,
-0.030904320999979973,
0.006581563036888838,
0.02387976460158825,
-0.004822046495974064,
-0.005011280532926321,
0.004663756582885981,
-0.024381492286920547,
-0.022167807444930077,
0.01060433592647314,
0.017896756529808044,
0.030010808259248734,
-0.037717632949352264,
-0.02828109636902809,
0.04507048800587654,
0.00427613640204072,
0.04736591875553131,
0.039313867688179016,
-0.01933469995856285,
-0.013855733908712864,
0.04092208668589592,
-0.023436978459358215,
-0.03487662225961685,
-0.02669977769255638,
-0.005342877935618162,
-0.04351359233260155,
-0.013471635058522224,
0.041637856513261795,
0.024568017572164536,
0.021105268970131874,
0.039722662419080734,
0.03582938015460968,
-0.04561023786664009,
-0.012193858623504639,
0.017285171896219254,
-0.03937280923128128,
0.03318970277905464,
-0.014846714213490486,
0.03517284244298935,
-0.014680564403533936,
-0.05184561386704445,
0.0010599858360365033,
-0.010412006638944149,
0.008741292171180248,
0.020289350301027298,
0.012878102250397205,
-0.005819802172482014,
0.01885376125574112,
-0.038339849561452866,
-0.04736393690109253,
0.02980799973011017,
-0.03393765911459923,
-1.2071478927566659e-8,
-0.003354189684614539,
-0.00030110005172900856,
-0.015508557669818401,
0.02451210841536522,
-0.021104637533426285,
0.01764894649386406,
0.004167611710727215,
-0.005670875310897827,
-0.024575725197792053,
0.015686357393860817,
-0.002912812400609255,
-0.012007865123450756,
-0.004453598987311125,
0.012730875983834267,
0.013866676017642021,
-0.005442341789603233,
-0.003945420496165752,
-0.024199804291129112,
0.03662389516830444,
-0.015283123590052128,
0.0032628728076815605,
0.02012675069272518,
0.00454490352421999,
-0.009310474619269371,
-0.041654322296381,
0.009891251102089882,
0.01594231091439724,
-0.06934963166713715,
-0.017394529655575752,
-0.02317415177822113,
0.0003631924046203494,
-0.010171768255531788,
-0.05820006877183914,
0.0344129242002964,
-0.012810523621737957,
-0.013914748094975948,
-0.010098150931298733,
0.027031751349568367,
0.01760241761803627,
0.0014723662752658129,
-0.06382963806390762,
-0.03834819048643112,
-0.023984283208847046,
-0.0374666303396225,
-0.03063793294131756,
0.023777956143021584,
-0.010645942762494087,
0.03623344376683235,
0.024682773277163506,
-0.006529747508466244,
0.021623529493808746,
-0.010867084376513958,
0.04893100634217262,
0.013424411416053772,
0.04074087738990784,
0.008454268798232079,
0.029428381472826004,
-0.0251375213265419,
-0.027351245284080505,
-0.028312863782048225,
0.017079327255487442,
0.043797921389341354,
-0.0040625156834721565,
0.01302189938724041
] | docker-find-network-for-container | https://markhneedham.com/blog/2019/05/24/docker-find-network-for-container |
false | 2019-05-23 07:58:00 | Deleting Kafka Topics on Docker | [
"docker",
"kafka"
] | [
"Kafka"
] | In this post we're going to learn how to delete a Kafka Topic when running a Kafka Broker on Docker.
[NOTE]
====
**Update: 26th July 2023**
While the approach described in this blog post still works, I think I've now got an even easier way using a command line tool called `rpk`.
If you're interested in seeing an alternative approach https://www.markhneedham.com/blog/2023/07/26/how-to-delete-kafka-topic/[check out my other blog post].
If not, as you were!
====
We'll spin up a local Kafka environment using the Docker Compose template from the https://markhneedham.com/blog/2019/05/16/kafka-basic-tutorial/[Kafka Basic Tutorial blog post^] that I wrote last week. Let's open a terminal window and run the following commands to set up our environment:
[source, bash]
----
git clone [email protected]:mneedham/basic-kafka-tutorial.git && cd basic-kafka-tutorial
docker-compose up
----
On another terminal window, run the following command to see the list of Docker containers that are running:
[source, bash]
----
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3851185ae46f jupyter/scipy-notebook:latest "tini -g -- start-no…" 7 days ago Up 3 minutes 0.0.0.0:8888->8888/tcp jupyter-tutorial
a118a60010ce confluentinc/cp-enterprise-kafka "/etc/confluent/dock…" 7 days ago Up 3 minutes 0.0.0.0:9092->9092/tcp, 9093/tcp broker-tutorial
1606bfe6e93d confluentinc/cp-zookeeper "/etc/confluent/dock…" 7 days ago Up 4 minutes 2888/tcp, 0.0.0.0:2181->2181/tcp, 3888/tcp zookeeper-tutorial
----
We're going to connect to `broker-tutorial`, seen on the 2nd line of this output, which is the container for our Kafka broker.
We'll use the https://docs.docker.com/engine/reference/commandline/exec/[`docker exec`^] command to connect to the broker, and use the `kafka-topics` command to create and delete a topic.
Jacek Laskowski gives a https://jaceklaskowski.gitbooks.io/apache-kafka/kafka-topic-deletion.html[detailed explanation of this command^] in https://jaceklaskowski.gitbooks.io/apache-kafka/[The Internals of Apache Kafka^] gitbook.
Let's start by creating a dummy topic, which we can do with the following command:
[source, bash]
----
docker exec broker-tutorial kafka-topics \
--create \
--zookeeper zookeeper:2181 \
--replication-factor 1 \
--partitions 1 \
--topic blog-dummy
----
.Output
[source, text]
----
Created topic "blog-dummy".
----
So far, so good.
Note that we also to pass in the `--zookeeper` argument to tell the command where our Zookeeper Instance is running.
The `zookeeper:2181` value is derived from the `hostname:ZOOKEEPER_CLIENT_PORT` values from the following fragment of our https://github.com/mneedham/basic-kafka-tutorial/blob/master/docker-compose.yml[Docker Compose file^]:
[source, yaml]
----
zookeeper:
image: confluentinc/cp-zookeeper
hostname: zookeeper
container_name: zookeeper-tutorial
ports:
- "2181:2181"
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
----
We can list all the topics available on this broker by running the following command:
[source, bash]
----
docker exec broker-tutorial kafka-topics \
--list \
--zookeeper zookeeper:2181
----
.Output
[source, text]
----
__confluent.support.metrics
_confluent-metrics
blog-dummy
----
There are a couple of Confluent metrics topics, but we can see our `blog-dummy` topic as well.
Now let's delete it by running the following command:
[source, bash]
----
docker exec broker-tutorial kafka-topics \
--delete \
--zookeeper zookeeper:2181 \
--topic blog-dummy
----
.Output
[source, text]
----
Topic blog-dummy is marked for deletion.
Note: This will have no impact if delete.topic.enable is not set to true.
----
We didn't actually set the `delete.topic.enable` parameter, so maybe our topic isn't actually going to be deleted.
If we look back at the other terminal window, however, we'll see the following output:
[source, bash]
----
broker-tutorial | [2019-05-23 06:29:23,307] INFO [Topic Deletion Manager 1], Handling deletion for topics blog-dummy (kafka.controller.TopicDeletionManager)
broker-tutorial | [2019-05-23 06:29:23,308] INFO [Topic Deletion Manager 1], Deletion of topic blog-dummy (re)started (kafka.controller.TopicDeletionManager)
broker-tutorial | [2019-05-23 06:29:23,308] INFO [Topic Deletion Manager 1], Topic deletion callback for blog-dummy (kafka.controller.TopicDeletionManager)
broker-tutorial | [2019-05-23 06:29:23,348] INFO [Topic Deletion Manager 1], Deletion of topic blog-dummy successfully completed (kafka.controller.TopicDeletionManager)
----
So it seems like our topic was deleted.
And, in fact, scrolling back through the output from running `docker-compose up` we'll find the following line:
[source, bash]
----
broker-tutorial | delegation.token.max.lifetime.ms = 604800000
broker-tutorial | delete.records.purgatory.purge.interval.requests = 1
broker-tutorial | delete.topic.enable = true
broker-tutorial | fetch.purgatory.purge.interval.requests = 1000
broker-tutorial | group.initial.rebalance.delay.ms = 0
----
So it seems like this property is set by default in the version that we're using.
We can list the topics one more time just to be sure:
[source, bash]
----
docker exec broker-tutorial kafka-topics \
--list \
--zookeeper zookeeper:2181
----
.Output
[source, text]
----
__confluent.support.metrics
_confluent-metrics
----
The Confluent Metrics topics remain, but `blog-dummy` is nowhere to be seen.
Success! | Learning how to delete a Kafka Topic when running a Kafka Broker on Docker. | null | [
-0.006682186853140593,
-0.023341801017522812,
-0.009873923845589161,
0.03965006396174431,
0.09149254113435745,
-0.007650843355804682,
0.005952856037765741,
0.06635802239179611,
-0.01617087610065937,
-0.02465171366930008,
-0.002128946129232645,
0.0009239079663529992,
-0.06613616645336151,
0.03365318104624748,
0.0051475889049470425,
0.04949057102203369,
0.06827698647975922,
-0.008897418156266212,
0.020774483680725098,
0.025524163618683815,
0.021934840828180313,
0.05349474400281906,
0.014234170317649841,
0.03433112055063248,
0.008644436486065388,
-0.002167312428355217,
0.0005682662595063448,
0.02163603901863098,
-0.0389283262193203,
-0.032164670526981354,
0.043965402990579605,
-0.00283751729875803,
0.01230550091713667,
-0.004411777947098017,
0.04028630629181862,
-0.022001642733812332,
-0.028478357940912247,
0.0180459376424551,
-0.004042407963424921,
0.02307809516787529,
-0.08327892422676086,
0.04786120727658272,
0.012883654795587063,
0.006133092567324638,
-0.017620738595724106,
0.015367206186056137,
-0.019991734996438026,
0.00861542858183384,
0.02842278778553009,
-0.016548236832022667,
-0.06712297350168228,
0.013292797841131687,
0.00708429329097271,
0.0005816707271151245,
0.002938539255410433,
0.027961384505033493,
0.012373912148177624,
-0.08213841170072556,
0.025649752467870712,
-0.002678312361240387,
-0.010790816508233547,
-0.016726689413189888,
0.009396226145327091,
0.027595022693276405,
0.006028615403920412,
-0.05032982677221298,
-0.009009438566863537,
0.035629235208034515,
-0.012702721171081066,
-0.008456364274024963,
0.0049589453265070915,
0.016365837305784225,
-0.007945101708173752,
-0.016010146588087082,
0.03442535921931267,
-0.0326906219124794,
0.004458829294890165,
0.03171151503920555,
0.03495180979371071,
0.05746662616729736,
-0.02058909460902214,
-0.023694416508078575,
-0.0039427136071026325,
0.046942442655563354,
0.02566266432404518,
-0.04398893192410469,
-0.057220108807086945,
0.0015949294902384281,
-0.07652059942483902,
0.05818701907992363,
0.042331233620643616,
-0.04050106182694435,
0.014575169421732426,
-0.008547792211174965,
-0.0033176662400364876,
0.025609023869037628,
0.0003179414488840848,
0.015661530196666718,
0.014461136423051357,
-0.014115520752966404,
-0.048295214772224426,
0.011958046816289425,
-0.018983453512191772,
0.05189003422856331,
-0.07133743911981583,
-0.05046936869621277,
-0.0211060531437397,
-0.024627532809972763,
0.00436022924259305,
0.026249714195728302,
-0.0008791884174570441,
0.03979657590389252,
0.003387365723028779,
0.013577527366578579,
-0.11182014644145966,
0.07988032698631287,
-0.008691089227795601,
-0.06720443814992905,
0.024414777755737305,
0.009076450020074844,
0.011598777957260609,
0.045079153031110764,
0.011971194297075272,
0.06355595588684082,
-0.009323753416538239,
0.002578573767095804,
0.0029362919740378857,
0.0560525506734848,
-0.041415780782699585,
-0.06022627279162407,
0.01978059858083725,
0.059599559754133224,
0.014763988554477692,
0.012704934924840927,
-0.009528440423309803,
-0.01718013547360897,
0.011946284212172031,
0.030245168134570122,
0.054269563406705856,
0.039701592177152634,
-0.010864564217627048,
-0.057390544563531876,
0.021091241389513016,
0.0331430621445179,
-0.004233825486153364,
0.008094354532659054,
0.0077111199498176575,
-0.03869790583848953,
-0.024570945650339127,
0.008792161010205746,
0.0015261879889294505,
0.022579442709684372,
0.0590318888425827,
-0.04698644205927849,
0.015161038376390934,
0.04562291502952576,
0.024611996486783028,
-0.0034846197813749313,
-0.028233259916305542,
0.010616611689329147,
0.025230050086975098,
0.03787161409854889,
0.01451861672103405,
0.018251726403832436,
0.0281452015042305,
-0.04146909341216087,
-0.003911099396646023,
0.02198673039674759,
0.015592318028211594,
-0.0030900342389941216,
-0.03727056458592415,
-0.020281439647078514,
0.048800744116306305,
-0.03329726308584213,
0.035703446716070175,
0.011287816800177097,
0.07447028160095215,
0.030406545847654343,
0.05528152361512184,
0.003680746303871274,
-0.07842087000608444,
0.06971725821495056,
-0.007366138510406017,
0.03069450706243515,
0.013938005082309246,
-0.03995629400014877,
0.046104829758405685,
0.00953068770468235,
0.0398763008415699,
0.02066144533455372,
-0.07385320216417313,
-0.06934156268835068,
-0.007086469326168299,
0.02088526263833046,
0.07812057435512543,
-0.04307341203093529,
-0.035547781735658646,
0.05448559299111366,
0.036045562475919724,
0.024003872647881508,
0.002602804685011506,
0.011004531756043434,
0.0162504855543375,
-0.08763612806797028,
-0.08221589028835297,
0.057679396122694016,
-0.01025333534926176,
-0.025247259065508842,
-0.04192130267620087,
0.019315725192427635,
-0.05497804284095764,
-0.023972494527697563,
0.023274937644600868,
-0.037662323564291,
0.06899336725473404,
0.008814005181193352,
0.013462753966450691,
-0.0232133399695158,
0.040020473301410675,
-0.022340849041938782,
0.024166688323020935,
0.008073726668953896,
-0.00900768768042326,
0.023242931813001633,
-0.00504944147542119,
0.0965607613325119,
0.07036758214235306,
-0.009011558257043362,
-0.021862581372261047,
0.059679463505744934,
0.029324166476726532,
-0.02726553939282894,
-0.006198588293045759,
-0.010999428108334541,
0.011899744160473347,
-0.013163397088646889,
-0.04794180020689964,
-0.042953237891197205,
-0.0013233786448836327,
-0.01580115407705307,
0.014968253672122955,
0.07318022847175598,
-0.021366912871599197,
0.07402455806732178,
0.01439726259559393,
-0.01935436762869358,
-0.017535226419568062,
-0.029345957562327385,
-0.08792601525783539,
0.005122005008161068,
0.014716509729623795,
-0.0004885374219156802,
0.046452101320028305,
-0.06662038713693619,
-0.020985165610909462,
-0.036097124218940735,
-0.062174007296562195,
0.012338545173406601,
0.0212863739579916,
0.04952237010002136,
-0.03396918252110481,
0.06413625925779343,
-0.04788879305124283,
0.01476362720131874,
-0.01915084198117256,
-0.038359615951776505,
-0.013482254929840565,
0.005289148073643446,
0.021976057440042496,
0.03214061260223389,
-0.0017960710683837533,
0.00409334059804678,
0.035995204001665115,
-0.022071415558457375,
-0.007774746976792812,
-0.011230435222387314,
0.015080802142620087,
0.004706935025751591,
0.024906449019908905,
-0.015596604906022549,
-0.03626086935400963,
0.03279899060726166,
-0.07045800238847733,
0.027777383103966713,
0.03723070025444031,
-0.07634928077459335,
0.035559527575969696,
-0.05464068800210953,
-0.01846763864159584,
-0.019454913213849068,
0.018507270142436028,
0.028562627732753754,
0.0117477523162961,
0.021448127925395966,
0.0540669746696949,
0.03181072697043419,
-0.016771622002124786,
0.007073779124766588,
0.004117915406823158,
0.029506683349609375,
-0.0063719237223267555,
0.015210471116006374,
0.07114382088184357,
0.008057567290961742,
-0.014910442754626274,
-0.055669207125902176,
0.018377574160695076,
-0.022134067490696907,
-0.27424582839012146,
0.0424167700111866,
-0.01958233304321766,
-0.021967222914099693,
0.009839052334427834,
-0.006807201541960239,
0.044240884482860565,
-0.05046708136796951,
-0.017359774559736252,
0.007462503854185343,
-0.06250638514757156,
-0.021985577419400215,
0.00022383127361536026,
0.06391490995883942,
-0.000786472694016993,
0.03245151415467262,
0.016442615538835526,
-0.04088766872882843,
-0.001362481969408691,
-0.0058952015824615955,
-0.0302149448543787,
-0.05047783628106117,
0.001711329910904169,
0.040130093693733215,
0.027691394090652466,
0.03964189440011978,
-0.08755610138177872,
0.05980594828724861,
-0.044578637927770615,
0.0047317370772361755,
-0.009372182190418243,
-0.015763089060783386,
-0.01844368316233158,
-0.007758744526654482,
-0.00002427424624329433,
0.001307957572862506,
0.010407497175037861,
-0.0026168059557676315,
0.004520142450928688,
0.031521573662757874,
-0.001856073853559792,
-0.015049105510115623,
-0.0031455166172236204,
-0.014084293507039547,
0.0620763823390007,
-0.001405345625244081,
-0.05037388205528259,
-0.011512069031596184,
-0.0218820683658123,
0.08600959926843643,
-0.025911269709467888,
-0.047776512801647186,
-0.0037261948455125093,
0.029087014496326447,
0.002353823743760586,
0.010854296386241913,
-0.03388172760605812,
-0.018601981922984123,
-0.026823822408914566,
-0.04976655915379524,
-0.0055278898216784,
-0.03652795031666756,
-0.023867914453148842,
-0.07276272773742676,
-0.025378961116075516,
-0.0556241013109684,
-0.06735123693943024,
-0.010958780534565449,
0.08609329164028168,
0.027942296117544174,
-0.08014620840549469,
-0.02141622267663479,
-0.008428579196333885,
-0.09788099676370621,
0.008152185007929802,
-0.018936030566692352,
-0.07940778136253357,
0.02131897583603859,
0.004271609243005514,
0.04018670693039894,
-0.0442986935377121,
-0.03990142419934273,
0.03173637017607689,
0.01064418163150549,
0.004848212003707886,
-0.04832487925887108,
0.03970097750425339,
-0.0030737011693418026,
-0.009380077943205833,
-0.008551457896828651,
0.04043564572930336,
-0.024981236085295677,
-0.03237403556704521,
-0.03891691565513611,
-0.012537043541669846,
0.04770136997103691,
0.004540543537586927,
0.0015144655480980873,
0.001947017153725028,
0.03511124849319458,
0.06504873931407928,
-0.046134818345308304,
0.0020189336501061916,
-0.048868678510189056,
-0.018405046314001083,
-0.007969825528562069,
-0.04142891615629196,
-0.0031277446541935205,
0.014961016364395618,
0.03340587764978409,
0.0062345643527805805,
-0.06955088675022125,
0.02863212302327156,
-0.059320706874132156,
-0.002688007429242134,
0.017320798709988594,
0.013716430403292179,
0.05566185340285301,
0.01789148896932602,
0.005226512439548969,
-0.047913458198308945,
0.025367816910147667,
-0.029010411351919174,
0.005188934039324522,
-0.033530592918395996,
-0.044799964874982834,
0.0040945690125226974,
-0.006349699106067419,
0.010654527693986893,
0.040919139981269836,
-0.013507612980902195,
0.020368210971355438,
0.048314303159713745,
-0.02643304318189621,
0.04367077723145485,
-0.04494430869817734,
-0.037177879363298416,
-0.050675272941589355,
0.016262982040643692,
0.010575339198112488,
-0.038699422031641006,
0.002576119266450405,
-0.002584242494776845,
0.02246979810297489,
0.035895347595214844,
0.025532936677336693,
0.04377083480358124,
0.0010933959856629372,
0.022841986268758774,
0.01418303046375513,
0.019295603036880493,
-0.03552090376615524,
0.012153340503573418,
-0.028021324425935745,
-0.03161366283893585,
-0.008375206030905247,
0.02811368554830551,
0.00808753538876772,
-0.018285682424902916,
-0.02006196230649948,
0.014961636625230312,
-0.06183972954750061,
-0.027212006971240044,
-0.03405619412660599,
-0.0011143517913296819,
0.05495151877403259,
-0.02249431051313877,
0.0333721898496151,
0.0046616666950285435,
-0.03890902176499367,
-0.009018989279866219,
-0.004271570593118668,
-0.028860919177532196,
0.0312434583902359,
0.02104109711945057,
-0.027482474222779274,
0.009498088620603085,
0.027760237455368042,
0.0514480359852314,
-0.004486151970922947,
0.008301440626382828,
-0.008343073539435863,
0.012589564546942711,
0.013113373890519142,
0.03061060979962349,
0.04490252956748009,
-0.006912326440215111,
0.003378418041393161,
-0.004419639706611633,
-0.0013528721174225211,
-0.027640296146273613,
0.006701427046209574,
0.015849946066737175,
0.007621760480105877,
-0.014332720078527927,
-0.057702112942934036,
0.04835331439971924,
0.02464788407087326,
0.00415315805003047,
0.01511927880346775,
-0.01707586459815502,
0.03349875286221504,
-0.04167674109339714,
0.045352865010499954,
0.0741468071937561,
-0.05211922153830528,
0.027212994173169136,
-0.0026013001333922148,
0.019245848059654236,
0.012920915149152279,
0.026646414771676064,
-0.061330460011959076,
-0.010897896252572536,
-0.01974029652774334,
-0.0008381560328416526,
-0.05788938328623772,
-0.01222314964979887,
-0.03855298087000847,
0.02018161676824093,
0.03780793398618698,
0.024745794013142586,
0.012185088358819485,
-0.00393212353810668,
-0.01877559907734394,
-0.04766658693552017,
0.04241175204515457,
-0.01786639913916588,
0.014915009029209614,
-0.018492622300982475,
-0.018286732956767082,
0.016555292531847954,
-0.03352608531713486,
0.041240330785512924,
0.0034742625430226326,
-0.02736211009323597,
-0.018244046717882156,
-0.023015864193439484,
-0.008702825754880905,
-0.015288116410374641,
0.05362813547253609,
0.011033976450562477,
-0.007875165902078152,
-0.04426064342260361,
-0.016007093712687492,
-0.024224231019616127,
-0.0043084691278636456,
0.004824844654649496,
0.025651035830378532,
0.03417995572090149,
0.01593109779059887,
0.004216968547552824,
0.013236232101917267,
-0.03307434543967247,
-0.07380100339651108,
0.047877661883831024,
-0.07446609437465668,
-0.04155762121081352,
-0.006620496977120638,
-0.0512891449034214,
0.023110268637537956,
0.010118459351360798,
0.03262850642204285,
-0.0771055594086647,
0.0474931076169014,
0.03364164009690285,
0.0011205151677131653,
0.023123186081647873,
0.0051504382863640785,
0.011538434773683548,
-0.009537899866700172,
-0.00044883714872412384,
-0.07819373160600662,
-0.0020253402180969715,
0.02972290851175785,
-0.020718973129987717,
0.017225781455636024,
0.0013692539650946856,
-0.050016533583402634,
0.033038731664419174,
-0.05355830863118172,
-0.028989214450120926,
0.042311351746320724,
-0.03362353518605232,
-0.02546611614525318,
0.013801348395645618,
-0.05569041147828102,
0.040489211678504944,
0.013267844915390015,
-0.03433546796441078,
-0.021870186552405357,
-0.001743961707688868,
0.041724007576704025,
-0.013923808000981808,
0.02916215918958187,
-0.009916659444570541,
-0.030315076932311058,
0.09258290380239487,
0.024261148646473885,
0.0011331320274621248,
0.030451970174908638,
-0.004514864645898342,
0.04232044890522957,
0.03188101947307587,
-0.012697421945631504,
0.008731852285563946,
0.0005108768818899989,
-0.04374941065907478,
-0.0465959869325161,
0.04952848702669144,
0.016660921275615692,
0.00003579529220587574,
-0.020099831745028496,
0.06398336589336395,
0.006361263804137707,
-0.0623931884765625,
-0.04742017760872841,
0.05512881278991699,
-0.05619313195347786,
-0.02944447100162506,
-0.02344118431210518,
0.03683331981301308,
-0.058663491159677505,
0.026098888367414474,
-0.015104119665920734,
-0.0037385777104645967,
0.0523279570043087,
-0.020528964698314667,
0.002618497936055064,
0.007015675771981478,
0.07386154681444168,
0.08400554209947586,
0.05692390352487564,
0.006688860710710287,
0.0447482094168663,
-0.0352579727768898,
-0.03927582502365112,
0.023242618888616562,
0.001496882876381278,
-0.030217833817005157,
-0.0395786315202713,
0.03748166561126709,
0.07444707304239273,
-0.04004349559545517,
0.0728803351521492,
-0.005470748990774155,
-0.015812812373042107,
-0.025365296751260757,
0.015121914446353912,
0.01216074451804161,
0.04057464748620987,
0.019898828119039536,
0.033052798360586166,
0.008444295264780521,
-0.06584247201681137,
0.03564675524830818,
-0.00395349133759737,
-0.032056502997875214,
0.02267165668308735,
-0.02784194052219391,
0.025932427495718002,
0.04207403585314751,
0.011041457764804363,
0.05950871855020523,
-0.018714239820837975,
0.0014005695702508092,
0.02689921297132969,
0.01803598366677761,
0.00006583284994121641,
0.018139978870749474,
-0.0130577702075243,
0.0016102718655019999,
0.0005770510178990662,
-0.02480325475335121,
-0.010330761782824993,
-0.015102543868124485,
-0.028607988730072975,
0.0018197443569079041,
-0.0033130969386547804,
0.009731472469866276,
0.026652690023183823,
-0.013407742604613304,
-0.05668942630290985,
-0.06025116518139839,
-0.054307971149683,
-0.06816686689853668,
-0.027214698493480682,
-0.03707075119018555,
0.0008732457645237446,
-0.00967437494546175,
-0.03521128371357918,
-0.027913739904761314,
-0.027693284675478935,
-0.010360409505665302,
0.02777303010225296,
-0.04713527113199234,
-0.027044648304581642,
0.01395946554839611,
0.010029085911810398,
-0.024506058543920517,
-0.010243706405162811,
0.07575223594903946,
0.026831556111574173,
-0.03041987121105194,
-0.0027719626668840647,
0.026952363550662994,
0.023063862696290016,
-0.03329750895500183,
-0.0035701238084584475,
-0.0509054958820343,
0.04024627059698105,
0.022099925205111504,
0.01470547541975975,
-0.07133018225431442,
0.03778844326734543,
0.004165054764598608,
0.029477378353476524,
0.05993935465812683,
-0.017251232638955116,
0.017766602337360382,
-0.03164328262209892,
-0.01882193610072136,
-0.03521804139018059,
-0.000977243878878653,
0.02543451264500618,
0.013410801999270916,
0.06582348048686981,
0.04287217557430267,
-0.006961291190236807,
-0.03994391858577728,
-0.024130865931510925,
-0.009064996615052223,
0.027469318360090256,
-0.03648340329527855,
-0.013435090892016888,
-0.02634722925722599,
-0.062272027134895325,
-0.028391987085342407,
0.01640338823199272,
0.002249062294140458,
-0.04581659287214279,
0.04374009370803833,
-0.012327028438448906,
-0.002060547936707735,
-0.005945886019617319,
-0.0472879633307457,
-0.02722354419529438,
-0.026823531836271286,
-0.015754058957099915,
-0.028766850009560585,
0.01691068895161152,
-0.004488800186663866,
-0.04045196622610092,
0.0030571212992072105,
-0.0455264188349247,
0.0028484356589615345,
-0.014646378345787525,
0.04745464399456978,
0.05357075855135918,
-0.011379693634808064,
-0.026466097682714462
] | [
-0.05889442563056946,
-0.0505174845457077,
0.0029171749483793974,
-0.028037898242473602,
0.04763925075531006,
-0.0772850438952446,
-0.01916799508035183,
0.0079471655189991,
-0.03133181110024452,
-0.016089601442217827,
0.007886436767876148,
-0.04048186540603638,
-0.01370108313858509,
-0.011808290146291256,
0.1007617861032486,
0.011585225351154804,
-0.01169988140463829,
-0.02949747070670128,
-0.04311903938651085,
0.011248208582401276,
-0.016498295590281487,
-0.05412440374493599,
-0.0498700775206089,
-0.03631780669093132,
0.014704970642924309,
0.03960935398936272,
0.05301050841808319,
-0.0379403755068779,
-0.02903532050549984,
-0.19074852764606476,
-0.004199743736535311,
-0.01801091805100441,
0.002437605056911707,
-0.017327800393104553,
0.012487298808991909,
0.046158529818058014,
0.03446054458618164,
0.004293531645089388,
-0.010713600553572178,
0.046006277203559875,
0.06768768280744553,
-0.006693331524729729,
-0.02293660119175911,
0.003541110549122095,
0.01120787113904953,
-0.005993952043354511,
-0.0073005445301532745,
-0.03598496690392494,
0.039900850504636765,
-0.003972506150603294,
-0.05120481923222542,
-0.0025304616428911686,
-0.03100661374628544,
-0.03208939731121063,
-0.007083538919687271,
0.000596556521486491,
0.062069084495306015,
0.05308276042342186,
0.030894210562109947,
0.010201660916209221,
0.026456695050001144,
0.003495231969282031,
-0.1433964967727661,
0.11693914979696274,
0.009774642996490002,
0.03642670437693596,
-0.0025525118689984083,
-0.021907955408096313,
-0.011624257080256939,
0.060283809900283813,
0.013984756544232368,
-0.014299377799034119,
-0.021547961980104446,
0.06027461588382721,
0.021670758724212646,
-0.015023665502667427,
-0.023493953049182892,
0.05303372070193291,
0.0216197669506073,
-0.03651133179664612,
-0.06355150789022446,
0.011882459744811058,
-0.032123859971761703,
-0.011687828227877617,
-0.08780959993600845,
-0.007129174657166004,
-0.02679290808737278,
0.04697354510426521,
0.0017112053465098143,
0.04721814766526222,
0.025238271802663803,
-0.017224103212356567,
0.10736452043056488,
0.002690619556233287,
-0.11310555785894394,
0.001490136026404798,
-0.053551964461803436,
0.017856504768133163,
-0.043278831988573074,
0.38966885209083557,
-0.008451525121927261,
-0.02303803525865078,
0.032733868807554245,
0.009546562097966671,
0.0006830986239947379,
0.01442482229322195,
-0.010809928178787231,
-0.040404222905635834,
0.04043189063668251,
0.00434317160397768,
0.008596885949373245,
-0.00015002951840870082,
0.03975861892104149,
-0.04019450023770332,
0.026749232783913612,
-0.006151252426207066,
0.06327717006206512,
0.03395528718829155,
-0.034856706857681274,
0.026910237967967987,
-0.018626056611537933,
-0.000793218263424933,
0.04136727750301361,
0.02259841002523899,
0.05200517177581787,
0.012628057040274143,
0.018411193042993546,
0.00946039892733097,
0.02943086065351963,
0.022495431825518608,
0.010012943297624588,
-0.053982771933078766,
-0.0575244277715683,
-0.014062133617699146,
0.0031406604684889317,
-0.013447927311062813,
0.030362354591488838,
-0.07122493535280228,
-0.02274458296597004,
0.015726126730442047,
-0.05460844933986664,
-0.0484497956931591,
0.03714258223772049,
-0.04264054074883461,
-0.013303497806191444,
0.11016805469989777,
0.01420076284557581,
-0.035701170563697815,
-0.0016766090411692858,
-0.042914945632219315,
0.006528174038976431,
0.051065318286418915,
0.012562548741698265,
-0.0748419314622879,
0.03370600938796997,
-0.009305769577622414,
0.06488889455795288,
0.009060559794306755,
-0.0699310228228569,
0.010115197859704494,
-0.05825510993599892,
-0.0830700621008873,
-0.03402020409703255,
0.02458793856203556,
0.02725369855761528,
-0.09293379634618759,
-0.006690183188766241,
0.000945594219956547,
0.021676842123270035,
-0.007928007282316685,
-0.03454786166548729,
0.04173668101429939,
-0.008135408163070679,
-0.029441067948937416,
0.040062252432107925,
-0.03107067011296749,
0.012369850650429726,
0.026598773896694183,
0.04618928208947182,
-0.0007139296503737569,
-0.023574255406856537,
0.033052463084459305,
-0.024673430249094963,
-0.006251142825931311,
-0.019082820042967796,
-0.08981437981128693,
-0.04682052135467529,
-0.015696464106440544,
-0.02803315594792366,
-0.03538546711206436,
-0.05382934585213661,
-0.02792407013475895,
-0.01190596166998148,
0.09414822608232498,
0.007661721203476191,
-0.012967628426849842,
0.012779065407812595,
0.017564326524734497,
0.021807922050356865,
-0.030490966513752937,
-0.007339539937674999,
0.036636997014284134,
-0.048212096095085144,
0.03137042745947838,
-0.08334819972515106,
0.0598696693778038,
0.04588726535439491,
-0.02661406807601452,
0.0636587142944336,
0.037569642066955566,
-0.020107056945562363,
0.012498441152274609,
-0.027402488514780998,
0.022976648062467575,
-0.001194690470583737,
-0.015042838640511036,
0.004042796324938536,
0.013257119804620743,
0.006005053874105215,
0.010889214463531971,
0.017681855708360672,
-0.01341540738940239,
-0.013945532031357288,
-0.3511717915534973,
-0.019716830924153328,
-0.02803650125861168,
0.001266741775907576,
-0.004154856316745281,
-0.0845465362071991,
0.015586656518280506,
-0.011831521987915039,
-0.0047889756970107555,
0.015659859403967857,
0.069437675178051,
-0.0734429657459259,
0.021934064105153084,
-0.07866538316011429,
0.03200209513306618,
0.04604712873697281,
-0.017920995131134987,
-0.006036748178303242,
-0.009636055678129196,
-0.01054316945374012,
0.01889941655099392,
-0.014371811412274837,
-0.015512043610215187,
-0.02589602582156658,
0.027998186647892,
-0.00575359258800745,
0.10073782503604889,
0.04871908202767372,
0.11609586328268051,
-0.04372191056609154,
0.06592404842376709,
0.037905026227235794,
0.014116887003183365,
-0.09893926233053207,
-0.030673690140247345,
-0.017984585836529732,
0.006201968062669039,
-0.01743376813828945,
0.004766102880239487,
0.007299089338630438,
-0.04614647477865219,
0.03870851919054985,
-0.08154204487800598,
-0.09626954048871994,
-0.02702081762254238,
0.010532512329518795,
-0.02247435972094536,
0.038448210805654526,
-0.0407300665974617,
0.06644973903894424,
0.0051313587464392185,
0.024974163621664047,
-0.0008349510608240962,
0.030026661232113838,
0.03789311647415161,
0.011042450554668903,
-0.03578457981348038,
-0.049379218369722366,
-0.0051340628415346146,
0.03924010321497917,
0.034299418330192566,
0.09695309400558472,
0.0207128394395113,
-0.05864857882261276,
0.0050833215937018394,
0.02543056197464466,
-0.02976345643401146,
0.058924511075019836,
0.05334562808275223,
-0.03448116406798363,
-0.03258709982037544,
0.09255103021860123,
-0.008104043081402779,
0.009286515414714813,
0.06829725205898285,
0.057620055973529816,
-0.03281098231673241,
0.023588981479406357,
-0.008882437832653522,
0.016321368515491486,
0.05405404791235924,
-0.034416280686855316,
0.04515128582715988,
-0.015852423384785652,
0.014562008902430534,
0.06779297441244125,
-0.024001367390155792,
-0.03765730932354927,
0.052090901881456375,
-0.012572077102959156,
-0.05078976973891258,
0.0022139600478112698,
-0.022919218987226486,
-0.06085183843970299,
0.07708530873060226,
0.003499878803268075,
-0.23990027606487274,
0.04161505773663521,
0.07000017911195755,
0.054457616060972214,
0.033152684569358826,
0.016412610188126564,
0.00030330399749800563,
-0.059119291603565216,
0.002654394367709756,
0.025650158524513245,
-0.008478459902107716,
0.06913389265537262,
0.0024205120280385017,
-0.0015793993370607495,
0.03175539895892143,
-0.03097236528992653,
0.02220373973250389,
0.014200651086866856,
0.0018514959374442697,
0.0045942263677716255,
0.004341440740972757,
-0.02559133619070053,
0.14612175524234772,
0.041038721799850464,
-0.024783002212643623,
-0.015839833766222,
0.014901991933584213,
0.02599666826426983,
0.028361868113279343,
0.020685434341430664,
0.0025969636626541615,
0.022659283131361008,
0.02112608589231968,
-0.005193570163100958,
0.06594647467136383,
-0.05833230912685394,
-0.01836625672876835,
0.038300931453704834,
0.0030721386428922415,
-0.05065431073307991,
-0.018877340480685234,
0.040682706981897354,
0.003852869849652052,
0.012893188744783401,
0.057007282972335815,
-0.04802607744932175,
-0.0023502425756305456,
-0.06891866773366928,
-0.046051621437072754,
-0.03701983392238617,
-0.007799910381436348,
-0.045605141669511795,
0.014368263073265553,
0.0077544222585856915,
0.01805487461388111,
0.0790504515171051,
0.005971014965325594,
-0.03676843270659447,
0.01479622907936573,
-0.002659768331795931,
0.0028365603648126125,
-0.03137977793812752,
0.10348664224147797,
-0.019022133201360703,
0.051847074180841446
] | [
0.014285835437476635,
0.03671170026063919,
-0.0053819757886230946,
-0.002909765113145113,
0.0050342935137450695,
-0.006830304861068726,
0.0061873397789895535,
-0.0036349103320389986,
0.0076724207028746605,
0.01880643703043461,
-0.022281460464000702,
-0.017242183908820152,
0.008194060064852238,
-0.012575273402035236,
-0.00794372707605362,
-0.07210291177034378,
0.04784390702843666,
0.027087006717920303,
0.02239641360938549,
0.0007297713309526443,
-0.06556455790996552,
0.020376112312078476,
0.006568700075149536,
-0.003192661562934518,
0.0025754785165190697,
0.030729694291949272,
-0.02511635422706604,
0.012592370621860027,
0.013884052634239197,
-0.10829382389783859,
-0.00838386919349432,
-0.021840469911694527,
-0.0045457081869244576,
-0.021501928567886353,
0.05472225323319435,
0.032110877335071564,
-0.024607699364423752,
0.001106268959119916,
-0.01142418198287487,
-0.000240358043811284,
0.04209866374731064,
-0.032928772270679474,
-0.004934621974825859,
0.006380060687661171,
-0.012250923551619053,
-0.02655825950205326,
-0.062459249049425125,
-0.03666267171502113,
0.007870041765272617,
-0.012735831551253796,
-0.04265260323882103,
0.015917694196105003,
-0.031598206609487534,
0.019843511283397675,
0.016200825572013855,
0.0021621398627758026,
-0.00914982333779335,
0.023113910108804703,
0.028695162385702133,
0.008275962434709072,
-0.015016874298453331,
0.01732805371284485,
-0.04728637635707855,
-0.030615685507655144,
0.014271409250795841,
-0.030833980068564415,
-0.021010341122746468,
0.013238438405096531,
0.010752901434898376,
0.04451585188508034,
0.010903509333729744,
0.037493132054805756,
-0.03807130828499794,
-0.030947905033826828,
0.004510394297540188,
0.02216792106628418,
0.022891486063599586,
0.008526336401700974,
-0.0200756024569273,
0.01102032233029604,
-0.03008994087576866,
-0.002795921638607979,
-0.022776981815695763,
-0.02201497182250023,
-0.054937269538640976,
-0.00880187377333641,
-0.033122289925813675,
-0.00924772024154663,
0.04324384778738022,
-0.008820446208119392,
0.019133377820253372,
0.031240317970514297,
0.0024051947984844446,
-0.03509887680411339,
-0.05657009035348892,
-0.02602938562631607,
-0.034449320286512375,
-0.017779512330889702,
-0.0001295102119911462,
0.8248305916786194,
-0.004524626303464174,
0.013295842334628105,
0.012008083052933216,
0.02174399234354496,
0.037853218615055084,
-0.010708168148994446,
-0.027406208217144012,
-0.03474526107311249,
-0.004256324842572212,
-0.03297797963023186,
-0.004237012472003698,
-0.01797265186905861,
0.0008458246593363583,
0.034200869500637054,
0.04229075089097023,
0.028380077332258224,
0.03592268005013466,
-0.014778968878090382,
-0.025226719677448273,
0.025517219677567482,
0.03568708151578903,
-0.06023961678147316,
0.006062870379537344,
-0.0005372574087232351,
-0.029788726940751076,
-0.16659106314182281,
0.007007955107837915,
-6.52189392027954e-33,
0.04642589017748833,
-0.056941498070955276,
0.03182998672127724,
0.00551182497292757,
0.06630338728427887,
-0.000017956857846002094,
-0.011018656194210052,
-0.03755636140704155,
-0.018417714163661003,
-0.002593868412077427,
-0.028714947402477264,
0.009526935406029224,
-0.035652920603752136,
-0.03150821477174759,
0.01687915250658989,
-0.0004250753845553845,
-0.029812131077051163,
0.028828557580709457,
-0.027851171791553497,
0.007517611607909203,
0.049027640372514725,
0.039755601435899734,
-0.03138025850057602,
0.0005782077205367386,
0.043671973049640656,
0.0028417364228516817,
0.030137062072753906,
-0.035142313688993454,
0.015473579987883568,
-0.041596122086048126,
-0.031147412955760956,
0.022275464609265327,
-0.03970422223210335,
-0.021379685029387474,
-0.027104288339614868,
-0.05896768718957901,
-0.044301655143499374,
0.002227188553661108,
-0.04066995531320572,
-0.0060571543872356415,
-0.04384014755487442,
-0.04408199340105057,
-0.04318210482597351,
-0.0003945195931009948,
-0.008420395664870739,
-0.024870479479432106,
0.01707134209573269,
0.04098805412650108,
0.023646876215934753,
0.036243148148059845,
0.06242860481142998,
-0.03400356322526932,
0.0037516795564442873,
0.030226271599531174,
-0.03506170213222504,
0.01337868720293045,
0.020818842574954033,
-0.005102932918816805,
0.0036790224257856607,
-0.00781320035457611,
0.010518263094127178,
-0.0025111581198871136,
0.015566365793347359,
0.026918407529592514,
0.026939382776618004,
0.030062038451433182,
0.0029047110583633184,
0.05217687040567398,
-0.003070828039199114,
0.05631709471344948,
-0.04171375557780266,
0.015296769328415394,
-0.015957651659846306,
-0.022321531549096107,
0.01647116057574749,
-0.02165709063410759,
0.016549695283174515,
0.016001127660274506,
-0.024984210729599,
0.0506129153072834,
0.025808406993746758,
0.013742303475737572,
-0.0011126484023407102,
-0.0137546481564641,
-0.0257958322763443,
-0.03135094791650772,
0.011789192445576191,
0.014940137974917889,
0.013358041644096375,
0.00811625923961401,
0.04083581268787384,
0.05554138496518135,
0.01987912319600582,
0.0028077783063054085,
-0.07038532197475433,
6.455930320099177e-33,
0.01598707027733326,
-0.027448780834674835,
-0.026726415380835533,
-0.003213625866919756,
-0.0029331448022276163,
-0.02099875546991825,
0.05955032631754875,
0.011663176119327545,
-0.002358369529247284,
0.010612992569804192,
-0.028353825211524963,
0.01680040918290615,
-0.012278907001018524,
0.04871487617492676,
0.03754280507564545,
-0.011827943846583366,
0.0066899629309773445,
0.0055369604378938675,
0.005457936320453882,
-0.007800073828548193,
-0.0048522185534238815,
-0.011076563037931919,
0.007855984382331371,
0.044178497046232224,
0.00288919429294765,
0.013410447165369987,
0.007796594873070717,
0.015170818194746971,
-0.034055523574352264,
-0.014852680265903473,
0.019440805539488792,
-0.0029703229665756226,
0.021171757951378822,
0.013432553969323635,
-0.012077179737389088,
0.033882200717926025,
0.0005832940805703402,
0.04687920957803726,
-0.026171347126364708,
-0.012746630236506462,
0.026027223095297813,
0.006231657229363918,
0.0037396701518446207,
0.035895708948373795,
-0.020367193967103958,
-0.01405189000070095,
0.03378738835453987,
0.013378243893384933,
-0.003368483390659094,
0.011333963833749294,
-0.03547409549355507,
0.008889144286513329,
0.012444294057786465,
0.017001690343022346,
0.004139276221394539,
-0.0022540735080838203,
-0.02315893955528736,
0.03745124116539955,
0.021093841642141342,
0.02771085500717163,
0.039148349314928055,
-0.02801012434065342,
-0.001770189730450511,
0.030019236728549004,
-0.02033192291855812,
-0.007968185469508171,
0.005681374575942755,
-0.0042620995081961155,
-0.01808573119342327,
-0.010025810450315475,
0.03081880882382393,
0.0016553282039240003,
-0.009687906131148338,
0.05274200439453125,
0.04571409150958061,
-0.019832855090498924,
-0.00876559130847454,
0.024989880621433258,
-0.017515838146209717,
0.03704231232404709,
0.019255558028817177,
0.023698702454566956,
-0.02144610323011875,
-0.03506593778729439,
-0.016503727063536644,
0.0051212008111178875,
-0.019826477393507957,
0.01913694106042385,
0.03742339462041855,
-0.012998949736356735,
0.009346993640065193,
-0.05079348385334015,
-0.024339191615581512,
0.027991333976387978,
-0.027864661067724228,
-1.2213545730332953e-8,
0.04633640870451927,
0.0021050930954515934,
-0.0049118781462311745,
0.04395275190472603,
-0.01776866242289543,
0.00777406757697463,
0.012880075722932816,
0.012798762880265713,
-0.045229338109493256,
0.018555626273155212,
-0.020879972726106644,
-0.02394920215010643,
-0.008433138951659203,
0.022385621443390846,
0.037148818373680115,
0.008074161596596241,
-0.009960629977285862,
-0.003296230686828494,
0.02914152666926384,
-0.012875593267381191,
0.044692572206258774,
0.013840598054230213,
0.03218274191021919,
-0.01363515853881836,
-0.0362258106470108,
0.01684480719268322,
-0.0012489688815549016,
-0.05533792823553085,
-0.033303115516901016,
-0.013459762558341026,
-0.00008236934809247032,
-0.04298069328069687,
-0.0363195464015007,
0.02852955460548401,
-0.03118857368826866,
-0.009425520896911621,
-0.020237259566783905,
0.02952738292515278,
0.0023078673984855413,
0.01977289840579033,
-0.09324834495782852,
-0.0057873171754181385,
-0.04247806593775749,
-0.04547438398003578,
-0.04108260199427605,
0.037631481885910034,
-0.01599709875881672,
0.028379986062645912,
0.0062276581302285194,
-0.010547664016485214,
0.015312865376472473,
-0.0094450693577528,
0.030449004843831062,
-0.015278378501534462,
0.029891956597566605,
0.034997839480638504,
0.023684430867433548,
-0.013955045491456985,
-0.012969586998224258,
-0.04143286123871803,
0.025609713047742844,
0.03432070091366768,
-0.013620108366012573,
-0.006064312532544136
] | deleting-kafka-topics-on-docker | https://markhneedham.com/blog/2019/05/23/deleting-kafka-topics-on-docker |
false | 2019-05-23 12:46:00 | Processing Neo4j Transaction Events with KSQL and Kafka Streams | [
"ksql",
"kafka",
"neo4j"
] | [
"Kafka"
] | The https://neo4j-contrib.github.io/neo4j-streams[Neo4j Streams Library^] lets users send transaction events to a Kafka topic, and in this post we're going to learn how to explore these events using the KSQL streaming SQL Engine.
All the infrastructure used in this post can be launched locally from Docker compose, using the following command:
[source, bash]
----
git clone [email protected]:mneedham/ksql-kafka-neo4j-streams.git && cd ksql-kafka-neo4j-streams
docker-compose-up
----
Running this command will create four containers:
[source, bash]
----
Starting zookeeper-blog ...
Starting broker-blog ...
Starting ksql-server-blog ...
Starting neo4j-blog ...
----
While that's running, let's learn how to use the Neo4j Streams Library.
The library has four parts:
* Neo4j Streams Procedure: a procedure to send a payload to a topic
* Neo4j Streams Producer: a transaction event handler events that sends data to a Kafka topic
* Neo4j Streams Consumer: a Neo4j application that ingest data from Kafka topics into Neo4j via templated Cypher Statements
* Kafka-Connect Plugin: a plugin for the Confluent Platform that allows to ingest data into Neo4j, from Kafka topics, via Cypher queries.
We're going to use the Neo4j Streams Producer to configure a source that will publish all nodes with the `User` label to the `users_blog` topic.
If we were deploying Neo4j in a non Docker environment we'd do this by adding the following line to our Neo4j Configuration file:
[source, xml]
----
streams.source.topic.nodes.users_blog= User{*}
----
But in our case we're using Docker, so instead we'll define the following environment variable:
[source, yaml]
----
NEO4J_streams_source_topic_nodes_users__blog: User{*}
----
We can also see this configuration in the https://github.com/mneedham/ksql-kafka-neo4j-streams/blob/master/docker-compose.yml#L22[Docker Compose file^]:
Now we're going to run a Cypher fragment that creates some `User` nodes in the Neo4j Browser, which is accessible from `http://localhost:7474`:
[source, cypher]
----
UNWIND range(0, 100) AS id
CREATE (u:User {id: id})
> Added 101 labels, created 101 nodes, set 101 properties, completed after 173 ms.
----
The diagram below shows the workflow of our query going into Neo4j, and then events being published to Kafka:
image::{{<siteurl>}}/uploads/2019/05/neo4j_source.png[]
Once this query has completed, events capturing the creation of those nodes will be published to the `users_blog` topic.
We can then use KSQL to explore that data.
But first things first, what is KSQL?
[quote, 'https://docs.confluent.io/current/ksql/docs/index.html[KSQL Documentation^]']
____
KSQL is the streaming SQL engine for Apache Kafka®.
It provides an easy-to-use yet powerful interactive SQL interface for stream processing on Kafka, without the need to write code in a programming language such as Java or Python.
KSQL is scalable, elastic, fault-tolerant, and real-time. It supports a wide range of streaming operations, including data filtering, transformations, aggregations, joins, windowing, and sessionization.
____
We'll execute KSQL queries using the KSQL CLI Docker container.
Before we launch that container we need to know the name of the network on which our other containers are running.
We can run the following code to determine the network:
[source, bash]
----
for container in `docker container ls --format "{{.Names}}"`; do
network=`docker inspect $container --format='{{ .HostConfig.NetworkMode }}'`
printf '%-20s %-15s\n' $container $network
done
ksql-server-blog ksql-kafka-neo4j-streams_default
neo4j-blog ksql-kafka-neo4j-streams_default
broker-blog ksql-kafka-neo4j-streams_default
zookeeper-blog ksql-kafka-neo4j-streams_default
----
All of our containers are using the network called `ksql-kafka-neo4j-streams_default`, a value that we'll pass to the `--network` parameter when we launch the KSQL CLI container:
[source, bash]
----
$ docker run --network ksql-kafka-neo4j-streams_default --rm --interactive --tty confluentinc/cp-ksql-cli:5.2.1 http://ksql-server:8088
----
Note that the `http://ksql-server:8088` value at the end of the command refers to the container name and listener port of our KSQL Server, which we can see in the following fragment of our Docker Compose file:
[source, yaml]
----
ksql-server:
container_name: ksql-server
image: "confluentinc/cp-ksql-server:5.2.1"
depends_on:
- broker
environment:
KSQL_BOOTSTRAP_SERVERS: broker:9093
KSQL_LISTENERS: http://0.0.0.0:8088
----
When we run that command we should see the following output:
[source, bash]
----
===========================================
= _ __ _____ ____ _ =
= | |/ // ____|/ __ \| | =
= | ' /| (___ | | | | | =
= | < \___ \| | | | | =
= | . \ ____) | |__| | |____ =
= |_|\_\_____/ \___\_\______| =
= =
= Streaming SQL Engine for Apache Kafka® =
===========================================
Copyright 2017-2018 Confluent Inc.
CLI v5.2.1, Server v5.2.1 located at http://ksql-server:8088
Having trouble? Type 'help' (case-insensitive) for a rundown of how things work!
ksql>
----
If we see this prompt we're ready to roll.
We'll create a stream over the `users_blog` topic by running the following query:
[source, sql]
----
CREATE STREAM users_blog(
payload STRUCT<
id varchar,
type varchar,
before STRUCT<
labels ARRAY<varchar>,
`properties` MAP<varchar,varchar>
>,
after STRUCT<
labels ARRAY<varchar>,
`properties` MAP<varchar,varchar>
>
>,
meta STRUCT <
timestamp bigint,
operation varchar,
username varchar
>
)
WITH(KAFKA_TOPIC='users_blog', value_format='json');
----
The fields and field types defined in this stream are based on the event definitions from the https://neo4j-contrib.github.io/neo4j-streams/#_transaction_event_handler[Transaction Event Handler section^] of the Neo4j Streams documentation.
Next we'll run the following statement to tell KSQL to read from the beginning of the topic:
[source, sql]
----
ksql> SET 'auto.offset.reset' = 'earliest';
Successfully changed local property 'auto.offset.reset' to 'earliest'. Use the UNSET command to revert your change.
----
And now let's query the stream:
[source, sql]
----
ksql> SELECT * FROM users_blog LIMIT 10;
1558621108556 | 4-0 | {ID=0, TYPE=node, BEFORE=null, AFTER={LABELS=[User], properties={id=0}}} | {TIMESTAMP=1558621108484, OPERATION=created, USERNAME=neo4j}
1558621108828 | 5-1 | {ID=1, TYPE=node, BEFORE=null, AFTER={LABELS=[User], properties={id=1}}} | {TIMESTAMP=1558621108484, OPERATION=created, USERNAME=neo4j}
1558621108830 | 6-2 | {ID=2, TYPE=node, BEFORE=null, AFTER={LABELS=[User], properties={id=2}}} | {TIMESTAMP=1558621108484, OPERATION=created, USERNAME=neo4j}
1558621108831 | 7-3 | {ID=3, TYPE=node, BEFORE=null, AFTER={LABELS=[User], properties={id=3}}} | {TIMESTAMP=1558621108484, OPERATION=created, USERNAME=neo4j}
1558621108832 | 8-4 | {ID=4, TYPE=node, BEFORE=null, AFTER={LABELS=[User], properties={id=4}}} | {TIMESTAMP=1558621108484, OPERATION=created, USERNAME=neo4j}
1558621108833 | 9-5 | {ID=5, TYPE=node, BEFORE=null, AFTER={LABELS=[User], properties={id=5}}} | {TIMESTAMP=1558621108484, OPERATION=created, USERNAME=neo4j}
1558621108834 | 10-6 | {ID=6, TYPE=node, BEFORE=null, AFTER={LABELS=[User], properties={id=6}}} | {TIMESTAMP=1558621108484, OPERATION=created, USERNAME=neo4j}
1558621108835 | 11-7 | {ID=7, TYPE=node, BEFORE=null, AFTER={LABELS=[User], properties={id=7}}} | {TIMESTAMP=1558621108484, OPERATION=created, USERNAME=neo4j}
1558621108835 | 12-8 | {ID=8, TYPE=node, BEFORE=null, AFTER={LABELS=[User], properties={id=8}}} | {TIMESTAMP=1558621108484, OPERATION=created, USERNAME=neo4j}
1558621108837 | 13-9 | {ID=9, TYPE=node, BEFORE=null, AFTER={LABELS=[User], properties={id=9}}} | {TIMESTAMP=1558621108484, OPERATION=created, USERNAME=neo4j}
Limit Reached
Query terminated
----
We can see the first ten nodes that were created by the Cypher query that we ran earlier.
Notice that the operation is `created`.
What if we take each of those nodes and add a `name` property by running the following Cypher query in the Neo4j Browser?
[source, cypher]
----
MATCH (u:User)
SET u.name = "Name-" + u.id
> Set 101 properties, completed after 57 ms.
----
We can now run the following query to see the different types of events on our stream:
[source, sql]
----
ksql> SELECT meta->operation, count(*) FROM users_blog GROUP BY meta->operation;
created | 101
updated | 101
----
We can view those events by running the following command and waiting until it gets to the last few entries:
[source, sql]
----
ksql> SELECT * FROM users_blog;
...
1558622181521 | 101-95 | {ID=90, TYPE=node, BEFORE={LABELS=[User], properties={id=90}}, AFTER={LABELS=[User], properties={name=Name-90, id=90}}} | {TIMESTAMP=1558622181434, OPERATION=updated, USERNAME=neo4j}
1558622181522 | 102-96 | {ID=75, TYPE=node, BEFORE={LABELS=[User], properties={id=75}}, AFTER={LABELS=[User], properties={name=Name-75, id=75}}} | {TIMESTAMP=1558622181434, OPERATION=updated, USERNAME=neo4j}
1558622181522 | 103-97 | {ID=60, TYPE=node, BEFORE={LABELS=[User], properties={id=60}}, AFTER={LABELS=[User], properties={name=Name-60, id=60}}} | {TIMESTAMP=1558622181434, OPERATION=updated, USERNAME=neo4j}
1558622181523 | 104-98 | {ID=45, TYPE=node, BEFORE={LABELS=[User], properties={id=45}}, AFTER={LABELS=[User], properties={name=Name-45, id=45}}} | {TIMESTAMP=1558622181434, OPERATION=updated, USERNAME=neo4j}
1558622181523 | 105-99 | {ID=30, TYPE=node, BEFORE={LABELS=[User], properties={id=30}}, AFTER={LABELS=[User], properties={name=Name-30, id=30}}} | {TIMESTAMP=1558622181434, OPERATION=updated, USERNAME=neo4j}
1558622181523 | 106-100 | {ID=15, TYPE=node, BEFORE={LABELS=[User], properties={id=15}}, AFTER={LABELS=[User], properties={name=Name-15, id=15}}} | {TIMESTAMP=1558622181434, OPERATION=updated, USERNAME=neo4j}
----
Note that the properties now include both the `id` from when we created the nodes, as well as the `name` that we just added.
We can now create separate streams to process the created and updated records:
__users_blog_created__
[source, sql]
----
CREATE STREAM users_blog_created AS
SELECT *
FROM users_blog
WHERE meta->operation = 'created';
----------------------------
Stream created and running
----------------------------
----
__users_blog_updated__
[source, sql]
----
CREATE STREAM users_blog_updated AS
SELECT *
FROM users_blog
WHERE meta->operation = 'updated';
----------------------------
Stream created and running
----------------------------
----
And now we can query these streams individually.
__users_blog_created__
[source, sql]
----
ksql> SELECT * FROM users_blog_created LIMIT 5;
1558621108556 | 4-0 | {ID=0, TYPE=node, BEFORE=null, AFTER={LABELS=[User], properties={id=0}}} | {TIMESTAMP=1558621108484, OPERATION=created, USERNAME=neo4j}
1558621108841 | 16-12 | {ID=12, TYPE=node, BEFORE=null, AFTER={LABELS=[User], properties={id=12}}} | {TIMESTAMP=1558621108484, OPERATION=created, USERNAME=neo4j}
1558621108835 | 11-7 | {ID=7, TYPE=node, BEFORE=null, AFTER={LABELS=[User], properties={id=7}}} | {TIMESTAMP=1558621108484, OPERATION=created, USERNAME=neo4j}
1558621108844 | 17-13 | {ID=13, TYPE=node, BEFORE=null, AFTER={LABELS=[User], properties={id=13}}} | {TIMESTAMP=1558621108484, OPERATION=created, USERNAME=neo4j}
1558621108835 | 12-8 | {ID=8, TYPE=node, BEFORE=null, AFTER={LABELS=[User], properties={id=8}}} | {TIMESTAMP=1558621108484, OPERATION=created, USERNAME=neo4j}
Limit Reached
Query terminated
----
__users_blog_updated__
[source, sql]
----
ksql> SELECT * FROM users_blog_updated LIMIT 5;
1558622181456 | 7-1 | {ID=17, TYPE=node, BEFORE={LABELS=[User], properties={id=17}}, AFTER={LABELS=[User], properties={name=Name-17, id=17}}} | {TIMESTAMP=1558622181434, OPERATION=updated, USERNAME=neo4j}
1558622181460 | 12-6 | {ID=8, TYPE=node, BEFORE={LABELS=[User], properties={id=8}}, AFTER={LABELS=[User], properties={name=Name-8, id=8}}} | {TIMESTAMP=1558622181434, OPERATION=updated, USERNAME=neo4j}
1558622181454 | 6-0 | {ID=0, TYPE=node, BEFORE={LABELS=[User], properties={id=0}}, AFTER={LABELS=[User], properties={name=Name-0, id=0}}} | {TIMESTAMP=1558622181434, OPERATION=updated, USERNAME=neo4j}
1558622181457 | 8-2 | {ID=34, TYPE=node, BEFORE={LABELS=[User], properties={id=34}}, AFTER={LABELS=[User], properties={name=Name-34, id=34}}} | {TIMESTAMP=1558622181434, OPERATION=updated, USERNAME=neo4j}
1558622181459 | 11-5 | {ID=85, TYPE=node, BEFORE={LABELS=[User], properties={id=85}}, AFTER={LABELS=[User], properties={name=Name-85, id=85}}} | {TIMESTAMP=1558622181434, OPERATION=updated, USERNAME=neo4j}
Limit Reached
Query terminated
----
We could then create consumers that subscribe to these streams and process the events published, but that's for another blog post! | Learn how to process Neo4j Transaction events with KSQL and Kafka Streams. | null | [
0.009569693356752396,
-0.034192781895399094,
0.0005122384754940867,
0.05133133754134178,
0.08561647683382034,
-0.004314346704632044,
0.014032071456313133,
0.05271404609084129,
0.0026650677900761366,
-0.003507640678435564,
-0.011179299093782902,
-0.02110176347196102,
-0.06965091824531555,
0.027916308492422104,
0.004405470099300146,
0.05140899121761322,
0.05307236686348915,
0.004728223197162151,
0.04777088761329651,
-0.00625193677842617,
0.0006152544519864023,
0.04200005531311035,
0.014289673417806625,
0.06100200489163399,
0.020101262256503105,
0.00423236470669508,
0.007212789263576269,
0.015875594690442085,
-0.03797353431582451,
0.00016891561972443014,
0.057646241039037704,
0.015350866131484509,
0.008398691192269325,
0.003106161952018738,
0.029535507783293724,
-0.0077826413325965405,
-0.020309995859861374,
-0.000037096411688253284,
-0.002175726229324937,
0.011618636548519135,
-0.08526989817619324,
0.04089249297976494,
-0.005471836309880018,
0.009862297214567661,
-0.027682507410645485,
0.0015207359101623297,
-0.030453883111476898,
0.037603914737701416,
0.0002525610034354031,
0.005167023278772831,
-0.09118308126926422,
0.019903745502233505,
-0.034490086138248444,
0.01397143118083477,
0.004775878973305225,
0.033554557710886,
0.010867467150092125,
-0.05316147953271866,
0.03809106722474098,
-0.021126005798578262,
0.010510912165045738,
-0.02687957137823105,
0.01989641971886158,
0.032343216240406036,
0.018900875002145767,
-0.02882879227399826,
-0.007984570227563381,
0.053779903799295425,
-0.01826171763241291,
-0.010889412835240364,
0.015502003021538258,
0.038539860397577286,
-0.015814878046512604,
-0.0019184817792847753,
0.024150589480996132,
-0.052518196403980255,
0.00833069533109665,
0.060238856822252274,
0.04014674574136734,
0.04614107310771942,
-0.01808120124042034,
0.000566842732951045,
-0.005493797827512026,
0.035648178309202194,
0.00024936991394497454,
-0.04617989808320999,
-0.02982647344470024,
-0.005760219879448414,
-0.06784796714782715,
0.046331293880939484,
0.008961868472397327,
-0.056689221411943436,
-0.00670807808637619,
-0.014707474038004875,
-0.017038114368915558,
0.04995144531130791,
-0.006295029539614916,
0.010881058871746063,
0.03996092081069946,
-0.024136753752827644,
-0.04527352750301361,
-0.002574782818555832,
-0.019219443202018738,
0.043228648602962494,
-0.07580284029245377,
-0.03803729638457298,
-0.04313630238175392,
-0.03706161305308342,
0.025863079354166985,
0.00681312708184123,
-0.005646474659442902,
0.005976122338324785,
-0.015355546027421951,
0.015703558921813965,
-0.09448469430208206,
0.100212462246418,
0.015813596546649933,
-0.03777940198779106,
0.0033119344152510166,
0.005949638783931732,
0.047820813953876495,
0.024861646816134453,
-0.006317459046840668,
0.06445960700511932,
-0.006800949573516846,
0.007644933648407459,
-0.0038100038655102253,
0.04274388775229454,
-0.019535832107067108,
-0.07768914103507996,
-0.006327145732939243,
0.05399967357516289,
0.014871452935039997,
0.013485429808497429,
-0.013066111132502556,
-0.014996649697422981,
0.002219440648332238,
0.016391733661293983,
0.051943089812994,
0.04606320336461067,
-0.0059180413372814655,
-0.06853053718805313,
0.03359455242753029,
0.0015663251979276538,
0.024615583941340446,
0.01739073358476162,
-0.00687183765694499,
-0.038929570466279984,
-0.017615539953112602,
0.018394360318779945,
0.004936059936881065,
0.026065388694405556,
0.06363029032945633,
-0.03575919196009636,
0.014497565105557442,
0.09368956089019775,
0.024844447150826454,
0.013568962924182415,
-0.014267632737755775,
0.021949339658021927,
0.044457122683525085,
0.03793370723724365,
0.02062891609966755,
0.024193856865167618,
0.005405224859714508,
-0.020345821976661682,
-0.012922546826303005,
0.03300364315509796,
-0.010667091235518456,
0.010783581994473934,
-0.02562021277844906,
-0.04279789701104164,
0.047535400837659836,
-0.027143197134137154,
0.022566894069314003,
0.02317172847688198,
0.060626402497291565,
0.007342129945755005,
0.04891861975193024,
0.014087450690567493,
-0.07590482383966446,
0.052219029515981674,
-0.010807904414832592,
0.007987082935869694,
-0.0016986319096758962,
-0.005635198671370745,
0.04836975038051605,
0.03461354598402977,
0.0008521002600900829,
0.028800683096051216,
-0.0791030004620552,
-0.08745643496513367,
-0.039594415575265884,
0.0069882371462881565,
0.05293755605816841,
-0.0475025549530983,
0.0006538974121212959,
0.04922547936439514,
0.011518185958266258,
0.021652627736330032,
0.002991602523252368,
-0.01588934287428856,
0.02221318706870079,
-0.055105216801166534,
-0.07465308904647827,
0.06364436447620392,
-0.00017036727513186634,
-0.05123092606663704,
-0.058392684906721115,
-0.018126079812645912,
-0.04039740934967995,
-0.006037140265107155,
0.028680339455604553,
-0.04331935569643974,
0.06319063156843185,
-0.00441608065739274,
0.01481525506824255,
0.0013117729686200619,
0.027267515659332275,
-0.028227200731635094,
0.038337018340826035,
0.013992095366120338,
-0.008366446942090988,
0.016315344721078873,
-0.002307960530743003,
0.0949433371424675,
0.03954065218567848,
-0.013298872858285904,
-0.05353496968746185,
0.05626235529780388,
0.02362663298845291,
-0.0253656767308712,
0.0044795311987400055,
-0.03429601341485977,
-0.002403783379122615,
-0.0025997005868703127,
-0.033099859952926636,
-0.02322632633149624,
-0.01505192369222641,
-0.028966223821043968,
0.013629735447466373,
0.06510430574417114,
-0.03984307870268822,
0.05747023597359657,
0.037193961441516876,
-0.023468133062124252,
0.009794172830879688,
-0.04615536332130432,
-0.052603673189878464,
0.024516666308045387,
0.009150256402790546,
-0.012325636111199856,
0.07165704667568207,
-0.045760758221149445,
-0.018549950793385506,
-0.02828698419034481,
-0.02980184182524681,
0.05050357058644295,
0.0337488055229187,
0.04609818384051323,
-0.010835018940269947,
0.023129889741539955,
-0.04941341280937195,
0.011010775342583656,
-0.025220749899744987,
-0.03897841274738312,
-0.023857761174440384,
-0.02293376624584198,
0.01363045908510685,
0.0021207130048424006,
0.027596713975071907,
-0.01801265962421894,
0.04742148891091347,
-0.005641087424010038,
-0.004270493518561125,
-0.008357742801308632,
0.031339436769485474,
0.004147337283939123,
0.011663373559713364,
-0.033386681228876114,
-0.05566908419132233,
0.060356784611940384,
-0.08125338703393936,
-0.012913636863231659,
-0.0005104552838020027,
-0.05215746536850929,
0.040157657116651535,
-0.047984957695007324,
-0.01111168134957552,
-0.009132733568549156,
0.0249498188495636,
0.04588042199611664,
0.018086886033415794,
-0.005738085135817528,
0.07378511130809784,
0.028859486803412437,
-0.0018218887271359563,
0.0028917447198182344,
-0.004289225675165653,
0.03862927854061127,
-0.03370817378163338,
0.025204669684171677,
0.07236436754465103,
-0.013611560687422752,
-0.0073755839839577675,
-0.03502681106328964,
0.02862742356956005,
-0.009196976199746132,
-0.2684466540813446,
0.043571412563323975,
-0.009920043870806694,
-0.04363902285695076,
0.019556716084480286,
-0.013061676174402237,
0.014887068420648575,
-0.025890402495861053,
-0.009542564861476421,
-0.009894100949168205,
-0.030204350128769875,
-0.03199808672070503,
-0.03247333690524101,
0.023996178060770035,
0.02326124720275402,
-0.001483336789533496,
0.003569189691916108,
-0.03196752816438675,
0.0006799469119869173,
-0.0016331272199749947,
-0.028793541714549065,
-0.032550469040870667,
-0.008104036562144756,
0.012655414640903473,
0.03444279730319977,
0.003223355393856764,
-0.1173493042588234,
0.05944731831550598,
-0.04484046995639801,
-0.02798619121313095,
0.00010140787344425917,
-0.0341215506196022,
-0.01711084507405758,
0.003900582902133465,
-0.013065772131085396,
-0.0007557575008831918,
0.02955523319542408,
0.002639222191646695,
0.024161966517567635,
0.008443809114396572,
-0.020639626309275627,
-0.06197969615459442,
-0.024310950189828873,
-0.01805908977985382,
0.08546775579452515,
-0.0015976600116118789,
-0.0827549546957016,
0.014238087460398674,
-0.011827037669718266,
0.06650901585817337,
-0.026324620470404625,
-0.03959289565682411,
-0.009455288760364056,
0.02873288281261921,
-0.02671412006020546,
-0.031385086476802826,
-0.027967430651187897,
-0.006775937974452972,
-0.03538580983877182,
-0.018775787204504013,
-0.006341635715216398,
-0.033633433282375336,
0.024277592077851295,
-0.051229000091552734,
-0.011039185337722301,
-0.04819311201572418,
-0.07289235293865204,
-0.015408647246658802,
0.08203298598527908,
0.01804819330573082,
-0.04277108237147331,
0.012926869094371796,
-0.024091357365250587,
-0.11039061844348907,
-0.03872275725007057,
-0.025966135784983635,
-0.020770840346813202,
0.015767527744174004,
-0.011212755925953388,
0.05715290457010269,
-0.028727112337946892,
-0.04453707113862038,
-0.002775178523734212,
0.017580419778823853,
0.03309164568781853,
-0.015587790869176388,
0.020864512771368027,
-0.022325050085783005,
-0.023513786494731903,
0.014077965170145035,
0.04712066426873207,
-0.028644120320677757,
-0.018756676465272903,
-0.022857369855046272,
-0.0026807005051523447,
0.0381324477493763,
-0.02554115280508995,
-0.0027990611270070076,
0.004929566290229559,
0.04103395715355873,
0.055108096450567245,
-0.04194049909710884,
0.02021501585841179,
-0.038684070110321045,
-0.0027162169571965933,
-0.014695785939693451,
-0.06118076667189598,
0.016447272151708603,
0.01408515777438879,
0.036299750208854675,
0.000021756324713351205,
-0.02810470573604107,
0.02296769618988037,
-0.05951065197587013,
-0.027931107208132744,
0.010856837034225464,
0.02163366600871086,
0.035822317004203796,
0.03350298851728439,
-0.007137730251997709,
-0.053513459861278534,
0.03769693896174431,
0.020290356129407883,
-0.016865530982613564,
-0.05339239537715912,
-0.04684528335928917,
-0.03697298839688301,
-0.03436223044991493,
-0.0044722240418195724,
0.018494680523872375,
-0.00078341003973037,
0.024155475199222565,
0.03816794604063034,
-0.03895070403814316,
0.04118379205465317,
-0.020830338820815086,
-0.04431089013814926,
-0.056513622403144836,
0.006362186279147863,
-0.012363145127892494,
-0.029588012024760246,
0.010175582021474838,
-0.0008019160013645887,
0.051972948014736176,
0.03913430497050285,
0.01841258630156517,
0.024125920608639717,
0.04036187008023262,
0.030407991260290146,
0.009718213230371475,
-0.009339827112853527,
-0.03809954226016998,
0.007161156740039587,
-0.032149530947208405,
-0.031489841639995575,
-0.006711034569889307,
0.05674416571855545,
-0.006151899695396423,
-0.022489426657557487,
-0.024510391056537628,
0.014740594662725925,
-0.06124543771147728,
-0.000888207636307925,
-0.01358702126890421,
0.0024619095493108034,
0.048189494758844376,
-0.04421868175268173,
0.027105992659926414,
-0.02583238296210766,
-0.03394702076911926,
-0.009767281822860241,
-0.004396157804876566,
-0.048388369381427765,
0.02289106510579586,
0.030006838962435722,
-0.014459973201155663,
-0.004730645567178726,
0.03430541232228279,
0.03135259076952934,
0.0125766946002841,
0.012308145873248577,
-0.00422647362574935,
0.0057233949191868305,
0.006538496818393469,
0.04836529865860939,
0.07012402266263962,
-0.022409712895751,
0.006522272247821093,
-0.031397122889757156,
0.011026985011994839,
-0.0035962003748863935,
0.006833863444626331,
-0.018389897421002388,
0.0006813874351792037,
-0.020798049867153168,
-0.0527317114174366,
0.05592518672347069,
0.01178712211549282,
0.0044488077983260155,
0.02399611659348011,
0.0055049411021173,
0.017851829528808594,
-0.02577810175716877,
0.04359148442745209,
0.05957656726241112,
-0.05301615223288536,
-0.010279924608767033,
0.0005809770664200187,
0.005045778583735228,
-0.0009612844442017376,
0.02366270311176777,
-0.06152234971523285,
-0.0086312685161829,
0.009034969843924046,
0.00107524823397398,
-0.03532908484339714,
-0.04326915368437767,
-0.019750645384192467,
-0.0024478205014020205,
0.013699697330594063,
0.02578786574304104,
0.008274774067103863,
0.009159436449408531,
-0.042723409831523895,
-0.02126923017203808,
0.0551871582865715,
-0.02841278724372387,
0.008037685416638851,
0.00014711149560753256,
-0.015131481923162937,
0.007838636636734009,
-0.03790487349033356,
0.034367918968200684,
0.007223740220069885,
-0.011630033142864704,
-0.004139523021876812,
-0.05066224932670593,
0.016391029581427574,
0.002794913947582245,
0.05394666641950607,
0.00278077507391572,
-0.0014693341217935085,
-0.0371321476995945,
-0.011871661990880966,
-0.019038891419768333,
-0.007872698828577995,
-0.00006583334470633417,
0.03218642622232437,
0.015569661743938923,
0.02207862213253975,
0.012966989539563656,
0.028317755088210106,
0.009478024207055569,
-0.03413653001189232,
0.07052988559007645,
-0.06965506821870804,
-0.034354064613580704,
-0.009603291749954224,
-0.06613124907016754,
0.0001605675497557968,
0.022561751306056976,
0.013877497985959053,
-0.04912848398089409,
0.05583459511399269,
0.05636227875947952,
0.01815457083284855,
0.023322226479649544,
0.005836138967424631,
0.01810961775481701,
-0.014533012174069881,
-0.009928839281201363,
-0.09064191579818726,
-0.01438192930072546,
0.03148996829986572,
0.0003811815404333174,
0.021755443885922432,
-0.004245833493769169,
-0.04314946010708809,
0.006510891951620579,
-0.06123241409659386,
-0.022069932892918587,
0.04270565137267113,
-0.035918284207582474,
0.013512371107935905,
0.0036033636424690485,
-0.06913354247808456,
0.029061242938041687,
0.049362849444150925,
-0.03834384307265282,
-0.030541835352778435,
-0.012509331107139587,
0.04476649686694145,
-0.007855439558625221,
0.06471825391054153,
-0.02156655117869377,
-0.04356867074966431,
0.10001771152019501,
0.013745799660682678,
0.03039075806736946,
0.07188725471496582,
-0.026310479268431664,
0.04477107152342796,
0.03376387804746628,
-0.01705850660800934,
0.02092069759964943,
0.03374620899558067,
-0.03431563451886177,
-0.05476083979010582,
0.04924672842025757,
0.02184823900461197,
-0.022428613156080246,
-0.027764203026890755,
0.060456693172454834,
-0.000588415889069438,
-0.059251829981803894,
-0.05337221175432205,
0.04269864037632942,
-0.02893529273569584,
-0.002094605006277561,
-0.050742071121931076,
0.023698095232248306,
-0.07026898115873337,
0.045780256390571594,
-0.03128216415643692,
0.0029628449119627476,
0.07205943018198013,
-0.0006512058898806572,
-0.00663286866620183,
-0.003567685140296817,
0.09389899671077728,
0.08056050539016724,
0.03499555215239525,
-0.006477890536189079,
0.07367084920406342,
-0.027261309325695038,
-0.007636278867721558,
-0.009485285729169846,
-0.000931514659896493,
-0.04838382452726364,
0.015302710235118866,
0.01243673823773861,
0.05589091405272484,
-0.02333121933043003,
0.07908497750759125,
-0.028232842683792114,
-0.022041141986846924,
-0.010520358569920063,
0.014466913416981697,
0.021645888686180115,
0.03564148396253586,
0.021784890443086624,
0.030637184157967567,
-0.009346374310553074,
-0.04547814652323723,
0.022340331226587296,
-0.0037585264071822166,
-0.035008225589990616,
0.02294265292584896,
-0.008769617415964603,
0.012236271984875202,
0.027256518602371216,
0.025448191910982132,
0.0773807093501091,
-0.025904003530740738,
0.0036818701773881912,
0.003221013816073537,
0.000153244924149476,
-0.027084963396191597,
0.026673994958400726,
-0.016761306673288345,
-0.023539086803793907,
-0.015001489780843258,
-0.04694732651114464,
-0.003464179579168558,
-0.02640453539788723,
-0.02489684335887432,
-0.007629391271620989,
-0.020431414246559143,
0.006902887485921383,
-0.0041445158421993256,
-0.021561438217759132,
-0.037288516759872437,
-0.05058720335364342,
-0.03061486966907978,
-0.07691530883312225,
-0.06104455143213272,
-0.010504468344151974,
-0.00802495889365673,
-0.013469595462083817,
-0.027165018022060394,
-0.02579113468527794,
-0.01799088716506958,
-0.01073029637336731,
0.0488261803984642,
-0.06236940994858742,
0.01388728991150856,
-0.003786936867982149,
0.014659841544926167,
0.00773199275135994,
0.012857766821980476,
0.059342991560697556,
0.01183217391371727,
-0.005120511632412672,
-0.023370670154690742,
0.024021921679377556,
0.04626571387052536,
0.0035014781169593334,
-0.009995599277317524,
-0.08538509160280228,
0.015258289873600006,
0.021413292735815048,
-0.006211216561496258,
-0.07646464556455612,
0.020043902099132538,
0.05458923056721687,
0.016579018905758858,
0.04601097106933594,
-0.01999824494123459,
-0.008921250700950623,
-0.040558915585279465,
-0.0026907192077487707,
-0.010197647847235203,
0.002439385512843728,
0.04745212942361832,
-0.023632070049643517,
0.07189363986253738,
0.06542126834392548,
-0.022275246679782867,
-0.013074702583253384,
-0.021155552938580513,
-0.0066351681016385555,
-0.006287619937211275,
-0.03079872764647007,
-0.01500401459634304,
-0.032386910170316696,
-0.08335231989622116,
-0.038626160472631454,
0.019469404593110085,
0.007276330608874559,
-0.023020118474960327,
0.04334135353565216,
0.034643445163965225,
0.004281125031411648,
0.0027996175922453403,
-0.049651850014925,
0.01904270425438881,
-0.02801753394305706,
-0.031713396310806274,
-0.025589296594262123,
-0.0015604071086272597,
-0.008289492689073086,
-0.030348915606737137,
-0.0059160031378269196,
-0.042919985949993134,
-0.01791423000395298,
-0.010268653742969036,
0.05193103477358818,
0.045051682740449905,
0.01750551536679268,
0.003291443921625614
] | [
-0.01693621091544628,
-0.04009973257780075,
-0.0478258952498436,
-0.036442071199417114,
0.07164081931114197,
-0.05417295917868614,
-0.03886772692203522,
0.014205925166606903,
-0.024792414158582687,
-0.025637907907366753,
-0.02144959568977356,
-0.01767680235207081,
-0.03258305415511131,
-0.01649281196296215,
0.08682814985513687,
0.009429867379367352,
-0.03148854151368141,
-0.026804296299815178,
-0.033839162439107895,
0.03777876868844032,
-0.032878316938877106,
-0.04828585684299469,
-0.016260264441370964,
-0.0673489049077034,
-0.010093063116073608,
0.022866545245051384,
0.038172971457242966,
-0.0390155166387558,
-0.039022047072649,
-0.18410463631153107,
-0.007626318838447332,
-0.013989261351525784,
-0.010711495764553547,
-0.004707770422101021,
-0.01115089189261198,
0.0028688842430710793,
0.04678987339138985,
-0.020352831110358238,
0.000976742128841579,
0.04347402602434158,
0.05515493080019951,
-0.014663118869066238,
-0.046717818826436996,
-0.005269878543913364,
0.045504000037908554,
-0.010976594872772694,
-0.004805045202374458,
-0.02594393491744995,
-0.00798503402620554,
-0.0032041743397712708,
-0.03605832904577255,
-0.012044171802699566,
-0.00042218639282509685,
-0.00954944733530283,
0.013034445233643055,
-0.003811454866081476,
0.03476602956652641,
0.07181645184755325,
0.05705779418349266,
0.010675906203687191,
0.010779875330626965,
-0.0025913328863680363,
-0.15290869772434235,
0.08363582193851471,
-0.020174114033579826,
0.012295322492718697,
-0.04688391089439392,
0.02795037068426609,
-0.004123269114643335,
0.05174768343567848,
0.02226864919066429,
-0.011483942158520222,
-0.015019036829471588,
0.0675058513879776,
-0.002456642920151353,
0.013764544390141964,
-0.020857414230704308,
0.029454538598656654,
0.019412346184253693,
-0.02162889763712883,
-0.06882839649915695,
0.026153510436415672,
-0.01916317082941532,
-0.009929333813488483,
-0.06836915016174316,
0.054838623851537704,
-0.007211323827505112,
0.036096833646297455,
-0.02992917224764824,
0.035346705466508865,
0.0007282614824362099,
0.028792666271328926,
0.08264465630054474,
0.018035760149359703,
-0.07904976606369019,
0.001957822823897004,
-0.00021780800307169557,
0.0022144641261547804,
-0.0010883313370868564,
0.36906933784484863,
0.037103548645973206,
0.005673954728990793,
0.008450569584965706,
0.0661449059844017,
0.00829594861716032,
-0.020681515336036682,
-0.019899388775229454,
-0.046928051859140396,
0.05298517644405365,
0.0006839585257694125,
-0.00011124097363790497,
-0.016238264739513397,
0.02795354276895523,
-0.08431242406368256,
0.012852604500949383,
-0.0008901051478460431,
0.05423784628510475,
0.020924003794789314,
-0.029997510835528374,
0.034213144332170486,
0.006715358700603247,
0.007480783388018608,
0.04878205060958862,
0.014368218369781971,
0.08584069460630417,
0.03466616943478584,
0.006063508801162243,
0.01786251924932003,
0.032171059399843216,
0.015799488872289658,
0.03905794396996498,
0.013757486827671528,
-0.08398769795894623,
0.017335662618279457,
-0.007632920052856207,
-0.02656698226928711,
0.03212274610996246,
-0.09164778888225555,
-0.03816305100917816,
0.030168117955327034,
-0.01582387275993824,
-0.01145026832818985,
0.030456040054559708,
-0.042193882167339325,
-0.042463719844818115,
0.1263461858034134,
0.03186536580324173,
-0.028830677270889282,
-0.052425067871809006,
-0.06036573275923729,
0.029117414727807045,
0.03991779312491417,
0.00009195232996717095,
-0.06508342176675797,
0.003836297895759344,
-0.00021645384549628943,
0.055362191051244736,
0.005332712549716234,
-0.11646157503128052,
0.026927996426820755,
-0.055910203605890274,
-0.07380035519599915,
-0.012555784545838833,
0.06717755645513535,
0.02630051225423813,
-0.11757875978946686,
-0.00923573225736618,
0.002004265785217285,
0.032357703894376755,
-0.0407770536839962,
-0.007839400321245193,
0.02761015109717846,
-0.02729831449687481,
-0.03166918456554413,
0.05391070246696472,
-0.013512619771063328,
-0.014134098775684834,
0.0019061577040702105,
0.04748712107539177,
0.011097517795860767,
0.01239088922739029,
-0.006543049123138189,
-0.023172957822680473,
-0.0018037291010841727,
-0.052698031067848206,
-0.07036752998828888,
-0.06930967420339584,
0.011821105144917965,
-0.036926038563251495,
-0.01794671267271042,
-0.04658539593219757,
0.008166907355189323,
-0.007885592058300972,
0.08217146247625351,
0.007536640390753746,
-0.02736583910882473,
0.014027230441570282,
0.012913988903164864,
0.006800246890634298,
-0.029859118163585663,
0.03310628980398178,
0.03432208672165871,
-0.022741014137864113,
0.03890888765454292,
-0.06628625839948654,
0.009028964675962925,
0.045495521277189255,
-0.023795848712325096,
0.047262515872716904,
0.026681412011384964,
-0.03764885663986206,
0.023098938167095184,
-0.03385467082262039,
0.02769027277827263,
-0.041183121502399445,
-0.01730276457965374,
0.015079718083143234,
0.015412633307278156,
0.003562274621799588,
0.021072637289762497,
-0.012604987248778343,
0.0012273439206182957,
-0.02487056888639927,
-0.36981233954429626,
-0.023288603872060776,
-0.007554976735264063,
-0.008782155811786652,
0.0032905989792197943,
-0.02078079991042614,
0.02026795968413353,
-0.01933007873594761,
0.004843445960432291,
0.0432208888232708,
0.10211244970560074,
-0.042460836470127106,
0.004701406229287386,
-0.09726544469594955,
0.03574449568986893,
0.06630036234855652,
-0.03644275665283203,
0.007533232681453228,
-0.018977729603648186,
-0.0020936215296387672,
-0.004128222353756428,
-0.03495032340288162,
0.007009116932749748,
-0.058599378913640976,
0.02231142297387123,
0.01935609243810177,
0.08799225091934204,
0.024893056601285934,
0.04864565655589104,
-0.05629338324069977,
0.03515106439590454,
0.02106604166328907,
-0.013791078701615334,
-0.1146230548620224,
-0.01902643032371998,
-0.011058236472308636,
0.05094156786799431,
0.035754166543483734,
-0.00047729199286550283,
0.02052050642669201,
-0.03905072808265686,
0.005635447800159454,
-0.05963721498847008,
-0.0913073942065239,
-0.016255715861916542,
0.014081352390348911,
-0.050919897854328156,
0.007188483607023954,
-0.0068947016261518,
0.020739443600177765,
-0.009220619685947895,
0.01674240455031395,
0.005077204201370478,
0.025372209027409554,
0.014418581500649452,
-0.026546504348516464,
-0.026634547859430313,
-0.023274296894669533,
0.015659818425774574,
0.05269884318113327,
0.027264820411801338,
0.06272409856319427,
0.006812316831201315,
-0.06982672214508057,
0.03721817955374718,
-0.010376174002885818,
-0.0136599475517869,
0.051945533603429794,
0.049599070101976395,
-0.044697508215904236,
-0.0315190814435482,
0.1187538355588913,
-0.014523506164550781,
0.05167602375149727,
0.08269377797842026,
0.06559230387210846,
-0.000550517754163593,
-0.014694931916892529,
0.02871588245034218,
0.028374845162034035,
0.039050206542015076,
-0.04430445656180382,
0.08666406571865082,
-0.01970440335571766,
0.008791863918304443,
0.09239527583122253,
0.01053099799901247,
-0.05469010770320892,
0.03529657796025276,
-0.003872811095789075,
-0.02479678951203823,
-0.00046487091458402574,
-0.05100788548588753,
-0.08643984794616699,
0.06506327539682388,
-0.013590454123914242,
-0.24922184646129608,
0.04413754120469093,
0.008419778198003769,
0.030413253232836723,
0.015250196680426598,
-0.032674506306648254,
0.018747607246041298,
-0.04146253690123558,
-0.00569398608058691,
0.030161231756210327,
0.023022452369332314,
0.053264640271663666,
-0.01982170343399048,
0.014978572726249695,
0.022646691650152206,
0.016585636883974075,
0.04069679230451584,
0.02039225958287716,
0.006541436538100243,
-0.008052806369960308,
0.041919246315956116,
-0.0003865520702674985,
0.16110274195671082,
0.06767549365758896,
-0.006933012045919895,
0.02665380761027336,
-0.031414493918418884,
0.011502400040626526,
0.049022819846868515,
0.0021202426869422197,
-0.02903909422457218,
0.06880670040845871,
0.01823495142161846,
0.023187575861811638,
0.04237326234579086,
-0.022698523476719856,
0.008330818265676498,
0.03758549690246582,
0.013126786798238754,
-0.05432639643549919,
-0.017829665914177895,
0.03337133303284645,
-0.005045049823820591,
0.008464683778584003,
0.04755396395921707,
-0.01796349696815014,
-0.001402315334416926,
-0.08780745416879654,
-0.07010205835103989,
-0.0269937664270401,
-0.01800614595413208,
-0.028194496408104897,
0.027061916887760162,
0.000038311645766953006,
-0.008184680715203285,
0.07769902795553207,
-0.000003457475486356998,
-0.04273071885108948,
0.011260012164711952,
0.016093838959932327,
0.02001705951988697,
-0.05330726504325867,
0.0781247690320015,
-0.018997719511389732,
0.019336003810167313
] | [
0.0668506771326065,
0.040074944496154785,
-0.012136404402554035,
0.015214119106531143,
-0.01656268537044525,
0.0021942188031971455,
0.021135933697223663,
-0.00423796521499753,
0.01629503257572651,
-0.01500750333070755,
-0.05813449248671532,
-0.02140331268310547,
0.04045160859823227,
0.022794336080551147,
-0.01041515450924635,
-0.015662148594856262,
0.027815256267786026,
0.04092412441968918,
0.009616036899387836,
-0.02196376770734787,
-0.04915405809879303,
-0.031089121475815773,
0.03271299973130226,
0.0003083485353272408,
-0.02052071876823902,
0.012949371710419655,
-0.0329861044883728,
-0.019985361024737358,
0.015891503542661667,
-0.09017353504896164,
0.020405907183885574,
-0.024785619229078293,
-0.018985193222761154,
-0.018635325133800507,
0.008341842330992222,
0.015599751845002174,
0.017364423722028732,
-0.0006715951021760702,
-0.027351994067430496,
0.041492756456136703,
0.07281718403100967,
-0.043573297560214996,
-0.01911500096321106,
0.024684596806764603,
-0.01533847488462925,
-0.009510144591331482,
-0.04090114310383797,
-0.05000970885157585,
0.011713181622326374,
0.011247610673308372,
-0.06521468609571457,
-0.03816777095198631,
-0.006605126429349184,
0.016963407397270203,
0.0001345979981124401,
-0.012335097417235374,
-0.03376210853457451,
-0.017267674207687378,
0.03331189975142479,
-0.014863322488963604,
0.03589973598718643,
0.002131906570866704,
-0.061969365924596786,
-0.0003866548358928412,
-0.014879991300404072,
-0.03238074481487274,
-0.015305859968066216,
0.05043075233697891,
0.03210616111755371,
0.028857490047812462,
0.011990257538855076,
0.05384322255849838,
-0.07979116588830948,
-0.028077006340026855,
-0.037101998925209045,
-0.0013186007272452116,
0.02874922938644886,
-0.013914313167333603,
-0.041588377207517624,
0.023914705961942673,
-0.017993716523051262,
0.024442337453365326,
-0.03597436845302582,
-0.04824182763695717,
-0.06468220800161362,
0.03826514631509781,
0.023613348603248596,
-0.04045744612812996,
0.016909796744585037,
0.029337963089346886,
-0.01570112444460392,
0.03115798905491829,
0.014277786947786808,
-0.07260674238204956,
-0.07816120237112045,
-0.011983945034444332,
-0.010082454420626163,
-0.002237968612462282,
0.04835936799645424,
0.7690779566764832,
0.04374772682785988,
0.012793413363397121,
-0.006476639769971371,
0.027359575033187866,
0.024894265457987785,
-0.030813634395599365,
0.006211169995367527,
0.03382376953959465,
-0.01937626674771309,
0.00737542612478137,
-0.017080530524253845,
0.021591614931821823,
0.017081214115023613,
0.002499466761946678,
0.04059147089719772,
0.03758019208908081,
0.025656914338469505,
-0.04927584156394005,
-0.026567408815026283,
0.04372458532452583,
0.008620760403573513,
-0.006462091580033302,
0.026053601875901222,
0.02335471846163273,
0.004923634696751833,
-0.10789064317941666,
-0.004703796003013849,
-6.42233101813283e-33,
0.07934090495109558,
-0.029752308502793312,
0.07334073632955551,
0.02333715371787548,
0.04127183556556702,
0.0031361214350908995,
-0.0047305370680987835,
-0.07271286100149155,
-0.032028086483478546,
-0.032863885164260864,
-0.02975732646882534,
0.009348606690764427,
-0.007685916032642126,
-0.028672048822045326,
-0.01592976786196232,
-0.031642813235521317,
-0.011114846915006638,
-0.001153058372437954,
0.005272269248962402,
-0.004636254161596298,
0.024008281528949738,
0.03186856210231781,
-0.06861814111471176,
0.046472713351249695,
0.009869902394711971,
0.017328469082713127,
0.021804435178637505,
-0.01485263742506504,
0.012825301848351955,
-0.034052956849336624,
-0.06392671167850494,
0.037286628037691116,
-0.02912016399204731,
-0.02945285476744175,
0.006384360138326883,
-0.08347427845001221,
-0.02764231711626053,
0.015304840169847012,
-0.05620294436812401,
-0.05856667831540108,
-0.058734387159347534,
-0.020041871815919876,
-0.029083793982863426,
-0.05298894643783569,
-0.032143764197826385,
-0.00033326458651572466,
0.004913032054901123,
0.018588021397590637,
0.0013639727840200067,
-0.02110709808766842,
0.056655045598745346,
-0.0001718402054393664,
0.020702440291643143,
0.018009750172495842,
-0.039151743054389954,
0.014405540190637112,
0.0131212268024683,
-0.021240267902612686,
-0.03986828029155731,
0.008710320107638836,
0.0009541491162963212,
-0.0005059123504906893,
-0.01869276352226734,
0.020531145855784416,
0.06881634891033173,
0.0022349839564412832,
0.0009497710270807147,
0.029216788709163666,
0.020201725885272026,
0.05286438390612602,
-0.02780189737677574,
0.02060350589454174,
-0.01729641482234001,
-0.021103009581565857,
0.031814564019441605,
-0.049917444586753845,
-0.0064206491224467754,
-0.008318068459630013,
-0.022292817011475563,
0.09677818417549133,
-0.01653851754963398,
-0.008344070054590702,
0.01476336270570755,
0.0018996269209310412,
-0.01196825411170721,
-0.024125127121806145,
0.030826644971966743,
0.039027437567710876,
0.026674091815948486,
0.04263899475336075,
0.05541916564106941,
0.04567689076066017,
0.017483389005064964,
-0.02877202443778515,
-0.05339842662215233,
5.806823808943049e-33,
-0.02586011216044426,
0.006636552046984434,
-0.038659434765577316,
-0.0005133447702974081,
0.03045080415904522,
0.009473326615989208,
0.03367546200752258,
0.026107273995876312,
0.0045959483832120895,
0.03852318972349167,
-0.017074499279260635,
0.00225842441432178,
-0.011941887438297272,
0.05935550108551979,
0.03826720640063286,
0.002173203742131591,
-0.0005203444161452353,
-0.07560794055461884,
0.0078092762269079685,
0.025239914655685425,
-0.007410652004182339,
-0.00021881879365537316,
-0.02269948460161686,
0.031152144074440002,
0.05368926376104355,
0.00732593284919858,
0.027645207941532135,
0.01859375461935997,
-0.041110582649707794,
-0.04627601429820061,
0.02487424574792385,
-0.0566866435110569,
-0.0020562224090099335,
-0.011858474463224411,
-0.015779204666614532,
-0.004178717732429504,
-0.016096388921141624,
0.05677524954080582,
-0.009494313970208168,
0.0009578948956914246,
0.006753456313163042,
0.0356634221971035,
0.0053617823868989944,
0.07930874824523926,
-0.00779750058427453,
0.017583610489964485,
0.00829138420522213,
-0.0017177597619593143,
0.003233152674511075,
0.007455617189407349,
-0.029126901179552078,
-0.0033202040940523148,
0.005814354866743088,
0.016867902129888535,
0.014500798657536507,
-0.05178646743297577,
0.019271844998002052,
0.023148952051997185,
0.005646953359246254,
0.03169316425919533,
-0.032752372324466705,
-0.018790410831570625,
0.02880929969251156,
0.02045632340013981,
-0.015445848926901817,
-0.04110245406627655,
-0.0017682496691122651,
0.029473967850208282,
-0.06045927479863167,
-0.03621407970786095,
0.04830068349838257,
-0.025266006588935852,
-0.016286881640553474,
0.013901185244321823,
0.06519334018230438,
-0.018188126385211945,
-0.03430619463324547,
0.01818677969276905,
-0.05249717831611633,
0.023517834022641182,
-0.005944200791418552,
0.05777886509895325,
-0.014555666595697403,
-0.04731657728552818,
0.019552428275346756,
-0.020069213584065437,
0.010599098168313503,
0.005589489359408617,
-0.018631694838404655,
0.011012198403477669,
0.03208165243268013,
-0.04375845566391945,
-0.041209351271390915,
0.034527961164712906,
-0.05596451088786125,
-1.1650087117232033e-8,
-0.021530287340283394,
0.003585957922041416,
-0.034889694303274155,
0.03239018842577934,
-0.005227369721978903,
0.024664493277668953,
0.002554042264819145,
0.003675147658213973,
-0.011098077520728111,
0.01904166117310524,
-0.003081859089434147,
-0.020548593252897263,
0.03835770860314369,
0.013553638942539692,
0.048384662717580795,
-0.03008483164012432,
-0.003365356707945466,
-0.04784455522894859,
0.023008376359939575,
-0.0012769524473696947,
0.03976061940193176,
0.025646738708019257,
-0.026735633611679077,
0.011953492648899555,
-0.036194104701280594,
0.004873942583799362,
0.04230021685361862,
-0.049270737916231155,
-0.008969418704509735,
-0.048872657120227814,
0.010825594887137413,
-0.001964616822078824,
-0.04665876179933548,
0.01970086432993412,
-0.014189275912940502,
-0.01734541729092598,
0.00432469230145216,
0.03833268582820892,
0.0024240068159997463,
0.021449139341711998,
-0.04184912517666817,
-0.03698680177330971,
-0.027266740798950195,
-0.02104370668530464,
-0.05583170801401138,
0.03146173059940338,
-0.04482412710785866,
0.017827587202191353,
0.05413204804062843,
0.008389964699745178,
-0.02726755291223526,
-0.004037889186292887,
0.036732517182826996,
0.038598962128162384,
0.06339704990386963,
-0.008925072848796844,
0.044534020125865936,
-0.02534124255180359,
-0.004704911261796951,
-0.06335631757974625,
0.03960578516125679,
0.04610641300678253,
-0.022619564086198807,
0.015920177102088928
] | processing-neo4j-transaction-events-ksql-kafka-streams | https://markhneedham.com/blog/2019/05/23/processing-neo4j-transaction-events-ksql-kafka-streams |
false | 2019-05-12 17:58:00 | Neo4j: keep/filter keys in a map using APOC | [
"neo4j",
"cypher",
"apoc"
] | [
"Neo4j"
] | In this post we'll learn how to write a Cypher query to create a node in Neo4j containing some of the keys from a map.
This post assumes that the https://neo4j.com/developer/neo4j-apoc/[APOC library^] is installed.
We'll start by creating a map that contains data from my twitter profile:
[source, cypher]
----
:param document => {
id: 14707949, name: "Mark Needham",
username: "markhneedham", bio: "Developer Relations @neo4j",
location: "London, United Kingdom", url: "http://www.markhneedham.com",
join_date: "8 May 2008", join_time: "5:58 PM",
tweets: 24710, following: 2479, followers: 5054, likes: 1014
};
----
We want to create a `User` node based on this data, but we don't want to use all of the keys in the map.
If we want to remove some keys we can use the `apoc.map.clean` function.
The following function call removes the `join_date` and `join_time` keys:
[source, cypher]
----
WITH ["join_date", "join_time"] AS keysToRemove
RETURN apoc.map.clean($document, keysToRemove, []) AS result
----
image::{{<siteurl>}}/uploads/2019/05/keysToRemove.png[]
But what if we want to keep keys rather than remove them?
I ran `apoc.help('apoc.map')` to see if there were any functions to do this, and as far as I can tell there aren't:
image::{{<siteurl>}}/uploads/2019/05/apochelp.png[]
We can, however, combine two APOC functions to get the desired result.
First up, `apoc.map.values` extracts the values for a list of keys:
[source, cypher]
----
WITH ["name", "username", "bio", "following", "followers"] AS keysToKeep
RETURN apoc.map.values($document, keysToKeep)
----
image::{{<siteurl>}}/uploads/2019/05/values.png[]
And we can then use `apoc.map.fromLists` to reconstruct our map:
[source,cypher]
----
WITH ["name", "username", "bio", "following", "followers"] AS keysToKeep
RETURN apoc.map.fromLists(keysToKeep, apoc.map.values($document, keysToKeep)) AS result
----
image::{{<siteurl>}}/uploads/2019/05/keysToKeep.png[]
This code forms part of the following query that creates a `User` node keyed on the `id` property, and then sets the other properties afterwards:
[source, cypher]
----
WITH ["name", "username", "bio", "following", "followers"] AS keysToKeep
MERGE (u:User {id: $document.id })
SET u += apoc.map.fromLists($keysToKeep, apoc.map.values($document, $keysToKeep))
----
All done! | Learn how to create a node based on a subset of keys in a map. | null | [
0.013925429433584213,
-0.011075498536229134,
0.023031555116176605,
0.04646381735801697,
0.1005914956331253,
0.013471575453877449,
0.016931282356381416,
0.01775451935827732,
0.017778709530830383,
-0.007704618852585554,
-0.024954037740826607,
-0.013054455630481243,
-0.06255834549665451,
0.019425595179200172,
0.006229138933122158,
0.06423996388912201,
0.05886102467775345,
0.0007458638865500689,
0.008115999400615692,
0.00024727548588998616,
0.03599123656749725,
0.04801627993583679,
0.014895820058882236,
0.042472414672374725,
0.033082906156778336,
0.014862480573356152,
-0.0025789174251258373,
0.00973386038094759,
-0.0349276177585125,
-0.010462704114615917,
0.053334791213274,
0.01279440801590681,
0.027634190395474434,
-0.02116672694683075,
-0.0004975515767000616,
0.007230307906866074,
-0.04089685529470444,
-0.0014449566369876266,
-0.005815006792545319,
0.0301041342318058,
-0.06937913596630096,
0.04599674046039581,
-0.01364570576697588,
0.021220894530415535,
-0.021388182416558266,
-0.005437733139842749,
-0.0662555918097496,
0.04296876862645149,
-0.008744604885578156,
-0.0006413998198695481,
-0.08508341759443283,
0.00471979146823287,
-0.019511131569743156,
0.003659120760858059,
-0.016788886860013008,
0.04655744135379791,
0.016671421006321907,
-0.08301876485347748,
0.06949570029973984,
-0.013130106963217258,
-0.011631075292825699,
-0.010124183259904385,
0.014835596084594727,
0.03114875964820385,
-0.018457265570759773,
-0.06605739146471024,
-0.013075046241283417,
0.053873732686042786,
-0.0619158074259758,
-0.010865823365747929,
0.00946223083883524,
0.008942889980971813,
-0.01135680265724659,
-0.017383351922035217,
-0.00675189308822155,
-0.05400463193655014,
0.0056352331303060055,
0.054679837077856064,
0.012687837705016136,
0.04481125622987747,
-0.021494075655937195,
-0.005410533864051104,
0.0038068017456680536,
0.03957568109035492,
-0.007132501807063818,
-0.03687365725636482,
-0.0375707782804966,
-0.011825532652437687,
-0.04159427434206009,
0.042135246098041534,
-0.002829681383445859,
-0.0515516959130764,
0.005151120480149984,
-0.012438195757567883,
0.007341883610934019,
0.0007703294395469129,
-0.011181379668414593,
-0.004371064715087414,
0.010782024823129177,
0.003063332289457321,
-0.004899556282907724,
-0.0190572626888752,
-0.013261762447655201,
0.010426715947687626,
-0.07250043004751205,
-0.0349632166326046,
-0.03939288482069969,
-0.015571318566799164,
0.01857304573059082,
-0.0026628088671714067,
-0.03352312371134758,
0.0032748274970799685,
0.015477227047085762,
0.027529310435056686,
-0.0685194581747055,
0.04915185272693634,
0.02202429622411728,
-0.0210192259401083,
-0.023722978308796883,
0.029255641624331474,
0.042579930275678635,
0.040334198623895645,
0.015652824193239212,
0.06531298905611038,
-0.0074478629976511,
0.045489195734262466,
-0.008072339929640293,
0.05196891725063324,
-0.018434934318065643,
-0.047752801328897476,
-0.01672433875501156,
0.04185973107814789,
-0.00022283109137788415,
-0.006279494147747755,
-0.019650645554065704,
-0.039672546088695526,
-0.027944058179855347,
0.0345158614218235,
0.05418827384710312,
0.03025018237531185,
-0.0010277413530275226,
-0.05185592547059059,
0.023551184684038162,
-0.0015427181497216225,
0.030802465975284576,
0.03207521513104439,
-0.06068679690361023,
-0.031546082347631454,
-0.0088583305478096,
0.011113010346889496,
0.02917262353003025,
0.014198466204106808,
0.03950350359082222,
-0.01154427882283926,
0.0040840869769454,
0.10338158905506134,
0.03437623381614685,
0.000248099269811064,
-0.015481073409318924,
0.0289643295109272,
0.04032265767455101,
0.035809148102998734,
0.01999303139746189,
0.07816684991121292,
-0.015921056270599365,
-0.006596109829843044,
0.014289956539869308,
0.05865871161222458,
-0.005285490304231644,
-0.0034894312266260386,
-0.03595060110092163,
-0.06129172816872597,
0.06143725663423538,
-0.044705722481012344,
-0.013080937787890434,
0.048112545162439346,
0.07533937692642212,
0.014634068123996258,
0.024018967524170876,
0.008726540021598339,
-0.0713716521859169,
0.0650579109787941,
0.018708491697907448,
-0.0037666005082428455,
0.006809207145124674,
-0.008016470819711685,
0.056082747876644135,
0.046273861080408096,
0.011530636809766293,
0.03992685303092003,
-0.07099869102239609,
-0.06942823529243469,
-0.00966158602386713,
-0.007982723414897919,
0.07319260388612747,
-0.024188779294490814,
0.015014054253697395,
0.05336311459541321,
0.014212989248335361,
0.04422859102487564,
0.0038161783013492823,
-0.0198761485517025,
0.023082725703716278,
-0.07050260901451111,
-0.07071376591920853,
0.04766153544187546,
0.03074142336845398,
-0.043714020401239395,
-0.01773558184504509,
0.005129009485244751,
-0.02517997846007347,
0.01689518243074417,
0.033666741102933884,
-0.022358620539307594,
0.041580237448215485,
0.0033837887458503246,
0.03756551817059517,
-0.006268465891480446,
0.027428101748228073,
-0.04027703031897545,
0.044057369232177734,
0.013577996753156185,
-0.026822227984666824,
0.002579797524958849,
0.008091623894870281,
0.1152702271938324,
0.057757630944252014,
-0.008354710415005684,
-0.04392765834927559,
0.02958814613521099,
0.01237835269421339,
-0.029433177784085274,
0.02546107769012451,
-0.02170903980731964,
-0.0015175397275015712,
-0.017418455332517624,
-0.025886792689561844,
-0.0075449091382324696,
-0.03382308781147003,
-0.02050207182765007,
0.020017394796013832,
0.078668013215065,
-0.013960210606455803,
0.058754295110702515,
-0.004310548305511475,
0.009379548951983452,
-0.010875239036977291,
-0.04027801752090454,
-0.029172563925385475,
0.01739107444882393,
0.004055040422827005,
-0.013079075142741203,
0.06880733370780945,
-0.03340854495763779,
-0.0000417528826801572,
-0.04108647629618645,
-0.0269636120647192,
0.02108592912554741,
0.02605724334716797,
0.055257271975278854,
-0.0053996797651052475,
0.07297082245349884,
-0.06483130156993866,
0.010070079006254673,
-0.021660728380084038,
-0.04433796927332878,
-0.03195709362626076,
-0.013959789648652077,
0.020032668486237526,
0.013679814524948597,
0.025216426700353622,
-0.020643239840865135,
0.04276449605822563,
-0.013248220086097717,
0.029720164835453033,
-0.008253944106400013,
0.010636867955327034,
0.009759238921105862,
-0.017226269468665123,
-0.030722452327609062,
-0.03396618738770485,
0.07126927375793457,
-0.051914993673563004,
-0.0575905367732048,
-0.01146524678915739,
-0.06621066480875015,
0.06265783309936523,
-0.05329204723238945,
-0.03387625887989998,
0.008119022473692894,
0.04895372688770294,
0.04659155011177063,
0.012688874267041683,
0.014155618846416473,
0.0631488487124443,
0.010599382221698761,
-0.00634642131626606,
0.010212556459009647,
-0.014637747779488564,
0.042081862688064575,
-0.03469664603471756,
0.035597506910562515,
0.045614782720804214,
-0.026930421590805054,
0.02177003026008606,
-0.04203170910477638,
-0.009431390091776848,
-0.000018774962882162072,
-0.2719966769218445,
0.062172576785087585,
-0.03095647692680359,
-0.04703112691640854,
-0.0013398671289905906,
-0.04004232585430145,
0.0006569744437001646,
-0.01868932507932186,
-0.031328584998846054,
-0.009581009857356548,
0.013989752158522606,
-0.017011024057865143,
-0.02588455192744732,
0.036755695939064026,
0.015429829247295856,
0.006959375459700823,
-0.023179592564702034,
-0.04463054612278938,
0.006651693489402533,
0.01826057769358158,
-0.003597733797505498,
-0.06358317285776138,
0.016217902302742004,
0.002883693901821971,
0.01762036606669426,
0.043799012899398804,
-0.08283788710832596,
0.021439138799905777,
-0.041969701647758484,
-0.026048148050904274,
0.004073182120919228,
-0.03149944171309471,
0.03295610845088959,
0.015094966627657413,
-0.02445114403963089,
-0.005967824254184961,
0.04185812547802925,
0.015327846631407738,
0.012787696905434132,
0.02747274748980999,
-0.03211475536227226,
-0.042132992297410965,
-0.02022375352680683,
-0.006613161414861679,
0.08209653943777084,
0.004797339905053377,
-0.06476687639951706,
-0.00008205921767512336,
-0.008327702060341835,
0.06418248265981674,
-0.013857055455446243,
-0.05451709404587746,
-0.03542705997824669,
0.0132735101506114,
-0.019198102876544,
-0.02975364774465561,
-0.03193940222263336,
-0.027438495308160782,
-0.0647437572479248,
-0.029784156009554863,
-0.009755273349583149,
-0.04761960357427597,
0.012255079112946987,
-0.03331631422042847,
-0.00994020327925682,
-0.058400582522153854,
-0.09573936462402344,
-0.03633607178926468,
0.07015658169984818,
0.017372479662299156,
-0.04182765632867813,
0.0021338495425879955,
-0.033852554857730865,
-0.10922197997570038,
-0.036217257380485535,
-0.026918331161141396,
-0.022929148748517036,
0.004943818785250187,
-0.0211429912596941,
0.05507263168692589,
-0.05306718125939369,
-0.016242561861872673,
0.028855234384536743,
0.02806708589196205,
0.013811999931931496,
0.005238589830696583,
0.00732209999114275,
-0.01863183081150055,
-0.022083818912506104,
0.011405037716031075,
0.05864784121513367,
-0.004644092172384262,
-0.008094021119177341,
-0.004826891701668501,
-0.009719813242554665,
0.025054991245269775,
0.029348529875278473,
-0.01604798622429371,
0.009217820130288601,
0.03697331249713898,
0.031747568398714066,
-0.011761460453271866,
0.030749667435884476,
-0.0374210886657238,
-0.003992252517491579,
-0.009883799590170383,
-0.0363256074488163,
0.02197609841823578,
0.027710994705557823,
0.012595586478710175,
-0.002298166276887059,
-0.005246324464678764,
0.012567966245114803,
-0.0629277378320694,
-0.03608459606766701,
-0.01809811405837536,
0.022130243480205536,
0.013626794330775738,
0.07695349305868149,
-0.03220025822520256,
-0.06209944188594818,
0.057929106056690216,
0.05701809003949165,
-0.010293057188391685,
-0.055829647928476334,
-0.05001072585582733,
-0.04094621539115906,
-0.025190293788909912,
0.036474548280239105,
0.04091993719339371,
0.00024057109840214252,
0.03940162435173988,
0.02424381859600544,
-0.03970978409051895,
0.037984415888786316,
-0.01877732016146183,
-0.010066866874694824,
-0.052011556923389435,
0.0023059106897562742,
-0.006745942868292332,
-0.005631804466247559,
-0.0146867660805583,
-0.0060758949257433414,
0.047697778791189194,
0.020587436854839325,
-0.0036091988440603018,
0.012233944609761238,
0.008617275394499302,
0.015684975311160088,
0.006689505185931921,
-0.03933456912636757,
-0.02203221805393696,
-0.004487745463848114,
-0.05030890554189682,
0.0005368261481635273,
0.017164969816803932,
0.038930345326662064,
-0.021361973136663437,
-0.033657006919384,
-0.027103561908006668,
0.02209431678056717,
-0.048399023711681366,
0.01872023195028305,
-0.02578040584921837,
-0.013263273052871227,
0.0307262372225523,
-0.03084244206547737,
0.0447261817753315,
-0.0380767285823822,
-0.0310464259237051,
0.03833145648241043,
0.010302587412297726,
-0.0359383150935173,
-0.003921490162611008,
-0.004565924871712923,
-0.026792895048856735,
0.01567234843969345,
0.048979464918375015,
0.03187483549118042,
-0.002731578191742301,
-0.014752967283129692,
-0.00533098541200161,
0.0191669724881649,
-0.016477953642606735,
0.05368614196777344,
0.039017338305711746,
-0.025491418316960335,
-0.01281711459159851,
-0.03382068872451782,
0.005079026333987713,
-0.032137781381607056,
-0.010772264562547207,
-0.02701757661998272,
0.02179432474076748,
-0.010489976033568382,
-0.05936906114220619,
0.04397813230752945,
0.011423383839428425,
0.019061574712395668,
0.05484248325228691,
0.011824456043541431,
-0.0030842621345072985,
-0.011741057969629765,
0.033535122871398926,
0.047634538263082504,
-0.03931466490030289,
-0.0036046162713319063,
0.008696258999407291,
-0.019439417868852615,
-0.001069148420356214,
0.03356091305613518,
-0.03848472237586975,
-0.035627398639917374,
0.0121729401871562,
0.01723068207502365,
-0.014478923752903938,
-0.03259773552417755,
-0.005877559073269367,
0.00758355064317584,
0.01348204631358385,
0.016991274431347847,
0.020284416154026985,
0.008772365748882294,
-0.0042639076709747314,
-0.005116534885019064,
0.06918273121118546,
-0.032612089067697525,
0.007570188492536545,
0.01499284990131855,
-0.03337638080120087,
0.03533703088760376,
-0.02500651776790619,
0.03371729329228401,
0.028723327443003654,
-0.015794435515999794,
-0.016581673175096512,
-0.07427047193050385,
0.0038488053251057863,
-0.05039159581065178,
0.08202207088470459,
-0.041621848940849304,
-0.006322142202407122,
-0.04362696409225464,
-0.01437570620328188,
-0.019103175029158592,
-0.00976356491446495,
-0.016582399606704712,
0.0032421681098639965,
0.02394668385386467,
0.03399723023176193,
0.021746868267655373,
0.029908236116170883,
-0.023957200348377228,
-0.028185520321130753,
0.050582222640514374,
-0.022148627787828445,
-0.056535132229328156,
-0.00889575481414795,
-0.0521119087934494,
0.002600141568109393,
0.01191546581685543,
0.0033191023394465446,
-0.02748369611799717,
0.043463993817567825,
0.03535819053649902,
-0.017416099086403847,
0.02119298465549946,
-0.03589336946606636,
0.00379035877995193,
-0.03159649670124054,
-0.00670044356957078,
-0.08790606260299683,
0.035016003996133804,
0.049131520092487335,
-0.022929267957806587,
0.005880941636860371,
0.009467408992350101,
-0.04441570118069649,
0.019944295287132263,
-0.0516631081700325,
-0.01591349206864834,
0.056129906326532364,
-0.009548553265631199,
0.03023609332740307,
0.001294524408876896,
-0.07557924836874008,
0.01144190039485693,
0.03850208967924118,
-0.024184955283999443,
-0.04017777368426323,
-0.04202335700392723,
0.05236532539129257,
-0.017456481233239174,
0.02875971607863903,
-0.007516778074204922,
-0.01659393310546875,
0.06504902988672256,
0.007813876494765282,
0.000426962913479656,
0.056507233530282974,
-0.021566851064562798,
0.03400684893131256,
0.015221784822642803,
-0.011472873389720917,
0.007505948189646006,
0.047043804079294205,
-0.011518226936459541,
-0.05837637931108475,
0.020387090742588043,
-0.0018923328025266528,
-0.03999428451061249,
-0.03373349457979202,
0.07486435770988464,
0.008149916306138039,
-0.04333234578371048,
-0.05527256801724434,
0.057941410690546036,
-0.05169609189033508,
-0.022580258548259735,
-0.041455160826444626,
0.0008928928873501718,
-0.02565052919089794,
0.046102847903966904,
-0.020491372793912888,
0.013652426190674305,
0.07423066347837448,
-0.007196115329861641,
-0.017005592584609985,
0.006856902036815882,
0.08088234812021255,
0.09341920167207718,
0.043464623391628265,
0.008499480783939362,
0.051475584506988525,
-0.0040624383836984634,
-0.02078830450773239,
-0.02286440320312977,
-0.03181459382176399,
-0.026906412094831467,
0.01859000138938427,
0.013265328481793404,
0.08615254610776901,
-0.037007782608270645,
0.06193385273218155,
0.0005277239833958447,
-0.02565370872616768,
-0.008080714382231236,
-0.02132808044552803,
0.027905071154236794,
0.04581262543797493,
0.026095664128661156,
0.041409723460674286,
-0.04540915787220001,
-0.017555130645632744,
0.033639151602983475,
0.004015142098069191,
-0.0075805955566465855,
0.04720274358987808,
-0.031209131702780724,
-0.014647952280938625,
0.014088054187595844,
0.021060002967715263,
0.08494412153959274,
-0.02471771091222763,
0.004287903197109699,
0.01187311764806509,
0.020106984302401543,
0.007335641887038946,
0.02398395910859108,
-0.006397453136742115,
-0.010563401505351067,
-0.0022192527540028095,
-0.03407607227563858,
-0.029049048200249672,
-0.027072524651885033,
-0.029027026146650314,
0.01606934517621994,
-0.012066198512911797,
-0.01388106495141983,
-0.020509270951151848,
-0.018702780827879906,
-0.03895505517721176,
-0.053217045962810516,
-0.06744334101676941,
-0.045019734650850296,
-0.09290840476751328,
-0.014238554984331131,
0.0012635489692911506,
-0.009121873416006565,
-0.021295610815286636,
0.008121304214000702,
-0.018600894138216972,
-0.00381452776491642,
0.01885008066892624,
-0.01444082148373127,
0.00008442172111244872,
0.010959788225591183,
0.025474658235907555,
0.036718469113111496,
0.018850525841116905,
0.0637010708451271,
0.0012557032750919461,
0.014894016087055206,
-0.0290174949914217,
-0.012153900228440762,
0.046785447746515274,
0.02142258919775486,
-0.016478918492794037,
-0.06779924035072327,
-0.017339201644062996,
0.014616041444242,
0.000055159180192276835,
-0.07891865819692612,
0.004442526493221521,
0.04520702734589577,
0.007582553196698427,
0.050325267016887665,
-0.014066826552152634,
-0.0074722361750900745,
-0.011063734069466591,
0.017323335632681847,
-0.015291173942387104,
-0.012147581204771996,
0.05048828199505806,
-0.021744396537542343,
0.06939440220594406,
0.03402646631002426,
-0.03591706603765488,
-0.01629466377198696,
-0.04145219922065735,
-0.014905782416462898,
-0.0030666531529277563,
-0.06817754358053207,
-0.028320783749222755,
-0.04833110794425011,
-0.08489774167537689,
-0.045439500361680984,
0.005638659931719303,
-0.03611289709806442,
-0.020224466919898987,
-0.0025944930966943502,
0.021510954946279526,
0.0026373339351266623,
0.029403306543827057,
-0.031210636720061302,
0.04925977811217308,
-0.025223514065146446,
-0.008122480474412441,
-0.04108728840947151,
0.017038285732269287,
-0.019668083637952805,
-0.004961799830198288,
0.042356617748737335,
-0.0449691116809845,
-0.004005054943263531,
-0.02420082688331604,
0.029769018292427063,
0.02515147440135479,
0.008376777172088623,
0.017591197043657303
] | [
-0.05626250430941582,
-0.04635527729988098,
-0.029921429231762886,
-0.040032148361206055,
0.02961832471191883,
-0.07338482141494751,
-0.00008445846469840035,
0.011230658739805222,
-0.0017032267060130835,
-0.011626331135630608,
0.022200901061296463,
-0.05102548375725746,
0.021915676072239876,
-0.020938631147146225,
0.07368358224630356,
-0.008968989364802837,
-0.06065157428383827,
-0.042466308921575546,
-0.05554385110735893,
0.05451628565788269,
-0.020144635811448097,
-0.03015761263668537,
-0.022040139883756638,
-0.0177554190158844,
0.017525680363178253,
0.03062332794070244,
0.04399293288588524,
-0.006310177501291037,
-0.03371674194931984,
-0.2015019804239273,
-0.00889731664210558,
-0.008701026439666748,
0.022237911820411682,
-0.007101678289473057,
0.00951689388602972,
0.008607439696788788,
0.05679498612880707,
-0.018118910491466522,
-0.013653277419507504,
0.05320349335670471,
0.03253869339823723,
-0.00040625903056934476,
-0.07020412385463715,
-0.013563763350248337,
0.07643977552652359,
0.020422140136361122,
-0.011720018461346626,
-0.028595078736543655,
-0.009072603657841682,
0.04087190330028534,
-0.010292251594364643,
-0.0008209130028262734,
-0.02417127415537834,
0.0000034028755635517882,
0.02984113246202469,
0.045373737812042236,
0.03921153396368027,
0.08824819326400757,
0.028587782755494118,
0.03487652540206909,
0.024360567331314087,
-0.0027092434465885162,
-0.1047278493642807,
0.08984297513961792,
0.004537635948508978,
0.023030389100313187,
-0.024874607101082802,
-0.01821759343147278,
-0.022304654121398926,
0.0761253610253334,
0.02165427803993225,
0.009605096653103828,
-0.05687491223216057,
0.05573606491088867,
-0.018493453040719032,
0.01744155026972294,
-0.03455958887934685,
0.01918608695268631,
0.04148281738162041,
-0.0449521541595459,
-0.0752813071012497,
0.030991001054644585,
0.002997697563841939,
0.018383074551820755,
-0.01807216741144657,
0.004693146329373121,
-0.01128772646188736,
0.06689278036355972,
-0.0243503637611866,
0.038488734513521194,
0.031107643619179726,
0.0047913528978824615,
0.05724704638123512,
0.04175886511802673,
-0.06820690631866455,
-0.019084326922893524,
-0.002566036069765687,
0.044600989669561386,
-0.024674275889992714,
0.3940545618534088,
-0.007526851259171963,
0.02771003171801567,
0.0331103652715683,
0.01908714510500431,
-0.015127765014767647,
-0.01199802104383707,
0.028212882578372955,
-0.07133862376213074,
0.026792149990797043,
0.0015986791113391519,
-0.009130515158176422,
-0.0627005472779274,
0.005622643977403641,
-0.07597775012254715,
-0.00011036947398679331,
0.010199114680290222,
0.06855527311563492,
0.05305951461195946,
-0.045158419758081436,
0.02920335717499256,
-0.017145827412605286,
-0.01955845206975937,
0.0501270554959774,
0.044861674308776855,
0.04955713450908661,
0.051914408802986145,
0.017546765506267548,
0.03256204351782799,
0.03177085146307945,
0.023069817572832108,
0.021510392427444458,
0.018587658181786537,
-0.07102906703948975,
0.06022380664944649,
-0.006914864759892225,
-0.017404116690158844,
-0.0011422482784837484,
-0.04284229874610901,
-0.01820455677807331,
0.028516894206404686,
-0.005224765278398991,
-0.013975509442389011,
0.03233138844370842,
-0.0018432850483804941,
-0.009441548958420753,
0.12292500585317612,
0.0022821591701358557,
-0.043623972684144974,
-0.02897278219461441,
-0.02221493236720562,
-0.0007932957378216088,
0.0283075999468565,
-0.03359389677643776,
-0.036281779408454895,
-0.021958062425255775,
0.03155268728733063,
0.08553772419691086,
0.002521892311051488,
-0.08546722680330276,
0.009139295667409897,
-0.01564129628241062,
-0.04460419341921806,
-0.023220224305987358,
0.0882231742143631,
0.03671453893184662,
-0.11982030421495438,
-0.009943295270204544,
0.02160470373928547,
-0.006766211707144976,
-0.07431577146053314,
-0.008869160898029804,
0.01545320637524128,
-0.0223724152892828,
-0.03927605226635933,
0.07773952931165695,
-0.003282983787357807,
-0.02114688605070114,
-0.03707733377814293,
0.04612703621387482,
0.01056278683245182,
-0.041439395397901535,
-0.02889842540025711,
-0.040123045444488525,
-0.007536373101174831,
-0.07153790444135666,
-0.03854204714298248,
-0.0466306246817112,
0.044733233749866486,
-0.0333876758813858,
0.0026575650554150343,
-0.010617325082421303,
0.010468201711773872,
-0.033266179263591766,
0.06101289764046669,
-0.062207501381635666,
-0.05355198308825493,
-0.028613843023777008,
-0.014205352403223515,
-0.008887340314686298,
-0.05155416950583458,
0.017466392368078232,
0.02414184808731079,
-0.051487505435943604,
0.020639289170503616,
-0.053428806364536285,
0.01779804192483425,
0.07504911720752716,
-0.025388501584529877,
0.04762894660234451,
0.03567174822092056,
-0.04458236321806908,
0.009292375296354294,
-0.02913343347609043,
0.015989335253834724,
-0.0116262286901474,
-0.01387623231858015,
0.008309299126267433,
-0.02391483634710312,
0.005492229014635086,
0.025036118924617767,
-0.05877979099750519,
-0.02768043614923954,
-0.03501680865883827,
-0.33861103653907776,
-0.04282683879137039,
-0.040164150297641754,
-0.007664103526622057,
-0.002924485830590129,
-0.04041965305805206,
0.0010911397403106093,
-0.04371647909283638,
0.013062612153589725,
-0.005217876750975847,
0.10496840626001358,
-0.015646571293473244,
-0.009772483259439468,
-0.045501772314310074,
-0.00949387438595295,
0.04014120250940323,
0.012773238122463226,
-0.01242144126445055,
0.0015351726906374097,
0.00300615350715816,
-0.010868988931179047,
-0.05179836228489876,
-0.01540509145706892,
-0.050761107355356216,
0.01949383318424225,
0.010143269784748554,
0.10349130630493164,
0.0011493074707686901,
0.01985786482691765,
-0.07095907628536224,
0.05541862174868584,
0.0010720886057242751,
-0.005025194026529789,
-0.07722768932580948,
0.006836031097918749,
-0.006060053128749132,
0.013350430876016617,
0.028370201587677002,
-0.010273211635649204,
-0.012763399630784988,
-0.03942040726542473,
0.020903179422020912,
-0.06095971167087555,
-0.0635201632976532,
0.00904014427214861,
0.004563040565699339,
-0.05263816565275192,
0.02357597090303898,
0.01610758900642395,
0.08385233581066132,
0.025568053126335144,
0.015628494322299957,
0.01483133900910616,
0.033251021057367325,
0.009819387458264828,
-0.028531761839985847,
-0.05229043960571289,
-0.02595832571387291,
-0.0007141688256524503,
0.07036878168582916,
0.005524580366909504,
0.04128505289554596,
0.02055600844323635,
-0.08563100546598434,
0.0426797978579998,
0.012595295906066895,
-0.039030518382787704,
0.00820695236325264,
0.04401903599500656,
-0.06862138956785202,
-0.038626886904239655,
0.10615766793489456,
-0.0071562803350389,
0.03046376071870327,
0.04160876199603081,
0.027317186817526817,
-0.023620033636689186,
0.021423835307359695,
0.028847044333815575,
0.02240079641342163,
0.01860767789185047,
-0.04636259749531746,
0.08892208337783813,
0.005164481699466705,
-0.03203945606946945,
0.06850425153970718,
0.004480232950299978,
-0.026092978194355965,
0.027812669053673744,
0.011444654315710068,
-0.034529998898506165,
-0.00790934357792139,
-0.029343802481889725,
-0.0633736178278923,
0.061308301985263824,
-0.01730997860431671,
-0.25907716155052185,
0.03266892954707146,
0.038148049265146255,
0.07123533636331558,
0.008651251904666424,
-0.0013674006331712008,
0.036478038877248764,
-0.0290690828114748,
-0.004297416191548109,
0.008081692270934582,
0.03865165635943413,
0.07550884038209915,
-0.015101268887519836,
-0.015974488109350204,
-0.0025293214712291956,
0.01400762889534235,
0.02419099397957325,
0.006171650718897581,
0.03208628296852112,
0.024389931932091713,
0.031401392072439194,
-0.039836179465055466,
0.1950778216123581,
0.0248137004673481,
-0.0005419119261205196,
0.036811135709285736,
-0.03163726627826691,
0.002607777714729309,
0.06998813897371292,
0.011910544708371162,
-0.013259378261864185,
0.04216298088431358,
-0.003618567483499646,
0.034179091453552246,
0.025787509977817535,
-0.03616328164935112,
-0.02297034114599228,
0.022521592676639557,
0.002928390633314848,
-0.04611632600426674,
-0.003734191646799445,
0.017503760755062103,
-0.03823647275567055,
0.016183655709028244,
0.0716831386089325,
-0.032450683414936066,
0.016204727813601494,
-0.004851594567298889,
-0.06047896295785904,
-0.00016829381638672203,
-0.020328044891357422,
-0.047225113958120346,
-0.03371645137667656,
0.00656179990619421,
-0.012273608706891537,
0.09641160070896149,
0.004313959740102291,
-0.0014288792153820395,
0.034143656492233276,
0.044327761977910995,
-0.028969494625926018,
-0.06495656073093414,
0.09733812510967255,
-0.04885132983326912,
0.01924889162182808
] | [
0.03694954887032509,
0.07048311084508896,
0.009002232924103737,
0.008118380792438984,
-0.011054442264139652,
-0.0033782143145799637,
-0.011653602123260498,
0.013395952992141247,
-0.019233057275414467,
0.010267275385558605,
0.000021015042875660583,
0.013571576215326786,
0.06952646374702454,
-0.019832102581858635,
-0.000718760653398931,
0.017262985929846764,
-0.04887278750538826,
0.011565759778022766,
0.031032655388116837,
-0.04421807825565338,
-0.053487107157707214,
-0.00974126998335123,
0.05549221113324165,
-0.0005164489848539233,
-0.011470327153801918,
-0.008624591864645481,
-0.014072902500629425,
0.01744958758354187,
0.01665600761771202,
-0.09801570326089859,
-0.0231996588408947,
-0.030043359845876694,
-0.024999869987368584,
0.013116966001689434,
-0.054612718522548676,
0.03195790946483612,
0.026846054941415787,
0.008548872545361519,
0.0057404604740440845,
0.012656029313802719,
0.01712690107524395,
-0.024687785655260086,
-0.04325233772397041,
0.03638666495680809,
0.005987162236124277,
0.0062963636592030525,
0.0017521618865430355,
-0.04434347525238991,
-0.03248035907745361,
0.005167774856090546,
-0.056885652244091034,
-0.011932278983294964,
-0.03030954673886299,
-0.005564926192164421,
-0.006495269481092691,
0.023240864276885986,
-0.07851851731538773,
0.008956888690590858,
0.024513816460967064,
-0.0246941726654768,
0.016896462067961693,
-0.006659581791609526,
-0.04616105556488037,
-0.01556845847517252,
-0.0021349499002099037,
0.003944088704884052,
-0.011805450543761253,
-0.004124154802411795,
0.014141774736344814,
0.009475328959524632,
0.020188331604003906,
0.03208534047007561,
-0.041541531682014465,
-0.04537754878401756,
-0.03635585680603981,
0.01730506494641304,
0.018819712102413177,
-0.04925306513905525,
-0.015352451242506504,
0.0028516394086182117,
0.016382308676838875,
-0.005951317027211189,
-0.037205103784799576,
-0.01019251998513937,
-0.02224619686603546,
-0.011333427391946316,
-0.0014778863405808806,
-0.01213814690709114,
-0.020847277715802193,
0.012943267822265625,
-0.015578768216073513,
0.005111576523631811,
0.012675972655415535,
-0.0029621957801282406,
-0.085776686668396,
0.00819107610732317,
0.036255836486816406,
-0.022600267082452774,
0.00944784376770258,
0.8156987428665161,
-0.006802250165492296,
-0.01901155151426792,
0.00019021681509912014,
-0.00007724421448074281,
0.04755520075559616,
0.018219126388430595,
-0.0024526778142899275,
-0.013126188889145851,
-0.005015846341848373,
0.0352933295071125,
-0.030622972175478935,
0.02507733181118965,
-0.025991320610046387,
0.0025680747348815203,
0.021796640008687973,
0.03141949698328972,
0.013062998652458191,
0.002504456788301468,
0.019103657454252243,
0.06075742840766907,
0.01862456649541855,
-0.008298045955598354,
-0.017000025138258934,
0.012287480756640434,
-0.014375496655702591,
-0.18257169425487518,
-0.01567193679511547,
-6.602354304541417e-33,
0.07364004850387573,
0.0099646532908082,
0.06304171681404114,
0.017697354778647423,
0.016954520717263222,
0.022012118250131607,
0.003312971442937851,
-0.04647368937730789,
-0.05187435820698738,
-0.04606395214796066,
-0.000909741036593914,
0.010003386065363884,
-0.012394346296787262,
0.009179158136248589,
0.0005842400714755058,
0.006616553291678429,
0.01840835250914097,
0.035592541098594666,
-0.008810700848698616,
0.008538532070815563,
-0.019337574020028114,
0.014323664829134941,
-0.03912712633609772,
0.03332061320543289,
0.028770554810762405,
0.04093707725405693,
0.01232313271611929,
0.006846683565527201,
-0.022110015153884888,
-0.053066592663526535,
-0.04755624383687973,
0.051375601440668106,
-0.026226596906781197,
-0.028297701850533485,
0.04915609210729599,
-0.06816478073596954,
-0.010549764148890972,
0.007054037414491177,
-0.06311940401792526,
-0.06775155663490295,
-0.0392620675265789,
-0.001953892409801483,
0.0035877246409654617,
-0.053140901029109955,
-0.03864019736647606,
-0.04070112481713295,
-0.011759796179831028,
0.008800564333796501,
-0.00278871669434011,
0.04196137189865112,
0.01824268326163292,
0.013040179386734962,
-0.006990440189838409,
0.0008149201166816056,
-0.043895430862903595,
-0.034296225756406784,
-0.020231207832694054,
0.012344825081527233,
0.0023281138855963945,
0.013672374188899994,
0.04971262812614441,
-0.013549398630857468,
0.0015519657172262669,
0.03283538296818733,
0.023927627131342888,
0.0015860701678320765,
-0.013660222291946411,
0.001019578892737627,
0.0010187315056100488,
0.04765898361802101,
-0.038711439818143845,
0.041639357805252075,
-0.02796817012131214,
-0.0332440622150898,
0.019565246999263763,
-0.04041706770658493,
-0.0008976363460533321,
-0.032877158373594284,
0.004860232584178448,
0.04135001078248024,
0.00587647408246994,
-0.02178402803838253,
0.024859348312020302,
-0.02134435623884201,
-0.014098882675170898,
-0.0007112955790944397,
0.0363641194999218,
0.04535425454378128,
0.01575252041220665,
0.031016379594802856,
0.04544619843363762,
0.0437212735414505,
-0.025408223271369934,
-0.01202591322362423,
-0.03829144686460495,
6.17443836132761e-33,
-0.00038267020136117935,
-0.019305365160107613,
-0.023527154698967934,
0.006739718373864889,
0.031460028141736984,
0.011781273409724236,
0.025489604100584984,
0.022299911826848984,
-0.007470982149243355,
0.04624322056770325,
0.0030375923961400986,
-0.04666654393076897,
0.004927346482872963,
0.003827332751825452,
0.056485433131456375,
-0.005644902121275663,
0.003581648226827383,
-0.039687756448984146,
-0.01145707443356514,
0.014041604474186897,
-0.03837185725569725,
0.003776053199544549,
-0.00165567675139755,
0.0361894816160202,
0.004045995883643627,
0.023091739043593407,
0.0011201407760381699,
-0.0005267257802188396,
-0.04070098698139191,
-0.010951824486255646,
-0.016587814316153526,
-0.04601772502064705,
-0.0108341621235013,
-0.013013474643230438,
0.004907205700874329,
0.01654602587223053,
-0.011853218078613281,
0.021319085732102394,
0.018385399132966995,
0.0017846394330263138,
0.047083500772714615,
-0.00106979557313025,
-0.00598401203751564,
0.03752937540411949,
0.010363154113292694,
0.018011964857578278,
0.017199641093611717,
0.009973758831620216,
-0.0005679026362486184,
0.04525723308324814,
0.045911092311143875,
0.020106719806790352,
-0.02043692208826542,
0.0013706638710573316,
0.02926640585064888,
-0.041473139077425,
-0.017399711534380913,
0.024518568068742752,
0.016594557091593742,
-0.019609471783041954,
-0.011744250543415546,
-0.0372907854616642,
0.0030895669478923082,
0.057295285165309906,
-0.011525910347700119,
-0.04488551616668701,
-0.03428089991211891,
0.0009021306177601218,
-0.022184912115335464,
-0.002102476544678211,
0.009255154989659786,
-0.0029182718135416508,
-0.019336936995387077,
0.011442760936915874,
0.05006565898656845,
-0.04174445942044258,
-0.009446590207517147,
-0.016396967694163322,
-0.02416250854730606,
0.015056420117616653,
0.02615302987396717,
0.029661932960152626,
0.020319120958447456,
0.009090263396501541,
-0.01241342443972826,
0.015692630782723427,
-0.010170439258217812,
0.024643804877996445,
-0.010750272311270237,
-0.025424212217330933,
0.050013937056064606,
-0.011916046030819416,
-0.05297655612230301,
0.03357122093439102,
-0.01737132854759693,
-1.2301782703616482e-8,
-0.01832224428653717,
0.022661132737994194,
-0.004131115972995758,
0.02088293991982937,
-0.017008038237690926,
0.01216309517621994,
0.02302866242825985,
0.009216495789587498,
0.03311479464173317,
-0.0024762938264757395,
0.02352384477853775,
-0.0036289135459810495,
0.004358468111604452,
0.0017908104928210378,
0.009493582881987095,
-0.035257868468761444,
-0.0245280209928751,
-0.01739455759525299,
0.03954958915710449,
0.010673055425286293,
-0.04928528890013695,
0.014657174237072468,
-0.014816313050687313,
0.007954632863402367,
0.024982189759612083,
0.01829966902732849,
0.04865502566099167,
-0.04036650434136391,
0.005876573268324137,
-0.009841255843639374,
0.030576344579458237,
-0.03705569729208946,
-0.01037432812154293,
-0.0014000748051330447,
-0.03321601822972298,
-0.028203977271914482,
0.008826827630400658,
0.024745073169469833,
-0.0322345569729805,
0.04394444078207016,
-0.0035384357906877995,
0.015438497066497803,
-0.019988039508461952,
-0.026464877650141716,
-0.04020806401968002,
0.017377519980072975,
-0.014480622485280037,
0.021868597716093063,
0.03974973410367966,
-0.02173638343811035,
-0.02011341042816639,
-0.002733419416472316,
0.02926422841846943,
-0.0028399929869920015,
0.04166976362466812,
-0.013074451126158237,
0.05746191367506981,
-0.016559844836592674,
-0.014288698323071003,
-0.051132477819919586,
0.04985615611076355,
-0.006474606692790985,
-0.04054880514740944,
-0.024643728509545326
] | neo4j-keep-filter-keys-map-apoc | https://markhneedham.com/blog/2019/05/12/neo4j-keep-filter-keys-map-apoc |
false | 2019-11-24 00:21:00 | Elasticsearch: Importing data into App Search | [
"elastic",
"elasticsearch",
"appsearch",
"python"
] | [
"Elasticsearch"
] | For a side project that I'm working on I wanted to create a small React application that can query data stored in https://www.elastic.co/[Elasticsearch^], and https://www.elastic.co/blog/how-to-build-application-search-with-react-and-elastic-app-search[most of the tutorials^] I found suggested using a tool called Elastic App Search.
I'd not heard of App Search before, and it took me a while to figure out that it's the mid level product in between Elasticsearch Service and Elastic Site Search Service, as described on https://www.elastic.co/cloud[elastic.co/cloud]
image::{{<siteurl>}}/uploads/2019/11/appsearch.png[]
== Launching Elastic App Search locally
Now that we've figured that out we're going to setup a local running App Search server and import some data into it.
I found a https://okode.com/demystified-elasticsearch-with-elastic-app-search/[Docker compose file^] on the Okode blog that I adapted to the following:
_docker-compose.yml_
[source,yaml]
----
version: '3.7'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.4.2
environment:
- "node.name=es-node"
- "discovery.type=single-node"
- "cluster.name=app-search-docker-cluster"
- "bootstrap.memory_lock=true"
- "ES_JAVA_OPTS=-Xms512m -Xmx2048m"
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 9200:9200
- 9300:9300
appsearch:
image: docker.elastic.co/app-search/app-search:7.4.2
depends_on:
- elasticsearch
environment:
- "elasticsearch.host=http://elasticsearch:9200"
- "allow_es_settings_modification=true"
- "JAVA_OPTS=-Xmx2048m"
ports:
- 3002:3002
----
We can run the following command to launch AppSearch:
[source,bash]
----
docker-compose up
----
Once that command has run App Search should be running at http://localhost:3002/.
If we navigate to that URL in our web browser, we'll see the following screen:
image::{{<siteurl>}}/uploads/2019/11/create-engine.png[]
We need to create an `engine`, which is App Search's name for an `index`.
Let's create one called `meals`, as in the Okode tutorial mentioned earlier.
Once we've done that we'll see the following screen, which has instructions for importing data into our engine:
image::{{<siteurl>}}/uploads/2019/11/import-data.png[]
But we're not going to use any of these approaches!
== Installing the Python elastic-app-search library
Instead we'll use the Python https://pypi.org/project/elastic-app-search/[elastic-app-search^] library to import data into AppSearch.
We'll install the library using https://pipenv-fork.readthedocs.io/en/latest/index.html[Pipenv^] via the following Pipfile:
_Pipfile_
[source,yaml]
----
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
[packages]
elastic-app-search = "*"
requests = "*"
stringcase = "*"
[requires]
python_version = "3.7"
----
We can set everything up by running the following commands:
[source,bash]
----
pipenv shell
pipenv install
----
Once we've run those commands, we can check that the library is installed by executing the following command:
[source,bash]
----
pipenv graph
----
If we run that we'll see the following output:
[source,bash]
----
elastic-app-search==7.4.0
- PyJWT [required: Any, installed: 1.7.1]
- requests [required: Any, installed: 2.22.0]
- certifi [required: >=2017.4.17, installed: 2019.9.11]
- chardet [required: >=3.0.2,<3.1.0, installed: 3.0.4]
- idna [required: >=2.5,<2.9, installed: 2.8]
- urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.7]
stringcase==1.2.0
----
== Importing data
We can now write a Python script to import some of the documents from https://themealdb.com/[themealdb.com^]:
[source,python]
----
from elastic_app_search import Client
import requests as r
engine_name = 'meals'
api_key = "private-kwicp7mhwssdxv54as9buzen"
client = Client(
api_key=api_key,
base_endpoint='localhost:3002/api/as/v1',
use_https=False
)
response = r.get("https://www.themealdb.com/api/json/v1/1/search.php?f=a").json()
documents = []
for entry in response["meals"]:
documents.append(entry)
if len(documents) % 50 == 0:
res = client.index_documents(engine_name, documents)
print(res)
documents = []
res = client.index_documents(engine_name, documents)
print(res)
----
We get the `api_key` via the `Credentials` menu item:
image::{{<siteurl>}}/uploads/2019/11/credentials.png[]
If we execute this script we'll see the following output:
[source,text]
----
[{'id': None, 'errors': ['Fields can only contain lowercase letters, numbers, and underscores: idMeal.', 'Fields can only contain lowercase letters, numbers, and underscores: strMeal.', 'Fields can only contain lowercase letters, numbers, and underscores: strDrinkAlternate.', 'Fields can only contain lowercase letters, numbers, and underscores: strCategory.', 'Fields can only contain lowercase letters, numbers, and underscores: strArea.', 'Fields can only contain lowercase letters, numbers, and underscores: strInstructions.', 'Fields can only contain lowercase letters, numbers, and underscores: strMealThumb.',
...
]}]
----
We're not allowed to have fields that contain uppercase letters, so we'll need to fix that.
We can use the https://pypi.org/project/stringcase/[stringcase^] library to fix this.
The following script does this:
[source,python]
----
from elastic_app_search import Client
import requests as r
import stringcase
engine_name = 'meals'
api_key = "private-kwicp7mhwssdxv54as9buzen"
client = Client(
api_key=api_key,
base_endpoint='localhost:3002/api/as/v1',
use_https=False
)
response = r.get("https://www.themealdb.com/api/json/v1/1/search.php?f=a").json()
documents = []
for entry in response["meals"]:
new_entry = {stringcase.snakecase(key):entry[key] for key in entry}
new_entry["id"] = new_entry["id_meal"]
documents.append(new_entry)
if len(documents) % 50 == 0:
res = client.index_documents(engine_name, documents)
print(res)
documents = []
res = client.index_documents(engine_name, documents)
print(res)
----
If we execute that query, we'll see the following output:
[source,text]
----
[{'id': '52768', 'errors': []}, {'id': '52893', 'errors': []}]
----
And now let's navigate to http://localhost:3002/as#/engines/meals/documents to have a look at what we've imported:
image::{{<siteurl>}}/uploads/2019/11/data-imported.png[]
Success! | Learn how to import data into Elastic App Search | null | [
-0.027083339169621468,
-0.0035045382101088762,
0.024564068764448166,
0.037066638469696045,
0.09005653858184814,
0.03063897043466568,
-0.005812772084027529,
0.05939819663763046,
-0.028354601934552193,
-0.04336735978722572,
-0.0006142533384263515,
-0.018848199397325516,
-0.05708979815244675,
0.008341620676219463,
0.005780732724815607,
0.05220961943268776,
0.0865650475025177,
0.026017464697360992,
0.03185594081878662,
0.024297086521983147,
0.029271556064486504,
0.06226731836795807,
-0.016885528340935707,
0.04389963671565056,
0.013654310256242752,
0.01038778480142355,
0.010602058842778206,
0.005699091125279665,
-0.07293310016393661,
-0.03273564949631691,
0.02509438432753086,
-0.011073566041886806,
-0.011258143000304699,
0.013546951115131378,
-0.0055052111856639385,
-0.003829717403277755,
-0.03079727478325367,
0.018118595704436302,
-0.009019115008413792,
0.035095490515232086,
-0.10028479248285294,
0.04108261317014694,
0.0007881733472459018,
0.014030416496098042,
-0.010460707359015942,
0.03171201050281525,
-0.0494670495390892,
0.004797931294888258,
-0.005900101736187935,
0.001198628917336464,
-0.06890717148780823,
0.015830935910344124,
-0.03175720199942589,
-0.008439082652330399,
-0.00622985465452075,
0.036836739629507065,
0.01482705119997263,
-0.06818972527980804,
0.03370504081249237,
-0.009432300925254822,
0.0009615991148166358,
0.018006356433033943,
0.019943535327911377,
0.04852527379989624,
0.02180095575749874,
-0.026194527745246887,
-0.03839792311191559,
0.04308149591088295,
-0.027044113725423813,
-0.010965055786073208,
0.04093366861343384,
0.004714170470833778,
-0.016910117119550705,
-0.021548070013523102,
0.004791944287717342,
-0.027681982144713402,
-0.009242902509868145,
0.03482670336961746,
0.00815669447183609,
0.0710853785276413,
-0.037276241928339005,
-0.005428234580904245,
0.014175781980156898,
0.01434196438640356,
0.009260549210011959,
-0.02349037304520607,
-0.05676449090242386,
0.042348578572273254,
-0.05208286643028259,
0.04941008239984512,
0.06633861362934113,
-0.052270568907260895,
0.0357801727950573,
0.03305524215102196,
0.022646186873316765,
0.023906009271740913,
0.013524985872209072,
0.0009686442208476365,
-0.0011402326636016369,
-0.00016995996702462435,
-0.01874527335166931,
0.02953091636300087,
-0.01282664854079485,
0.03520052880048752,
-0.07961898297071457,
-0.013488867320120335,
-0.0009823426371440291,
-0.027936192229390144,
-0.019405599683523178,
-0.01624106429517269,
0.006868709810078144,
0.053478699177503586,
-0.02002832666039467,
0.00983651727437973,
-0.0909692645072937,
0.059878066182136536,
0.023382127285003662,
-0.018734272569417953,
-0.003161211032420397,
0.014104356057941914,
0.023569956421852112,
0.060715727508068085,
-0.011079901829361916,
0.03039252944290638,
-0.017515795305371284,
0.014936939813196659,
0.010290159843862057,
0.04642105475068092,
-0.01878981851041317,
-0.051659051328897476,
-0.028271781280636787,
0.03391915559768677,
0.023704899474978447,
0.013291118666529655,
-0.025025591254234314,
0.008463146165013313,
-0.004080591257661581,
0.003605237230658531,
0.09209495037794113,
0.03687256947159767,
-0.02841043472290039,
-0.07510294765233994,
0.015883656218647957,
-0.008146421052515507,
0.021704936400055885,
-0.0002801613009069115,
0.02787019871175289,
-0.06069926545023918,
-0.037908509373664856,
0.046451035887002945,
0.020673401653766632,
0.027183225378394127,
0.048196941614151,
-0.036342717707157135,
-0.0021881996653974056,
0.11648288369178772,
0.008561096154153347,
-0.003036134410649538,
-0.01194143295288086,
-0.030354896560311317,
0.03021404892206192,
0.04172119125723839,
-0.019101563841104507,
0.019254697486758232,
-0.00016616788343526423,
-0.02322813682258129,
0.006332055665552616,
0.0512143075466156,
0.003929188475012779,
-0.0007294095703400671,
-0.0434657484292984,
-0.07370575517416,
0.06617943942546844,
-0.015920206904411316,
0.014483567327260971,
0.05663546547293663,
0.08897241204977036,
0.029408978298306465,
0.018900467082858086,
0.010657978244125843,
-0.0684923529624939,
0.03928613290190697,
0.03265133127570152,
0.008756500668823719,
0.05799883231520653,
-0.008275497704744339,
0.08330406993627548,
0.015386243350803852,
0.012602809816598892,
0.023037560284137726,
-0.07590899616479874,
-0.08922436088323593,
-0.033423300832509995,
-0.0010600631358101964,
0.045672498643398285,
-0.03659907728433609,
-0.05427005887031555,
0.06058831140398979,
0.016485922038555145,
0.016156498342752457,
0.006800950970500708,
-0.004820120055228472,
0.010057938285171986,
-0.04724382981657982,
-0.09540403634309769,
0.012918082065880299,
0.035666000097990036,
-0.03147667273879051,
-0.05413009598851204,
0.02771042287349701,
-0.025742335245013237,
-0.03693004325032234,
0.02019391395151615,
-0.0481111966073513,
0.06337428092956543,
0.0030527368653565645,
0.030387073755264282,
-0.059381965547800064,
0.04266274347901344,
-0.032305482774972916,
0.06581690907478333,
-0.021985264495015144,
-0.005015276838093996,
-0.007534432224929333,
-0.006320048589259386,
0.08012187480926514,
0.05225617066025734,
-0.050264663994312286,
-0.05584743991494179,
0.028046930208802223,
0.0332520492374897,
-0.05399779975414276,
0.0010023245122283697,
-0.05187790095806122,
0.0010463077342137694,
0.006763733923435211,
-0.00541826244443655,
-0.019155174493789673,
0.006692478433251381,
-0.031954891979694366,
-0.006342614535242319,
0.07322915643453598,
-0.04687533900141716,
0.03706938773393631,
0.02323499321937561,
-0.046917129307985306,
0.0022286749444901943,
-0.053385913372039795,
-0.07415250688791275,
-0.01757228933274746,
0.020634610205888748,
-0.011536868289113045,
0.0327858068048954,
-0.04153837636113167,
-0.021831601858139038,
-0.05706566572189331,
-0.034772977232933044,
0.05432930588722229,
-0.0012453589588403702,
0.06901781260967255,
-0.017277108505368233,
0.06163087859749794,
-0.015494301915168762,
0.03654377534985542,
0.008808018639683723,
-0.03330694139003754,
-0.01793915033340454,
-0.018853405490517616,
-0.015787769109010696,
0.007926492020487785,
0.018722815439105034,
0.016473036259412766,
0.04696012660861015,
-0.024797558784484863,
0.023141974583268166,
-0.02181966044008732,
0.0153501583263278,
-0.002509318757802248,
-0.004096276126801968,
-0.043761689215898514,
-0.002592773176729679,
0.04993457719683647,
-0.044483356177806854,
0.008323267102241516,
0.012140896171331406,
-0.07904230803251266,
0.007187818642705679,
-0.07251385599374771,
-0.030054226517677307,
-0.026406265795230865,
0.045531969517469406,
0.02147085778415203,
0.013209646567702293,
0.025597620755434036,
0.0732693299651146,
0.0480571910738945,
0.02167224884033203,
0.034689418971538544,
0.014442685060203075,
0.033871129155159,
-0.011029728688299656,
-0.0017979145050048828,
0.0423821397125721,
-0.008548937737941742,
0.008979248814284801,
-0.06848824769258499,
0.01301745604723692,
-0.0430741123855114,
-0.24844810366630554,
0.02467343769967556,
-0.02887234464287758,
-0.02073923870921135,
0.016746221110224724,
0.023472579196095467,
-0.006601250730454922,
-0.03554273024201393,
0.020095743238925934,
0.010191169567406178,
-0.029972925782203674,
-0.033860933035612106,
-0.013064131140708923,
0.016191555187106133,
-0.013929100707173347,
0.026926271617412567,
0.015666525810956955,
-0.022041907534003258,
-0.0010477316100150347,
-0.02633313089609146,
-0.018121769651770592,
-0.0588182769715786,
0.036276329308748245,
0.024256723001599312,
0.028113383799791336,
0.024609126150608063,
-0.061101000756025314,
0.0318036787211895,
-0.042374949902296066,
-0.01906477101147175,
0.022094974294304848,
-0.028412653133273125,
-0.018984422087669373,
0.010042163543403149,
-0.038074150681495667,
-0.008086012676358223,
0.007953023537993431,
-0.015483229421079159,
0.025579174980521202,
-0.009730600751936436,
-0.02998204343020916,
-0.018202291801571846,
-0.024824663996696472,
0.0021507502533495426,
0.05846457555890083,
-0.05539580434560776,
-0.07065261900424957,
-0.0010998224606737494,
-0.04952932521700859,
0.07992623001337051,
-0.026844415813684464,
-0.06095340475440025,
-0.04157768562436104,
0.06012964993715286,
0.0008460166282020509,
-0.02563336305320263,
-0.027727359905838966,
-0.000031412302632816136,
-0.05516716465353966,
-0.03267275169491768,
0.01301443949341774,
0.0018429096089676023,
-0.03848796710371971,
-0.05351955071091652,
-0.015028967522084713,
-0.05171895772218704,
-0.033391669392585754,
-0.028214801102876663,
0.06114673614501953,
0.026404257863759995,
-0.01154195424169302,
0.0008872770704329014,
0.008040628395974636,
-0.10513588786125183,
-0.008455699309706688,
-0.01408022828400135,
-0.03447971120476723,
-0.018794259056448936,
-0.008294660598039627,
0.010612893849611282,
-0.04685445874929428,
-0.015392521396279335,
0.04748686030507088,
0.026820676401257515,
-0.002690869616344571,
-0.019136279821395874,
-0.014652442187070847,
-0.009025190956890583,
-0.02110552415251732,
0.02053140662610531,
0.08028306812047958,
-0.04156975820660591,
-0.01781233213841915,
-0.03264421224594116,
-0.013420775532722473,
0.03388991579413414,
0.01832265406847,
0.012871820479631424,
0.009237158112227917,
0.0425562746822834,
0.022780543193221092,
-0.005832366179674864,
-0.008642027154564857,
0.00833399873226881,
0.002403018530458212,
-0.011109589599072933,
-0.05620859935879707,
0.008899402804672718,
0.06862764805555344,
0.00785245094448328,
-0.016404464840888977,
-0.027850933372974396,
0.025478888303041458,
-0.07294508814811707,
-0.0226069837808609,
0.013652309775352478,
0.014510483480989933,
0.023344241082668304,
0.03666955232620239,
-0.030205396935343742,
-0.057876937091350555,
0.03174667805433273,
0.02073596976697445,
-0.008143431507050991,
-0.05614044517278671,
-0.0523190051317215,
-0.010328319855034351,
0.03412564843893051,
0.007439509499818087,
0.024989645928144455,
-0.015654701739549637,
0.03097440116107464,
0.023793311789631844,
-0.05388632044196129,
0.022128891199827194,
-0.03078955039381981,
-0.00122052279766649,
-0.040900375694036484,
0.012713499367237091,
0.0062525891698896885,
-0.004431232810020447,
0.004297721199691296,
0.015430815517902374,
0.049394313246011734,
0.040385901927948,
0.05268311873078346,
0.029211344197392464,
0.022621214389801025,
0.004728436004370451,
-0.006301748566329479,
-0.035850655287504196,
-0.05601656064391136,
0.0346098355948925,
-0.030403217300772667,
-0.029805487021803856,
-0.0449395626783371,
0.048332538455724716,
-0.0030590530950576067,
-0.018003961071372032,
-0.04692972078919411,
0.016754457727074623,
-0.0715852677822113,
-0.024528559297323227,
-0.004346955567598343,
0.028891319409012794,
0.07078023254871368,
-0.006185153499245644,
0.042393527925014496,
-0.01910261996090412,
0.012943854555487633,
0.015082529745995998,
0.0001371586840832606,
-0.025091640651226044,
-0.004791911691427231,
-0.03382927179336548,
0.031084097921848297,
0.003080137772485614,
0.028377216309309006,
0.039204057306051254,
0.020364951342344284,
-0.007700729183852673,
0.010880769230425358,
0.011706966906785965,
0.038495685905218124,
0.022835135459899902,
0.02822762168943882,
-0.02949126809835434,
0.010361840017139912,
-0.02546754851937294,
-0.005610826425254345,
-0.034104298800230026,
-0.00678892619907856,
0.0005362046067602932,
-0.009683556854724884,
-0.023211095482110977,
-0.09000948071479797,
0.029252352192997932,
-0.02300320193171501,
0.010828682221472263,
0.018273353576660156,
-0.002967033302411437,
0.009128802455961704,
-0.04995604604482651,
0.03553510084748268,
0.06523855775594711,
-0.06505855172872543,
-0.009815378114581108,
-0.004049439914524555,
0.015370436944067478,
-0.004883835092186928,
0.03351176530122757,
-0.07068873196840286,
-0.03381451964378357,
0.031343527138233185,
0.013167614117264748,
-0.035659339278936386,
-0.036630284041166306,
-0.02023555524647236,
0.021220797672867775,
-0.006330991163849831,
-0.007283402141183615,
0.013508613221347332,
-0.01768004149198532,
-0.021843960508704185,
-0.03185255825519562,
0.03224969655275345,
-0.0016232063062489033,
-0.008658691309392452,
0.0037467845249921083,
-0.0186917707324028,
0.009987018071115017,
-0.02702656202018261,
0.01000924315303564,
0.015399144031107426,
0.004170495085418224,
-0.003904957789927721,
-0.051898449659347534,
-0.020422469824552536,
0.04523657262325287,
0.035968780517578125,
-0.02143087238073349,
-0.028898004442453384,
-0.05425585061311722,
0.021294882521033287,
-0.00836138240993023,
-0.00903993472456932,
0.003288981504738331,
0.02466074377298355,
-0.011162740178406239,
0.02347981184720993,
-0.00007400846516247839,
0.014722177758812904,
-0.029554584994912148,
-0.018268713727593422,
0.055556535720825195,
-0.03381062299013138,
-0.017121238633990288,
0.002329151378944516,
-0.0731639489531517,
0.026900917291641235,
0.0021726705599576235,
0.024049658328294754,
-0.07287292927503586,
0.043506819754838943,
0.03288305178284645,
0.00803521927446127,
0.022663187235593796,
-0.0022451472468674183,
0.03886239603161812,
-0.0221108365803957,
-0.037825796753168106,
-0.06881853193044662,
0.012349790893495083,
0.024275600910186768,
-0.02109009586274624,
0.027293633669614792,
0.013791348785161972,
-0.028523368760943413,
0.057550713419914246,
-0.012644140981137753,
-0.026322495192289352,
0.05991527810692787,
-0.03338818624615669,
-0.007012545131146908,
0.019477134570479393,
-0.05569860711693764,
0.034907855093479156,
0.042694855481386185,
-0.033659789711236954,
-0.014827467501163483,
0.019408002495765686,
0.04666727036237717,
-0.03438191115856171,
0.03650297969579697,
-0.02109842374920845,
-0.034072861075401306,
0.08764221519231796,
0.015303312800824642,
0.008610607124865055,
0.05893082544207573,
-0.02175307832658291,
0.029588481411337852,
0.01069486141204834,
-0.004908858798444271,
0.003022335935384035,
0.013792945072054863,
-0.011204971931874752,
-0.03796399384737015,
0.056975577026605606,
0.003407298121601343,
-0.028843985870480537,
-0.05116349086165428,
0.053884562104940414,
0.01941121369600296,
-0.05024181678891182,
-0.037109553813934326,
0.023924583569169044,
-0.0476982481777668,
-0.017514793202280998,
-0.03891519084572792,
-0.004383636638522148,
-0.038536954671144485,
0.023188889026641846,
0.009406943805515766,
-0.0011307407403364778,
0.08538060635328293,
0.005436770152300596,
0.007344486657530069,
0.023401452228426933,
0.10016390681266785,
0.08135702461004257,
0.011491538025438786,
0.02560373768210411,
0.07077349722385406,
-0.023198384791612625,
-0.01574311964213848,
0.0021618460305035114,
-0.035303227603435516,
-0.03587285056710243,
-0.017942817881703377,
-0.00522946659475565,
0.04241146147251129,
0.0022661536931991577,
0.07882750034332275,
-0.015207331627607346,
-0.005283587612211704,
-0.0275076013058424,
0.03433851897716522,
0.042433470487594604,
0.005379126872867346,
-0.0033941289875656366,
0.03517565876245499,
-0.025266364216804504,
-0.029577553272247314,
-0.017848936840891838,
-0.02814936824142933,
-0.06082930788397789,
0.019406864419579506,
-0.018976425752043724,
0.013174140825867653,
-0.001438645413145423,
0.02110024355351925,
0.07656439393758774,
-0.014975551515817642,
0.008273255079984665,
-0.0003741220571100712,
0.0317419171333313,
0.026045339182019234,
0.037309154868125916,
-0.0335475318133831,
-0.028401440009474754,
-0.014057410880923271,
-0.012531012296676636,
-0.005915098357945681,
-0.009670916013419628,
-0.03883715346455574,
0.04684707522392273,
-0.03626994416117668,
0.0043586366809904575,
0.0050348578952252865,
0.024125942960381508,
-0.03623713180422783,
-0.032500218600034714,
-0.07745774835348129,
-0.03360713645815849,
-0.05727303773164749,
0.0022156971972435713,
0.032490041106939316,
0.018926357850432396,
-0.018301820382475853,
-0.024093015119433403,
-0.016320794820785522,
0.005092705599963665,
0.032932132482528687,
-0.03459348902106285,
-0.00033005131990648806,
-0.006672583054751158,
0.02491590939462185,
0.021435793489217758,
-0.004982213024049997,
0.062072742730379105,
-0.037835877388715744,
-0.011321844533085823,
-0.021512100473046303,
0.02241993136703968,
0.03952420875430107,
0.011113558895885944,
0.028131913393735886,
-0.05681804567575455,
0.025212831795215607,
0.003397142281755805,
0.007214096374809742,
-0.06692338734865189,
-0.015443903394043446,
0.04287499189376831,
0.0006138585158623755,
0.07454781979322433,
-0.02471615932881832,
0.012079204432666302,
-0.04714549332857132,
-0.0034649239387363195,
0.027717815712094307,
-0.004420382436364889,
0.026943927630782127,
0.01640414074063301,
0.06799658387899399,
0.030815670266747475,
-0.006873634178191423,
-0.016754791140556335,
0.0028366073966026306,
-0.005464453715831041,
0.004708183463662863,
-0.044326458126306534,
-0.01560693047940731,
-0.047093022614717484,
-0.06531870365142822,
-0.06957092881202698,
-0.0015223331283777952,
-0.03269980102777481,
-0.03971322998404503,
-0.0025286369491368532,
0.031054161489009857,
-0.02199183963239193,
0.01792803592979908,
-0.05451278015971184,
0.012266089208424091,
-0.019308436661958694,
0.012198126874864101,
0.005144303664565086,
0.012654722668230534,
0.02685944363474846,
-0.024116139858961105,
0.00978485494852066,
-0.024369556456804276,
-0.010030400939285755,
-0.0415039025247097,
0.01968652568757534,
0.04656670242547989,
0.004917679820209742,
-0.005429821088910103
] | [
-0.05548122152686119,
-0.03293958678841591,
-0.03880476579070091,
-0.013238283805549145,
0.05821637809276581,
-0.06218903884291649,
-0.036888040602207184,
0.009865970350801945,
-0.03855803981423378,
-0.02253846824169159,
0.008524097502231598,
-0.06582341343164444,
0.0229641105979681,
-0.018295202404260635,
0.07798116654157639,
0.003864249214529991,
-0.01089855469763279,
-0.0437433235347271,
-0.03043978661298752,
0.07728748023509979,
0.04764654487371445,
0.02294747345149517,
-0.04133857041597366,
-0.07339519262313843,
-0.03458324074745178,
0.03310036286711693,
0.027840154245495796,
-0.012816714122891426,
0.008137204684317112,
-0.13881738483905792,
-0.020309068262577057,
-0.016339033842086792,
0.04912048205733299,
0.008503020741045475,
0.02725067175924778,
0.0457351915538311,
0.038046736270189285,
-0.0011006725253537297,
-0.025456510484218597,
0.04570562019944191,
0.04151013866066933,
0.027570998296141624,
-0.020901108160614967,
0.0029903205577284098,
0.00965177547186613,
-0.010831482708454132,
-0.005298507399857044,
-0.024561408907175064,
-0.016834506765007973,
0.02084209769964218,
-0.02064364030957222,
0.019965728744864464,
-0.010882629081606865,
-0.02394680865108967,
0.014930288307368755,
0.05246195197105408,
0.035889849066734314,
0.04256220906972885,
-0.01498089823871851,
0.041296567767858505,
0.04651514068245888,
-0.033908382058143616,
-0.12421651184558868,
0.12234785407781601,
0.07359256595373154,
0.056799739599227905,
-0.05838153883814812,
-0.035717397928237915,
-0.01463388279080391,
0.01353284902870655,
0.020117368549108505,
0.015421195887029171,
-0.051427364349365234,
0.0823080837726593,
0.013812964782118797,
-0.009150595404207706,
-0.013314752839505672,
0.028178097680211067,
0.05561995506286621,
-0.0675811767578125,
-0.057058438658714294,
-0.0516551248729229,
-0.029930701479315758,
0.004162662662565708,
0.0039626737125217915,
-0.03390469029545784,
-0.005012344568967819,
0.05742385983467102,
0.027316709980368614,
0.054848361760377884,
0.025172783061861992,
-0.04293562471866608,
0.050616126507520676,
0.02281959354877472,
-0.0559859573841095,
-0.010397146455943584,
-0.010480011813342571,
0.061624925583601,
-0.029093990102410316,
0.3536433279514313,
-0.014165028929710388,
0.020777009427547455,
0.03013128973543644,
-0.016538213938474655,
0.009300862438976765,
-0.008697031065821648,
0.014679756946861744,
-0.017990896478295326,
0.028238238766789436,
-0.01351840514689684,
0.05013866350054741,
0.011092547327280045,
0.04462466761469841,
-0.07891230285167694,
-0.04338705539703369,
0.0033244008664041758,
-0.02480962872505188,
0.031286656856536865,
-0.00692224595695734,
0.008224142715334892,
-0.039413560181856155,
-0.016805356368422508,
0.03167243301868439,
0.028670473024249077,
0.011117709800601006,
0.022239627316594124,
0.07129374146461487,
-0.0024506289046257734,
-0.003610920859500766,
0.014965470880270004,
0.03591827675700188,
-0.05347924679517746,
-0.07183318585157394,
-0.0016214099014177918,
0.014218504540622234,
0.034616634249687195,
0.00786007009446621,
-0.02329603023827076,
-0.04014463350176811,
0.09620542079210281,
-0.043531548231840134,
-0.03431568667292595,
0.018621698021888733,
-0.02518649771809578,
-0.02787531539797783,
0.10965997725725174,
0.015085882507264614,
-0.03067668341100216,
-0.07048596441745758,
-0.06123197078704834,
-0.0486396849155426,
0.04386407881975174,
0.003447514958679676,
-0.048759281635284424,
0.003225409658625722,
0.0005752280703745782,
0.08178141713142395,
-0.021912826225161552,
-0.07535552233457565,
-0.014695930294692516,
-0.01983870565891266,
-0.03206604719161987,
-0.00713759008795023,
0.030633384361863136,
0.04308173432946205,
-0.15793105959892273,
-0.031678397208452225,
0.054623786360025406,
0.0005890933098271489,
-0.05118183791637421,
-0.010054714046418667,
0.044936928898096085,
0.0050628953613340855,
-0.03654937818646431,
0.05570060759782791,
-0.04265817254781723,
-0.00008052832708926871,
0.06023925915360451,
0.012301411479711533,
-0.001522068865597248,
-0.014187167398631573,
-0.007566685322672129,
-0.02558806538581848,
-0.0171495471149683,
-0.06778883188962936,
-0.09387849271297455,
-0.04094010591506958,
0.0007784440531395376,
-0.027949651703238487,
-0.041440822184085846,
-0.022118618711829185,
-0.05076206848025322,
-0.04971260204911232,
0.07976015657186508,
0.02342529036104679,
-0.017255229875445366,
0.03610959276556969,
-0.03439462557435036,
0.02020489051938057,
-0.037602923810482025,
0.060017239302396774,
0.05546930059790611,
-0.03412989526987076,
0.029073186218738556,
-0.051133349537849426,
0.06578240543603897,
0.046499624848365784,
-0.0203629732131958,
0.05742059648036957,
0.013730029575526714,
-0.034810349345207214,
0.03324243798851967,
0.0039082798175513744,
0.029322760179638863,
-0.011029220186173916,
-0.06491652876138687,
0.015768373385071754,
0.013550421223044395,
0.045331135392189026,
0.07105657458305359,
0.011729033663868904,
-0.027985868975520134,
-0.015028837136924267,
-0.3466222882270813,
-0.04179311543703079,
-0.04929337650537491,
0.04723353311419487,
0.012950673699378967,
-0.03523204103112221,
0.017936179414391518,
-0.0038021209184080362,
-0.006902968976646662,
0.007283383049070835,
0.10018838196992874,
-0.012938556261360645,
0.04700697213411331,
-0.044882528483867645,
0.005871950648725033,
-0.019016725942492485,
0.012042227201163769,
-0.013308459892868996,
-0.019978879019618034,
0.0023110301699489355,
-0.015811588615179062,
-0.05210309475660324,
-0.008684280328452587,
-0.04413708299398422,
0.048394665122032166,
-0.02791123278439045,
0.13303396105766296,
0.03487979993224144,
0.0037664843257516623,
-0.1144803911447525,
0.036946382373571396,
-0.03881393000483513,
-0.009838308207690716,
-0.1059006080031395,
-0.021469788625836372,
-0.04209810122847557,
0.030685100704431534,
0.016514409333467484,
0.015579599887132645,
-0.04613251984119415,
-0.07613221555948257,
-0.005372452083975077,
-0.043163422495126724,
0.0027974657714366913,
-0.01628972962498665,
-0.012435156852006912,
-0.050352346152067184,
-0.04462256655097008,
-0.021411044523119926,
0.07302455604076385,
0.009447657503187656,
0.029647409915924072,
0.03638329356908798,
0.0341925323009491,
-0.020624997094273567,
-0.024255119264125824,
-0.035547468811273575,
-0.02376088872551918,
0.0062127429991960526,
-0.03556019067764282,
0.020910700783133507,
0.060087185353040695,
0.037554435431957245,
-0.037501003593206406,
0.0022335550747811794,
-0.002115020528435707,
0.012033368460834026,
0.03686118125915527,
0.0185189638286829,
-0.06046035513281822,
-0.03426184877753258,
0.08791682869195938,
-0.019736668094992638,
0.05638783797621727,
0.007866181433200836,
0.016298219561576843,
-0.0038665137253701687,
0.028427060693502426,
0.07888247817754745,
-0.004078391473740339,
0.02967344969511032,
-0.019209956750273705,
0.027949435636401176,
-0.02000032551586628,
-0.01066133938729763,
0.06362499296665192,
0.02861480973660946,
-0.07340314984321594,
0.029018642380833626,
0.002758293878287077,
-0.0022131595760583878,
-0.0033633543644100428,
-0.02209947630763054,
-0.09932588785886765,
0.05153004080057144,
0.003867893246933818,
-0.22741010785102844,
0.03276008367538452,
0.046132802963256836,
0.026264270767569542,
-0.027622941881418228,
-0.021246889606118202,
0.056775033473968506,
-0.05723385140299797,
0.04992082342505455,
0.028266005218029022,
-0.02803877554833889,
0.02647659182548523,
-0.003098259912803769,
-0.030425652861595154,
0.020610177889466286,
0.03047349862754345,
0.06889447569847107,
0.021414989605545998,
0.01775105483829975,
-0.05196905881166458,
0.005353629123419523,
-0.005611051339656115,
0.17769385874271393,
0.05344178527593613,
-0.00895686261355877,
0.04521945118904114,
-0.026652811095118523,
0.013983293436467648,
0.058680545538663864,
0.03122680075466633,
0.023874247446656227,
-0.022954175248742104,
0.024636289104819298,
-0.010157723911106586,
0.0400104895234108,
-0.04632340744137764,
0.03552943095564842,
0.034470174461603165,
0.03001359850168228,
-0.016494106501340866,
-0.002680877922102809,
-0.005948594771325588,
-0.0145419305190444,
0.037285126745700836,
0.06044939160346985,
-0.021263621747493744,
-0.02683614194393158,
-0.04254424571990967,
-0.08395044505596161,
0.0015050170477479696,
-0.02762555703520775,
-0.05448094755411148,
-0.009629358537495136,
-0.055967267602682114,
0.021286187693476677,
0.10598049312829971,
0.0029900739900767803,
-0.011381001211702824,
0.008307292126119137,
-0.008822418749332428,
0.011953149922192097,
-0.008837836794555187,
0.09770559519529343,
-0.0024957593996077776,
0.07469172775745392
] | [
0.03459203988313675,
0.05169212073087692,
0.03567522019147873,
-0.005075832363218069,
0.028846269473433495,
-0.015518594533205032,
-0.007516385521739721,
0.04694725200533867,
0.005778331775218248,
0.017215076833963394,
-0.020410768687725067,
-0.014321471564471722,
0.02334950491786003,
0.007585139013826847,
0.007102667354047298,
-0.014418745413422585,
-0.0006549760000780225,
-0.012538084760308266,
0.019733188673853874,
0.007246778346598148,
0.0013089849380776286,
0.03729723393917084,
0.01237931102514267,
-0.01832210086286068,
-0.03110085241496563,
0.031202631071209908,
-0.06877434998750687,
0.02868776023387909,
0.03942910581827164,
-0.11960326135158539,
-0.005885768681764603,
-0.0525725893676281,
0.02730843797326088,
0.02419564127922058,
-0.022526534274220467,
0.026822205632925034,
0.0104081891477108,
-0.04138371720910072,
-0.03895168378949165,
0.02887396514415741,
0.03458106145262718,
-0.0030755752231925726,
-0.03708921745419502,
-0.007851427420973778,
-0.024332111701369286,
-0.056100692600011826,
0.011133984662592411,
-0.03813738748431206,
-0.038390789180994034,
0.024406252428889275,
-0.03934187814593315,
-0.013661820441484451,
-0.010858636349439621,
0.01445698831230402,
-0.024550002068281174,
0.031600236892700195,
-0.035343658179044724,
-0.010940879583358765,
0.012336687184870243,
-0.00022168214491102844,
0.061934832483530045,
-0.022076375782489777,
-0.020293496549129486,
-0.03761066868901253,
-0.012517265044152737,
0.000509487115778029,
-0.003947529010474682,
-0.03395847603678703,
0.004386417102068663,
0.022826384752988815,
0.035617705434560776,
0.012894626706838608,
-0.009832913987338543,
-0.036437444388866425,
0.015157242305576801,
0.011855384334921837,
0.03712579235434532,
0.007744205184280872,
0.03218879923224449,
0.02819085866212845,
-0.0527145117521286,
-0.020814262330532074,
-0.02768254280090332,
0.015960143879055977,
-0.05593987554311752,
-0.007348681800067425,
0.02682129107415676,
-0.03308861330151558,
0.05477660894393921,
-0.004984445404261351,
0.007785661146044731,
-0.026209915056824684,
0.023483652621507645,
0.011875588446855545,
-0.056104231625795364,
-0.025815054774284363,
-0.02353636547923088,
0.031293366104364395,
-0.03167257830500603,
0.8120230436325073,
0.0047471546567976475,
-0.005908904131501913,
0.014179849065840244,
-0.002679502358660102,
0.012760274112224579,
-0.030926134437322617,
-0.029685698449611664,
-0.004383329302072525,
0.007168157957494259,
0.016161922365427017,
0.012362513691186905,
0.01283720787614584,
0.04032649099826813,
0.0689917504787445,
0.008445627987384796,
0.02784194052219391,
0.0208845604211092,
-0.045674655586481094,
0.0027653463184833527,
0.06792579591274261,
0.06475160270929337,
-0.033000726252794266,
0.009724556468427181,
-0.005964342039078474,
0.002721642144024372,
-0.12859055399894714,
-0.019276099279522896,
-7.745236033968079e-33,
0.05397838354110718,
-0.015095284208655357,
0.010587630793452263,
0.017093202099204063,
0.025417517870664597,
0.008070019073784351,
-0.004884032998234034,
0.03921683505177498,
-0.05469871684908867,
-0.026601003482937813,
-0.021552931517362595,
0.028024137020111084,
0.0017000206280499697,
-0.0011674475390464067,
0.012417229823768139,
0.007920023053884506,
0.016317054629325867,
0.02145831286907196,
0.029622169211506844,
-0.016037123277783394,
0.03320316597819328,
0.01935909129679203,
-0.03380217030644417,
0.003930363338440657,
-0.008249686099588871,
-0.00969471875578165,
0.029239188879728317,
-0.035369135439395905,
0.013812397606670856,
-0.047753117978572845,
-0.019933117553591728,
-0.005519270431250334,
-0.0003292026522103697,
-0.018892768770456314,
-0.0074267261661589146,
-0.031874191015958786,
-0.026109939441084862,
0.05257469415664673,
-0.028549250215291977,
0.0027647230308502913,
-0.03131317347288132,
-0.019575441256165504,
-0.021685749292373657,
0.017863353714346886,
-0.03187407925724983,
-0.031218495219945908,
0.002793260384351015,
0.00413363566622138,
0.02016688510775566,
0.02818673849105835,
-0.0012347711017355323,
-0.006432891357690096,
0.03244365379214287,
-0.006990260910242796,
0.03710971400141716,
0.01663307473063469,
-0.02582201175391674,
-0.011158976703882217,
-0.021747440099716187,
-0.03224668651819229,
-0.001559760537929833,
-0.03952999785542488,
0.035027965903282166,
0.04643477872014046,
-0.020199494436383247,
0.005049965810030699,
0.025059698149561882,
0.02188701368868351,
0.0073855179361999035,
0.06355142593383789,
-0.03754648193717003,
0.007539856713265181,
0.01547588873654604,
-0.029492465779185295,
-0.0025633759796619415,
-0.048201173543930054,
0.015643319115042686,
0.032046567648649216,
-0.022023944184184074,
0.03095865622162819,
0.010203788056969643,
-0.0228810366243124,
-0.018036773428320885,
0.021740755066275597,
-0.05988847836852074,
-0.013979875482618809,
0.005546690430492163,
0.019343750551342964,
0.023665331304073334,
0.0038124755956232548,
0.0036641759797930717,
0.024898914620280266,
-0.0010424458887428045,
-0.06120769679546356,
-0.038602277636528015,
8.427132225356426e-33,
0.011002842336893082,
-0.037218376994132996,
-0.03158814087510109,
0.0059579163789749146,
0.018979301676154137,
-0.03093787096440792,
0.07071738690137863,
0.03687088191509247,
-0.025140758603811264,
0.02780131623148918,
-0.021264756098389626,
0.0023333143908530474,
-0.004761683754622936,
0.009020327590405941,
-0.00537487305700779,
0.024377211928367615,
0.02316349931061268,
-0.03227159380912781,
0.06913527101278305,
-0.020447703078389168,
-0.027860650792717934,
0.0019617266952991486,
0.0031078411266207695,
0.055891092866659164,
0.002473908942192793,
0.010981747880578041,
0.006480188574641943,
-0.018124626949429512,
-0.045106180012226105,
-0.07112614810466766,
0.010843289084732533,
-0.01696566864848137,
0.0337672159075737,
-0.006815430708229542,
-0.0725087895989418,
0.037805717438459396,
-0.011362153105437756,
-0.005726655945181847,
0.01028815470635891,
-0.0642724484205246,
0.03126909211277962,
-0.012290396727621555,
0.016502024605870247,
-0.008039350621402264,
-0.008831924758851528,
-0.011742762289941311,
0.003867979161441326,
0.0012794992653653026,
0.013864151202142239,
0.0036838387604802847,
-0.03645258769392967,
0.012330633588135242,
0.017595166340470314,
0.01655355840921402,
-0.009027739986777306,
0.0021617512684315443,
-0.03199372440576553,
0.04568364843726158,
-0.05012015253305435,
0.05524607375264168,
0.02927149459719658,
-0.008013170212507248,
-0.00869195070117712,
0.0009457754204049706,
-0.033492375165224075,
-0.016055762767791748,
-0.0335841029882431,
-0.029785428196191788,
-0.037599191069602966,
0.025767482817173004,
-0.005402652081102133,
0.01994507946074009,
-0.013935213908553123,
0.04199616611003876,
0.019092554226517677,
-0.02521187625825405,
0.011803513392806053,
-0.012770057655870914,
-0.019360410049557686,
-0.007405867334455252,
-0.014470751397311687,
0.0458822101354599,
0.010183300822973251,
-0.012334880419075489,
-0.005312115419656038,
0.029168833047151566,
-0.020232003182172775,
0.030042430385947227,
0.011854262091219425,
0.021855274215340614,
-0.02957388386130333,
-0.047067273408174515,
-0.05325042083859444,
-0.011968282051384449,
-0.02502940036356449,
-1.3133888643324099e-8,
0.053256530314683914,
0.01578519307076931,
-0.0032076311763375998,
0.05036962032318115,
0.008520212955772877,
0.012964327819645405,
-0.001401400426402688,
0.020576750859618187,
0.00498916395008564,
0.0115954065695405,
-0.025614863261580467,
-0.04579823836684227,
-0.02695826254785061,
0.024990828707814217,
0.03913513198494911,
-0.019139055162668228,
0.012112247757613659,
0.010161355137825012,
0.03612552583217621,
-0.029048750177025795,
-0.008020374923944473,
0.06321481615304947,
0.02590280771255493,
0.04814755171537399,
0.0468209832906723,
0.005158711690455675,
0.01407866831868887,
-0.05917670950293541,
-0.017097173258662224,
0.0006583737558685243,
-0.025610454380512238,
-0.037248704582452774,
-0.010697446763515472,
-0.011487648822367191,
-0.023961499333381653,
-0.007166924420744181,
0.0020555804949253798,
0.01996363140642643,
-0.04531996324658394,
0.004272809252142906,
0.00155052007175982,
0.008512393571436405,
-0.021985210478305817,
-0.03924834355711937,
-0.027503451332449913,
0.005637015216052532,
0.0042866552248597145,
0.05592280998826027,
0.06422942131757736,
-0.0034154322929680347,
0.030791155993938446,
-0.023467671126127243,
0.010591256432235241,
-0.003527148626744747,
0.02936743013560772,
0.013311226852238178,
0.01854615844786167,
-0.05867425724864006,
-0.004108308348804712,
0.04203492030501366,
0.07971695065498352,
0.009355496615171432,
-0.021715505048632622,
-0.021960241720080376
] | elasticsearch-import-data-appsearch | https://markhneedham.com/blog/2019/11/24/elasticsearch-import-data-appsearch |
false | 2019-07-29 11:08:00 | Python: Click - Handling Date Parameter | [
"cli",
"python"
] | [
"Python"
] | I've been building a little CLI application using the https://click.palletsprojects.com/en/7.x/[Python Click Library^], and I wanted to pass in a Date as a parameter.
There's more than one way to do this.
Let's first install the Click library:
[source,bash]
----
pip install click
----
And now we'll import our required libraries:
[source, python]
----
from datetime import date
import click
----
Now we'll create a sub command that takes two parameters: `date-start` and `date-end`.
These parameters have the type `DateTime`, and we can pass a string in the format `yyyy-mm-dd` from the command line:
[source,python]
----
@click.group()
def cli():
pass
@click.command()
@click.option('--date-start', type=click.DateTime(formats=["%Y-%m-%d"]),
default=str(date.today()))
@click.option('--date-end', type=click.DateTime(formats=["%Y-%m-%d"]),
default=str(date.today()))
def dummy(date_start, date_end):
click.echo(f"Start: {date_start}, End: {date_end} ")
cli.add_command(dummy)
if __name__ == '__main__':
cli()
----
We can execute this command by running the following:
[source, bash]
----
$ python blog.py dummy --date-start 2018-01-01
Start: 2018-01-01 00:00:00, End: 2019-07-29 00:00:00
----
We only passed in `date-start`, which means `date-end` has defaulted to today's date.
The dates are correct, but we still have time information that we don't want.
We can get rid of that by calling the `date` function on those `DateTime` objects:
[source,python]
----
@click.command()
@click.option('--date-start', type=click.DateTime(formats=["%Y-%m-%d"]),
default=str(date.today()))
@click.option('--date-end', type=click.DateTime(formats=["%Y-%m-%d"]),
default=str(date.today()))
def dummy(date_start, date_end):
date_start = date_start.date()
date_end = date_end.date()
click.echo(f"Start: {date_start}, End: {date_end} ")
----
Now let's run the script again:
[source, bash]
----
$ python blog.py dummy --date-start 2018-01-01
Start: 2018-01-01, End: 2019-07-29
----
Alternatively we can create our own Date type based on the DateTime type:
[source, python]
----
from datetime import datetime
class Date(click.ParamType):
name = 'date'
def __init__(self, formats=None):
self.formats = formats or [
'%Y-%m-%d',
'%Y-%m-%dT%H:%M:%S',
'%Y-%m-%d %H:%M:%S'
]
def get_metavar(self, param):
return '[{}]'.format('|'.join(self.formats))
def _try_to_convert_date(self, value, format):
try:
return datetime.strptime(value, format).date()
except ValueError:
return None
def convert(self, value, param, ctx):
for format in self.formats:
date = self._try_to_convert_date(value, format)
if date:
return date
self.fail(
'invalid date format: {}. (choose from {})'.format(
value, ', '.join(self.formats)))
def __repr__(self):
return 'Date'
----
And then we'll add a new command that uses this parameter type:
[source, python]
----
@click.command()
@click.option('--date-start', type=Date(formats=["%Y-%m-%d"]), default=str(date.today()))
@click.option('--date-end', type=Date(formats=["%Y-%m-%d"]), default=str(date.today()))
def dummy2(date_start, date_end):
click.echo(f"Start: {date_start}, End: {date_end} ")
cli.add_command(dummy2)
----
And now let's call this sub command:
[source, python]
----
$ python blog.py dummy2 --date-start 2018-01-02 --date-end 2019-04-05
Start: 2018-01-02, End: 2019-04-05
---- | Learn how to process date parameters with the Python Click Library. | null | [
-0.018208514899015427,
0.01465179305523634,
-0.011670281179249287,
-0.023647690191864967,
0.07931188493967056,
0.011362544260919094,
0.012627947144210339,
0.032750390470027924,
0.010299340821802616,
-0.014796825125813484,
-0.029015030711889267,
0.01156211644411087,
-0.07371476292610168,
0.029836969450116158,
-0.010427949018776417,
0.08205597847700119,
0.07182186841964722,
-0.03299053758382797,
0.013086183927953243,
0.007517368532717228,
0.02266700379550457,
0.06582725048065186,
-0.001783203799277544,
0.01772613637149334,
0.022846445441246033,
0.00906558707356453,
0.007368794176727533,
-0.02712361142039299,
-0.02828618697822094,
0.0011685554636642337,
-0.005535854957997799,
-0.022561632096767426,
-0.0007448457763530314,
0.019781336188316345,
0.008754833601415157,
-0.003505164058879018,
-0.011196707375347614,
-0.015588629990816116,
0.01052937377244234,
0.033799972385168076,
-0.03731239587068558,
0.04675667732954025,
-0.0014778601471334696,
-0.012654717080295086,
-0.046051185578107834,
0.002921837382018566,
-0.026788605377078056,
0.04508671537041664,
0.001671926467679441,
0.0003012102679349482,
-0.04601002484560013,
0.001856951741501689,
-0.031410180032253265,
-0.03565036877989769,
-0.01013136189430952,
0.033452969044446945,
0.02265627309679985,
-0.08575515449047089,
0.014380660839378834,
0.0010444320505484939,
0.03309112414717674,
0.01747557334601879,
0.003707003081217408,
0.023518966510891914,
0.03884327411651611,
0.0012175594456493855,
-0.006989121437072754,
0.056564975529909134,
-0.021888678893446922,
-0.02471994049847126,
-0.015886837616562843,
-0.001100226305425167,
-0.03817864507436752,
-0.04984888434410095,
0.008410335518419743,
-0.03675176203250885,
-0.011475082486867905,
0.040288299322128296,
0.01670495979487896,
0.06320267915725708,
-0.004386307206004858,
0.026218023151159286,
0.046410221606492996,
0.021607067435979843,
0.005140125285834074,
-0.008859523572027683,
-0.08333732932806015,
0.014014502987265587,
-0.043070703744888306,
0.0075769685208797455,
0.024074869230389595,
-0.04807166010141373,
0.022223901003599167,
0.004221409093588591,
0.03278171271085739,
0.005395377054810524,
-0.012236323207616806,
0.004545506089925766,
0.04838705062866211,
-0.013925447128713131,
-0.03175981715321541,
0.01616126112639904,
0.045113034546375275,
0.006259449757635593,
-0.06263363361358643,
-0.041640013456344604,
-0.04851842299103737,
-0.035420142114162445,
-0.0007920979987829924,
0.007518908940255642,
-0.01903536356985569,
0.009986589662730694,
-0.0017719665775075555,
-0.0033338931389153004,
-0.05973728373646736,
0.06628913432359695,
0.0030060315039008856,
-0.04413420334458351,
-0.02222265675663948,
-0.006829612888395786,
0.028597485274076462,
0.012256759218871593,
-0.023984236642718315,
0.07139119505882263,
0.008884896524250507,
0.04778899997472763,
-0.016033358871936798,
0.058683205395936966,
-0.001044058590196073,
-0.03332119807600975,
-0.020420758053660393,
0.0486236996948719,
0.024377044290304184,
-0.023538850247859955,
-0.013801123015582561,
-0.03280453756451607,
-0.010283389128744602,
0.025661328807473183,
0.06358969956636429,
0.03251257538795471,
0.018298156559467316,
-0.0026037932839244604,
-0.009998233988881111,
-0.021512525156140327,
0.019141910597682,
0.030868498608469963,
0.007550905458629131,
-0.05730326473712921,
-0.05616265535354614,
0.0182463601231575,
0.04047488793730736,
0.015194753184914589,
0.07348513603210449,
-0.029423918575048447,
0.007240890525281429,
0.09491731226444244,
0.024495381861925125,
0.019539741799235344,
-0.04230843111872673,
-0.029792672023177147,
0.050960153341293335,
0.013653567992150784,
-0.039589520543813705,
0.03922494500875473,
0.01273663155734539,
-0.02077573351562023,
-0.0042707668617367744,
0.005465314723551273,
-0.03159499913454056,
-0.005455774255096912,
-0.025957433506846428,
-0.03974271938204765,
0.06610587984323502,
-0.016801772639155388,
-0.00991569459438324,
0.051509927958250046,
0.08527512848377228,
0.011375325731933117,
0.05540082976222038,
-0.010627114214003086,
-0.07667792588472366,
0.05905963480472565,
-0.020858392119407654,
0.03444332256913185,
0.05659770965576172,
-0.01492153201252222,
0.058173831552267075,
-0.026020124554634094,
0.008602035231888294,
0.050425250083208084,
-0.05649469420313835,
-0.05809573456645012,
-0.057142190635204315,
-0.042001139372587204,
0.06967908143997192,
-0.0620807521045208,
-0.022392939776182175,
0.07225904613733292,
0.01008332148194313,
0.06655983626842499,
0.001004524645395577,
-0.0053134518675506115,
0.0060110995545983315,
-0.06735312193632126,
-0.04784271493554115,
0.010919762775301933,
0.04695213586091995,
-0.006636413745582104,
0.03747271001338959,
0.045361120253801346,
-0.03906570002436638,
0.01478815171867609,
0.05585731193423271,
-0.018688151612877846,
0.06320405006408691,
0.05662062391638756,
0.03742964565753937,
-0.0568593367934227,
0.013398678041994572,
-0.03064092807471752,
0.011968604288995266,
0.0259808748960495,
-0.03168198838829994,
-0.019305536523461342,
-0.00047466461546719074,
0.10188540816307068,
0.056995972990989685,
-0.026052726432681084,
-0.04029274359345436,
0.026642857119441032,
0.003264903323724866,
-0.036125753074884415,
0.0010386642534285784,
-0.0008631517412140965,
0.016873052343726158,
0.00885036401450634,
-0.027537453919649124,
-0.002526802010834217,
-0.03940347209572792,
-0.02511276863515377,
0.010712357237935066,
0.07015179842710495,
-0.015617835335433483,
0.05997788906097412,
-0.024632038548588753,
-0.012923847883939743,
-0.012400622479617596,
-0.017053404822945595,
-0.012784337624907494,
0.012497070245444775,
0.018136532977223396,
-0.005399084649980068,
0.06991565972566605,
-0.03037147969007492,
-0.06325867027044296,
-0.01785961166024208,
-0.037211958318948746,
0.04773356020450592,
0.04118379205465317,
0.0349900983273983,
-0.0009471763041801751,
0.006686079781502485,
-0.028799664229154587,
0.052442289888858795,
-0.01341703999787569,
-0.0485699363052845,
-0.05443578213453293,
0.03112083300948143,
0.015636654570698738,
0.03223495930433273,
-0.000887130037881434,
-0.0005185017944313586,
0.04169873520731926,
-0.007863924838602543,
-0.017749905586242676,
0.0003838168631773442,
0.017070766538381577,
0.010786384344100952,
-0.033553529530763626,
-0.05770358070731163,
0.011745644733309746,
0.03381174057722092,
-0.03716975077986717,
-0.022878529503941536,
-0.0026410913560539484,
-0.04443551227450371,
0.01859603077173233,
-0.07318868488073349,
-0.026437735185027122,
-0.01915108412504196,
0.004806167911738157,
0.0346788614988327,
0.0075082178227603436,
0.058830324560403824,
0.06334247440099716,
-0.0014811978908255696,
-0.0008906645234674215,
0.024779608473181725,
0.01925939880311489,
-0.0030267182737588882,
0.06180644780397415,
0.02126011997461319,
0.07467523962259293,
0.014562114141881466,
-0.007877102121710777,
-0.038591448217630386,
-0.006794535554945469,
-0.05700874328613281,
-0.24127568304538727,
0.038596827536821365,
-0.03756476566195488,
-0.032543934881687164,
0.014574011787772179,
0.0009403869044035673,
0.056399159133434296,
-0.055658016353845596,
-0.012461797334253788,
0.03552570566534996,
-0.0035931135062128305,
-0.030201181769371033,
-0.03136000037193298,
0.049003519117832184,
0.015632810071110725,
-0.006370247807353735,
0.0024667929392307997,
-0.05482476204633713,
0.02385205402970314,
0.01020532101392746,
0.019973304122686386,
-0.035538315773010254,
0.018294023349881172,
0.045441411435604095,
-0.013665037229657173,
0.05628522112965584,
-0.031823545694351196,
0.03437314182519913,
-0.026293525472283363,
-0.05204243212938309,
0.012916658073663712,
-0.04408692568540573,
0.002805380616337061,
0.011747125536203384,
0.018251214176416397,
-0.00018268416170030832,
0.04490119218826294,
0.01435298565775156,
0.012885989621281624,
-0.00857670046389103,
-0.04626985639333725,
-0.013110614381730556,
0.023703953251242638,
0.006508075166493654,
0.060840655118227005,
0.0022377753630280495,
-0.03338208422064781,
-0.028460729867219925,
-0.028206277638673782,
0.06481526792049408,
-0.02429855801165104,
-0.020936334505677223,
-0.04095740243792534,
-0.006887092720717192,
0.008944659493863583,
-0.004216870293021202,
-0.031989626586437225,
0.008965267799794674,
-0.0033958980347961187,
-0.01908908039331436,
-0.006830815225839615,
-0.0005335950991138816,
-0.02023734524846077,
-0.05612873658537865,
-0.0558026023209095,
-0.05688592419028282,
-0.05329785868525505,
-0.03692685812711716,
0.04596363380551338,
0.06333614140748978,
-0.06292151659727097,
-0.02897636778652668,
-0.013546258211135864,
-0.0926850363612175,
0.02338181994855404,
-0.0302813071757555,
-0.04057203233242035,
-0.002356123412027955,
-0.03808854892849922,
-0.0021927522029727697,
-0.055069468915462494,
-0.029409781098365784,
0.03305275738239288,
0.017570821568369865,
0.004735047463327646,
-0.021472398191690445,
0.020753471180796623,
0.0012710400624200702,
-0.02532324008643627,
-0.03992839530110359,
0.04649316146969795,
-0.01944115199148655,
-0.010870755650103092,
0.0443221814930439,
-0.029860863462090492,
0.011765469796955585,
0.018140781670808792,
0.0034463289193809032,
0.02776736579835415,
0.005887450184673071,
0.027447529137134552,
-0.03859120234847069,
-0.007934661582112312,
-0.055474668741226196,
-0.0004729990614578128,
-0.052692513912916183,
-0.03520147129893303,
0.0315229706466198,
0.01713559590280056,
0.021116577088832855,
0.0021583945490419865,
-0.0038852065335959196,
-0.013245570473372936,
-0.07130894809961319,
-0.02277044951915741,
-0.010181999765336514,
0.0011957582319155335,
0.005102986935526133,
0.0010334455873817205,
-0.010102085769176483,
-0.08050694316625595,
0.0116456663236022,
-0.01027941145002842,
0.006163322366774082,
-0.03942837566137314,
-0.04482148587703705,
-0.04040513187646866,
-0.010253751650452614,
0.055097974836826324,
0.0034481631591916084,
-0.036339789628982544,
0.03631925210356712,
0.04529843106865883,
-0.029115812852978706,
0.013859150931239128,
-0.05611760914325714,
-0.005624810233712196,
-0.04768580570816994,
-0.004576129373162985,
0.019548719748854637,
-0.03221075236797333,
-0.008487917482852936,
-0.016162214800715446,
-0.016265947371721268,
0.0365917906165123,
0.00564879784360528,
0.011295033618807793,
0.008277665823698044,
0.006148331332951784,
0.03140903264284134,
0.006988406181335449,
-0.04493359103798866,
0.004472309723496437,
-0.04707081615924835,
-0.05305687338113785,
-0.0057600694708526134,
0.028240136802196503,
-0.01392635889351368,
-0.04295525699853897,
-0.05026719346642494,
-0.00036912629730068147,
-0.05572802573442459,
0.008270368911325932,
0.0054605137556791306,
-0.00584024004638195,
0.04521079733967781,
0.02237929403781891,
0.040533218532800674,
0.027720220386981964,
-0.03200211748480797,
-0.016945717856287956,
0.011018797755241394,
-0.030312828719615936,
0.0025900916662067175,
-0.00271623651497066,
-0.04678009822964668,
0.024476636201143265,
0.024756314232945442,
0.022193290293216705,
0.006536719389259815,
0.03234576806426048,
-0.018974944949150085,
-0.0061402940191328526,
0.004290541633963585,
0.017254091799259186,
-0.007547804154455662,
-0.004144999664276838,
-0.012022648006677628,
-0.03239382430911064,
-0.04885580390691757,
-0.04868639260530472,
-0.035838834941387177,
-0.011023920960724354,
-0.056750886142253876,
-0.009326144121587276,
-0.0825723335146904,
0.03246054798364639,
0.06955274194478989,
0.005384595133364201,
-0.018618538975715637,
-0.04851797968149185,
-0.02006717026233673,
-0.053569938987493515,
0.045080650597810745,
0.06226453185081482,
-0.04323144629597664,
-0.007569465786218643,
-0.011524924077093601,
0.008846944198012352,
-0.01782996952533722,
0.036279961466789246,
-0.03221295028924942,
-0.012420827522873878,
-0.004819788038730621,
0.0066092535853385925,
-0.007963551208376884,
-0.035174790769815445,
-0.025642676278948784,
0.011254486627876759,
0.002951929811388254,
-0.015221568755805492,
0.012654748745262623,
0.013699034228920937,
-0.0038780688773840666,
-0.026827186346054077,
0.025598712265491486,
-0.008059361018240452,
0.006470511667430401,
0.05593080446124077,
0.007629741448909044,
0.0031378457788378,
-0.049858588725328445,
0.04025263339281082,
-0.005468981806188822,
-0.03047201968729496,
-0.019348597154021263,
-0.067594513297081,
0.011551630683243275,
-0.027098270133137703,
0.05252626910805702,
-0.011048033833503723,
0.021164849400520325,
-0.025945018976926804,
-0.024416210129857063,
-0.003549758344888687,
-0.020240457728505135,
-0.020307186990976334,
-0.038166794925928116,
-0.0015964886406436563,
0.07328411191701889,
-0.006163114681839943,
0.0034666215069592,
-0.00022383984469342977,
-0.02730529196560383,
0.009659628383815289,
-0.0668577328324318,
-0.043631382286548615,
0.03411741927266121,
-0.056311070919036865,
0.030566265806555748,
0.05066189914941788,
0.012046488001942635,
-0.09698975831270218,
0.07463747262954712,
0.0428687147796154,
0.05252162739634514,
0.06596328318119049,
0.013499331660568714,
0.01572350040078163,
0.00035162875428795815,
-0.012593774124979973,
-0.10500288009643555,
0.03385603427886963,
0.01615334302186966,
0.026104502379894257,
-0.05852844938635826,
0.006039144936949015,
0.01542259193956852,
0.015480812638998032,
-0.061652444303035736,
-0.023160874843597412,
0.023065311834216118,
0.021001454442739487,
-0.01759777031838894,
0.047742486000061035,
-0.056250736117362976,
0.04403874650597572,
0.06804028153419495,
-0.045575544238090515,
-0.011180641129612923,
0.0012618014588952065,
0.09867957979440689,
-0.00903378613293171,
0.05469673499464989,
-0.03579576686024666,
0.01346825622022152,
0.08267899602651596,
0.023746078833937645,
-0.015270765870809555,
0.053137414157390594,
0.023895811289548874,
0.040921468287706375,
-0.010845432989299297,
-0.011189446784555912,
-0.04134637489914894,
0.020295524969697,
-0.003481937339529395,
-0.030121028423309326,
0.010802790522575378,
0.03095059283077717,
-0.010448053479194641,
-0.03443886339664459,
0.07322923094034195,
-0.009380064904689789,
-0.04174954444169998,
-0.032430749386548996,
0.020908445119857788,
-0.04704848676919937,
0.013058348558843136,
-0.015169297344982624,
-0.016403859481215477,
-0.005344842094928026,
0.06199368089437485,
-0.009319748729467392,
0.007141560781747103,
0.07292958348989487,
0.007288408000022173,
0.011138140223920345,
0.020610803738236427,
0.0277483481913805,
0.07273409515619278,
0.03710592910647392,
0.048028502613306046,
0.04113038256764412,
-0.00637259054929018,
-0.04713995382189751,
0.009501440450549126,
-0.06252922862768173,
0.017373790964484215,
-0.033733777701854706,
-0.008721691556274891,
0.10015951097011566,
-0.015012440271675587,
0.026148522272706032,
0.002052564173936844,
0.011195032857358456,
-0.03592872992157936,
0.02646433189511299,
0.04476093500852585,
0.009680739603936672,
0.029034975916147232,
0.0009224715176969767,
-0.016050778329372406,
-0.01667078211903572,
0.07205764204263687,
-0.027510976418852806,
-0.022216161713004112,
0.042907532304525375,
0.0014773972798138857,
0.009786849841475487,
0.01725505106151104,
0.04030046612024307,
0.0703461691737175,
-0.024277687072753906,
-0.015483500435948372,
0.014387952163815498,
0.032582223415374756,
0.012289871461689472,
-0.011357235722243786,
0.005690908059477806,
0.0120254997164011,
0.021718690171837807,
-0.018212078139185905,
-0.004285835660994053,
-0.007997158914804459,
-0.05190369486808777,
0.03816693648695946,
-0.015930920839309692,
0.019751019775867462,
0.0027956704143434763,
-0.02166331745684147,
-0.012919009663164616,
-0.03595063090324402,
-0.045681219547986984,
-0.01218202244490385,
-0.05897781625390053,
-0.004872268531471491,
0.05925048887729645,
-0.0276006069034338,
-0.007981075905263424,
-0.001566158956848085,
0.03780851140618324,
-0.04060192406177521,
-0.04308198764920235,
-0.04264846071600914,
-0.06641151756048203,
0.01985970325767994,
0.015849921852350235,
0.001686825416982174,
0.006394474301487207,
0.04411359131336212,
-0.002682823920622468,
-0.057528045028448105,
-0.026530707255005836,
0.040741320699453354,
0.018309691920876503,
-0.021274125203490257,
0.019305948168039322,
-0.029225653037428856,
0.04027798771858215,
0.04335717484354973,
-0.003273837734013796,
-0.07549536973237991,
0.031665608286857605,
0.01967409811913967,
0.01668001525104046,
0.04654816538095474,
-0.007667971309274435,
-0.01154311839491129,
-0.03488820046186447,
-0.0014902097173035145,
0.011421311646699905,
0.017606770619750023,
0.06290941685438156,
-0.03245655447244644,
0.08145897835493088,
0.06885284185409546,
0.005178376100957394,
-0.01590859517455101,
-0.03545083850622177,
0.01157277449965477,
-0.0025292965583503246,
-0.031706757843494415,
-0.05616803094744682,
-0.04880916699767113,
-0.0689375177025795,
-0.04539589211344719,
-0.009923371486365795,
-0.02309616096317768,
-0.04934851825237274,
0.01939469389617443,
0.009235391393303871,
-0.022746700793504715,
-0.015361770987510681,
-0.05500632897019386,
-0.02421807311475277,
0.010331543162465096,
-0.023826124146580696,
0.0018279870273545384,
0.06017936021089554,
-0.00811413861811161,
-0.027617836371064186,
0.005062899552285671,
-0.012697333469986916,
-0.05114787071943283,
-0.021579591557383537,
0.015935376286506653,
0.04053201898932457,
-0.0017293232958763838,
0.017509162425994873
] | [
-0.10672436654567719,
-0.020389046519994736,
-0.010208339430391788,
-0.027170483022928238,
0.019749339669942856,
-0.04889519140124321,
0.02338668890297413,
-0.025347189977765083,
0.007995201274752617,
0.0026663211174309254,
-0.01413479633629322,
-0.05154977738857269,
0.005848453845828772,
0.002379444194957614,
0.060639362782239914,
-0.02413088269531727,
-0.03484150394797325,
-0.08459039777517319,
-0.030187560245394707,
0.027730029076337814,
0.021900737658143044,
0.028408300131559372,
-0.0568803995847702,
-0.03400548920035362,
-0.02241634577512741,
0.06423082202672958,
0.03074437379837036,
-0.05566469579935074,
-0.025130068883299828,
-0.1859559565782547,
0.028580639511346817,
-0.006424147170037031,
0.001028392929583788,
-0.05233550816774368,
0.0031251832842826843,
0.03445161506533623,
0.05274704843759537,
0.025882843881845474,
-0.012232487089931965,
0.04075970873236656,
0.06494540721178055,
0.01482426282018423,
-0.04329202324151993,
-0.03148191049695015,
0.019185123965144157,
-0.023330476135015488,
-0.01973709836602211,
-0.008356531150639057,
0.007370807230472565,
0.043009817600250244,
-0.009622971527278423,
0.014422138221561909,
-0.013327127322554588,
-0.04096844047307968,
-0.010769656859338284,
0.04048512130975723,
0.036187544465065,
0.06563092768192291,
0.037721361964941025,
0.0018374845385551453,
-0.010585888288915157,
-0.020850244909524918,
-0.16208891570568085,
0.11651112884283066,
-0.015760937705636024,
0.043374013155698776,
-0.020235450938344002,
0.005278760567307472,
-0.02652554027736187,
0.06444507837295532,
-0.02764977142214775,
-0.038853053003549576,
-0.0326995886862278,
0.054944612085819244,
0.03221357613801956,
-0.06283539533615112,
-0.0010144425323233008,
0.00046218655188567936,
0.07398300617933273,
-0.04153403639793396,
-0.038785576820373535,
-0.021491505205631256,
-0.0025175190530717373,
-0.043766770511865616,
0.004683203995227814,
0.022796303033828735,
-0.005008396692574024,
0.04255927726626396,
0.011748377233743668,
0.013084908947348595,
0.016949359327554703,
-0.045503392815589905,
0.006619879975914955,
0.027806458994746208,
-0.0666811391711235,
0.021090427413582802,
0.05631520226597786,
0.01830926164984703,
-0.05161108821630478,
0.3899253308773041,
-0.027979062870144844,
0.008367328904569149,
-0.019160114228725433,
0.047507185488939285,
0.00857346411794424,
-0.0098382867872715,
0.013863647356629372,
-0.05653540790081024,
0.002197672612965107,
-0.029356252402067184,
-0.006478604394942522,
-0.0126296142116189,
0.09001937508583069,
-0.10321094840765,
0.008093510754406452,
0.04876832664012909,
-0.0033566122874617577,
-0.00011996067041764036,
-0.014327694661915302,
0.028989404439926147,
0.027698084712028503,
-0.03583385422825813,
0.0388980396091938,
0.028339847922325134,
0.0022061883937567472,
0.03236301988363266,
0.04530538246035576,
0.0477716363966465,
0.002785192336887121,
-0.0028723892755806446,
0.06549125164747238,
-0.05028901249170303,
-0.07504153996706009,
0.0125199556350708,
0.007465464994311333,
0.03195882961153984,
-0.01795649528503418,
-0.03867695853114128,
0.019902242347598076,
-0.021821994334459305,
-0.042102668434381485,
-0.09502752870321274,
0.018945492804050446,
0.02227180451154709,
-0.02644643746316433,
0.12588897347450256,
-0.012044981122016907,
-0.01701604202389717,
-0.06849890947341919,
-0.01202205941081047,
-0.06270453333854675,
0.024259762838482857,
0.035698503255844116,
-0.05285472422838211,
-0.003150624455884099,
0.019808506593108177,
0.1009163036942482,
-0.004114109557121992,
-0.04172943904995918,
-0.015466409735381603,
-0.04445576295256615,
-0.03376543149352074,
-0.03649076074361801,
0.032876454293727875,
0.010357148945331573,
-0.10424984246492386,
-0.026685545220971107,
0.02442859299480915,
-0.001282254233956337,
-0.04981939122080803,
0.005223175510764122,
0.01754079945385456,
-0.02478313446044922,
-0.02045946568250656,
0.09806875139474869,
-0.006975773721933365,
0.031967781484127045,
0.0220904853194952,
0.0634438768029213,
0.011157090775668621,
-0.033353935927152634,
0.0055569931864738464,
-0.02058972232043743,
-0.00383936008438468,
-0.0295135285705328,
-0.05528043955564499,
-0.040874261409044266,
-0.0402982272207737,
0.0033452401403337717,
-0.01573835499584675,
-0.0023653795942664146,
-0.014856505207717419,
-0.045134689658880234,
0.05628471076488495,
-0.047423750162124634,
-0.015690509229898453,
-0.020432787016034126,
0.024988805875182152,
-0.0024235581513494253,
-0.03138766437768936,
-0.011916720308363438,
-0.025826875120401382,
0.00231095845811069,
0.03942134231328964,
-0.011204679496586323,
0.015561086125671864,
0.05783967301249504,
-0.03947923332452774,
0.0774710550904274,
0.021106470376253128,
-0.03203679621219635,
-0.002077259588986635,
0.05413741618394852,
-0.02818126790225506,
-0.005116281099617481,
-0.02341459132730961,
-0.021741708740592003,
-0.009591164067387581,
0.005049900617450476,
0.02131296508014202,
-0.04450961574912071,
-0.00015993363922461867,
0.020395206287503242,
-0.3300248384475708,
-0.005775126628577709,
-0.003313949564471841,
-0.0002278610918438062,
0.04679213464260101,
-0.06238216534256935,
-0.0035405131056904793,
-0.028101496398448944,
-0.00760411424562335,
0.02258109301328659,
0.09518623352050781,
-0.028392815962433815,
-0.004984147846698761,
-0.06467166543006897,
-0.012620378285646439,
0.03842794522643089,
-0.03479361534118652,
-0.033790554851293564,
-0.0030139987356960773,
0.052639324218034744,
0.011956421658396721,
-0.054674454033374786,
-0.04857926815748215,
-0.07520832866430283,
-0.03078356757760048,
-0.04271157085895538,
0.10241113603115082,
0.009590918198227882,
0.08253958821296692,
-0.01703135296702385,
0.06957297772169113,
-0.012765737250447273,
-0.015532896853983402,
-0.10155868530273438,
-0.03439708426594734,
-0.022062916308641434,
0.00028812140226364136,
0.006116512231528759,
0.028310760855674744,
-0.010308056138455868,
-0.055492300540208817,
0.01753181591629982,
-0.01316885370761156,
-0.006447667721658945,
-0.005189255345612764,
0.022340087220072746,
0.025035422295331955,
0.0028602147940546274,
-0.016231555491685867,
0.04788897931575775,
0.02660740725696087,
-0.002764216624200344,
0.011179611086845398,
0.0025117506738752127,
-0.004869936034083366,
-0.03587249293923378,
-0.05094119906425476,
-0.019184498116374016,
-0.00029028826975263655,
-0.03650037944316864,
0.00237667397595942,
0.04969797655940056,
0.02486942522227764,
-0.029883703216910362,
-0.048041846603155136,
-0.006557701621204615,
0.005153161473572254,
-0.024394966661930084,
0.021130550652742386,
-0.006314788945019245,
-0.004129073116928339,
0.1072433739900589,
-0.0032592385541647673,
-0.013015182688832283,
0.0022998398635536432,
0.0275502298027277,
-0.029530871659517288,
0.06824959069490433,
0.023247964680194855,
0.003301421646028757,
0.019735898822546005,
0.02464229054749012,
0.0789608359336853,
0.0012428918853402138,
0.01785346120595932,
0.0013527495320886374,
0.007800317835062742,
0.005644442047923803,
0.050717275589704514,
-0.00850311852991581,
-0.025974400341510773,
-0.022700700908899307,
-0.005635355599224567,
-0.07151804119348526,
0.06943076103925705,
-0.011003207415342331,
-0.2688228487968445,
0.05417955666780472,
0.07153196632862091,
0.03936952352523804,
0.002710311207920313,
0.012823221273720264,
-0.0007559640798717737,
-0.04680146276950836,
-0.05253942683339119,
0.025556741282343864,
-0.005434720311313868,
0.04145927354693413,
-0.003765266388654709,
0.015449550934135914,
0.02542123757302761,
0.013105216436088085,
0.05033271387219429,
-0.008213524706661701,
-0.0330207459628582,
0.027086248621344566,
0.026953065767884254,
0.011862157844007015,
0.15574823319911957,
0.012298839166760445,
0.06406935304403305,
0.023980220779776573,
0.0005461914115585387,
0.01961199752986431,
0.10727766156196594,
0.034393131732940674,
0.02530299499630928,
-0.004133147187530994,
0.054558467119932175,
0.013729923404753208,
0.04445826634764671,
-0.04237082228064537,
-0.04727558419108391,
0.06110801175236702,
0.022021185606718063,
-0.013163992203772068,
-0.03183792158961296,
0.05098895728588104,
-0.04548396170139313,
0.002648760797455907,
0.07807058840990067,
-0.013919188641011715,
-0.0009788961615413427,
-0.05240011215209961,
-0.02077636681497097,
-0.010724089108407497,
-0.032367680221796036,
-0.018250606954097748,
-0.021172508597373962,
0.013045781292021275,
0.010543557815253735,
0.07245567440986633,
0.08002332597970963,
-0.022576432675123215,
0.02203555777668953,
0.025600707158446312,
-0.00004989982335246168,
-0.03163732588291168,
0.15011149644851685,
0.009835762903094292,
0.029734158888459206
] | [
0.00002507890349079389,
0.014461616985499859,
0.006184517405927181,
0.010971484705805779,
-0.0000029185011953813955,
-0.009886489249765873,
-0.02025141753256321,
0.017890427261590958,
0.010586104355752468,
-0.049485597759485245,
-0.051584694534540176,
0.0026900959201157093,
-0.023195086047053337,
-0.00890323519706726,
0.03180216997861862,
-0.01170117687433958,
-0.020894035696983337,
-0.031211882829666138,
0.045225176960229874,
-0.009099932387471199,
-0.0019772807136178017,
0.03561905026435852,
0.013549145311117172,
0.026136843487620354,
-0.061183083802461624,
-0.02246788516640663,
-0.04139497131109238,
-0.03100579045712948,
0.02064397744834423,
-0.12833833694458008,
-0.028081396594643593,
0.022493913769721985,
0.000677654636092484,
-0.0492161326110363,
0.035503651946783066,
0.020179174840450287,
0.019777603447437286,
0.005826418288052082,
0.017069369554519653,
-0.010169591754674911,
0.011996783316135406,
-0.024142300710082054,
0.009024685248732567,
-0.001526994863525033,
-0.024856114760041237,
-0.008581104688346386,
0.012901685200631618,
-0.003974477760493755,
-0.02866041660308838,
0.009763197973370552,
-0.033372994512319565,
0.008570670150220394,
-0.032174523919820786,
-0.0628325417637825,
0.016405442729592323,
0.01799466274678707,
-0.004309313837438822,
-0.00662995595484972,
0.024460064247250557,
-0.022666532546281815,
-0.03707090765237808,
0.021858759224414825,
-0.056672029197216034,
0.00229312339797616,
0.032430797815322876,
-0.049740225076675415,
-0.007325830403715372,
0.002958262339234352,
0.026620257645845413,
0.021779336035251617,
-0.023074831813573837,
0.00425344193354249,
-0.04076189175248146,
0.011265638284385204,
-0.02503005601465702,
-0.01183198019862175,
0.012399856932461262,
-0.004171422682702541,
0.011519098654389381,
-0.010833310894668102,
-0.013923072256147861,
0.00461828988045454,
0.019122183322906494,
0.030780110508203506,
0.04505246877670288,
-0.0406651571393013,
0.026945576071739197,
0.07381793111562729,
0.021418504416942596,
-0.03572390228509903,
-0.0133838364854455,
-0.01903367042541504,
-0.009359552524983883,
0.057245150208473206,
-0.05876137316226959,
0.004142777528613806,
-0.012369906529784203,
0.005394170060753822,
0.009316294454038143,
0.8182257413864136,
0.002356935292482376,
0.022735396400094032,
-0.020484386011958122,
0.008168568834662437,
0.04770085960626602,
-0.008021073415875435,
-0.025583971291780472,
-0.04533202201128006,
0.009937790222465992,
0.0001541539531899616,
0.03055392950773239,
-0.01959402486681938,
0.02820400707423687,
-0.028990712016820908,
0.05220559239387512,
0.024832170456647873,
0.007952695712447166,
0.011192427016794682,
0.02922504022717476,
0.012717007659375668,
0.052031196653842926,
0.013859868980944157,
-0.005670825019478798,
-0.022134989500045776,
-0.009580678306519985,
-0.14459721744060516,
0.062081191688776016,
-6.557939719863536e-33,
0.01910463534295559,
-0.04578614607453346,
0.025320187211036682,
-0.023573193699121475,
0.038256920874118805,
0.048827726393938065,
0.005388567689806223,
-0.006058382336050272,
0.005047972314059734,
-0.029167162254452705,
-0.0016955831088125706,
-0.05374489724636078,
-0.025736525654792786,
-0.05710117518901825,
0.031383346766233444,
0.007920718751847744,
-0.007581245619803667,
0.05549375340342522,
0.034412845969200134,
0.03418251499533653,
0.05227826535701752,
0.013437080197036266,
0.006478297058492899,
0.014950682409107685,
0.02205517701804638,
0.011812163516879082,
0.01710430718958378,
0.018397651612758636,
0.008043325506150723,
-0.05511424317955971,
-0.01793397031724453,
0.007024196442216635,
-0.023624517023563385,
-0.00611126096919179,
0.026556994765996933,
-0.04499223828315735,
-0.026835722848773003,
0.0038329139351844788,
-0.026568857952952385,
0.014019172638654709,
-0.044849179685115814,
-0.037264224141836166,
-0.016600660979747772,
-0.05924392491579056,
-0.01836344040930271,
-0.025154681876301765,
0.0011456955689936876,
0.012583760544657707,
0.00591661361977458,
0.04644818603992462,
-0.007456067018210888,
0.0004284585593268275,
0.012966091744601727,
-0.04151295870542526,
-0.03877929225564003,
0.013270840980112553,
0.012768875807523727,
-0.019239502027630806,
0.007755863945931196,
-0.035867344588041306,
0.027654573321342468,
-0.011223425157368183,
0.029354210942983627,
-0.048745132982730865,
0.0004626430163625628,
0.003614464309066534,
0.04432803764939308,
0.014163256622850895,
0.04551985487341881,
0.05821292847394943,
-0.0440133698284626,
0.006273108068853617,
-0.013337045907974243,
-0.022477297112345695,
0.04536088928580284,
-0.0025015557184815407,
0.05354036018252373,
-0.011714685708284378,
0.0430385060608387,
0.07341060787439346,
0.05846429988741875,
-0.023252954706549644,
0.007730206940323114,
-0.024190161377191544,
0.005171474069356918,
-0.022649144753813744,
0.019599435850977898,
0.04306335747241974,
-0.023506971076130867,
-0.005578947719186544,
0.0016301218420267105,
-0.01300588808953762,
-0.0050790864042937756,
-0.003173485165461898,
-0.01917882263660431,
6.673881666421015e-33,
0.03638843446969986,
-0.005158262327313423,
0.00868573971092701,
0.02880515530705452,
0.0041548036970198154,
-0.047960083931684494,
-0.013743304647505283,
0.0145828016102314,
-0.023894334211945534,
0.05467118322849274,
0.008992093615233898,
-0.03007524088025093,
-0.008387977257370949,
0.019004063680768013,
0.0538826622068882,
0.02709791250526905,
0.006708093918859959,
-0.009086599573493004,
-0.006356358993798494,
-0.02949575148522854,
-0.039063118398189545,
-0.0010605670977383852,
-0.00731634721159935,
0.02266070432960987,
0.035858023911714554,
0.02856590412557125,
0.011683809570968151,
0.0004359144368208945,
0.03187862038612366,
-0.004092860035598278,
-0.019966844469308853,
-0.002857580780982971,
-0.016025956720113754,
-0.02534417435526848,
-0.0329483225941658,
0.04159323871135712,
0.004460237920284271,
-0.027959944680333138,
0.06453130394220352,
-0.019290048629045486,
0.011274624615907669,
0.019789807498455048,
0.00047649440239183605,
-0.0014740127371624112,
0.006315032485872507,
0.025960268452763557,
-0.0021657226607203484,
0.02963792346417904,
-0.0014931178884580731,
-0.001677922671660781,
-0.0256987065076828,
0.0034482842311263084,
0.003143482143059373,
-0.005827389657497406,
0.0037482131738215685,
-0.048223815858364105,
-0.012156276032328606,
-0.002390927402302623,
-0.037666987627744675,
-0.031066855415701866,
-0.03587697818875313,
-0.017216550186276436,
-0.043388351798057556,
0.0011874428018927574,
-0.04600634425878525,
-0.012402386404573917,
-0.04995837062597275,
-0.00683967350050807,
-0.00793513935059309,
-0.014805063605308533,
0.04770170897245407,
-0.010162590071558952,
-0.040866293013095856,
0.012760360725224018,
-0.004915321711450815,
0.006753457710146904,
0.00454725930467248,
0.016861477866768837,
-0.01336912252008915,
0.020483005791902542,
0.013631455600261688,
0.01475230511277914,
0.02533808723092079,
0.02061755210161209,
-0.04047269746661186,
0.0318303219974041,
-0.04475204646587372,
0.0042864130809903145,
0.040453583002090454,
-0.02022336795926094,
-0.006261885166168213,
-0.023827869445085526,
-0.024928053840994835,
0.04197709634900093,
0.0032392798457294703,
-1.2567332952073684e-8,
-0.0073176184669137,
0.02029458060860634,
-0.012707389891147614,
0.022244978696107864,
-0.011485213413834572,
-0.02081782929599285,
-0.023680532351136208,
-0.022778784856200218,
0.014648760668933392,
0.02953321300446987,
0.07459879666566849,
-0.041772469878196716,
0.011974755674600601,
0.039229851216077805,
0.0015065856277942657,
0.03296276926994324,
-0.033188141882419586,
-0.006713805720210075,
0.030604608356952667,
-0.008918855339288712,
0.05484694242477417,
0.010194162838160992,
0.03957882896065712,
-0.0072812712751328945,
-0.01878323033452034,
0.04126020893454552,
0.0074550495482981205,
-0.040545105934143066,
0.009180255234241486,
-0.01656142808496952,
0.030109034851193428,
-0.02556554414331913,
-0.049489106982946396,
-0.01260075531899929,
-0.03594542294740677,
-0.0616178996860981,
-0.0030511943623423576,
-0.012526770122349262,
-0.0416274257004261,
0.030512025579810143,
0.032110538333654404,
-0.028622742742300034,
-0.011829150840640068,
-0.015615960583090782,
-0.0394495390355587,
-0.025989850983023643,
-0.04302797466516495,
-0.0003249566361773759,
-0.009469264186918736,
-0.024542218074202538,
0.033421047031879425,
0.03745551407337189,
0.01609858311712742,
0.011793931014835835,
0.032439183443784714,
0.04086153209209442,
-0.002670775167644024,
-0.02188871242105961,
-0.025216970592737198,
-0.00043356226524338126,
-0.00895632617175579,
0.025344783440232277,
-0.0007932509761303663,
-0.0203693937510252
] | python-click-date-parameter-type | https://markhneedham.com/blog/2019/07/29/python-click-date-parameter-type |
false | 2019-07-31 11:08:00 | Neo4j: Conditional WHERE clause with APOC | [
"neo4j",
"cypher",
"apoc"
] | [
"Neo4j"
] | Sometimes we want to be able to vary our Cypher queries based on the value of a parameter.
I came across such a situation today, and thought I'd share how I solved it using the APOC library.
Let's first setup some sample data:
[source, cypher]
----
UNWIND range(0, 5) AS id
CREATE (:Person {name: "person-" + id})
----
Now, if we want to get all pairs of people, we could write the following query:
[source,cypher]
----
MATCH (p1:Person), (p2:Person)
WHERE id(p1) < id(p2)
RETURN p1.name, p2.name
----
If we run that query we'll see the following output:
.Results
[opts="header",cols="1,1"]
|===
| p1.name | p2.name
|person-0|person-1
|person-0|person-2
|person-0|person-3
|person-0|person-4
|person-0|person-5
|person-1|person-2
|person-1|person-3
|person-1|person-4
|person-1|person-5
|person-2|person-3
|person-2|person-4
|person-2|person-5
|person-3|person-4
|person-3|person-5
|person-4|person-5
|===
But we also want to search for a Person, based on a query parameter, and return the pairs from that Person to everybody else.
Let's see how to do that.
We'll first create a parameter to find a subset of people:
[source, cypher]
----
:param personSubstring => "person-3"
----
And then the following query returns pairs from those people to everybody else:
[source,cypher]
----
MATCH (p1:Person), (p2:Person)
WHERE p1.name CONTAINS $personSubstring AND p2 <> p1
RETURN p1.name, p2.name
----
If we run that query we'll see the following output:
.Results
[opts="header",cols="1,1"]
|===
| p1.name | p2.name
|person-3|person-0
|person-3|person-1
|person-3|person-2
|person-3|person-4
|person-3|person-5
|===
What if we want to combine those queries?
If `personSubstring` contains a value we'll use that, and if not we'll return all pairs of people.
We can use the https://neo4j.com/developer/neo4j-apoc/[APOC Library^]'s `apoc.when` procedure to solve this problem.
This procedure has the following parameters:
* `condition` - a statement that must return a boolean value
* `ifQuery` - the query to execute if the condition is true
* `elseQuery` - the query to execute if the condition is false
* `params` - parameters to pass to the queries
And we can call it like this:
[source,cypher]
----
CALL apoc.when(
$personSubstring = '',
'MATCH (p1:Person), (p2:Person) WHERE id(p1) < id(p2) RETURN p1, p2',
'MATCH (p1:Person), (p2:Person) WHERE p1.name CONTAINS $personSubstring AND p2 <> p1 RETURN p1, p2',
{personSubstring: $personSubstring})
YIELD value
RETURN value.p1.name, value.p2.name
----
And now we can handle both use cases in one Cypher query. | Learn how to write conditional queries using the APOC library. | null | [
0.005869823507964611,
0.024335306137800217,
-0.024524375796318054,
0.03646404668688774,
0.10281447321176529,
-0.002609523478895426,
0.008883814327418804,
0.006913928780704737,
0.01999972201883793,
-0.04941750317811966,
-0.03543742001056671,
-0.0072325305081903934,
-0.09255459159612656,
0.0028392737731337547,
0.0016982841771095991,
0.08911633491516113,
0.03375164419412613,
0.013607479631900787,
0.0248118806630373,
0.016984395682811737,
0.029048992320895195,
0.03563418239355087,
-0.009857223369181156,
0.007709607947617769,
0.046356450766325,
0.013409314677119255,
0.009130073711276054,
-0.00485836248844862,
-0.022796064615249634,
0.002476308261975646,
0.0298102218657732,
-0.017919201403856277,
0.010166507214307785,
-0.027128415182232857,
-0.02102155052125454,
0.012590919621288776,
-0.04348163679242134,
-0.0027551166713237762,
-0.005691449623554945,
0.009585653431713581,
-0.053280409425497055,
0.03013664297759533,
-0.006487012840807438,
0.012226050719618797,
-0.023366540670394897,
-0.0196243729442358,
-0.07693304866552353,
0.054953936487436295,
-0.007726114243268967,
-0.004403581377118826,
-0.07254139333963394,
0.014602871611714363,
-0.01778045855462551,
0.014943349175155163,
0.023592263460159302,
0.02662838250398636,
0.015474632382392883,
-0.08580511063337326,
0.04791536182165146,
0.0011978992260992527,
-0.02543022483587265,
0.03989146649837494,
0.014045246876776218,
0.0443195141851902,
-0.028344279155135155,
-0.055809490382671356,
-0.014286331832408905,
0.05247710272669792,
-0.05114445090293884,
-0.035662613809108734,
-0.023630397394299507,
0.002645856933668256,
0.009261524304747581,
-0.040009755641222,
0.012470719404518604,
-0.0027221613563597202,
0.002747603226453066,
0.02341725490987301,
0.039036136120557785,
0.04865666478872299,
-0.01969468966126442,
0.003679911606013775,
-0.029360970482230186,
0.029642347246408463,
0.010185904800891876,
-0.02365964837372303,
-0.04733625799417496,
-0.01865985244512558,
-0.036652613431215286,
0.04703345522284508,
0.01120983250439167,
-0.06868810206651688,
-0.0034635316114872694,
-0.027092725038528442,
-0.016940344125032425,
-0.010862291790544987,
-0.00204601907171309,
-0.023003531619906425,
0.0170412790030241,
0.010267028585076332,
0.022198263555765152,
-0.024863775819540024,
0.00767908152192831,
-0.012008669786155224,
-0.08609702438116074,
-0.01658971980214119,
-0.03591213747859001,
-0.018426135182380676,
0.004247795324772596,
-0.004834550898522139,
-0.05788556858897209,
-0.01300928182899952,
0.01656780205667019,
0.028002850711345673,
-0.09000334143638611,
0.03801934793591499,
0.025361554697155952,
0.03063730150461197,
0.010992951691150665,
0.051218073815107346,
0.0005458483938127756,
0.028151925653219223,
0.02569306455552578,
0.05886256694793701,
-0.030950598418712616,
0.04177503660321236,
0.02960442379117012,
0.04282901808619499,
-0.013223470188677311,
-0.026872826740145683,
-0.020315255969762802,
0.05669993534684181,
0.018586069345474243,
-0.0032389406114816666,
-0.022814374417066574,
-0.063821941614151,
-0.028408218175172806,
0.029319582507014275,
0.029160836711525917,
0.049076471477746964,
0.004254301078617573,
-0.04322078078985214,
0.03326208144426346,
-0.023319635540246964,
0.032093849033117294,
0.04957455396652222,
-0.03024803288280964,
-0.020861085504293442,
-0.023017343133687973,
0.011660371907055378,
0.042936645448207855,
0.013299940153956413,
0.06929726153612137,
-0.028666799888014793,
-0.004920119885355234,
0.09792383015155792,
0.029823502525687218,
0.00948971789330244,
-0.02768617868423462,
-0.007268841378390789,
0.0191289484500885,
0.030866403132677078,
-0.0029021217487752438,
0.08439114689826965,
0.004111872054636478,
-0.003563530743122101,
0.007047708611935377,
0.05992068350315094,
-0.016938909888267517,
0.01460818387567997,
-0.05405149608850479,
-0.04230730980634689,
0.06226661801338196,
-0.05251483619213104,
-0.015319058671593666,
0.023115891963243484,
0.07039957493543625,
0.02975052036345005,
0.03060823492705822,
-0.003967233933508396,
-0.06314846128225327,
0.04375269636511803,
-0.03255155682563782,
-0.009290436282753944,
0.009332522749900818,
-0.014442029409110546,
0.09014453738927841,
0.03795399144291878,
-0.0017026826972141862,
0.05075386166572571,
-0.0766914114356041,
-0.05337156727910042,
-0.010897774249315262,
-0.007575610186904669,
0.0712597444653511,
-0.03421670198440552,
0.03214414045214653,
0.06374083459377289,
0.015156349167227745,
0.027354668825864792,
0.03050657920539379,
-0.005304926075041294,
0.04030032828450203,
-0.07974158972501755,
-0.06736183911561966,
0.03716149926185608,
0.03779463842511177,
-0.04493565484881401,
-0.024527663365006447,
0.044740669429302216,
-0.012974158860743046,
0.02356663905084133,
-0.01338728703558445,
-0.010763848200440407,
0.0376817062497139,
0.013370253145694733,
-0.012830770574510098,
-0.012690417468547821,
0.024598034098744392,
-0.027271253988146782,
0.05521704629063606,
0.02262522466480732,
-0.04074084758758545,
-0.015352057293057442,
-0.013325102627277374,
0.12111153453588486,
0.060695189982652664,
-0.004612132906913757,
-0.030663995072245598,
0.03683413192629814,
0.029584497213363647,
-0.014399943873286247,
0.03064926341176033,
-0.035312578082084656,
-0.020724615082144737,
-0.013481393456459045,
-0.028470400720834732,
-0.009099174290895462,
0.015184723772108555,
0.0028880303725600243,
-0.008807905949652195,
0.07199955731630325,
-0.01065173652023077,
0.041741177439689636,
-0.003762064268812537,
-0.004396271891891956,
-0.0016699833795428276,
-0.027673033997416496,
-0.02790173701941967,
0.021590113639831543,
-0.035865213721990585,
-0.002669939072802663,
0.046329617500305176,
-0.019444815814495087,
-0.010322791524231434,
-0.031852513551712036,
-0.014870654791593552,
0.026429234072566032,
0.023503297939896584,
0.04450872540473938,
-0.031973741948604584,
0.05555121600627899,
-0.02436859905719757,
0.026832472532987595,
-0.009530740790069103,
-0.07840099185705185,
-0.051345255225896835,
0.007314896211028099,
-0.01051217783242464,
0.010849719867110252,
0.035404324531555176,
-0.0030154052656143904,
0.03473176807165146,
-0.014630801044404507,
-0.0029802077915519476,
0.015048086643218994,
0.012049222365021706,
0.009671401232481003,
-0.015530429780483246,
-0.027759606018662453,
-0.007465919479727745,
0.03728403151035309,
-0.05347327142953873,
-0.041486602276563644,
-0.01178862527012825,
-0.04902355372905731,
0.03283747658133507,
-0.07849684357643127,
-0.06401176750659943,
0.004585193935781717,
0.038426607847213745,
0.05560584366321564,
0.005276157520711422,
0.02912817895412445,
0.09944801777601242,
0.01755940541625023,
-0.0038535932544618845,
0.060019899159669876,
0.012750997208058834,
0.04549534618854523,
-0.014541114680469036,
0.03944521024823189,
0.03414706513285637,
-0.023238999769091606,
-0.0014487309381365776,
-0.037361931055784225,
-0.01172033604234457,
-0.017695149406790733,
-0.2764419913291931,
0.04246784746646881,
-0.050405021756887436,
-0.022689158096909523,
0.007308400236070156,
-0.05394778773188591,
-0.020344238728284836,
-0.020328601822257042,
-0.018985433503985405,
0.031196042895317078,
0.026740238070487976,
-0.009355714544653893,
-0.02174295485019684,
0.06104506179690361,
0.012142406776547432,
0.02828257903456688,
-0.03830910846590996,
-0.056062471121549606,
0.030527904629707336,
0.0108889639377594,
0.04965350031852722,
-0.061469677835702896,
0.001808354165405035,
0.0007990645244717598,
0.012945147231221199,
0.0384264700114727,
-0.06592918187379837,
0.004699483513832092,
-0.03229697793722153,
-0.026053020730614662,
-0.003122929949313402,
-0.036370716989040375,
-0.0006751114851795137,
0.012801412492990494,
-0.02030465379357338,
-0.03991451486945152,
0.06366405636072159,
0.010255943983793259,
0.019300533458590508,
0.05667021498084068,
-0.06567983329296112,
-0.046221718192100525,
-0.0016535912873223424,
-0.016262779012322426,
0.051858849823474884,
0.01492005493491888,
-0.06432877480983734,
-0.01476286444813013,
-0.01771998219192028,
0.04963357001543045,
-0.00790521502494812,
-0.04141239821910858,
-0.023932114243507385,
-0.009911639615893364,
-0.01257267501205206,
-0.03919767588376999,
0.013034909963607788,
-0.025655493140220642,
-0.05785122141242027,
-0.013742036186158657,
0.009590142406523228,
-0.03718258813023567,
0.008407197892665863,
-0.04748077318072319,
0.014417391270399094,
-0.0380273163318634,
-0.05489557608962059,
-0.038985103368759155,
0.04227791726589203,
0.040447406470775604,
-0.00409373315051198,
0.014903802424669266,
-0.019906755536794662,
-0.10799518972635269,
-0.021072320640087128,
0.00300481915473938,
0.04571091756224632,
0.0010624247370287776,
-0.044024594128131866,
0.02885037660598755,
-0.03360512852668762,
-0.013968738727271557,
0.01106266025453806,
0.02484665997326374,
0.036458101123571396,
-0.01156375277787447,
-0.016376860439777374,
0.00508512556552887,
-0.030183274298906326,
0.034622736275196075,
0.06086738035082817,
-0.03298625722527504,
0.003211761126294732,
0.01896008476614952,
0.013645622879266739,
0.016466675326228142,
0.025091147050261497,
-0.019815808162093163,
0.01841115951538086,
0.020640285685658455,
0.03396311029791832,
-0.01903478056192398,
0.013154584914445877,
-0.05206203833222389,
-0.04194328188896179,
-0.01169971190392971,
-0.04286951199173927,
0.025034446269273758,
0.030811408534646034,
-0.00139707385096699,
-0.017769386991858482,
-0.027474572882056236,
0.003919691778719425,
-0.04630956053733826,
-0.0180042814463377,
-0.02426864579319954,
0.034815408289432526,
0.02410593442618847,
0.05771387368440628,
-0.040574993938207626,
-0.08910959959030151,
0.03673086315393448,
0.05594588816165924,
-0.012164553627371788,
-0.05718623474240303,
-0.04982040077447891,
-0.023215586319565773,
-0.005408416502177715,
0.028313135728240013,
0.02596096694469452,
-0.030383314937353134,
0.02656085230410099,
0.00569052342325449,
-0.019739743322134018,
0.024728473275899887,
-0.024429552257061005,
-0.002498114248737693,
-0.002324408618733287,
0.003998196218162775,
0.020133547484874725,
-0.02677331678569317,
0.0014530050102621317,
0.013043932616710663,
0.05582321062684059,
0.039543237537145615,
-0.006893489975482225,
-0.0004458277253434062,
0.00425542751327157,
-0.0030546796042472124,
-0.009709220379590988,
-0.019461579620838165,
-0.026071207597851753,
0.022070283070206642,
-0.037035003304481506,
-0.0036234771832823753,
0.0030847988091409206,
0.059913214296102524,
-0.006546270567923784,
-0.02527468465268612,
-0.04740825667977333,
0.024022506549954414,
-0.06806367635726929,
0.007424547802656889,
-0.020719995722174644,
-0.00656033493578434,
0.06285209208726883,
-0.05050855502486229,
0.03912036120891571,
-0.06310642510652542,
0.009539073333144188,
-0.006863189395517111,
-0.010585319250822067,
-0.0000735846915631555,
0.0016265178564935923,
-0.025820480659604073,
-0.008700280450284481,
0.02535233274102211,
0.04592585191130638,
-0.019028805196285248,
0.00014416425256058574,
-0.001857098308391869,
0.006390960421413183,
0.0039751711301505566,
-0.0020195082761347294,
0.048419371247291565,
0.017445703968405724,
-0.020190034061670303,
-0.0067023648880422115,
-0.03333895653486252,
-0.016924351453781128,
-0.024879062548279762,
-0.01460131723433733,
-0.05527375265955925,
0.012931940145790577,
-0.017279155552387238,
-0.06220996379852295,
0.03947187215089798,
0.009675178676843643,
-0.0011871162569150329,
0.03423937037587166,
0.006909635849297047,
0.0050058201886713505,
-0.011163460090756416,
-0.012185892090201378,
0.057402536273002625,
-0.038108114153146744,
0.0016541784862056375,
0.00854632630944252,
-0.04547513276338577,
0.018613113090395927,
0.013335109688341618,
-0.048997633159160614,
-0.03052125871181488,
0.03499731421470642,
-0.013846159912645817,
-0.0044823563657701015,
-0.043080586940050125,
0.01586197130382061,
0.02152087353169918,
-0.017223812639713287,
0.043416500091552734,
-0.0010756846750155091,
0.021510982885956764,
-0.0077523766085505486,
-0.009328403510153294,
0.0715511292219162,
-0.0008138444973155856,
-0.052280113101005554,
0.04099009931087494,
0.029817039147019386,
0.0198945552110672,
-0.02751239575445652,
0.0033012013882398605,
0.017111971974372864,
-0.002057234523817897,
-0.024464024230837822,
-0.07875218242406845,
0.016063766553997993,
-0.059345223009586334,
0.017268706113100052,
-0.027947576716542244,
-0.01719430461525917,
-0.0021361918188631535,
-0.0076012397184967995,
-0.007061157841235399,
0.011777547188103199,
0.010308310389518738,
-0.012520466931164265,
0.010333014652132988,
0.042186759412288666,
-0.015275643207132816,
0.029703984037041664,
-0.010257603600621223,
-0.03463698923587799,
0.04372769966721535,
0.02561778761446476,
-0.03892254829406738,
0.007665742188692093,
-0.042513687163591385,
0.015939531847834587,
0.01325015164911747,
0.0003177393227815628,
-0.08133276551961899,
0.039379458874464035,
0.03569410368800163,
0.016830721870064735,
0.026376277208328247,
-0.01635945774614811,
0.02913852035999298,
-0.035208795219659805,
0.003310569329187274,
-0.06422825157642365,
0.0416041798889637,
0.05919215455651283,
0.012624013237655163,
-0.007867364212870598,
-0.008240186609327793,
-0.03141538053750992,
0.03558315336704254,
-0.020362982526421547,
-0.04452167823910713,
0.02966802939772606,
0.0036429159808903933,
0.02703019790351391,
0.04164322838187218,
-0.046357281506061554,
-0.028725039213895798,
0.04642964154481888,
-0.020293893292546272,
-0.015771780163049698,
-0.02314276061952114,
0.046143822371959686,
-0.018126344308257103,
0.020579474046826363,
-0.0007557756034657359,
-0.008085615932941437,
0.05975502356886864,
0.03688080608844757,
0.019778704270720482,
0.05785171315073967,
-0.042760513722896576,
0.024437477812170982,
0.02335728332400322,
-0.02049587294459343,
0.009371367283165455,
0.041447028517723083,
-0.03500569611787796,
-0.04710084944963455,
0.02243911102414131,
0.01381286233663559,
-0.036144085228443146,
-0.043918874114751816,
0.08753718435764313,
0.00009957331349141896,
-0.07154393196105957,
-0.055426836013793945,
0.04077593982219696,
-0.03778713569045067,
-0.04122408851981163,
-0.007431440986692905,
-0.01321344543248415,
0.0052521419711411,
0.07056719064712524,
-0.02055460959672928,
0.020148659124970436,
0.06365108489990234,
0.026389747858047485,
-0.019338294863700867,
0.003758319653570652,
0.06861957907676697,
0.08061069995164871,
0.04408910870552063,
0.02900359220802784,
0.03952692076563835,
-0.013900280930101871,
-0.029329882934689522,
-0.017379440367221832,
-0.04209267720580101,
-0.017866238951683044,
-0.0008383545791730285,
-0.006940060760825872,
0.07013247907161713,
-0.015843799337744713,
0.05251414701342583,
-0.020555812865495682,
-0.009684544987976551,
0.006343535613268614,
0.020656060427427292,
0.057195864617824554,
0.05538806691765785,
0.007452284451574087,
0.025720765814185143,
-0.022736839950084686,
-0.04645998403429985,
0.000817301101051271,
0.023088185116648674,
-0.0076003484427928925,
0.020061107352375984,
-0.02088070474565029,
-0.016677774488925934,
-0.009629537351429462,
0.027798457071185112,
0.1046406626701355,
-0.03842023387551308,
-0.010476378723978996,
0.014576996676623821,
0.014163930900394917,
-0.0024075922556221485,
0.00407366594299674,
-0.0011080369586125016,
-0.036623042076826096,
-0.017725462093949318,
-0.025973213836550713,
-0.04885817691683769,
-0.03506913781166077,
-0.0334000363945961,
-0.00040327696478925645,
-0.0038558626547455788,
0.0015861763386055827,
-0.01368563063442707,
0.01590866968035698,
-0.015122704207897186,
-0.06533500552177429,
-0.08859949558973312,
-0.017460066825151443,
-0.03777315467596054,
0.021970491856336594,
-0.00865779910236597,
0.01214456558227539,
0.0095591489225626,
0.029610754922032356,
-0.022236784920096397,
-0.0043739620596170425,
0.03874276950955391,
0.0033673481084406376,
-0.016874291002750397,
0.020036358386278152,
0.03324224799871445,
0.039505794644355774,
-0.0004084495303686708,
0.04200292006134987,
-0.030888110399246216,
0.0313941054046154,
-0.03245871886610985,
0.008586403913795948,
0.042318541556596756,
0.013042142614722252,
-0.020945455878973007,
-0.08160196244716644,
-0.025933897122740746,
0.023422254249453545,
0.020059294998645782,
-0.0731177031993866,
0.0034100606571882963,
0.00922262854874134,
-0.006477560847997665,
0.01710991933941841,
0.0061097643338143826,
-0.012071880511939526,
-0.012434814125299454,
0.0010124872205778956,
-0.025553561747074127,
-0.021214265376329422,
0.06013070046901703,
-0.02718174271285534,
0.0614372082054615,
0.013296850025653839,
-0.02838076278567314,
-0.03043607622385025,
-0.013024664483964443,
0.005193453747779131,
0.015270426869392395,
-0.05046221986413002,
-0.04672608897089958,
-0.02407027967274189,
-0.07365413755178452,
-0.02485322766005993,
0.02070482075214386,
-0.026525719091296196,
-0.03303254023194313,
-0.0030976992566138506,
0.018358657136559486,
-0.04587706923484802,
0.0179593488574028,
-0.028415994718670845,
0.06509864330291748,
-0.024156078696250916,
-0.04312724992632866,
-0.03981069475412369,
0.04315817728638649,
-0.059472814202308655,
0.029598083347082138,
0.03456694632768631,
-0.04147043079137802,
-0.01675853319466114,
-0.054048750549554825,
0.04025999456644058,
0.02603917382657528,
-0.006157957948744297,
0.003345589153468609
] | [
-0.07681374996900558,
-0.02176891826093197,
-0.0539216585457325,
-0.0035974306520074606,
0.0334756039083004,
-0.0422336645424366,
0.03982103243470192,
-0.007475461810827255,
0.013083080761134624,
0.012321560643613338,
0.025662044063210487,
-0.023608362302184105,
0.01880110241472721,
-0.0105971684679389,
0.05721668154001236,
-0.01628873124718666,
-0.016507446765899658,
-0.032912954688072205,
-0.05746931582689285,
0.04681301862001419,
-0.00009075789421331137,
-0.034999094903469086,
-0.025061773136258125,
-0.03210114315152168,
0.010545728728175163,
0.04130566492676735,
0.03496195748448372,
-0.032127730548381805,
-0.019378596916794777,
-0.21321707963943481,
0.012515020556747913,
0.01748845726251602,
0.006890271324664354,
-0.012316559441387653,
0.01769239827990532,
0.015946656465530396,
0.04540395736694336,
-0.018409019336104393,
0.010723426938056946,
0.060863204300403595,
0.03537049889564514,
-0.0019297096878290176,
-0.049607183784246445,
-0.01694662868976593,
0.027121679857373238,
-0.01821991801261902,
-0.020664967596530914,
0.012319114990532398,
-0.010638047941029072,
0.06295396387577057,
-0.012597133405506611,
-0.023512961342930794,
-0.008625379763543606,
0.00592738576233387,
0.01406413596123457,
0.04697762802243233,
0.03703015670180321,
0.08148723095655441,
0.013779540546238422,
0.0419883131980896,
-0.004519791342318058,
0.006589557975530624,
-0.12077370285987854,
0.09492478519678116,
-0.0036941473372280598,
0.020947860553860664,
-0.03982745110988617,
-0.03188486024737358,
-0.046004775911569595,
0.056427109986543655,
0.033497147262096405,
0.007466246839612722,
-0.05762428417801857,
0.05473116412758827,
-0.009585592895746231,
0.008769853040575981,
-0.033942848443984985,
0.024316566064953804,
0.06009664386510849,
-0.0201466865837574,
-0.03186113387346268,
0.0009429652127437294,
-0.011621971614658833,
-0.004768434911966324,
0.008242551237344742,
0.025323431938886642,
0.010061956010758877,
0.03135829046368599,
-0.0021978605072945356,
-0.017662744969129562,
0.019566385075449944,
0.0011573932133615017,
-0.01581074669957161,
0.03194105252623558,
-0.06809516251087189,
-0.015879502519965172,
0.013518080115318298,
0.052113987505435944,
-0.009728983975946903,
0.40393295884132385,
0.007968186400830746,
0.018823394551873207,
0.0194652508944273,
0.024757303297519684,
-0.0011487823212519288,
-0.029194599017500877,
0.001973849255591631,
-0.055886659771203995,
0.0502580888569355,
-0.03023921325802803,
-0.006215670146048069,
-0.0424843356013298,
0.028735103085637093,
-0.06555655598640442,
-0.03180975839495659,
0.06517564505338669,
0.051267366856336594,
-0.00406995601952076,
0.013691991567611694,
-0.02265668287873268,
-0.0060172718949615955,
-0.04966215044260025,
0.02341943234205246,
0.03544251620769501,
0.031159766018390656,
0.016100088134407997,
0.05339285358786583,
0.06868285685777664,
0.006296961568295956,
0.03292336314916611,
0.07682712376117706,
-0.03633933886885643,
-0.09524250030517578,
-0.0038563585840165615,
-0.013095314614474773,
0.005604634992778301,
0.03315199911594391,
-0.0444195456802845,
-0.0005480758845806122,
0.05163832753896713,
-0.03292094171047211,
-0.01643643155694008,
0.026489607989788055,
0.019352996721863747,
-0.04571324586868286,
0.1611761599779129,
-0.02321634627878666,
-0.026899540796875954,
-0.04411784186959267,
-0.06432614475488663,
-0.012640358880162239,
-0.0002562052686698735,
-0.01049837376922369,
-0.06067676097154617,
-0.03619927912950516,
0.04836539924144745,
0.07745615392923355,
0.0013622845290228724,
-0.05659738555550575,
-0.03882163017988205,
-0.016571693122386932,
-0.019620465114712715,
-0.05990378186106682,
0.11002034693956375,
0.0275737252086401,
-0.10486485809087753,
-0.022611526772379875,
0.012047750875353813,
-0.007283404935151339,
-0.044993575662374496,
0.04096633940935135,
0.011810961179435253,
-0.04777605086565018,
-0.019220512360334396,
0.059862956404685974,
-0.012736606411635876,
-0.07165013998746872,
0.010765643790364265,
0.05063335597515106,
0.004146025516092777,
-0.017079448327422142,
0.009169121272861958,
-0.030963236466050148,
-0.019709745422005653,
-0.07282737642526627,
-0.06007995083928108,
-0.06158565729856491,
0.04089433327317238,
-0.023838216438889503,
-0.018713876605033875,
-0.025214891880750656,
-0.027298640459775925,
-0.02487059310078621,
0.05819789692759514,
-0.04178132861852646,
-0.04016866534948349,
-0.01721326634287834,
0.012327919714152813,
0.003782849293202162,
-0.040659401565790176,
0.0348467156291008,
0.04006286710500717,
0.009801367297768593,
0.01028567086905241,
-0.061918653547763824,
0.014656736515462399,
0.03296221047639847,
-0.03701193630695343,
0.06425715982913971,
0.03166733682155609,
-0.022359242662787437,
0.010291272774338722,
-0.05790986493229866,
0.031130045652389526,
-0.009820200502872467,
-0.025880271568894386,
-0.007409790530800819,
0.01705404557287693,
0.034628260880708694,
0.05837450176477432,
-0.031002940610051155,
-0.03228439390659332,
0.02305256947875023,
-0.36872732639312744,
-0.04213543236255646,
-0.02863343432545662,
0.0035927356220781803,
0.019236164167523384,
-0.020351337268948555,
0.00398243498057127,
0.016868919134140015,
-0.03221704438328743,
0.020176339894533157,
0.0800526887178421,
-0.003449719399213791,
-0.002516810316592455,
-0.016826244071125984,
-0.019106635823845863,
0.0247584730386734,
-0.015632111579179764,
-0.012664025649428368,
-0.011647029779851437,
0.01183393970131874,
-0.014336246065795422,
-0.024348674342036247,
-0.02472418174147606,
-0.05907021462917328,
-0.0030856365337967873,
0.0031712122727185488,
0.11644122749567032,
-0.0010479963384568691,
0.032560382038354874,
-0.05706562474370003,
0.04982978105545044,
-0.021831713616847992,
-0.00613794568926096,
-0.02626742795109749,
0.021206442266702652,
0.0005228158552199602,
-0.011653484776616096,
0.013807794079184532,
-0.019417449831962585,
0.00592250470072031,
-0.03743300214409828,
-0.012070763856172562,
-0.012068807147443295,
-0.03668765723705292,
-0.05512605607509613,
0.007290523033589125,
-0.035110894590616226,
0.010259149596095085,
-0.014879517257213593,
0.07818517088890076,
0.0018258834024891257,
0.01414143294095993,
0.012502580881118774,
0.003409375436604023,
0.005628146231174469,
-0.02655702643096447,
-0.0658600926399231,
-0.019195742905139923,
0.001446047448553145,
0.006024141795933247,
0.0035877262707799673,
0.024786893278360367,
0.03394751995801926,
-0.06657355278730392,
0.03838818520307541,
-0.024393776431679726,
0.00197790889069438,
0.024307867512106895,
0.05781089514493942,
-0.043860938400030136,
-0.042341504245996475,
0.07065906375646591,
0.0029060833621770144,
0.049876436591148376,
0.013047256506979465,
0.043642181903123856,
-0.004054706543684006,
0.0013024377403780818,
-0.0036137669812887907,
0.014970187097787857,
0.06092766672372818,
-0.006991533562541008,
0.042708493769168854,
-0.012622283771634102,
-0.0064687966369092464,
0.03356947377324104,
0.017254136502742767,
0.013749676756560802,
0.06280702352523804,
-0.0038106285501271486,
-0.07467661052942276,
-0.029077904298901558,
-0.03846181184053421,
-0.04103435203433037,
0.05608431249856949,
-0.00852205604314804,
-0.28518861532211304,
0.05459897220134735,
0.013169150799512863,
0.06269654631614685,
0.02286630868911743,
0.0023302503395825624,
0.037516843527555466,
-0.05857186019420624,
-0.011472824960947037,
-0.023886939510703087,
0.038566287606954575,
0.016898980364203453,
0.012090513482689857,
-0.028592118993401527,
0.019872600212693214,
0.02419709600508213,
0.04598898068070412,
-0.015563227236270905,
0.00856856256723404,
0.020243477076292038,
0.05782202258706093,
-0.017477285116910934,
0.20997002720832825,
0.017786264419555664,
0.029095575213432312,
0.026196174323558807,
-0.020972400903701782,
-0.009977521374821663,
0.05563243478536606,
0.00509644765406847,
-0.0018350838217884302,
-0.012715192511677742,
0.04457143321633339,
-0.011315531097352505,
0.029738126322627068,
-0.0025190457236021757,
-0.019248351454734802,
0.00836403202265501,
0.017188455909490585,
-0.05562572926282883,
0.0016722158761695027,
-0.01169648114591837,
-0.045515865087509155,
0.00589648587629199,
0.10229716449975967,
0.015058479271829128,
0.009389202110469341,
-0.0013138983631506562,
-0.03659927845001221,
0.0031084136571735144,
-0.015918392688035965,
-0.03306989744305611,
-0.02092370204627514,
-0.003502122825011611,
0.005528284702450037,
0.08107763528823853,
0.019345810636878014,
-0.00922511238604784,
0.014054610393941402,
0.02626851759850979,
-0.008934271521866322,
-0.042131584137678146,
0.10470672696828842,
-0.06772050261497498,
0.0026451193261891603
] | [
-0.004224274307489395,
0.0721101388335228,
0.007992653176188469,
0.015322072431445122,
-0.01938217133283615,
-0.015354150906205177,
-0.0009650496067479253,
0.023162396624684334,
-0.005312711466103792,
0.007050450891256332,
-0.034779924899339676,
-0.005801960360258818,
0.062458738684654236,
-0.012250437401235104,
0.003999674692749977,
0.011868095956742764,
-0.00948905199766159,
0.03461000323295593,
0.03808410465717316,
-0.018562685698270798,
-0.025189939886331558,
0.03796354681253433,
0.04062750190496445,
-0.024234063923358917,
-0.012341265566647053,
0.007848493754863739,
0.009146089665591717,
0.05924180522561073,
0.021197089925408363,
-0.11105763167142868,
-0.030751284211874008,
-0.017140395939350128,
-0.01745331846177578,
0.027241190895438194,
-0.04874909296631813,
-0.020535148680210114,
0.01012279000133276,
0.056016113609075546,
-0.013565655797719955,
0.013508706353604794,
0.021407563239336014,
-0.016920767724514008,
-0.05655032768845558,
0.022326098755002022,
0.019862929359078407,
0.02279851771891117,
-0.03391724079847336,
0.0111991660669446,
-0.021424520760774612,
-0.03811561316251755,
-0.03734352067112923,
-0.015146917663514614,
-0.029188169166445732,
0.003988030832260847,
0.04607329145073891,
0.010988695546984673,
-0.08408667892217636,
-0.008123581297695637,
-0.0011525879381224513,
-0.05446916073560715,
-0.04316762462258339,
-0.001667200354859233,
-0.07419369369745255,
-0.017738884314894676,
0.000581704662181437,
-0.023102354258298874,
0.005424938164651394,
0.01933138072490692,
0.02574179321527481,
-0.006923428270965815,
-0.028940975666046143,
0.006915057543665171,
-0.030252182856202126,
-0.00540889473631978,
0.019696401432156563,
0.062025729566812515,
0.0281690564006567,
-0.030927224084734917,
0.003465923247858882,
-0.026936396956443787,
-0.009419407695531845,
0.002834443235769868,
-0.04686281830072403,
0.012419248931109905,
-0.003449564566835761,
-0.025169745087623596,
-0.0036358775105327368,
0.038833219558000565,
-0.009466311894357204,
0.0015967014478519559,
-0.031391631811857224,
0.013886614702641964,
0.03647596761584282,
-0.022999826818704605,
-0.07553908228874207,
0.012598021887242794,
0.008240905590355396,
0.004644388798624277,
0.03882323578000069,
0.8095741271972656,
0.00914442352950573,
-0.01112152449786663,
0.01684611663222313,
0.01725715398788452,
0.0035176309756934643,
-0.006380402483046055,
0.019432371482253075,
-0.002249048789963126,
0.051592618227005005,
-0.02330103889107704,
-0.022889629006385803,
-0.010985576547682285,
-0.006559891160577536,
-0.029187137261033058,
-0.012500284239649773,
0.05421793833374977,
0.03665381297469139,
0.03881904110312462,
-0.006918265018612146,
-0.037910837680101395,
-0.01926048845052719,
-0.03833626210689545,
-0.05400754511356354,
-0.0009313274640589952,
-0.0015299752121791244,
-0.18056116998195648,
-0.017943361774086952,
-6.372152103032104e-33,
0.037860363721847534,
-0.014606778509914875,
0.0684853047132492,
0.012363696470856667,
-0.004322946537286043,
0.026246000081300735,
0.028336573392152786,
-0.03871989995241165,
-0.006769453175365925,
-0.02077380195260048,
-0.01604270003736019,
0.012200010940432549,
0.012614330276846886,
-0.006190768908709288,
-0.0012805418809875846,
-0.02440503053367138,
-0.0005620716256089509,
0.036319226026535034,
-0.042911872267723083,
0.05354103073477745,
0.008855571039021015,
0.007029370870441198,
-0.025514496490359306,
-0.0025074391160160303,
-0.003604334779083729,
0.05451406538486481,
0.013863248750567436,
-0.043667521327733994,
-0.003879818832501769,
-0.0635811984539032,
-0.07970185577869415,
0.04396062344312668,
-0.016434771940112114,
0.0065976413898169994,
0.007904231548309326,
-0.051741741597652435,
-0.007094263564795256,
-0.010287621058523655,
0.010806174948811531,
-0.06936439871788025,
-0.05609733611345291,
0.013125631026923656,
0.02199421636760235,
-0.011278517544269562,
-0.026606086641550064,
-0.024224087595939636,
-0.014188386499881744,
-0.004514208063483238,
-0.022188745439052582,
0.010467752814292908,
0.03698816895484924,
0.024575121700763702,
-0.003941691014915705,
0.043039992451667786,
-0.018453385680913925,
0.012759007513523102,
-0.0016883231000974774,
0.0525592640042305,
0.003004224505275488,
0.02001105435192585,
0.036185167729854584,
0.023223131895065308,
0.0009748490992933512,
0.03441091999411583,
0.015335974283516407,
0.02733823098242283,
-0.04829812049865723,
-0.01238815113902092,
0.0017193155363202095,
0.060254089534282684,
-0.011066637933254242,
0.03382126986980438,
-0.012365355156362057,
-0.04747936874628067,
0.027756497263908386,
-0.0008513304637745023,
0.0032621563877910376,
-0.014966093935072422,
0.019630679860711098,
0.037247184664011,
0.0064911250956356525,
0.0033010467886924744,
-0.008696606382727623,
0.007537940051406622,
-0.017439983785152435,
-0.014082453213632107,
0.020019346848130226,
0.013935059309005737,
-0.014507375657558441,
0.023216569796204567,
0.053601861000061035,
-0.012023787945508957,
0.024498499929904938,
-0.009385496377944946,
-0.029975829645991325,
6.719557703474123e-33,
0.009568342939019203,
0.02197425253689289,
0.0009050132939592004,
-0.025715051218867302,
0.036702848970890045,
0.0081503726541996,
0.031439051032066345,
-0.01850160025060177,
-0.021456796675920486,
0.025724884122610092,
-0.014541873708367348,
0.001653482555411756,
0.008995119482278824,
0.02031150832772255,
0.0398450642824173,
0.03157311677932739,
0.010525609366595745,
-0.011491702869534492,
-0.00037496606819331646,
0.03612278774380684,
-0.004908286966383457,
0.0005664699710905552,
0.021904069930315018,
0.0374598391354084,
-0.022066058591008186,
0.02197178266942501,
0.024475596845149994,
-0.0005598442512564361,
-0.008059748448431492,
-0.03409622982144356,
-0.012200367636978626,
-0.023358115926384926,
-0.019294917583465576,
-0.04995458200573921,
0.03382054716348648,
0.0046379463747143745,
0.009671875275671482,
-0.015651749446988106,
-0.006323825567960739,
-0.01499007549136877,
-0.004204821772873402,
-0.004295662045478821,
-0.006328926421701908,
0.04648003354668617,
0.06381658464670181,
0.006760178133845329,
0.0117766372859478,
0.0006651922594755888,
-0.0025206939317286015,
0.020035764202475548,
0.015245985239744186,
0.04570154845714569,
-0.034180957823991776,
0.016966404393315315,
0.034854065626859665,
-0.062031541019678116,
-0.00511949323117733,
0.018488982692360878,
0.034710198640823364,
-0.03216668963432312,
-0.02396734245121479,
-0.007088582031428814,
-0.06411925703287125,
0.06362563371658325,
0.0024002986028790474,
0.02432362549006939,
-0.017812898382544518,
-0.021475868299603462,
-0.048763781785964966,
0.01153329387307167,
-0.010237602517008781,
-0.027274208143353462,
0.004523881711065769,
0.017267223447561264,
0.028253216296434402,
-0.00640450231730938,
-0.02565225213766098,
-0.028880493715405464,
0.0033271433785557747,
0.036588650196790695,
0.024072973057627678,
-0.03663013130426407,
0.008938034065067768,
0.031116202473640442,
-0.025643127039074898,
-0.02445673570036888,
-0.015042763203382492,
0.01369390357285738,
-0.012997085228562355,
-0.009405738674104214,
0.01578223891556263,
-0.020352469757199287,
-0.02398584596812725,
0.0382736474275589,
-0.024494433775544167,
-1.2216158751243711e-8,
-0.021541431546211243,
-0.0016586878336966038,
-0.020668696612119675,
0.006798815447837114,
0.003905664663761854,
0.016977623105049133,
0.004198973532766104,
-0.012089196592569351,
0.012922440655529499,
-0.011139747686684132,
0.02986866794526577,
-0.0018446441972628236,
0.05568411201238632,
0.002601051237434149,
0.03952086716890335,
-0.020573381334543228,
0.011816984042525291,
-0.012074347585439682,
0.0385211780667305,
-0.005056832451373339,
-0.05404733866453171,
0.04158273711800575,
-0.046725835651159286,
0.019522568210959435,
-0.00203047227114439,
-0.005248065106570721,
0.043635547161102295,
-0.05693495646119118,
0.02606518380343914,
-0.03560493513941765,
-0.007333547808229923,
-0.003371585626155138,
-0.019251026213169098,
0.06015341356396675,
-0.0005707113887183368,
-0.025545276701450348,
0.021360676735639572,
0.05991208925843239,
0.01883024163544178,
0.025093790143728256,
-0.030446283519268036,
0.0189713966101408,
-0.023172229528427124,
-0.018128059804439545,
-0.005193250719457865,
0.007972008548676968,
-0.021191271021962166,
-0.00241191778331995,
0.025780891999602318,
-0.05587693676352501,
0.026713283732533455,
0.006872160825878382,
0.016753176227211952,
-0.05067991837859154,
0.007077554240822792,
-0.025134079158306122,
-0.0006515132845379412,
-0.02595924213528633,
0.005455009639263153,
-0.04280930757522583,
0.002045777626335621,
0.010126207023859024,
-0.02171107567846775,
-0.017787659540772438
] | neo4j-conditional-where-query-apoc | https://markhneedham.com/blog/2019/07/31/neo4j-conditional-where-query-apoc |
false | 2019-09-05 00:47:00 | Neo4j: apoc.load.csv - Neo.ClientError.Statement.SyntaxError: Type mismatch: expected Float, Integer, Number or String but was Any | [
"neo4j",
"cypher",
"apoc"
] | [
"Neo4j"
] | The https://neo4j.com/docs/labs/apoc/3.5/[Neo4j APOC library^]'s https://neo4j.com/docs/labs/apoc/current/import/load-csv/[Load CSV procedure^] is very useful if you want more control over the import process than the `LOAD CSV` clause allows.
I found myself using it last week to import a CSV file of embeddings, because I wanted to know the line number of the row in the CSV file while importing the data.
I had a file that looked like this, which I put into the `import` directory:
[source,text]
----
$ cat import/data.csv
0.034 0.765 0.452
0.312 0.413 0.789
----
And before I imported it, I added the following entries to my Neo4j Settings file so that I could read locally:
[source,text]
----
apoc.import.file.enabled=true
apoc.import.file.use_neo4j_config=true
----
The following query processes the file, with optional config that indicates that the file doesn't have a header and uses a space as a separator:
[source,cypher]
----
CALL apoc.load.csv("file:///data.csv", {header: false, sep: " "})
YIELD lineNo, map, list
RETURN lineNo, list
----
If we run that query we'll get this result:
.Results
[opts="header",cols="1,2"]
|===
| lineNo | list
|0 | ["0.034","0.765","0.452"]
|1 | ["0.312","0.413","0.789"]
|===
But we want to have each item of the list be a float value rather than a string.
I tried to coerce each of the values using the `toFloat` function:
[source,cypher]
----
CALL apoc.load.csv("file:///data.csv", {header: false, sep: " "})
YIELD lineNo, map, list
RETURN lineNo, [item in list | toFloat(item)] AS list
----
Unfortunately this doesn't quite work, as the following error indicates:
[source,text]
----
Neo.ClientError.Statement.SyntaxError: Type mismatch: expected Float, Integer, Number or String but was Any (line 3, column 40 (offset: 129))
"RETURN lineNo, [item in list | toFloat(item)] AS list"
^
----
Instead we need to use APOC's `apoc.convert.toFloat` function to do the type coercion.
The following query does the trick:
[source,cypher]
----
CALL apoc.load.csv("file:///data.csv", {header: false, sep: " "})
YIELD lineNo, map, list
RETURN lineNo, [item in list | apoc.convert.toFloat(item)] AS list
----
.Results
[opts="header",cols="1,2"]
|===
| lineNo | list
|0 | [0.034,0.765,0.452]
|1 | [0.312,0.413,0.789]
|=== | Learn how to coerce the type of values loaded using APOC's apoc.load.csv procedure. | null | [
0.00010719543934101239,
-0.007149480748921633,
-0.037180084735155106,
0.013087508268654346,
0.09368935972452164,
0.0025884544011205435,
0.0006295216735452414,
0.0050313291139900684,
0.0257708840072155,
-0.021555881947278976,
-0.012414587661623955,
-0.020127689465880394,
-0.07985980063676834,
0.008811941370368004,
0.025031086057424545,
0.05547896772623062,
0.07823768258094788,
0.00855009350925684,
0.017531070858240128,
-0.01931569166481495,
0.02650926075875759,
0.030450839549303055,
-0.020127715542912483,
0.025903239846229553,
-0.010018806904554367,
-0.024333374574780464,
-0.018191317096352577,
-0.010887247510254383,
-0.039675064384937286,
0.013520493172109127,
0.05142640694975853,
-0.0029492750763893127,
0.041577260941267014,
-0.033291611820459366,
0.014026240445673466,
0.020597679540514946,
-0.03152298927307129,
-0.005507941823452711,
-0.04112415760755539,
0.009237471036612988,
-0.05319845303893089,
0.013056288473308086,
-0.030491633340716362,
0.005547478795051575,
-0.04026277735829353,
-0.028692223131656647,
-0.019983040168881416,
0.05143877491354942,
-0.02778208628296852,
-0.00039893490611575544,
-0.08799125254154205,
0.016432197764515877,
-0.041244570165872574,
-0.03802821412682533,
0.046060655266046524,
0.0588267557322979,
-0.005631249397993088,
-0.07067487388849258,
0.05248715355992317,
-0.02142144925892353,
-0.027053488418459892,
-0.0025441255420446396,
0.0003818848927039653,
0.020197896286845207,
0.0031431755051016808,
-0.06593409180641174,
-0.031800784170627594,
0.06308356672525406,
-0.07028621435165405,
-0.038589030504226685,
-0.009285926818847656,
0.03766874969005585,
-0.012764858081936836,
-0.03877304866909981,
0.002333984011784196,
-0.042175062000751495,
-0.02983185090124607,
0.033143769949674606,
0.04182448610663414,
0.0699925497174263,
-0.010510941036045551,
0.03197173774242401,
0.023249788209795952,
0.008907824754714966,
0.013990893959999084,
-0.03192567080259323,
-0.060550518333911896,
-0.010057811625301838,
-0.031477395445108414,
0.0601143017411232,
0.020285602658987045,
-0.017984818667173386,
0.009717716835439205,
-0.01927100494503975,
0.0008621279848739505,
0.024204861372709274,
-0.007708559278398752,
0.017344985157251358,
0.04087083041667938,
0.012277410365641117,
-0.06550749391317368,
-0.013006401248276234,
0.02844557724893093,
0.011306348256766796,
-0.06732180714607239,
-0.013039716519415379,
-0.021544069051742554,
-0.037835974246263504,
0.009348300285637379,
-0.005571985617280006,
-0.039299335330724716,
-0.03419959545135498,
0.00611687870696187,
0.0015882160514593124,
-0.09617022424936295,
0.04518605023622513,
0.038127295672893524,
0.02612529881298542,
-0.027126993983983994,
0.031211337074637413,
0.030214430764317513,
0.05147656798362732,
0.04497865214943886,
0.0487217903137207,
-0.010124456137418747,
0.026858791708946228,
0.007707913871854544,
0.04916169121861458,
0.0015552134718745947,
-0.06612610071897507,
-0.029038019478321075,
0.051551640033721924,
-0.00847763940691948,
0.027720078825950623,
-0.023471679538488388,
-0.02193223126232624,
-0.03384650871157646,
0.04423098638653755,
0.055691298097372055,
0.015369205735623837,
0.014037847518920898,
-0.07026772201061249,
0.036848001182079315,
-0.003407377051189542,
0.03215206786990166,
0.035910509526729584,
-0.009903674013912678,
-0.05350472778081894,
-0.024245373904705048,
0.007996986620128155,
0.048962995409965515,
0.03786433860659599,
0.08988382667303085,
-0.029124658554792404,
0.01004051510244608,
0.09227901697158813,
0.024602117016911507,
0.03133011609315872,
-0.018551316112279892,
-0.005426559131592512,
0.0322457030415535,
0.03938907012343407,
0.018246565014123917,
0.07630441337823868,
-0.015725525096058846,
-0.01587982103228569,
-0.014935731887817383,
0.038344480097293854,
-0.02420048415660858,
0.014944374561309814,
-0.03330092132091522,
-0.06211309880018234,
0.055479515343904495,
-0.027938712388277054,
0.020180463790893555,
0.0208230372518301,
0.052291810512542725,
-0.0058175609447062016,
0.03776264190673828,
-0.015447113662958145,
-0.07553108036518097,
0.06099636107683182,
-0.021797003224492073,
-0.008808244951069355,
-0.005570539738982916,
0.015106301754713058,
0.049627628177404404,
0.03468552604317665,
0.023051884025335312,
0.029988184571266174,
-0.07847459614276886,
-0.051571138203144073,
-0.03375130519270897,
-0.0007106986595317721,
0.06205376610159874,
-0.02758968621492386,
-0.010444646701216698,
0.04686685651540756,
-0.016248388215899467,
0.011409139260649681,
0.023415841162204742,
-0.0012501805322244763,
0.01700444333255291,
-0.0641767829656601,
-0.0677911639213562,
0.03480930253863335,
0.013526428490877151,
-0.013219168409705162,
-0.021231524646282196,
0.016018232330679893,
-0.04004744812846184,
0.05280905216932297,
0.030277136713266373,
-0.027813496068120003,
0.05207521840929985,
0.03486909717321396,
0.006534337531775236,
-0.012100087478756905,
0.009025655686855316,
-0.05659547075629234,
0.030164508149027824,
-0.004722722340375185,
-0.03507225215435028,
-0.0290763471275568,
-0.011154470965266228,
0.11017712205648422,
0.045298077166080475,
0.002529350807890296,
-0.06575093418359756,
0.029871897771954536,
0.011597483418881893,
-0.05253768339753151,
0.02695404924452305,
-0.028880277648568153,
-0.024627741426229477,
-0.021407969295978546,
-0.028792254626750946,
0.014915823936462402,
-0.019722959026694298,
0.010433853603899479,
0.010869602672755718,
0.06214709207415581,
-0.007550729438662529,
0.010381695814430714,
0.02968876250088215,
-0.01568582095205784,
0.0018220304045826197,
-0.05573355779051781,
-0.05081813037395477,
0.02410021238029003,
0.03906519338488579,
-0.001761128893122077,
0.07474534958600998,
-0.0038261436857283115,
-0.005529262591153383,
-0.03913721814751625,
-0.04751018062233925,
-0.0011541936546564102,
0.034859031438827515,
0.053707290440797806,
0.014948010444641113,
0.047516241669654846,
-0.05487135052680969,
-0.00792563334107399,
-0.005755993537604809,
-0.0388195626437664,
-0.043562039732933044,
-0.0044058216735720634,
0.04417257755994797,
-0.009672924876213074,
0.029188286513090134,
-0.007511476054787636,
0.030348103493452072,
-0.03563150018453598,
0.02539481781423092,
-0.011328788474202156,
0.025551002472639084,
-0.00497159780934453,
0.01794520951807499,
-0.03200108930468559,
-0.022125041112303734,
0.06430497765541077,
-0.0868886411190033,
-0.028704650700092316,
0.0011372799053788185,
-0.033024080097675323,
0.04118659719824791,
-0.04103337973356247,
-0.026480617001652718,
-0.015281003899872303,
0.03023991733789444,
0.04958612844347954,
0.013275431469082832,
0.007146421354264021,
0.06520730257034302,
0.02439850941300392,
0.02426166646182537,
0.02368491142988205,
0.01786792278289795,
0.04158862680196762,
-0.012905903160572052,
0.03040737845003605,
0.0583762601017952,
0.0026589215267449617,
-0.005377808585762978,
-0.029010547325015068,
-0.02639024890959263,
-0.019383594393730164,
-0.25995102524757385,
0.07315807789564133,
-0.06378977000713348,
-0.041823964565992355,
0.0021493793465197086,
-0.04695765674114227,
-0.014606312848627567,
-0.016209043562412262,
0.0003226972185075283,
0.01173123624175787,
-0.0014085129369050264,
-0.01639063097536564,
-0.023410001769661903,
0.04829291254281998,
0.010961024090647697,
0.04497469589114189,
-0.008865618146955967,
-0.047468479722738266,
0.01642952859401703,
0.019928371533751488,
0.011938333511352539,
-0.029081612825393677,
0.013663806021213531,
0.03551185876131058,
-0.028826529160141945,
0.041095927357673645,
-0.07460660487413406,
0.04165647551417351,
-0.04212934523820877,
-0.056403666734695435,
-0.01574358530342579,
-0.04022414609789848,
0.025165876373648643,
0.0005097526009194553,
-0.01838725246489048,
-0.014149518683552742,
0.0560334175825119,
0.024250878021121025,
-0.0125628262758255,
0.024390872567892075,
-0.05427787825465202,
-0.05819620564579964,
-0.0030718992929905653,
-0.026748746633529663,
0.06634649634361267,
-0.012166737578809261,
-0.07569422572851181,
-0.008830100297927856,
-0.012671011500060558,
0.08037244528532028,
-0.01524240430444479,
-0.03308887779712677,
-0.02233891747891903,
0.027220839634537697,
-0.02691742405295372,
-0.007296380586922169,
0.007077774032950401,
0.0038577679079025984,
-0.06939929723739624,
-0.022929521277546883,
-0.01490472536534071,
-0.049543172121047974,
0.029572611674666405,
-0.04734726622700691,
-0.014415916055440903,
-0.05094240605831146,
-0.0813978984951973,
-0.027309421449899673,
0.04564622789621353,
0.04026982933282852,
-0.029125304892659187,
0.04238869622349739,
-0.0006150974659249187,
-0.10777866095304489,
-0.042975880205631256,
-0.052917856723070145,
0.018752293661236763,
0.009605794213712215,
-0.024113554507493973,
0.04272369295358658,
-0.04197119548916817,
-0.03210331127047539,
0.04967030510306358,
0.025862133130431175,
0.0074058943428099155,
-0.004376309923827648,
-0.0007793966215103865,
-0.027863498777151108,
-0.05300700664520264,
0.006522149313241243,
0.05831815302371979,
-0.04563278332352638,
-0.002238755812868476,
0.01751229725778103,
-0.0266787838190794,
0.014558066613972187,
-0.0016855599824339151,
-0.021378276869654655,
0.0629609227180481,
0.027363546192646027,
0.04806692153215408,
-0.0065832845866680145,
0.0021739043295383453,
-0.0535321906208992,
-0.025239598006010056,
-0.03594246134161949,
-0.043898552656173706,
0.030451398342847824,
0.02282577008008957,
0.02402973175048828,
-0.0011289069661870599,
0.0038597038947045803,
0.03707263618707657,
-0.042528409510850906,
0.005755475722253323,
0.026018016040325165,
0.02107168361544609,
-0.008365729823708534,
0.018661845475435257,
-0.0303020142018795,
-0.058279648423194885,
0.026177216321229935,
0.03566952422261238,
-0.038427311927080154,
-0.04965870827436447,
-0.02226240187883377,
0.0020246573258191347,
-0.00355268782004714,
-0.0065077259205281734,
-0.001670017489232123,
-0.04488322138786316,
0.008801515214145184,
0.023342246189713478,
-0.030699189752340317,
0.03035486303269863,
-0.05090850964188576,
-0.018507445231080055,
-0.017883332446217537,
0.021159948781132698,
0.01993667148053646,
-0.014531148597598076,
-0.0123391542583704,
-0.00506808515638113,
0.07653965055942535,
0.048616234213113785,
0.016927726566791534,
-0.003314670640975237,
0.05401143059134483,
0.017913613468408585,
-0.028417889028787613,
-0.01194930449128151,
-0.02416364476084709,
0.007497791666537523,
-0.02144213393330574,
-0.06117669492959976,
0.01033242978155613,
0.05021698400378227,
0.006637321785092354,
-0.00073525111656636,
-0.04900114983320236,
0.03616712987422943,
-0.032930098474025726,
0.01892373338341713,
-0.018368612974882126,
-0.0067405253648757935,
0.028315676376223564,
-0.014676861464977264,
0.039888203144073486,
-0.03790024667978287,
0.017706014215946198,
0.018558764830231667,
0.03278188779950142,
-0.02902059257030487,
0.00565094780176878,
-0.004619388375431299,
-0.0007707835175096989,
0.027207178995013237,
0.04820459708571434,
-0.0026009187567979097,
0.02204119972884655,
0.0065901312045753,
-0.015879634767770767,
-0.000739795621484518,
-0.0057271672412753105,
0.036204397678375244,
0.03066510707139969,
-0.02106022834777832,
0.01523926854133606,
-0.014564955607056618,
-0.044749997556209564,
-0.04552081972360611,
-0.007410878781229258,
-0.0327412374317646,
0.003978164866566658,
-0.014540948905050755,
-0.03851217404007912,
0.042503420263528824,
0.0012335377978160977,
0.000180851187906228,
0.04313938319683075,
-0.003085340140387416,
-0.0167305339127779,
-0.015484094619750977,
0.018788563087582588,
0.033825840801000595,
-0.04574035108089447,
-0.02097264677286148,
0.016283856704831123,
0.01809697598218918,
0.007428823504596949,
0.022258078679442406,
-0.07293114066123962,
-0.0330917052924633,
0.008231637999415398,
0.013088030740618706,
-0.003778090700507164,
-0.027405016124248505,
-0.014649907127022743,
-0.0060743410140275955,
-0.027636850252747536,
-0.006534219719469547,
0.018467338755726814,
0.02121852897107601,
-0.03577709570527077,
-0.008603377267718315,
0.04668085649609566,
0.030050206929445267,
-0.017672432586550713,
0.03653661534190178,
-0.006142036989331245,
0.005817866884171963,
-0.00332061480730772,
0.03652486950159073,
0.019505534321069717,
-0.02123698778450489,
-0.01386441569775343,
-0.053054459393024445,
0.019675927236676216,
-0.034249208867549896,
0.056103017181158066,
-0.02905740961432457,
0.028729427605867386,
0.0013596091885119677,
-0.009256670251488686,
0.00873173214495182,
-0.011593235656619072,
-0.02230130322277546,
-0.04810989648103714,
-0.008119580335915089,
0.0695267841219902,
0.005982690025120974,
0.010701889172196388,
0.0006579948239959776,
-0.04722811281681061,
0.02850700356066227,
-0.012843074277043343,
-0.08652133494615555,
0.03499559313058853,
-0.046599119901657104,
0.013337298296391964,
0.04442821070551872,
0.0027885513845831156,
-0.07098905742168427,
0.06752733886241913,
0.04741154983639717,
0.014949750155210495,
0.042488083243370056,
0.007715149316936731,
0.036179110407829285,
-0.011340814642608166,
-0.025312872603535652,
-0.09594729542732239,
0.028519468382000923,
0.06659755855798721,
0.014737933874130249,
-0.019355785101652145,
-0.015305492095649242,
-0.015936100855469704,
0.037490326911211014,
-0.04203563556075096,
-0.05607619136571884,
0.0575973317027092,
0.0010722477454692125,
0.042186491191387177,
-0.02308604121208191,
-0.03288367763161659,
-0.007516259327530861,
0.062474075704813004,
-0.020490875467658043,
-0.019015580415725708,
-0.05675028637051582,
0.054589878767728806,
-0.024918558076024055,
0.02496609091758728,
-0.02383822202682495,
-0.03570348396897316,
0.04521001875400543,
0.021982042118906975,
0.007044844329357147,
0.015840614214539528,
-0.022130826488137245,
0.04675920680165291,
0.008556337095797062,
-0.049261171370744705,
-0.005492405500262976,
0.02478952705860138,
-0.008752064779400826,
-0.028289593756198883,
0.0018233945593237877,
0.048540569841861725,
0.00971517525613308,
-0.033321842551231384,
0.056717753410339355,
0.015636436641216278,
-0.020814863964915276,
-0.036310404539108276,
0.038987334817647934,
-0.018639126792550087,
-0.007697111461311579,
-0.032312534749507904,
-0.006551898550242186,
-0.026030465960502625,
0.028592946007847786,
-0.04644452780485153,
0.010267292149364948,
0.07298773527145386,
-0.005972644314169884,
-0.0038119396194815636,
0.020811665803194046,
0.0772935152053833,
0.0926133394241333,
0.017752360552549362,
0.04574146121740341,
0.030032875016331673,
0.013073793612420559,
-0.036642760038375854,
-0.021645117551088333,
-0.048984840512275696,
0.01166168600320816,
0.01074308156967163,
-0.013028433546423912,
0.049808040261268616,
0.006969591602683067,
0.07964975386857986,
-0.011799848638474941,
-0.010366737842559814,
-0.03905727341771126,
-0.013910130597651005,
0.02491186000406742,
0.04986189678311348,
0.030565712600946426,
0.03072636015713215,
-0.023230815306305885,
-0.026706503704190254,
0.020245837047696114,
0.036075226962566376,
-0.016963746398687363,
0.04573030024766922,
0.003929610829800367,
-0.02850225940346718,
0.005297680385410786,
0.04435396566987038,
0.08094395697116852,
-0.026183463633060455,
-0.012025545351207256,
-0.007799302693456411,
0.021211890503764153,
-0.006578101776540279,
-0.006725719664245844,
0.005564020946621895,
-0.030133502557873726,
-0.016078155487775803,
-0.02813638746738434,
0.004850129596889019,
0.00001599986535438802,
-0.01785285957157612,
-0.008803400211036205,
0.0077916961163282394,
-0.004167897626757622,
0.00793073233217001,
-0.012903372757136822,
-0.0471506267786026,
-0.04808756709098816,
-0.03374641016125679,
-0.037410881370306015,
-0.09323325008153915,
-0.006219909526407719,
0.00843221228569746,
0.00372987799346447,
0.002291702199727297,
-0.006327434908598661,
-0.0370648168027401,
-0.011364193633198738,
0.02044665813446045,
-0.03876712545752525,
0.01445901021361351,
0.00549915200099349,
0.03476369008421898,
0.008599629625678062,
0.016022568568587303,
0.033739130944013596,
-0.01403858233243227,
-0.008199143223464489,
0.006374584510922432,
0.0264164749532938,
0.03576282411813736,
0.01623031124472618,
-0.02334754355251789,
-0.07823990285396576,
-0.024465546011924744,
0.016165398061275482,
-0.0025940383784472942,
-0.08626189827919006,
0.0153238819912076,
0.0611773282289505,
-0.0077150072902441025,
0.028845207765698433,
0.016341377049684525,
0.014013735577464104,
-0.010308579541742802,
-0.008226719684898853,
-0.008000689558684826,
-0.0019967020489275455,
0.03627123311161995,
-0.009095413610339165,
0.04274227097630501,
0.05860244110226631,
-0.032866813242435455,
-0.020617958158254623,
-0.03423522412776947,
-0.025576060637831688,
0.04325789958238602,
-0.05663328245282173,
-0.021019451320171356,
-0.07375995069742203,
-0.038754723966121674,
-0.031003659591078758,
0.00826280377805233,
-0.017437532544136047,
-0.001157910912297666,
0.004816585686057806,
-0.0019225359428673983,
-0.040144193917512894,
-0.004528829362243414,
-0.028806833550333977,
0.0389334075152874,
-0.046428143978118896,
-0.043377701193094254,
-0.01396480854600668,
0.05635591968894005,
0.002067787339910865,
-0.01040801964700222,
0.0390852652490139,
-0.03448082134127617,
-0.016392724588513374,
-0.03739384934306145,
0.013217126950621605,
0.056074101477861404,
0.0030501610599458218,
0.01769256219267845
] | [
-0.03178568184375763,
-0.024995174258947372,
0.0030912335496395826,
-0.07531866431236267,
0.022919274866580963,
-0.05710610747337341,
-0.0037721458356827497,
-0.010248521342873573,
-0.027534563094377518,
0.014234820380806923,
0.026313863694667816,
-0.011241458356380463,
-0.004537254571914673,
-0.03785460442304611,
0.01747085340321064,
-0.054402440786361694,
-0.057410407811403275,
-0.023963913321495056,
-0.043460238724946976,
0.09303296357393265,
-0.0169253870844841,
-0.018901698291301727,
-0.005628007929772139,
-0.06942020356655121,
0.005900485906749964,
0.03360177204012871,
0.04716595262289047,
-0.015114649198949337,
-0.05741423740983009,
-0.23104248940944672,
-0.04384423419833183,
-0.08212177455425262,
0.016879210248589516,
0.023045742884278297,
0.009805004112422466,
0.010020002722740173,
0.07254816591739655,
-0.06437453627586365,
0.03032314032316208,
0.029469316825270653,
0.01746901124715805,
0.020927147939801216,
-0.07409565895795822,
0.01898113079369068,
0.013383845798671246,
0.023951223120093346,
0.022076742723584175,
-0.011868550442159176,
0.01702066697180271,
0.054975517094135284,
-0.00900829304009676,
0.035207003355026245,
0.005196769721806049,
-0.0027501776348799467,
-0.013402051292359829,
0.03730468824505806,
0.03451354429125786,
0.046402979642152786,
0.019373707473278046,
0.04336179420351982,
0.0020914366468787193,
0.030037885531783104,
-0.11815895885229111,
0.13553927838802338,
0.006519179791212082,
-0.022823374718427658,
-0.07297636568546295,
0.02790035679936409,
-0.041576072573661804,
0.05141644924879074,
-0.04634781926870346,
-0.01350121758878231,
-0.07797473669052124,
0.0831374004483223,
0.018131349235773087,
0.011340009979903698,
-0.026473049074411392,
0.02177848294377327,
0.01648770086467266,
-0.062065303325653076,
-0.003011604305356741,
0.02816361002624035,
-0.01236175000667572,
-0.008223057724535465,
-0.035440344363451004,
0.03178848698735237,
-0.0003497279540169984,
0.047444477677345276,
0.004251126199960709,
0.024455171078443527,
0.018688583746552467,
0.010401323437690735,
0.020635079592466354,
0.0780249536037445,
-0.044990792870521545,
-0.036913033574819565,
0.03254866227507591,
0.0453866682946682,
0.044260747730731964,
0.29895636439323425,
-0.0017035374185070395,
0.0017281729960814118,
0.00032883594394661486,
0.06163126975297928,
-0.034800466150045395,
-0.020455243065953255,
0.023797063156962395,
-0.018419355154037476,
0.06298818439245224,
-0.01034319493919611,
-0.04877762123942375,
-0.02242453210055828,
0.037922754883766174,
-0.09822110831737518,
-0.0025172182358801365,
0.02091304026544094,
0.02288428321480751,
-0.05719777196645737,
-0.05822622776031494,
0.03361326456069946,
-0.007595344912260771,
-0.09355338662862778,
0.055937498807907104,
0.007861907593905926,
0.05648001655936241,
0.06420725584030151,
0.034859731793403625,
0.04317508265376091,
0.05170315504074097,
0.015769384801387787,
0.05341692641377449,
-0.05224308371543884,
-0.05991913005709648,
0.06508190929889679,
0.031514547765254974,
0.018953677266836166,
0.024511367082595825,
-0.011383005417883396,
-0.037263259291648865,
-0.02425231970846653,
-0.007834617979824543,
-0.002355444012209773,
-0.004004035610705614,
0.049421556293964386,
-0.03315695375204086,
0.11188659816980362,
-0.033092111349105835,
-0.0059631639160215855,
-0.02522706240415573,
-0.05467958003282547,
0.007359543815255165,
0.0347585491836071,
-0.02362895756959915,
-0.015567156486213207,
-0.03314177691936493,
-0.026806941255927086,
0.0614924356341362,
-0.002105804393067956,
-0.10837877541780472,
-0.01953352987766266,
-0.03866549953818321,
-0.0261812973767519,
-0.02819325216114521,
0.09792933613061905,
0.020023919641971588,
-0.07760609686374664,
0.009412992745637894,
0.0046071624383330345,
-0.007682505529373884,
-0.0822235718369484,
0.02043420635163784,
-0.018168598413467407,
-0.07310467213392258,
-0.02429172396659851,
0.10468139499425888,
0.00871115829795599,
-0.035151124000549316,
-0.02235797606408596,
0.04046855866909027,
0.026196155697107315,
0.006254513747990131,
0.007888625375926495,
-0.03096190094947815,
0.008087428286671638,
-0.017874855548143387,
-0.035487908869981766,
-0.08361044526100159,
0.04333898425102234,
-0.029827391728758812,
-0.010066447779536247,
-0.04265223816037178,
-0.007521886378526688,
-0.05535929277539253,
0.048451218754053116,
-0.05775199830532074,
0.01041886955499649,
0.02179509773850441,
0.012764067389070988,
0.0006277190987020731,
-0.04543561860918999,
0.026953959837555885,
0.03159162774682045,
-0.014009732753038406,
0.0033970081713050604,
-0.0023216325789690018,
-0.012117085047066212,
0.05407578870654106,
-0.01732826791703701,
0.04334244877099991,
0.012384060770273209,
-0.062483154237270355,
0.03332099691033363,
-0.03880845010280609,
-0.0062680612318217754,
-0.02804763987660408,
0.00028878453304059803,
0.008884437382221222,
-0.030989142134785652,
0.032787688076496124,
0.04943827912211418,
-0.07821138203144073,
-0.08425287902355194,
-0.0006021119770593941,
-0.3407047688961029,
0.00297430413775146,
0.0029548974707722664,
-0.02689673751592636,
-0.02668154239654541,
-0.016405625268816948,
0.016549671068787575,
0.019302546977996826,
0.0024068900384008884,
0.04620933160185814,
0.09108731150627136,
0.010822155512869358,
0.013534057885408401,
-0.0704246461391449,
0.013652373105287552,
0.029865162447094917,
0.04849487170577049,
-0.03844190388917923,
-0.014857293106615543,
0.026737036183476448,
0.0002786781988106668,
-0.05451759323477745,
-0.05825601518154144,
0.013818338513374329,
0.037707261741161346,
-0.043844420462846756,
0.08586124330759048,
-0.02941548265516758,
0.014061164110898972,
-0.03994257375597954,
0.04369862750172615,
0.01159877423197031,
-0.02558255009353161,
-0.05148336663842201,
0.00708580669015646,
-0.0487237311899662,
-0.008413500152528286,
0.056671157479286194,
-0.02527736686170101,
0.03847697004675865,
-0.006036647595465183,
-0.01602507382631302,
-0.04281197860836983,
-0.053885869681835175,
0.07828422635793686,
-0.008157322183251381,
-0.01005123183131218,
0.027818551287055016,
0.01262754388153553,
0.06206623464822769,
-0.01618281751871109,
0.03132231906056404,
-0.019882148131728172,
0.05776212364435196,
0.012878429144620895,
-0.03502247855067253,
-0.03877692297101021,
-0.0025287542957812548,
0.015411085449159145,
0.05616108328104019,
-0.04539648815989494,
0.014149452559649944,
0.08918426185846329,
-0.061358287930488586,
0.008597947657108307,
-0.004027230199426413,
0.022900305688381195,
0.015015246346592903,
0.025126511231064796,
0.009577326476573944,
-0.021898988634347916,
0.07133389264345169,
-0.020944835618138313,
0.02556736208498478,
0.04415624588727951,
0.054505400359630585,
-0.016933338716626167,
0.013089888729155064,
0.04755135998129845,
0.03127520531415939,
0.06334372609853745,
0.0040873512625694275,
0.06016223505139351,
0.03341387212276459,
0.02457640878856182,
0.04880448803305626,
0.010460526682436466,
0.012930221855640411,
0.013410734012722969,
0.008242376148700714,
-0.02771366387605667,
-0.016661150380969048,
-0.0157200638204813,
-0.006762467324733734,
0.06586828827857971,
-0.029484102502465248,
-0.28321197628974915,
0.023511242121458054,
0.015700412914156914,
0.06511290371417999,
0.009235871024429798,
-0.023035770282149315,
0.007600411772727966,
-0.0714154988527298,
-0.0019885788206011057,
0.017393726855516434,
0.005575091578066349,
0.013669678941369057,
-0.008944839239120483,
-0.002334675518795848,
-0.010901877656579018,
0.01711290143430233,
0.06353843957185745,
0.0442253015935421,
0.08341629803180695,
-0.0021220804192125797,
0.010982288978993893,
-0.0662681832909584,
0.20171016454696655,
0.01099108811467886,
0.011297616176307201,
-0.0005029956228099763,
-0.03158111125230789,
0.007010085508227348,
0.042171016335487366,
0.01266267616301775,
-0.010739676654338837,
0.03449760004878044,
0.046249981969594955,
-0.004738999530673027,
0.014917876571416855,
0.009722009301185608,
-0.012344542890787125,
0.0716225877404213,
0.04138486087322235,
-0.046193018555641174,
-0.03287053480744362,
0.0030546910129487514,
-0.08737735450267792,
0.018076462671160698,
0.041745513677597046,
-0.01832931861281395,
-0.0005975606618449092,
-0.05251050367951393,
-0.04530935361981392,
-0.01933521218597889,
-0.032200802117586136,
-0.04467077553272247,
-0.011367270722985268,
-0.03258710727095604,
-0.002792545361444354,
0.07694490998983383,
-0.04611751064658165,
0.004825797863304615,
0.0033556229900568724,
0.04069119691848755,
-0.005956079810857773,
-0.09668708592653275,
0.0763121247291565,
0.01625744439661503,
-0.008481799624860287
] | [
0.02316049300134182,
0.07138631492853165,
-0.04026187211275101,
0.04613211750984192,
-0.01489039696753025,
0.005219700746238232,
0.006002229172736406,
0.0234982967376709,
-0.012204074300825596,
-0.004741012118756771,
-0.03587406128644943,
-0.012924683280289173,
0.04707808420062065,
0.003684999654069543,
-0.02562108263373375,
-0.020873306319117546,
-0.010909860953688622,
0.024187758564949036,
0.029206426814198494,
-0.009616374038159847,
-0.03250599279999733,
0.0024093850515782833,
0.02809363603591919,
-0.014141969382762909,
-0.008521532639861107,
0.016982322558760643,
-0.02109401673078537,
0.009049095213413239,
-0.0073134321719408035,
-0.11790187656879425,
-0.052405908703804016,
-0.02502352185547352,
-0.03270139545202255,
0.020995818078517914,
-0.00527806906029582,
0.011493479833006859,
0.030397910624742508,
0.020067257806658745,
-0.03428923711180687,
0.03653228282928467,
0.024735869839787483,
0.006757122464478016,
-0.012647169642150402,
0.017217323184013367,
0.018358783796429634,
-0.01686958782374859,
-0.003941135946661234,
-0.03434023633599281,
0.0018770910101011395,
-0.00007123638351913542,
-0.042214058339595795,
0.015771634876728058,
-0.031706977635622025,
-0.005540906917303801,
-0.027644488960504532,
-0.0050760419107973576,
-0.0018676334293559194,
-0.02212216518819332,
-0.0014902208931744099,
0.00189172790851444,
-0.014469549991190434,
-0.017297375947237015,
-0.03684387728571892,
-0.002444327576085925,
-0.014062115922570229,
-0.028026742860674858,
-0.004679781384766102,
0.02813708409667015,
0.005251680966466665,
0.005480468738824129,
-0.0016020043985918164,
0.059429947286844254,
-0.059050433337688446,
-0.022657472640275955,
0.0025259966496378183,
0.009390950202941895,
0.03380221128463745,
-0.04704974219202995,
-0.003769483882933855,
-0.0017277724109590054,
-0.02022538334131241,
-0.015156242065131664,
-0.02454577386379242,
-0.014194139279425144,
-0.04871409013867378,
-0.003868992906063795,
0.007505160290747881,
-0.010155106894671917,
0.0040332176722586155,
0.01568841189146042,
-0.005902400240302086,
0.02897738851606846,
-0.008541382849216461,
-0.0029982461128383875,
-0.07549724727869034,
0.02248157560825348,
0.01675727590918541,
0.004068921320140362,
0.010143768973648548,
0.8377406597137451,
0.009037332609295845,
-0.03140738978981972,
-0.0000927093715290539,
0.02418695203959942,
0.0015356652438640594,
-0.015670428052544594,
0.06319248676300049,
-0.014065305702388287,
-0.006233656778931618,
-0.02977028116583824,
-0.004797487519681454,
0.0019472235580906272,
0.010975023731589317,
-0.01240694522857666,
0.01532899308949709,
0.03548106178641319,
0.017144788056612015,
-0.007118135690689087,
-0.023615272715687752,
0.013058626092970371,
-0.010297405533492565,
0.004653425887227058,
-0.009390262886881828,
-0.011325540952384472,
0.002984320744872093,
-0.17414553463459015,
-0.01352203544229269,
-7.222788304429082e-33,
0.018626123666763306,
-0.034349795430898666,
0.07402405887842178,
0.018180489540100098,
0.03808818757534027,
0.005958390887826681,
-0.006531907245516777,
0.0012861293507739902,
-0.029016489163041115,
-0.032329317182302475,
-0.01229294203221798,
-0.00839268323034048,
-0.006336623802781105,
0.009041146375238895,
0.0035575232468545437,
-0.002902525244280696,
0.0008209425141103566,
0.010049351491034031,
-0.03235577046871185,
0.010946144349873066,
0.019617730751633644,
0.02623465657234192,
0.021664150059223175,
0.04693073779344559,
0.014732924290001392,
0.04489052668213844,
-0.02026616595685482,
-0.006111725699156523,
-0.021207112818956375,
-0.04392640292644501,
-0.052081506699323654,
0.02774631418287754,
-0.0017942184349521995,
-0.05740375444293022,
0.027268333360552788,
-0.05676516145467758,
0.010294083505868912,
0.009064197540283203,
-0.008592774160206318,
-0.02983093075454235,
-0.024563107639551163,
-0.007142128422856331,
0.011070597916841507,
0.010712999850511551,
-0.04137835279107094,
-0.030683469027280807,
-0.007755335886031389,
0.04307686910033226,
-0.007263460196554661,
0.028465120121836662,
0.019919469952583313,
0.04652541130781174,
0.01704973727464676,
-0.00924217700958252,
-0.03090543858706951,
-0.007522169500589371,
-0.004309987649321556,
-0.002916856901720166,
0.016880488023161888,
0.002426468301564455,
0.03578171133995056,
0.011858152225613594,
-0.01791822351515293,
0.022759728133678436,
0.01568484865128994,
-0.002687993459403515,
0.046903096139431,
0.023306220769882202,
0.018839197233319283,
0.0199877992272377,
-0.04255759343504906,
0.030948329716920853,
-0.014954837039113045,
-0.02677910588681698,
0.03163478523492813,
-0.0121083315461874,
-0.0061966367065906525,
-0.02924179658293724,
0.023427406325936317,
0.02322525903582573,
0.00900041963905096,
-0.039369136095047,
0.011555581353604794,
-0.0005036790971644223,
-0.03293443098664284,
0.016987165436148643,
0.04871479794383049,
0.029170949012041092,
0.03985627740621567,
0.012231816537678242,
0.03613750636577606,
0.03264450281858444,
-0.010582247748970985,
-0.031913693994283676,
-0.04297871142625809,
6.769580130889396e-33,
0.03077116794884205,
0.006423077546060085,
-0.040025271475315094,
0.009996358305215836,
0.03331147879362106,
0.02981165051460266,
0.019379757344722748,
0.0017235749401152134,
-0.0034670971799641848,
0.03501104190945625,
0.0049798996187746525,
-0.0031061808113008738,
-0.001263173297047615,
0.02055331878364086,
0.04357312247157097,
0.033902328461408615,
-0.03317759931087494,
-0.002596945269033313,
-0.009544017724692822,
-0.00033220541081391275,
-0.015634605661034584,
0.008513888344168663,
0.0011562480358406901,
0.02297748625278473,
0.03108615055680275,
-0.010586388409137726,
-0.015538043342530727,
-0.009439467452466488,
-0.0323687382042408,
0.009364645928144455,
-0.015276498161256313,
-0.04902239143848419,
-0.015436938032507896,
-0.018390830606222153,
-0.028608402237296104,
0.0048142848536372185,
0.04394569620490074,
0.019956763833761215,
0.012951540760695934,
0.025959376245737076,
0.0405806228518486,
0.005625283345580101,
-0.03130050748586655,
0.011646044440567493,
0.019136503338813782,
0.022719301283359528,
0.005727286916226149,
0.03320888429880142,
0.003973209764808416,
0.036437179893255234,
-0.014922413975000381,
0.023713234812021255,
-0.008989022113382816,
0.031276505440473557,
0.05980772525072098,
-0.03179538622498512,
-0.018822334706783295,
0.009544196538627148,
-0.02563033066689968,
-0.00859049428254366,
-0.06394673883914948,
-0.02233521267771721,
0.0012248370330780745,
0.0034266021102666855,
-0.007747191470116377,
0.033190373331308365,
-0.03226744383573532,
-0.027334563434123993,
-0.020627055317163467,
-0.027929434552788734,
-0.007865570485591888,
-0.012844359502196312,
-0.026930199936032295,
0.001085844123736024,
-0.023062270134687424,
-0.004730736371129751,
-0.03474933281540871,
-0.019310887902975082,
-0.03971420228481293,
0.0501059927046299,
0.028207123279571533,
-0.005203986074775457,
0.03995422273874283,
0.0005400438094511628,
0.01823371648788452,
0.00422917865216732,
0.0007403209456242621,
-0.013906070962548256,
0.02318490855395794,
0.01738314889371395,
0.005329749081283808,
-0.03085177019238472,
-0.014522213488817215,
0.0023367535322904587,
-0.052558090537786484,
-1.2679942429372204e-8,
-0.04976127669215202,
0.011613446287810802,
-0.015064287930727005,
0.011815561912953854,
0.008208146318793297,
0.036317188292741776,
-0.019260942935943604,
-0.011374800466001034,
0.0136595843359828,
0.019668351858854294,
0.022609826177358627,
-0.0369681678712368,
0.03960062935948372,
-0.0022825857158750296,
0.022897152230143547,
0.0010177195072174072,
0.02274155244231224,
0.0032323403283953667,
0.02874385006725788,
-0.0004133239563088864,
-0.03130039572715759,
0.035010870546102524,
-0.022213246673345566,
0.03753473609685898,
0.012663760222494602,
-0.0032781031914055347,
0.004986297804862261,
-0.08893638104200363,
0.018810616806149483,
-0.018069345504045486,
0.004767677281051874,
-0.03684672340750694,
-0.024731500074267387,
-0.013464844785630703,
-0.020904473960399628,
-0.041024986654520035,
0.04063168913125992,
0.03443368524312973,
0.011497942730784416,
0.03226010128855705,
-0.028505666181445122,
-0.009274067357182503,
-0.043332960456609726,
-0.02330169454216957,
0.00804908201098442,
-0.00957959983497858,
-0.08674195408821106,
-0.008449188433587551,
0.024045191705226898,
-0.0043071866966784,
0.020877383649349213,
0.004748113919049501,
0.005041977856308222,
0.024464352056384087,
0.061261970549821854,
-0.013326744548976421,
0.02227248065173626,
-0.009040269069373608,
-0.028006842359900475,
-0.02662702463567257,
0.027317939326167107,
0.0071682678535580635,
-0.01397804543375969,
-0.015641290694475174
] | neo4j-apoc-load-csv-type-mismatch-expected-float-integer-number-string | https://markhneedham.com/blog/2019/09/05/neo4j-apoc-load-csv-type-mismatch-expected-float-integer-number-string |
false | 2019-09-20 00:47:00 | Graphing Brexit: Plotting how the parties voted | [
"neo4j",
"cypher",
"brexit"
] | [
"Neo4j"
] | Over the last week I've revisited the https://towardsdatascience.com/graphing-brexit-bbe4314cf70[Brexit Graph^] that I created in March 2019, this time looking at how the parties voted on average on each of the indicative votes.
To recap, we have a graph that has the following schema:
image::{{<siteurl>}}/uploads/2019/09/schema.png[]
Since the initial post I've slightly changed how the `MEMBER_OF` relationship works.
As several MPs have switched MPs in the intervening months, we're now storing a `start` property to indicate when they started representing a party and an `end` property to indicate when they stopped representing a party.
This change to the model means that we need to do some filtering to work out which party they were representing when a vote took place.
We want to work out how the parties voted on average across each of the different Brexit indicative votes.
We want to come up with a score for each party for each vote, which we'll do by aggregating scores by party using the following scoring system for each MP's position on a particular motion:
* Voted For = 1.0
* Did Not Vote = 0.5
* Voted Against = 0
Let's run through a couple of examples:
* If everybody in a party voted `For` a motion, that party would have a score of 1.0 for that motion.
* If everybody in a party voted `Against` a motion, that party would have a score of 0.0 for that motion.
* If a party has 5 MPs, with 3 voting `For` and 2 `Did Not Vote`, they'd have a score of `(3*1.0 + 2*0.5)/5 = 4/5 = 0.8`
We can compute the average vote by a party for a motion by writing the following query:
[source,cypher]
----
MATCH (m:Motion)<-[vote]-(person:Person)
MATCH (person)-[memberOf:MEMBER_OF]->(party)
WHERE memberOf.start <= m.date AND (not(exists(memberOf.end)) OR m.date <= memberOf.end)
WITH m, party, CASE WHEN type(vote) = "FOR" THEN 1
WHEN type(vote) = "DID_NOT_VOTE" THEN 0.5
ELSE 0 END AS score
RETURN m.division, m.name, party.name, avg(score) AS score, count(*) AS count
ORDER BY m.name, party.name
LIMIT 10
----
.Results
[opts="header",cols="1,3,1,1,1"]
|===
| m.division | m.name | party.name | score | count
| "388" | "George Eustice's motion H (EFTA and EEA)" | "Conservative" | 0.2731629392971245 | 313
| "388" | "George Eustice's motion H (EFTA and EEA)" | "DUP" | 0.5 | 10
| "388" | "George Eustice's motion H (EFTA and EEA)" | "Green" | 0.0 | 1
| "388" | "George Eustice's motion H (EFTA and EEA)" | "Independent" | 0.15 | 20
| "388" | "George Eustice's motion H (EFTA and EEA)" | "Labour" | 0.25352112676056326 | 213
| "388" | "George Eustice's motion H (EFTA and EEA)" | "Labour/Co-operative" | 0.265625 | 32
| "388" | "George Eustice's motion H (EFTA and EEA)" | "Liberal Democrat" | 0.4090909090909091 | 11
| "388" | "George Eustice's motion H (EFTA and EEA)" | "Plaid Cymru" | 0.5 | 4
| "388" | "George Eustice's motion H (EFTA and EEA)" | "Scottish National Party" | 0.014285714285714292 | 35
| "388" | "George Eustice's motion H (EFTA and EEA)" | "Sinn Féin" | 0.5 | 7
|===
None of the parties much liked this motion.
The best average score it received was by the DUP, Plaid Cymru, and Sinn Fein, whose members on average didn't vote.
For the other parties the average score indicates that at least some of their members were against it.
We'll store this information in our graph, by creating a relationship between the party and the motion, storing the average rating as a property on the relationship:
[source,cypher]
----
MATCH (m:Motion)<-[vote]-(person:Person)
MATCH (person)-[memberOf:MEMBER_OF]->(party)
WHERE memberOf.start <= m.date AND (not(exists(memberOf.end)) OR m.date <= memberOf.end)
WITH m, party, CASE WHEN type(vote) = "FOR" THEN 1
WHEN type(vote) = "DID_NOT_VOTE" THEN 0.5
ELSE 0 END AS score
WITH m, party, avg(score) AS score
MERGE (party)-[averageVote:AVERAGE_VOTE]->(m)
SET averageVote.score = score;
----
The image below shows the relationships that have been created:
image::{{<siteurl>}}/uploads/2019/09/average-votes.svg[]
Now that we've stored the average votes, we can write a bit of Python code to create bar charts showing the average votes across all the motions.
The following code does this:
[source,python]
----
import matplotlib.pyplot as plt
import numpy as np
from neo4j import GraphDatabase
driver = GraphDatabase.driver("bolt://localhost")
fig = plt.figure()
fig.set_size_inches(16.5, 14.5)
fig.subplots_adjust(hspace=0.4, wspace=0.4)
with driver.session() as session:
for index, division in enumerate(["386", "387", "388", "389", "390", "391", "392", "393"]):
rows = session.run("""
MATCH (m:Motion {division: $division})
RETURN m.name AS motion
""", {"division": division})
motion = rows.peek()["motion"]
rows = session.run("""
MATCH (p:Party)-[vote:AVERAGE_VOTE]->(m:Motion {division: $division})
RETURN p.name AS party, vote.score AS score, m.name AS motion
ORDER BY party
""", {"division": division})
result = [{"party": row["party"], "score": row["score"]} for row in rows ]
plt.rcdefaults()
ax = fig.add_subplot(4, 2, index+1)
parties = [item["party"] for item in result]
y_pos = np.arange(len(parties))
scores = [item["score"] for item in result]
ax.barh(y_pos, scores, align='center')
ax.set_yticks(y_pos)
ax.set_yticklabels(parties)
ax.invert_yaxis()
ax.set_title(motion)
ax.set_xlim([0,1])
plt.xticks([0, 0.5, 1], ["Against", "Did Not Vote", "For"])
plt.tight_layout()
plt.savefig("images/votes.svg")
plt.close()
----
If we execute this script, we'll see the following charts:
image::{{<siteurl>}}/uploads/2019/09/votes.svg[]
From this diagram we can clearly see that the only indicative vote that Conservative Party members in general voted in favour of was the Mr Baron's Motion B (no deal).
I guess this chart actually foresaw the current composition of the cabinet.
All the parties except for the DUP, Sinn Fein, and the Conservatives on average were in favour of Joanna Cherry's motion L (Revocation to avoid no deal) and Margaret Beckett's motion M (Confirmatory public vote).
Only Labour MPs voted on average in favour of Jeremy Corbyn's motion K (Labour's alternative plan) and Mr Clarke's motion J (Customs union).
Now that we've computed the average vote of each party we can see whether there are people whose average votes correlate more closely with another party than their own.
We'll have a look at that in our next post in the Graphing Brexit series. | In this post we create bar charts of the Brexit indicative votes using Python's matplotlib library. | null | [
0.009608868509531021,
-0.028411811217665672,
0.03642941266298294,
0.01625259779393673,
0.042630307376384735,
-0.002308938652276993,
0.024037333205342293,
-0.007256877608597279,
-0.011311096139252186,
-0.006767573766410351,
-0.012615470215678215,
-0.02836972288787365,
-0.07848838716745377,
0.010329158045351505,
0.003976054489612579,
0.07070513814687729,
0.05315279960632324,
0.013571513816714287,
-0.00005143553062225692,
-0.02871735766530037,
0.060619816184043884,
0.07338248193264008,
-0.002465043915435672,
0.03323294222354889,
0.031998585909605026,
-0.023296553641557693,
0.04108582064509392,
-0.011037229560315609,
-0.049577370285987854,
-0.023691708222031593,
0.038598377257585526,
-0.029137708246707916,
-0.0027960771694779396,
0.009438865818083286,
0.036014970391988754,
-0.006276554893702269,
-0.04842237010598183,
0.028055090457201004,
-0.0034411309752613306,
-0.0013551274314522743,
-0.05074100196361542,
0.02701784111559391,
0.000828589778393507,
0.025219770148396492,
-0.040464792400598526,
-0.01086445339024067,
-0.03098379634320736,
0.04594754800200462,
0.017823228612542152,
0.004290263634175062,
-0.05144086107611656,
0.05303899571299553,
-0.010112750343978405,
0.002459494164213538,
-0.012267306447029114,
0.02664291299879551,
-0.004679419100284576,
-0.06415557116270065,
0.020623676478862762,
-0.02492368593811989,
0.002206522971391678,
-0.01686062477529049,
-0.0009928662329912186,
0.014830476604402065,
0.014609942212700844,
-0.04124731570482254,
-0.006786019541323185,
0.03958909586071968,
-0.052678316831588745,
-0.0015531517565250397,
-0.0028796715196222067,
-0.01133439689874649,
-0.006514830514788628,
0.01713467575609684,
-0.0005311947898007929,
-0.04340742900967598,
0.020005056634545326,
0.059088025242090225,
0.008511093445122242,
0.01439056359231472,
0.013040941208600998,
-0.000020651745217037387,
0.0024153662379831076,
0.04245486482977867,
0.010528361424803734,
-0.023185210302472115,
-0.023200830444693565,
-0.019364232197403908,
-0.04166176915168762,
0.05367051437497139,
-0.0010526858968660235,
-0.04547752067446709,
0.022411223500967026,
0.03893902525305748,
-0.04746824875473976,
-0.02773355320096016,
0.04485209286212921,
0.014924952760338783,
0.0047807577066123486,
-0.059712640941143036,
0.009858932346105576,
-0.021758323535323143,
0.0582878477871418,
-0.007423561532050371,
-0.07152582705020905,
-0.018949994817376137,
-0.04681544005870819,
-0.020387113094329834,
0.0227486751973629,
0.005832374095916748,
0.0014896575594320893,
0.006687588058412075,
0.002584954956546426,
0.009889178909361362,
-0.08169194310903549,
0.06051995977759361,
0.01589922048151493,
-0.023258857429027557,
0.029851647093892097,
0.02430693991482258,
0.050985824316740036,
0.0381854884326458,
-0.024859890341758728,
0.08492676168680191,
0.0063246749341487885,
0.026958465576171875,
0.0038361416663974524,
0.04073398560285568,
-0.0237291119992733,
-0.05205509439110756,
0.0036343024112284184,
0.070088692009449,
-0.048256274312734604,
0.006311264354735613,
-0.02861693501472473,
-0.018152162432670593,
0.008585263974964619,
-0.007438973523676395,
0.0676257386803627,
0.06071243807673454,
0.02260792814195156,
-0.040578242391347885,
0.03238445520401001,
0.019090108573436737,
0.0035713452380150557,
0.011968810111284256,
-0.033133167773485184,
-0.04180702567100525,
-0.03155023232102394,
0.00712993647903204,
0.021578393876552582,
0.042356185615062714,
0.059622570872306824,
-0.030544288456439972,
-0.0017534581711515784,
0.10602498799562454,
0.04462127014994621,
-0.014082410372793674,
-0.00720569072291255,
0.016739021986722946,
0.046905267983675,
0.01594824716448784,
0.03780524060130119,
0.05284498259425163,
0.0106207812204957,
-0.014475217089056969,
-0.0034576784819364548,
0.051601655781269073,
-0.01646764762699604,
-0.000019654926290968433,
-0.04367620125412941,
-0.06512363255023956,
0.07534311711788177,
-0.04691319167613983,
0.0031405335757881403,
0.06669838726520538,
0.07457409054040909,
0.03476201370358467,
0.04288698360323906,
0.013748044148087502,
-0.07709340751171112,
0.047016069293022156,
-0.01340144407004118,
0.03314780816435814,
0.030868452042341232,
0.004919266328215599,
0.06067357212305069,
0.0310283862054348,
-0.011285882443189621,
0.030945446342229843,
-0.07842963188886642,
-0.05763714760541916,
0.013859280385077,
-0.024750979617238045,
0.04629429802298546,
-0.04034474864602089,
0.026141110807657242,
0.07569438964128494,
0.02550840936601162,
0.04634112864732742,
-0.009463146328926086,
-0.005607044789940119,
0.052036352455616,
-0.03512926027178764,
-0.04846024885773659,
0.04905359074473381,
0.025079932063817978,
-0.003257647156715393,
-0.019703513011336327,
0.027608487755060196,
-0.047408439218997955,
-0.001136674196459353,
0.010188537649810314,
-0.024307066574692726,
0.0158596970140934,
0.006598324049264193,
0.037761390209198,
-0.05351424962282181,
0.0412992425262928,
-0.02265351079404354,
0.02449757046997547,
0.030518876388669014,
-0.019455991685390472,
-0.004777869209647179,
-0.008759800344705582,
0.0904092788696289,
0.05354703590273857,
-0.012845880351960659,
-0.04506170004606247,
0.012593486346304417,
0.00858053658157587,
-0.025008993223309517,
0.010781832970678806,
-0.027445534244179726,
-0.006038649007678032,
-0.01725037768483162,
-0.07701968401670456,
-0.012730134651064873,
0.02531687170267105,
-0.05717726796865463,
0.021641185507178307,
0.045284878462553024,
0.013025913387537003,
0.05556298792362213,
-0.041527047753334045,
0.012774375267326832,
0.01194984745234251,
-0.01716572605073452,
-0.026156172156333923,
0.011665279045701027,
0.014789721928536892,
-0.014822321943938732,
0.006510501727461815,
-0.02494153194129467,
-0.0037347592879086733,
-0.022511711344122887,
-0.006668254733085632,
0.02663988433778286,
0.03743940219283104,
0.060578055679798126,
-0.009013679809868336,
0.03428914025425911,
0.0002578165440354496,
0.007531244773417711,
-0.02579912729561329,
-0.04290621727705002,
-0.06946054100990295,
-0.049360521137714386,
-0.0042070019990205765,
-0.005285239778459072,
0.05671729892492294,
-0.02533021755516529,
0.031081853434443474,
-0.01640986278653145,
0.012599998153746128,
0.008772631175816059,
0.026509573683142662,
-0.010535555891692638,
-0.021064696833491325,
-0.03112480230629444,
-0.015731528401374817,
0.07061763852834702,
-0.0445050485432148,
-0.028584051877260208,
0.03100159950554371,
-0.061360374093055725,
0.057034216821193695,
-0.05999777466058731,
-0.010614506900310516,
0.04626287892460823,
0.059643834829330444,
0.020275505259633064,
0.01687035523355007,
-0.0001413470454281196,
0.059547316282987595,
0.006369191687554121,
0.014491843990981579,
0.031596630811691284,
0.019852938130497932,
0.06161237880587578,
0.0071704392321407795,
0.03709115460515022,
0.032564930617809296,
-0.04036927968263626,
0.04211513325572014,
-0.07543939352035522,
0.003740373533219099,
-0.014076177030801773,
-0.2631547152996063,
0.02257165126502514,
-0.012560959905385971,
-0.03182554617524147,
0.029691128060221672,
-0.04387924075126648,
0.013970553874969482,
-0.034589704126119614,
-0.04226338863372803,
0.000832098419778049,
0.015377120114862919,
-0.05157379060983658,
-0.013471587561070919,
0.05780285224318504,
0.042678628116846085,
0.0008217719732783735,
-0.01860951818525791,
-0.06890035420656204,
0.03589224815368652,
0.0584513358771801,
0.0069899652153253555,
-0.06927555799484253,
-0.017783094197511673,
0.030447205528616905,
0.018985209986567497,
0.02539949305355549,
-0.07319486886262894,
-0.010777296498417854,
-0.035722360014915466,
0.0034117877949029207,
0.002590336138382554,
-0.0006659043137915432,
0.0006773959612473845,
-0.00021229263802524656,
0.016441864892840385,
-0.02862219512462616,
0.031244827434420586,
0.002011289121583104,
-0.024067332968115807,
0.020050864666700363,
-0.03622358292341232,
-0.015527790412306786,
0.010185947641730309,
0.01590995118021965,
0.070149265229702,
0.010701029561460018,
-0.03482914716005325,
-0.013134759850800037,
-0.03659823536872864,
0.08703528344631195,
-0.026447538286447525,
0.012438480742275715,
-0.01439171377569437,
0.024784119799733162,
-0.0663023591041565,
0.01906168833374977,
-0.01469509955495596,
-0.017465947195887566,
-0.07852207869291306,
-0.028783798217773438,
-0.04969879612326622,
-0.03878653049468994,
0.019309090450406075,
-0.036537736654281616,
-0.0313073955476284,
-0.028469908982515335,
-0.06865771114826202,
-0.023965472355484962,
0.05840681493282318,
0.0030019660480320454,
-0.010222689248621464,
-0.010081542655825615,
-0.020920593291521072,
-0.09261307865381241,
-0.004611282609403133,
-0.03137701004743576,
0.005015384405851364,
0.0378158874809742,
0.021988384425640106,
0.035548191517591476,
-0.01969871297478676,
-0.055662330240011215,
0.03236851841211319,
0.021563947200775146,
0.006022750400006771,
-0.02258005551993847,
0.02057720720767975,
0.027743810787796974,
-0.05794127285480499,
-0.011863645166158676,
0.04707865044474602,
-0.013380474410951138,
-0.018374839797616005,
-0.0023872824385762215,
-0.01865190640091896,
0.013439999893307686,
-0.024821598082780838,
-0.0012947750510647893,
0.005873943213373423,
0.0339290089905262,
0.008594406768679619,
-0.05076225847005844,
0.0004041982174385339,
-0.028116673231124878,
-0.04162954166531563,
-0.010544040240347385,
-0.05985017865896225,
0.03873690590262413,
0.036774709820747375,
0.004771925043314695,
0.008767426945269108,
-0.029254699125885963,
0.03285244107246399,
-0.04445508122444153,
-0.029587766155600548,
-0.026160012930631638,
0.019606688991189003,
0.00931028462946415,
0.014903870411217213,
-0.010589603334665298,
-0.06043548882007599,
0.027863848954439163,
-0.011850806884467602,
-0.003944960422813892,
-0.09159114211797714,
-0.018014557659626007,
-0.021685507148504257,
-0.01668972708284855,
0.016093580052256584,
0.010233981534838676,
-0.007826484739780426,
0.023934606462717056,
0.016977595165371895,
-0.032494619488716125,
0.050091683864593506,
-0.017214111983776093,
-0.0444430336356163,
-0.029644299298524857,
0.007514392491430044,
-0.01738092489540577,
-0.0172588974237442,
-0.011395595967769623,
0.02703539840877056,
0.009072800166904926,
0.019597293809056282,
-0.01820426434278488,
0.028714971616864204,
0.03301198408007622,
0.009891477413475513,
0.04091138392686844,
0.010627423413097858,
-0.0020563905127346516,
0.018617916852235794,
-0.03281430900096893,
0.007851037196815014,
-0.007918124087154865,
0.021936504170298576,
-0.015253539197146893,
-0.018420085310935974,
-0.055071666836738586,
-0.009532531723380089,
-0.027827434241771698,
-0.036865442991256714,
-0.03362211585044861,
0.033263254910707474,
0.059496406465768814,
-0.023720337077975273,
0.03484591096639633,
-0.005726706702262163,
-0.003433184465393424,
0.007359163835644722,
0.019535062834620476,
-0.02732217311859131,
0.013848995789885521,
-0.01916891150176525,
-0.008404000662267208,
-0.004326248541474342,
0.03788093477487564,
0.015778997913002968,
0.0184471495449543,
-0.00960159208625555,
-0.007648743689060211,
0.01248325314372778,
-0.0030766946729272604,
0.04553983733057976,
0.06800688058137894,
-0.024662066251039505,
-0.034370675683021545,
-0.01776600070297718,
-0.034944798797369,
-0.0025076791644096375,
0.010893326252698898,
-0.032322607934474945,
-0.0077520254999399185,
-0.05635077506303787,
-0.04224304109811783,
-0.011371897533535957,
-0.010901711881160736,
-0.02619508095085621,
0.007390852551907301,
0.0010432936251163483,
-0.011786535382270813,
-0.02983885630965233,
0.028812561184167862,
0.05008385702967644,
-0.07145284861326218,
-0.005326500628143549,
0.022369977086782455,
-0.012500777840614319,
0.0003508112276904285,
0.015605353750288486,
-0.05375070869922638,
-0.04212506487965584,
-0.009497454389929771,
-0.0039047864265739918,
-0.049927424639463425,
-0.01694674603641033,
-0.039088137447834015,
-0.004351974930614233,
0.01678011566400528,
-0.009909314103424549,
-0.0032473569735884666,
-0.021393166854977608,
0.0037337278481572866,
-0.0036747478879988194,
0.017926039174199104,
-0.011033622547984123,
0.01127411425113678,
0.028378335759043694,
-0.016469761729240417,
-0.03727274388074875,
-0.018371913582086563,
0.01567189395427704,
0.02715088427066803,
-0.006838454864919186,
0.028317106887698174,
-0.07503394782543182,
-0.005182844586670399,
-0.010809403844177723,
0.059129875153303146,
-0.006585136987268925,
-0.008741375058889389,
-0.015915442258119583,
-0.03098103031516075,
-0.038008276373147964,
0.010115169920027256,
0.026631563901901245,
-0.011299394071102142,
0.0030554744880646467,
0.03233768045902252,
0.004427873529493809,
0.03676554560661316,
-0.022915499284863472,
-0.019256172701716423,
0.06699829548597336,
-0.05675825476646423,
-0.00398503802716732,
-0.0007501571089960635,
-0.040164437144994736,
0.012908656150102615,
-0.024381490424275398,
-0.003942389506846666,
-0.01258222945034504,
0.029045382514595985,
0.04325149953365326,
0.029325123876333237,
0.05309578776359558,
0.006307905074208975,
0.00611879164353013,
-0.04403947666287422,
-0.008714496158063412,
-0.06192751228809357,
0.006830323021858931,
0.026227518916130066,
0.02116522006690502,
0.0009920033626258373,
0.018522297963500023,
-0.04652949795126915,
0.018080001696944237,
-0.08615626394748688,
-0.022076154127717018,
0.022530512884259224,
-0.014270504005253315,
0.02141653187572956,
0.050974637269973755,
-0.06463810801506042,
0.028446132317185402,
0.02443678304553032,
-0.03805740550160408,
-0.04037017375230789,
0.007852221839129925,
0.061928410083055496,
-0.023900654166936874,
0.027667313814163208,
-0.03369049355387688,
0.017168289050459862,
0.059201862663030624,
0.03581809252500534,
0.05083008483052254,
0.044455379247665405,
-0.056117963045835495,
0.038913924247026443,
-0.007654555607587099,
0.012769038788974285,
-0.04070577770471573,
0.036696530878543854,
-0.011481144465506077,
-0.06369096785783768,
0.05893988534808159,
0.014075509272515774,
-0.00665357755497098,
-0.07209248095750809,
0.07418648898601532,
-0.004811716265976429,
-0.04113058000802994,
-0.058389510959386826,
0.04394816234707832,
-0.04718367010354996,
-0.011002710089087486,
-0.02909870073199272,
0.020482083782553673,
-0.035761404782533646,
0.05710790306329727,
-0.007005556486546993,
0.03603954240679741,
0.0808657854795456,
-0.001189696486108005,
0.02790651097893715,
0.03097463585436344,
0.10799340903759003,
0.08653699606657028,
0.07678180187940598,
0.00009510460949968547,
0.06694181263446808,
-0.0316568985581398,
-0.04912058264017105,
-0.01003508921712637,
-0.04382552206516266,
-0.0020150134805589914,
0.021283498033881187,
-0.0012032313970848918,
0.06920557469129562,
-0.05534089729189873,
0.058287423104047775,
-0.009878878481686115,
-0.02497498318552971,
0.011144161224365234,
-0.034223541617393494,
0.01960761845111847,
0.08898831903934479,
0.009662187658250332,
0.025925548747181892,
-0.016916852444410324,
-0.020436827093362808,
0.03069319576025009,
0.00022714283841196448,
-0.01759808138012886,
0.03264422342181206,
-0.039884090423583984,
0.002489605685696006,
0.03403434902429581,
0.03886348009109497,
0.09034550189971924,
-0.028210679069161415,
-0.02308402583003044,
-0.02112182229757309,
0.022086670622229576,
0.0165494903922081,
0.011437852866947651,
-0.0014480784302577376,
0.017352323979139328,
-0.028285065665841103,
-0.04497798904776573,
-0.02557247504591942,
-0.025562845170497894,
-0.05482538044452667,
0.024390246719121933,
-0.032064203172922134,
0.008461038582026958,
0.004652950447052717,
-0.022991875186562538,
-0.03667963668704033,
-0.03291171044111252,
-0.06256832182407379,
-0.05894801393151283,
-0.059093475341796875,
-0.013292772695422173,
0.018952088430523872,
-0.012398026883602142,
-0.014721326529979706,
-0.0358247272670269,
-0.02148187719285488,
-0.03548051416873932,
0.007774353493005037,
-0.04773959144949913,
-0.03276175633072853,
0.031053587794303894,
0.010810493491590023,
0.009557859040796757,
-0.012254329398274422,
0.0542239248752594,
0.004570196848362684,
-0.028198422864079475,
-0.02215084806084633,
0.03186248987913132,
0.03760466352105141,
-0.004746551159769297,
0.001489357789978385,
-0.08858787268400192,
0.004984345752745867,
0.022250670939683914,
-0.03312404081225395,
-0.08051638305187225,
0.029133237898349762,
0.010079935193061829,
0.013901310041546822,
0.061285290867090225,
-0.03365836665034294,
-0.008428712375462055,
-0.04123849794268608,
0.018207570537924767,
-0.0025456270668655634,
0.01165718398988247,
0.028871729969978333,
-0.028096312656998634,
0.09561000764369965,
0.03348959982395172,
-0.020032308995723724,
-0.022006705403327942,
0.001256334944628179,
-0.023745156824588776,
0.020609302446246147,
-0.029810046777129173,
-0.01578257977962494,
-0.03673776984214783,
-0.07637383043766022,
-0.024039454758167267,
0.03749793767929077,
-0.06595682352781296,
-0.02416684851050377,
-0.010817439295351505,
0.004108950961381197,
-0.018149711191654205,
0.0026434743776917458,
-0.029125388711690903,
-0.008467775769531727,
-0.02108800783753395,
-0.006095957476645708,
-0.027365781366825104,
0.02123190648853779,
-0.00394703121855855,
0.034277819097042084,
0.035288166254758835,
-0.04838908836245537,
0.011375555768609047,
-0.03524439036846161,
-0.0017043901607394218,
0.03387913480401039,
-0.02687348611652851,
0.011836555786430836
] | [
-0.0787789598107338,
-0.039478983730077744,
-0.042255036532878876,
-0.047871943563222885,
0.062310367822647095,
-0.00944236759096384,
-0.02125486172735691,
0.011375412344932556,
0.034773945808410645,
0.015581787563860416,
0.016591928899288177,
-0.022768348455429077,
-0.00417134677991271,
-0.04127854108810425,
0.042870137840509415,
-0.007699517998844385,
-0.01938890665769577,
-0.06133795157074928,
-0.02018245868384838,
0.061972476541996,
-0.034153398126363754,
-0.03920223191380501,
-0.037418633699417114,
-0.011558701284229755,
0.03280266746878624,
0.01391367707401514,
0.07225945591926575,
-0.028172945603728294,
-0.05078211426734924,
-0.22637410461902618,
0.049786198884248734,
-0.04455986246466637,
-0.002511286409571767,
-0.023713093250989914,
0.04816458001732826,
-0.008398421108722687,
0.053901221603155136,
0.01048507820814848,
0.014985273592174053,
0.013714266009628773,
0.019966837018728256,
0.008993213064968586,
-0.034358132630586624,
-0.04196298494935036,
0.049996551126241684,
0.024023087695240974,
-0.026956625282764435,
0.001811728230677545,
-0.05603794381022453,
0.033570997416973114,
-0.01686934381723404,
-0.0037169870920479298,
-0.004225679207593203,
-0.03213179111480713,
0.023522377014160156,
0.050995077937841415,
0.036305464804172516,
0.05467638745903969,
0.030964121222496033,
0.006034007761627436,
0.019169345498085022,
0.039398182183504105,
-0.1764528602361679,
0.08926413953304291,
0.03683887794613838,
0.06180673837661743,
-0.025582928210496902,
-0.007944087497889996,
-0.052585501223802567,
0.06628476828336716,
-0.019855840131640434,
-0.01714339666068554,
-0.0002565968898124993,
0.02132207155227661,
0.01110901590436697,
-0.021268310025334358,
0.010718167759478092,
0.024609746411442757,
0.007167220581322908,
-0.02796461433172226,
-0.03211069852113724,
0.06724505871534348,
-0.02401604689657688,
-0.0275186225771904,
0.030268490314483643,
-0.01829732581973076,
-0.018615324050188065,
0.04284297674894333,
-0.008903461508452892,
0.0017382119549438357,
0.03495555371046066,
0.0036435702349990606,
0.00839106272906065,
0.012469876557588577,
-0.06655098497867584,
-0.015342197380959988,
0.011403804644942284,
0.023266158998012543,
-0.011236543767154217,
0.4207456111907959,
-0.04739321395754814,
0.0022259403485804796,
0.04592769220471382,
0.03908310830593109,
0.0091073764488101,
-0.019452665001153946,
-0.008512403815984726,
-0.038368795067071915,
0.020614566281437874,
-0.009858195669949055,
0.02133600041270256,
-0.05298187583684921,
0.06497965008020401,
-0.07150425761938095,
0.010172447189688683,
-0.011076226830482483,
0.020081352442502975,
0.009532024152576923,
0.005201982334256172,
0.008284849114716053,
-0.0030277955811470747,
0.03375807777047157,
0.002266456140205264,
-0.02368292212486267,
0.03509262949228287,
0.043311480432748795,
0.05244962498545647,
0.056619953364133835,
0.015836535021662712,
-0.006327387876808643,
0.009415827691555023,
-0.05581700801849365,
-0.07782908529043198,
0.011736025102436543,
-0.033286143094301224,
-0.010234838351607323,
0.018266761675477028,
-0.007369608152657747,
-0.019624218344688416,
0.028558652848005295,
-0.018072890117764473,
-0.08893696218729019,
0.0024943931493908167,
0.008093194104731083,
-0.04985390231013298,
0.15382207930088043,
-0.022594071924686432,
-0.03374360874295235,
-0.01993473991751671,
0.026700656861066818,
-0.028714336454868317,
0.053730715066194534,
-0.015585029497742653,
-0.09595426917076111,
0.013440409675240517,
0.05816494673490524,
0.02797875739634037,
-0.006376676727086306,
-0.07389402389526367,
-0.013271343894302845,
-0.0027716506738215685,
-0.0644545704126358,
-0.047030359506607056,
0.05704733356833458,
0.05116460099816322,
-0.1298639327287674,
-0.006486418191343546,
-0.0022221943363547325,
0.007598937954753637,
-0.06258976459503174,
0.022354692220687866,
0.043237488716840744,
-0.02534523792564869,
-0.04199599847197533,
0.09995552897453308,
-0.02824234403669834,
0.0325019471347332,
-0.006913133896887302,
0.0512407049536705,
-0.030695946887135506,
0.012427111156284809,
0.002835366874933243,
-0.06136147677898407,
0.007784340530633926,
-0.05613243207335472,
-0.004505863878875971,
-0.08229430764913559,
-0.039616480469703674,
-0.04065660014748573,
-0.011110212653875351,
-0.02642863430082798,
0.0042474232614040375,
-0.08419949561357498,
0.07669579982757568,
-0.03253096342086792,
-0.04260824993252754,
-0.014247216284275055,
-0.012158306315541267,
-0.01756524108350277,
-0.003642209805548191,
-0.006708403117954731,
0.001760076149366796,
-0.07345503568649292,
0.04432380571961403,
-0.04878317937254906,
0.0413321889936924,
0.044623445719480515,
-0.014095747843384743,
0.11252445727586746,
0.025728216394782066,
0.0006480927695520222,
-0.009855090640485287,
0.018898027017712593,
-0.01616155356168747,
0.027457132935523987,
-0.02922317013144493,
0.001397908665239811,
-0.017388395965099335,
0.007617109455168247,
0.027580825611948967,
-0.0026807242538779974,
-0.02171577699482441,
0.011033990420401096,
-0.3467464745044708,
-0.06446422636508942,
-0.025060443207621574,
0.01702270470559597,
0.030778363347053528,
-0.08007343858480453,
0.03049406222999096,
-0.031533993780612946,
-0.04838850349187851,
0.10030696541070938,
0.05565434694290161,
0.011536889709532261,
-0.013557004742324352,
-0.009984121657907963,
0.01400708220899105,
0.014456053264439106,
-0.037431713193655014,
0.0037838309071958065,
-0.026772720739245415,
0.07947815209627151,
-0.019871124997735023,
-0.012429931201040745,
-0.033345699310302734,
-0.020920807495713234,
0.03414139524102211,
-0.036763958632946014,
0.12529174983501434,
-0.011607379652559757,
0.03005261905491352,
-0.02065957523882389,
0.00025243251002393663,
0.0395822711288929,
-0.008196532726287842,
-0.0789550244808197,
0.025176571682095528,
0.036588553339242935,
-0.017891312018036842,
-0.01622632145881653,
-0.014889122918248177,
-0.04551782086491585,
-0.04921172186732292,
-0.006914155092090368,
-0.05026541277766228,
-0.0162117388099432,
-0.06029224023222923,
0.01244205329567194,
0.021095000207424164,
-0.012044110335409641,
-0.04040799289941788,
0.07380238175392151,
0.02082677371799946,
-0.020098533481359482,
0.05436507984995842,
0.025989657267928123,
0.018518829718232155,
-0.015433629974722862,
-0.055143777281045914,
-0.00394181115552783,
-0.011090338230133057,
0.012421145103871822,
0.016095774248242378,
0.04663078859448433,
0.016440965235233307,
-0.06210465356707573,
-0.017419910058379173,
0.020232580602169037,
-0.002529912395402789,
-0.021742532029747963,
-0.014525605365633965,
0.015619759447872639,
-0.004700232297182083,
0.05739273875951767,
-0.02918403409421444,
-0.041824232786893845,
0.03562813624739647,
0.06831473112106323,
-0.009734799154102802,
0.085940882563591,
0.019550364464521408,
-0.010596119798719883,
0.07334554195404053,
-0.014782200567424297,
0.02654971368610859,
-0.033605318516492844,
-0.01775452494621277,
0.022378789260983467,
-0.010245682671666145,
0.005142770707607269,
0.07072457671165466,
0.01932886242866516,
-0.006276352796703577,
0.003888769308105111,
-0.04189631715416908,
0.01726921834051609,
0.01593831740319729,
-0.013233084231615067,
-0.234215646982193,
0.026605891063809395,
0.0236903615295887,
0.05904460325837135,
0.021958645433187485,
0.000985975144430995,
0.02572948858141899,
-0.030982550233602524,
-0.034608785063028336,
-0.0054232575930655,
-0.002721269614994526,
0.07154861837625504,
0.008045852184295654,
-0.02051718719303608,
-0.004178545903414488,
-0.016822822391986847,
0.030133087188005447,
0.0011055340291932225,
0.025075091049075127,
0.01714494451880455,
0.03234434500336647,
-0.02987874485552311,
0.13847585022449493,
0.024595409631729126,
0.011207424104213715,
-0.005682453978806734,
0.018649011850357056,
-0.005059672985225916,
0.047610267996788025,
-0.0062199742533266544,
0.003538476536050439,
0.0015314709162339568,
0.010513858869671822,
-0.015330598689615726,
0.013390688225626945,
-0.04779944568872452,
-0.018209975212812424,
0.02488122507929802,
0.02454404905438423,
-0.026696378365159035,
0.06649008393287659,
-0.014766677282750607,
0.012338020838797092,
0.00828077457845211,
0.044717028737068176,
0.02118879184126854,
-0.00008496669033775106,
-0.01772613637149334,
-0.010065007023513317,
0.02121013030409813,
-0.003963860217481852,
-0.03121359460055828,
-0.016185065731406212,
0.030501553788781166,
0.018862880766391754,
0.071419857442379,
0.011730227619409561,
0.007481765933334827,
0.05085928738117218,
0.015060686506330967,
-0.04312804713845253,
-0.02485649287700653,
0.0988694429397583,
-0.0038034869357943535,
0.031724024564027786
] | [
0.010806969366967678,
-0.0011603293241932988,
0.03224297612905502,
0.017196886241436005,
0.018778016790747643,
0.035553861409425735,
-0.01708376035094261,
0.003413525177165866,
-0.028760122135281563,
0.014813323505222797,
-0.015254761092364788,
-0.020211659371852875,
0.04351958632469177,
-0.015600243583321571,
0.03190892934799194,
0.024245409294962883,
0.01588340476155281,
-0.014052833430469036,
0.039743006229400635,
0.008261919021606445,
-0.05285140872001648,
-0.0009012726950459182,
0.007851825095713139,
0.01358284242451191,
-0.011737195774912834,
0.020487699657678604,
-0.01706313155591488,
0.020532622933387756,
0.02901947684586048,
-0.12250019609928131,
0.0079360231757164,
-0.03419555351138115,
-0.003988702315837145,
0.01735341176390648,
-0.010964848101139069,
-0.02665921300649643,
0.000662384438328445,
-0.02367449924349785,
-0.0026217566337436438,
-0.002465869067236781,
0.001917146728374064,
-0.018628869205713272,
0.0027771200984716415,
-0.0036321813240647316,
0.026225538924336433,
0.03551940247416496,
-0.013953793793916702,
-0.0013569004368036985,
-0.012644042260944843,
0.013380635529756546,
-0.03406467288732529,
-0.0032642846927046776,
-0.01764684170484543,
0.012391997501254082,
0.06051859259605408,
-0.026461081579327583,
-0.017693722620606422,
0.013269223272800446,
0.019319649785757065,
-0.044947221875190735,
0.011147699318826199,
0.014959806576371193,
-0.06112489104270935,
-0.019679449498653412,
-0.030119439586997032,
-0.006044626235961914,
-0.03330131247639656,
-0.0006334062782116234,
0.005464055575430393,
0.013227286748588085,
-0.034552834928035736,
0.018974388018250465,
-0.025265511125326157,
-0.024011915549635887,
-0.02341587096452713,
0.022756217047572136,
0.012953674420714378,
0.014639387838542461,
0.017240021377801895,
-0.016723807901144028,
-0.013491462916135788,
0.00649392930790782,
0.01886720582842827,
-0.01188500877469778,
0.0024945097975432873,
-0.045223310589790344,
0.0020925651770085096,
-0.014429280534386635,
0.011847736313939095,
0.017819354310631752,
-0.05225963890552521,
0.04282848536968231,
0.019775640219449997,
0.013883083127439022,
-0.07287320494651794,
0.029591554775834084,
-0.01467878371477127,
-0.0213954895734787,
0.037976957857608795,
0.8429229259490967,
-0.016386328265070915,
0.030575022101402283,
-0.009115152060985565,
0.00955791026353836,
0.011915813200175762,
-0.0004153098852839321,
-0.014990225434303284,
0.012476048432290554,
0.018620340153574944,
-0.048522450029850006,
0.018021009862422943,
0.010558728128671646,
0.025762736797332764,
0.021707257255911827,
0.0206172876060009,
0.01334129087626934,
0.00762730510905385,
-0.0022949092090129852,
0.02162272483110428,
0.004797650966793299,
0.035565365105867386,
-0.004845837131142616,
0.009460976347327232,
-0.024649007245898247,
0.01949341967701912,
-0.1694449633359909,
0.0058911447413265705,
-7.723035353784861e-33,
0.038521286100149155,
-0.04244203120470047,
0.010134140029549599,
-0.008254559710621834,
0.001016551861539483,
0.039342403411865234,
-0.015556800179183483,
-0.007924084551632404,
-0.011274359188973904,
-0.03538950905203819,
0.016787422820925713,
-0.012841910123825073,
0.028714720159769058,
-0.03194040432572365,
0.045835576951503754,
-0.006654086988419294,
-0.008636743761599064,
0.03463760390877724,
-0.024477876722812653,
0.006880664732307196,
0.02133738435804844,
0.02808268554508686,
-0.0068704658187925816,
0.021870795637369156,
0.024727193638682365,
0.049937810748815536,
0.007153770886361599,
0.027880055829882622,
0.020405935123562813,
-0.04965570196509361,
-0.027398211881518364,
0.021729903295636177,
-0.018638158217072487,
0.007273968309164047,
-0.018443960696458817,
-0.04504373297095299,
-0.024465786293148994,
-0.03134042024612427,
-0.04762786254286766,
-0.07685161381959915,
-0.005207299254834652,
0.002457923721522093,
-0.04284306615591049,
-0.052201978862285614,
-0.048765238374471664,
-0.0040004663169384,
-0.010657655075192451,
-0.013672375120222569,
0.006091766059398651,
0.005127688869833946,
0.022469058632850647,
-0.013001822866499424,
-0.000004563452876027441,
0.021037057042121887,
-0.01900300569832325,
0.028336698189377785,
-0.010256961919367313,
0.00917447917163372,
-0.020387591794133186,
-0.03923451155424118,
0.015799490734934807,
-0.011078637093305588,
0.020628241822123528,
0.0005626384518109262,
-0.00239614793099463,
0.015917526558041573,
-0.05244459584355354,
-0.009407331235706806,
0.023049164563417435,
0.0076975696720182896,
-0.03418406844139099,
0.029991041868925095,
-0.025904549285769463,
-0.036056965589523315,
0.016273360699415207,
-0.015853887423872948,
-0.007876540534198284,
-0.0520651638507843,
-0.019344553351402283,
0.05969877913594246,
-0.013910090550780296,
-0.03261156380176544,
0.014430633746087551,
-0.026753639802336693,
-0.008327937684953213,
-0.04335206001996994,
0.031238803640007973,
0.02799617312848568,
-0.014627275057137012,
-0.012283124029636383,
0.04311574250459671,
0.0013149464502930641,
-0.018587438389658928,
-0.00039340948569588363,
0.0010842755436897278,
7.735141476230392e-33,
-0.02500753104686737,
0.00162883335724473,
0.000879367464222014,
0.00204933388158679,
0.03298318758606911,
-0.022837430238723755,
0.047018248587846756,
-0.00044717229320667684,
-0.03354508802294731,
0.061751581728458405,
-0.015998298302292824,
-0.03517470508813858,
-0.0007576602511107922,
0.014330503530800343,
0.0727803185582161,
-0.028742715716362,
0.024907266721129417,
-0.03447588533163071,
0.02699027583003044,
0.02705165185034275,
0.006153888534754515,
0.021496910601854324,
0.006479707546532154,
0.0377570278942585,
0.02961864322423935,
0.04718983918428421,
0.00443974370136857,
-0.018982741981744766,
-0.000757539935875684,
-0.02176053822040558,
0.004730827175080776,
-0.04908713325858116,
0.002054658718407154,
-0.02137613110244274,
0.025547726079821587,
0.02579045109450817,
-0.03120146319270134,
-0.03392643481492996,
0.019041800871491432,
-0.0017914313357323408,
0.0014028704026713967,
-0.002229742705821991,
-0.015739893540740013,
0.04026252403855324,
0.015768064185976982,
0.008336074650287628,
-0.013472736813127995,
-0.005857284180819988,
0.004122553858906031,
0.028686482459306717,
0.005885944701731205,
0.015140807256102562,
0.015569597482681274,
0.0016212589107453823,
-0.0022073860745877028,
-0.04186566174030304,
0.00231155869551003,
0.03720562905073166,
0.010103430598974228,
0.013720354065299034,
-0.017084876075387,
0.03522663936018944,
-0.0034300258848816156,
0.003867156570777297,
-0.01065113116055727,
-0.00787516962736845,
-0.077106773853302,
-0.016129743307828903,
0.0036144875921308994,
0.019225971773266792,
-0.028866726905107498,
-0.010772442445158958,
-0.012489128857851028,
0.041996266692876816,
0.03766079619526863,
-0.02276887558400631,
-0.007830568589270115,
0.03443845734000206,
0.021945811808109283,
-0.005093684885650873,
0.01362466998398304,
0.010989495553076267,
0.037044502794742584,
-0.003969615325331688,
-0.014044797979295254,
-0.009004141204059124,
-0.03397657349705696,
0.022932516410946846,
0.020948490127921104,
0.014546693302690983,
0.02180383913218975,
-0.029022954404354095,
0.012780805118381977,
0.0006668778951279819,
-0.012274921871721745,
-1.3347652760842266e-8,
-0.06667248904705048,
-0.016383033245801926,
-0.014641751535236835,
0.011095251888036728,
0.003210616298019886,
0.016533400863409042,
0.012360965833067894,
-0.004977697040885687,
-0.008950802497565746,
0.0016980271320790052,
0.08113755285739899,
-0.021655678749084473,
0.009167708456516266,
0.007031618617475033,
0.012191371992230415,
-0.05356889218091965,
-0.009338977746665478,
-0.0258356761187315,
0.02855961211025715,
0.033233508467674255,
0.015533078461885452,
0.013665484264492989,
-0.053251732140779495,
0.03091289848089218,
0.0030196814332157373,
-0.008942242711782455,
0.022086933255195618,
-0.07783494144678116,
-0.014527037739753723,
-0.009432348422706127,
-0.002291896613314748,
-0.021944517269730568,
0.007474738638848066,
0.02907480299472809,
-0.04637593403458595,
0.010158625431358814,
0.018127597868442535,
0.02793094329535961,
0.008048848249018192,
0.01332046091556549,
0.005526961758732796,
-0.009918113239109516,
-0.013698814436793327,
-0.034312903881073,
-0.0372135192155838,
0.02630499191582203,
0.006992820184677839,
0.003376625245437026,
0.025913653895258904,
-0.039090339094400406,
-0.010977692902088165,
-0.01103886216878891,
-0.02777143381536007,
0.02308860793709755,
0.014134475030004978,
0.0036631873808801174,
0.031923964619636536,
-0.014678968116641045,
0.01579502783715725,
-0.009064572863280773,
0.009382374584674835,
0.012382764369249344,
-0.01489579863846302,
-0.011384452693164349
] | graphing-brexit-charting-how-the-parties-voted | https://markhneedham.com/blog/2019/09/20/graphing-brexit-charting-how-the-parties-voted |
false | 2019-09-18 00:47:00 | Neo4j: Approximate string matching/similarity | [
"neo4j",
"cypher",
"apoc"
] | [
"Neo4j"
] | I've been playing with the https://towardsdatascience.com/graphing-brexit-clustering-edition-3b966694e723[Brexit Graph^] over the last few days, and wanted to map the MPs that I got from https://commonsvotes.digiminster.com/?page=1[CommonsVotes^] with data from the https://www.theyworkforyou.com/api[TheyWorkForYou API^].
I already had voting records loaded into Neo4j, but to recap, this is how I did that:
[source,cypher]
----
UNWIND [655,656,657,658,659,660,661,662,711, 669, 668, 667, 666, 664] AS division
LOAD CSV FROM "https://github.com/mneedham/graphing-brexit/raw/master/data/commonsvotes/Division" + division + ".csv" AS row
// Create motion nodes
WITH division, collect(row) AS rows
MERGE (motion:Motion {division: trim(split(rows[0][0], ":")[1]) })
SET motion.name = rows[2][0],
motion.date = date(datetime({epochmillis:
apoc.date.parse(trim(split(rows[1][0], ":")[1]), "ms", "dd/MM/yyyy")}))
// Skip the first 6 rows as they have metadata we don't need
WITH motion, rows
UNWIND rows[7..] AS row
// Create person, party, constituency, and corresponding rels
MERGE (person:Person {name: row[0]})
MERGE (constituency:Constituency {name: row[2]})
MERGE (person)-[:REPRESENTS]->(constituency)
WITH person, motion,
CASE WHEN row[3] = "Aye" THEN "FOR"
WHEN row[3] = "No" THEN "AGAINST"
ELSE "DID_NOT_VOTE" END AS vote
CALL apoc.merge.relationship(person, vote, {}, {}, motion)
YIELD rel
RETURN count(*);
----
I extracted MP details from the TheyWorkForYou API and stored them in a JSON file so that I could load them into Neo4j.
== Exact Match
We'll start by finding exact matches between MPs in both datasets.
The following query does this:
[source,cypher]
----
WITH "https://github.com/mneedham/graphing-brexit/raw/master/data/mps_formatted.json" AS uri
CALL apoc.load.json(uri)
YIELD value
MATCH (other:Person) WHERE other.name = value.name
SET other.id = value.person_id;
----
This sorts out the mapping for 612 MPs, which is the vast majority of them.
We only have 40 MPs where we'll need to be a bit clever.
== String Similarity
Given that there's not an exact string match, another approach is to compare the string similarity of names.
But before we do that we'll reduce the number of string similarity computations we have to do by building a list of potential matches for each person based on having the same last name.
The following query does this:
[source,cypher]
----
WITH "https://github.com/mneedham/graphing-brexit/raw/master/data/mps_formatted.json" AS uri
CALL apoc.load.json(uri)
YIELD value
WITH collect(value) AS values
MATCH (other:Person) WHERE not(exists(other.id))
WITH other,
[value in values
WHERE other.name ENDS WITH split(value.name, " ")[-1] | value.name] AS potentialValues
RETURN other.name, potentialValues
LIMIT 10
----
If we execute this query, we'll get the following results:
.Results
[opts="header",cols="1,2"]
|===
| other.name | potentialValues
| "David Amess" | ["Sir David Amess"]
| "Graham P Jones" | ["Marcus Jones", "Andrew Jones", "Susan Elan Jones", "Kevan Jones", "Graham Jones", "Darren Jones", "David Jones", "Gerald Jones", "Helen Jones", "Sarah Jones"]
| "Steve Baker" | ["Steven Baker"]
| "Joseph Johnson" | ["Diana R. Johnson", "Boris Johnson", "Gareth Johnson", "Jo Johnson", "Dr Caroline Johnson"]
| "Nick Boles" | ["Nicholas Boles"]
| "Nicholas Brown" | ["Nick Brown", "Alan Brown", "Lyn Brown"]
| "Vince Cable" | ["Vincent Cable"]
| "William Cash" | ["Bill Cash"]
| "Th?r?se Coffey" | ["Therese Coffey", "Ann Coffey"]
| "Nic Dakin" | ["Nicholas Dakin"]
|===
For some MPs there's only one potential match, which makes our life easy, but for others we have a few to choose from.
Now we can apply string similarity algorithms to work out which of these names is the best match.
The APOC library supports several https://neo4j.com/docs/labs/apoc/3.5/misc/text-functions/#text-functions-text-similarity[text similarity functions^], including Sorensen Dice Similarity and Jaro Winkler Distance.
I decided to use both of them, and pick the candidate that had the highest average score, because each of them excelled on different names.
Let's give it a try for one of our MPs to see how it fares.
The following query finds the most similar people to Joseph Johnson:
[source,cypher]
----
WITH "https://github.com/mneedham/graphing-brexit/raw/master/data/mps_formatted.json" AS uri
CALL apoc.load.json(uri)
YIELD value
WITH collect(value) AS values
match (other:Person {name: "Joseph Johnson"}) WHERE not(exists(other.id))
with other, [value in values WHERE other.name ends with split(value.name, " ")[-1] | value.name] AS potentialValues
WHERE size(potentialValues) > 1
WITH other,
apoc.coll.sortMaps([value in potentialValues | {
value: value,
sorensen: apoc.text.sorensenDiceSimilarity(other.name, value),
jaro: apoc.text.jaroWinklerDistance(other.name, value),
average: apoc.coll.avg([apoc.text.sorensenDiceSimilarity(other.name, value),
apoc.text.jaroWinklerDistance(other.name, value)])
}], "average") AS similarities
UNWIND similarities AS similarity
RETURN similarity.value, similarity.sorensen, similarity.jaro
----
If we execute this query, we'll get the following results:
.Results
[opts="header",cols="1,1,1"]
|===
| similarity.value | similarity.sorensen | similarity.jaro
| "Jo Johnson" | 0.7777777777777778 | 0.8326530612244899
| "Gareth Johnson" | 0.5454545454545454 | 0.8095238095238096
| "Boris Johnson" | 0.5714285714285714 | 0.7278388278388279
| "Diana R. Johnson" | 0.5454545454545454 | 0.6071428571428571
| "Dr Caroline Johnson" | 0.48 | 0.5802005012531328
|===
Pretty good, it found the right person for this one.
What about if we match Stewart McDonald, where there's actually another person with a different spelling of the same first name?
[source, cypher]
----
WITH "https://github.com/mneedham/graphing-brexit/raw/master/data/mps_formatted.json" AS uri
CALL apoc.load.json(uri)
YIELD value
WITH collect(value) AS values
match (other:Person {name: "Stewart Malcolm McDonald"}) WHERE not(exists(other.id))
with other, [value in values WHERE other.name ends with split(value.name, " ")[-1] | value.name] AS potentialValues
WHERE size(potentialValues) > 1
WITH other,
apoc.coll.sortMaps([value in potentialValues | {
value: value,
sorensen: apoc.text.sorensenDiceSimilarity(other.name, value),
jaro: apoc.text.jaroWinklerDistance(other.name, value),
average: apoc.coll.avg([apoc.text.sorensenDiceSimilarity(other.name, value),
apoc.text.jaroWinklerDistance(other.name, value)])
}], "average") AS similarities
UNWIND similarities AS similarity
RETURN similarity.value, similarity.sorensen, similarity.jaro
----
If we execute this query, we'll get the following results:
.Results
[opts="header",cols="1,1,1"]
|===
| similarity.value | similarity.sorensen | similarity.jaro
| "Stewart McDonald" | 0.8125 | 0.8914930555555556
| "Stuart McDonald" | 0.6451612903225806 | 0.7868386243386243
| "Andy McDonald" | 0.4827586206896552 | 0.540954415954416
|===
I tried this across all the MPs that didn't have an exact name match and it found the correct person every time, based on manual inspection.
So for this data set it seems to be a decent approach.
We'll finish the mapping by storing the `person_id` of the best matching person:
[source,cypher]
----
WITH "https://github.com/mneedham/graphing-brexit/raw/master/data/mps_formatted.json" AS uri
CALL apoc.load.json(uri)
YIELD value
WITH collect(value) AS values
match (other:Person) WHERE not(exists(other.id))
with other, [value in values WHERE other.name ends with split(value.name, " ")[-1] | value] AS potentialValues
WITH other,
apoc.coll.sortMaps([value in potentialValues | {
value: value,
sorensen: apoc.text.sorensenDiceSimilarity(other.name, value.name),
jaro: apoc.text.jaroWinklerDistance(other.name, value.name),
average: apoc.coll.avg([apoc.text.sorensenDiceSimilarity(other.name, value),
apoc.text.jaroWinklerDistance(other.name, value)])
}], "average") AS similarities
SET other.id = similarities[0].value.person_id
----
Let's check if we have any MPs that haven't been mapped yet.
We can do this by executing the following query:
[source, cypher]
----
MATCH (p:Person)
WHERE not(exists(p.id))
RETURN p.name
----
.Results
[opts="header",cols="1"]
|===
| p.name
| "Ian Paisley"
| "Liz Saville Roberts"
|===
Let's filter the KnowYourMP data to figure out what's going on:
[source,cypher]
----
call apoc.load.json("https://github.com/mneedham/graphing-brexit/raw/master/data/mps_formatted.json")
YIELD value
WHERE value.name contains "Saville" OR value.name contains "Paisley"
RETURN value.name
----
.Results
[opts="header",cols="1"]
|===
| value.name
| "Liz Saville-Roberts"
| "Ian Paisley Jnr"
|===
Both these people are in the dataset, but their different surnames meant that they got filtered out before we applied the text similarity algorithms.
[source,cypher]
----
WITH "https://github.com/mneedham/graphing-brexit/raw/master/data/mps_formatted.json" AS uri
CALL apoc.load.json(uri)
YIELD value
WITH collect(value) AS potentialValues
match (other:Person) WHERE not(exists(other.id))
WITH other,
apoc.coll.sortMaps([value in potentialValues | {
value: value,
sorensen: apoc.text.sorensenDiceSimilarity(other.name, value.name),
jaro: apoc.text.jaroWinklerDistance(other.name, value.name),
average: apoc.coll.avg([apoc.text.sorensenDiceSimilarity(other.name, value.name),
apoc.text.jaroWinklerDistance(other.name, value.name)])
}], "average") AS similarities
SET other.id = similarities[0].value.person_id
----
If we remove that filtering criteria we'll be able to match these people:
[source, cypher]
----
WITH "https://github.com/mneedham/graphing-brexit/raw/master/data/mps_formatted.json" AS uri
CALL apoc.load.json(uri)
YIELD value
WITH collect(value) AS potentialValues
match (other:Person) WHERE not(exists(other.id))
WITH other,
apoc.coll.sortMaps([value in potentialValues | {
value: value,
sorensen: apoc.text.sorensenDiceSimilarity(other.name, value.name),
jaro: apoc.text.jaroWinklerDistance(other.name, value.name),
average: apoc.coll.avg([apoc.text.sorensenDiceSimilarity(other.name, value.name),
apoc.text.jaroWinklerDistance(other.name, value.name)])
}], "average") AS similarities
RETURN other.name, similarities[0].value.name AS name, similarities[0].value.person_id AS personId
----
.Results
[opts="header", cols="1,1,1"]
|===
| other.name |name | personId
| "Ian Paisley" | "Ian Paisley Jnr" | "13852"
| "Liz Saville Roberts" | "Liz Saville-Roberts" | "25302"
|===
And then we can tweak the query to store the personId:
[source, cypher]
----
WITH "https://github.com/mneedham/graphing-brexit/raw/master/data/mps_formatted.json" AS uri
CALL apoc.load.json(uri)
YIELD value
WITH collect(value) AS potentialValues
match (other:Person) WHERE not(exists(other.id))
WITH other,
apoc.coll.sortMaps([value in potentialValues | {
value: value,
sorensen: apoc.text.sorensenDiceSimilarity(other.name, value.name),
jaro: apoc.text.jaroWinklerDistance(other.name, value.name),
average: apoc.coll.avg([apoc.text.sorensenDiceSimilarity(other.name, value.name),
apoc.text.jaroWinklerDistance(other.name, value.name)])
}], "average") AS similarities
SET other.id = similarities[0].value.person_id
----
And now all of our MPs are mapped! | Learn how to use the text matching algorithms in the APOC Library. | null | [
-0.0003150240518152714,
-0.046126656234264374,
0.018109040334820747,
0.02809162624180317,
0.05994563177227974,
0.007034550420939922,
0.018599119037389755,
0.003720044158399105,
-0.007030941545963287,
-0.007742173969745636,
-0.0045158760622143745,
-0.03332829847931862,
-0.08165213465690613,
0.014763523824512959,
0.01729492098093033,
0.056982800364494324,
0.043052658438682556,
-0.0025781369768083096,
-0.00044528569560498,
-0.004426824394613504,
0.05774048715829849,
0.06578660011291504,
-0.011917192488908768,
0.030148664489388466,
0.008991123177111149,
-0.02274957299232483,
0.030886905267834663,
-0.0006880900473333895,
-0.053400807082653046,
-0.021901138126850128,
0.03163205087184906,
-0.0207546167075634,
0.006404907442629337,
0.011076807044446468,
0.03842755779623985,
-0.018779078498482704,
-0.05871360003948212,
0.025656871497631073,
-0.009843113832175732,
-0.0013848379021510482,
-0.06084339693188667,
0.014906641095876694,
-0.006109683308750391,
0.021687883883714676,
-0.027065712958574295,
0.0022877943702042103,
-0.043955784291028976,
0.06065938249230385,
-0.009528370574116707,
0.005732693709433079,
-0.05818767100572586,
0.04585998132824898,
-0.0076033431105315685,
0.0026571752969175577,
-0.004758188035339117,
0.03763648495078087,
0.003134288592264056,
-0.07542205601930618,
0.0454048253595829,
-0.017517097294330597,
0.007452487945556641,
-0.029305296018719673,
-0.014552531763911247,
0.009014914743602276,
0.01828579418361187,
-0.06879197806119919,
-0.016377504914999008,
0.05930597707629204,
-0.04512493684887886,
-0.01948458142578602,
0.0020520363468676805,
-0.005046004895120859,
0.0008297831518575549,
0.025159230455756187,
0.0046637896448373795,
-0.042761657387018204,
0.02725602127611637,
0.07107279449701309,
0.02151564136147499,
0.03503395617008209,
0.014241443015635014,
0.0015213231090456247,
0.007207838352769613,
0.05321725830435753,
0.011552487500011921,
-0.03238970413804054,
-0.04710184410214424,
-0.010708862915635109,
-0.05376170575618744,
0.04566032066941261,
-0.003785202046856284,
-0.043615587055683136,
0.014742763713002205,
0.0337139256298542,
-0.02905847877264023,
-0.007288388442248106,
0.02127552218735218,
0.026224864646792412,
0.004777024034410715,
-0.05640894174575806,
-0.025943342596292496,
-0.014943121932446957,
0.04198302701115608,
0.007539825048297644,
-0.06353425979614258,
-0.02726130187511444,
-0.058982912451028824,
-0.012315241619944572,
0.04298647120594978,
-0.0018822590354830027,
-0.028398282825946808,
0.0032367417588829994,
0.001957179047167301,
0.022169096395373344,
-0.08073944598436356,
0.05378356948494911,
0.02913157269358635,
-0.011982614174485207,
-0.0006338456878438592,
0.02131413295865059,
0.04673333093523979,
0.06872689723968506,
-0.010858157649636269,
0.08702556043863297,
0.005141776520758867,
0.035947877913713455,
-0.00730278342962265,
0.03829595074057579,
-0.02976580522954464,
-0.058239828795194626,
0.008045502938330173,
0.0755264014005661,
-0.03501201048493385,
0.0026624242309480906,
-0.011436126194894314,
-0.018543807789683342,
-0.007977152243256569,
0.010101537220180035,
0.08061935007572174,
0.038560912013053894,
0.015628118067979813,
-0.02978481538593769,
0.05270640552043915,
0.014549833722412586,
0.018061170354485512,
0.011695053428411484,
-0.05096012353897095,
-0.04317221790552139,
-0.028619104996323586,
0.030579864978790283,
0.021602414548397064,
0.04102783650159836,
0.07894279807806015,
-0.030766496434807777,
-0.0018349724123254418,
0.11401446163654327,
0.033594321459531784,
-0.008233916014432907,
-0.015208354219794273,
0.021384527906775475,
0.04399413242936134,
0.027408679947257042,
0.028543036431074142,
0.05327628552913666,
-0.001346133416518569,
-0.015160532668232918,
0.020997075363993645,
0.037949759513139725,
-0.009349378757178783,
-0.02052062563598156,
-0.039820365607738495,
-0.07435589283704758,
0.07690399885177612,
-0.039056286215782166,
0.0008557750843465328,
0.057498183101415634,
0.07240000367164612,
0.018351439386606216,
0.031188322231173515,
-0.00001895843342936132,
-0.07253529876470566,
0.059309136122465134,
0.007070619612932205,
0.023466220125555992,
0.016252834349870682,
0.010718080215156078,
0.08046554774045944,
0.031212329864501953,
-0.011717911809682846,
0.03764132037758827,
-0.06935864686965942,
-0.0567622184753418,
0.009642218239605427,
-0.0222910288721323,
0.04566047713160515,
-0.03415923938155174,
0.014341478236019611,
0.06679750233888626,
0.021206488832831383,
0.05022745952010155,
-0.028411835432052612,
-0.018541468307375908,
0.050455570220947266,
-0.05745811387896538,
-0.05215008184313774,
0.04082128033041954,
0.04341521114110947,
-0.020961876958608627,
0.011208515614271164,
0.0255863256752491,
-0.03642713278532028,
0.007935767062008381,
0.029907474294304848,
-0.019056646153330803,
0.02530796453356743,
0.019603699445724487,
0.02591891959309578,
-0.044145021587610245,
0.025262365117669106,
-0.02567872777581215,
0.05866599828004837,
0.01858361065387726,
-0.024139532819390297,
-0.012077674269676208,
0.00002272004167025443,
0.10623708367347717,
0.05200309306383133,
-0.002082237508147955,
-0.05456497147679329,
0.014602250419557095,
0.000781739829108119,
0.005024717655032873,
0.0005842862883582711,
-0.022993890568614006,
-0.006881440989673138,
-0.016879431903362274,
-0.05138368904590607,
-0.010347607545554638,
0.013310575857758522,
-0.05148891732096672,
0.025811629369854927,
0.049162983894348145,
0.010812117718160152,
0.05260650813579559,
-0.014030932448804379,
0.0009587362874299288,
0.0017116684466600418,
-0.026832452043890953,
-0.029862431809306145,
0.017806751653552055,
0.032294418662786484,
-0.0042372397147119045,
0.02754238434135914,
-0.024167433381080627,
0.00007283691229531541,
-0.01976609043776989,
-0.0218062624335289,
0.017655810341238976,
0.03447037562727928,
0.054671335965394974,
-0.018945224583148956,
0.03549785539507866,
-0.015352856367826462,
0.006562054622918367,
-0.02650403045117855,
-0.033105019479990005,
-0.06631755828857422,
-0.05125347897410393,
0.014741504564881325,
-0.015435528010129929,
0.058307670056819916,
-0.03272905945777893,
0.03441557660698891,
-0.005761840380728245,
0.01789979450404644,
-0.006408939138054848,
0.019367896020412445,
-0.009941638447344303,
-0.013675140216946602,
-0.03848474472761154,
-0.02029361203312874,
0.05051839351654053,
-0.0677730143070221,
-0.020291456952691078,
0.014124690555036068,
-0.05204874649643898,
0.06416624039411545,
-0.04113160818815231,
-0.006476018112152815,
0.04056999459862709,
0.05324466899037361,
0.03265732154250145,
0.01653154008090496,
-0.012608475983142853,
0.06770732253789902,
0.013441571034491062,
0.022920453920960426,
0.019626853987574577,
0.0029826487880200148,
0.07049605250358582,
0.004031832795590162,
0.05868317931890488,
0.040902961045503616,
-0.06153982877731323,
0.015071774832904339,
-0.07829108834266663,
-0.0033291063737124205,
-0.044607266783714294,
-0.27976110577583313,
0.029462620615959167,
-0.016558919101953506,
-0.030874090269207954,
0.028392242267727852,
-0.040008917450904846,
0.021599017083644867,
-0.03076053597033024,
-0.03912053257226944,
-0.0031534070149064064,
0.019456254318356514,
-0.04493671655654907,
-0.030101129785180092,
0.031022049486637115,
0.05144041031599045,
0.0007561086094938219,
-0.026966417208313942,
-0.05763135477900505,
0.04061240702867508,
0.06322968751192093,
-0.005982350092381239,
-0.058076489716768265,
-0.018277989700436592,
0.0323767364025116,
0.018393974751234055,
0.025213824585080147,
-0.06425680965185165,
0.006443813908845186,
-0.044573403894901276,
-0.024816667661070824,
0.004004944581538439,
-0.016639918088912964,
0.01506912149488926,
-0.0051128012128174305,
0.012443029321730137,
-0.03674454987049103,
0.02678028680384159,
0.01818084344267845,
-0.0092630535364151,
0.0016382456524297595,
-0.0339360274374485,
-0.027194976806640625,
0.0012337230145931244,
0.0003392969665583223,
0.08012703061103821,
0.002597267273813486,
-0.04904898256063461,
-0.005207750014960766,
-0.023612799122929573,
0.06839355826377869,
-0.022773178294301033,
0.015791185200214386,
-0.018511207774281502,
0.020081285387277603,
-0.05359029024839401,
0.01379125565290451,
-0.0047148242592811584,
0.005640039686113596,
-0.07363002002239227,
-0.01844378560781479,
-0.035048067569732666,
-0.05107654631137848,
-0.011021875776350498,
-0.057051241397857666,
-0.02849736623466015,
-0.039959851652383804,
-0.08001215755939484,
-0.037197601050138474,
0.06266383826732635,
0.028571337461471558,
-0.03286181017756462,
-0.015350446105003357,
-0.021374789997935295,
-0.09537789225578308,
-0.01319955661892891,
-0.028338300064206123,
-0.011425761505961418,
0.020855272188782692,
0.01533376332372427,
0.04013219103217125,
-0.054123058915138245,
-0.05607971176505089,
0.03002294898033142,
0.008726351894438267,
0.0025903477799147367,
-0.019691698253154755,
-0.0031853190157562494,
0.00023867834534030408,
-0.03837360441684723,
-0.011309413239359856,
0.04137839376926422,
-0.038207024335861206,
-0.021894006058573723,
-0.01091485470533371,
-0.01954437606036663,
0.005630680825561285,
-0.01700972393155098,
0.0019279330736026168,
0.01965388096868992,
0.023038214072585106,
0.008739359676837921,
-0.04476172849535942,
-0.0033594942651689053,
-0.03723520040512085,
-0.011239656247198582,
-0.0185060016810894,
-0.0629226490855217,
0.023906512185931206,
0.014994718134403229,
0.027783311903476715,
0.006546790711581707,
-0.027839835733175278,
0.019364330917596817,
-0.052632611244916916,
-0.035847634077072144,
-0.01301103737205267,
0.015247456729412079,
0.008083309978246689,
0.032306816428899765,
-0.022011004388332367,
-0.07523750513792038,
0.015216597355902195,
-0.00556616997346282,
-0.0005467829760164022,
-0.07202570140361786,
-0.03012332133948803,
-0.02782239019870758,
0.006100673694163561,
0.01695527322590351,
0.014961428008973598,
-0.010297058150172234,
0.018519872799515724,
0.012482071295380592,
-0.02974388189613819,
0.052853357046842575,
-0.03408786281943321,
-0.025725917890667915,
-0.037302590906620026,
0.015050412155687809,
0.011815042234957218,
-0.015822265297174454,
-0.017251743003726006,
0.02751259319484234,
0.01638292893767357,
0.014459395781159401,
0.006297410931438208,
0.017746765166521072,
0.048354629427194595,
-0.009622886776924133,
0.02015860006213188,
-0.0025023003108799458,
-0.0007729834760539234,
-0.0033813940826803446,
-0.02819783240556717,
0.022229241207242012,
-0.0027396047953516245,
0.02982938289642334,
-0.023629264906048775,
-0.0017058856319636106,
-0.05947369337081909,
0.007468211930245161,
-0.034267496317625046,
-0.017296647652983665,
-0.01674704998731613,
-0.0004335324338171631,
0.04904060810804367,
-0.014489641413092613,
0.026521701365709305,
-0.01856086403131485,
-0.01993432454764843,
0.027630731463432312,
-0.0013057352043688297,
-0.02830219268798828,
-0.0057444097474217415,
-0.016477243974804878,
0.010441153310239315,
0.0006808683392591774,
0.04927382618188858,
0.018807541579008102,
0.02039092592895031,
-0.02722865156829357,
-0.0030588144436478615,
0.009080549702048302,
-0.023287689313292503,
0.0365494079887867,
0.06170910224318504,
-0.02359926886856556,
-0.015152635052800179,
-0.009530157782137394,
-0.038587987422943115,
0.012455911375582218,
0.012890353798866272,
-0.028796806931495667,
-0.02166282758116722,
-0.03622860461473465,
-0.037414032965898514,
0.017189718782901764,
-0.0036594572011381388,
-0.020890668034553528,
0.01710815355181694,
-0.012147307395935059,
-0.013768197037279606,
-0.015396898612380028,
0.046954523772001266,
0.055457282811403275,
-0.06028204411268234,
-0.024045540019869804,
0.02561454474925995,
-0.008759896270930767,
0.0040373592637479305,
0.015372716821730137,
-0.05065848305821419,
-0.012637772597372532,
-0.011249113827943802,
-0.009537999518215656,
-0.019949743524193764,
-0.04044083505868912,
-0.037368178367614746,
0.00868154689669609,
0.015195975080132484,
-0.0042403582483530045,
-0.008649435825645924,
-0.01918918825685978,
0.0022652947809547186,
0.0034862866159528494,
0.025214824825525284,
-0.016280647367239,
0.011043472215533257,
0.03638841211795807,
-0.011041577905416489,
-0.024810362607240677,
-0.030678128823637962,
0.026724854484200478,
0.034364063292741776,
-0.009588885121047497,
0.018879998475313187,
-0.06761150807142258,
-0.0006973940180614591,
0.001957742962986231,
0.042314931750297546,
0.013888001441955566,
-0.0021793742198497057,
-0.024706056341528893,
-0.0037219130899757147,
0.006587546318769455,
0.0024406039156019688,
0.028547773137688637,
0.006456092465668917,
0.002845760900527239,
0.036238305270671844,
0.002667371416464448,
0.03161180391907692,
-0.029597090557217598,
-0.03988531231880188,
0.07207030057907104,
-0.04406151548027992,
-0.043106306344270706,
0.008287906646728516,
-0.046226076781749725,
0.0006538170273415744,
-0.014115584082901478,
0.0051260897889733315,
-0.025477979332208633,
0.03168889880180359,
0.043289851397275925,
0.01670658402144909,
0.06740696728229523,
-0.005366851110011339,
0.016082998365163803,
-0.04493936896324158,
-0.004053897690027952,
-0.07167995721101761,
-0.02298705279827118,
0.02747345343232155,
0.014025612734258175,
0.0054526678286492825,
0.02318911999464035,
-0.021446218714118004,
0.023084565997123718,
-0.06030941382050514,
-0.03841714188456535,
0.03875429928302765,
-0.023316631093621254,
0.011293905787169933,
0.05090813711285591,
-0.0565599650144577,
0.038306817412376404,
0.016813958063721657,
-0.028456680476665497,
-0.047767523676157,
0.0020798593759536743,
0.05874250829219818,
-0.015009592287242413,
0.03595489636063576,
-0.035728055983781815,
-0.006030202843248844,
0.05817096680402756,
0.031118735671043396,
0.05354391038417816,
0.04067256674170494,
-0.04905929043889046,
0.03293336555361748,
-0.009774792939424515,
-0.024703804403543472,
-0.03412570431828499,
0.05018682777881622,
-0.009695996530354023,
-0.06265150755643845,
0.0536377839744091,
0.003971328493207693,
-0.0015015772078186274,
-0.04509755223989487,
0.0760791227221489,
0.0009438571287319064,
-0.046627774834632874,
-0.05286360904574394,
0.05227915942668915,
-0.046691663563251495,
-0.01690206304192543,
-0.031003739684820175,
0.03198119252920151,
-0.02812194637954235,
0.04904695972800255,
-0.02575570158660412,
0.029482433572411537,
0.08389633148908615,
-0.004959008656442165,
0.033363811671733856,
0.020012062042951584,
0.09058740735054016,
0.07578166574239731,
0.059844400733709335,
-0.007460413500666618,
0.07317471504211426,
-0.023616885766386986,
-0.04864728823304176,
-0.002754564629867673,
-0.038259319961071014,
0.012605260126292706,
0.014140135608613491,
-0.0050379373133182526,
0.07620397210121155,
-0.033716991543769836,
0.055429860949516296,
-0.022277269512414932,
-0.03542649745941162,
0.0015042992308735847,
-0.019908519461750984,
0.032681047916412354,
0.044987838715314865,
0.014040608890354633,
0.03217647969722748,
-0.02890131063759327,
-0.02863028459250927,
0.032378219068050385,
0.014053008519113064,
-0.012196001596748829,
0.03637993335723877,
-0.026353653520345688,
0.004308316856622696,
0.016534656286239624,
0.034435104578733444,
0.07895570248365402,
-0.02184903994202614,
-0.029694939032197,
-0.010143382474780083,
0.026854146271944046,
0.023177368566393852,
0.013095177710056305,
0.006305535323917866,
0.003329079831019044,
-0.019793523475527763,
-0.05107314512133598,
-0.03298693150281906,
-0.01630307547748089,
-0.040101997554302216,
0.010975951328873634,
-0.051166124641895294,
0.006483240518718958,
-0.0016029917169362307,
-0.024477466940879822,
-0.03221233934164047,
-0.03314603865146637,
-0.062020063400268555,
-0.041560523211956024,
-0.07460237294435501,
-0.0031934636645019054,
0.007878441363573074,
-0.02577570080757141,
-0.016537532210350037,
-0.0349782332777977,
-0.0267412718385458,
-0.01900775171816349,
0.003240880323573947,
-0.06564860045909882,
-0.015508033335208893,
0.020711446180939674,
0.002076624194160104,
0.02032315917313099,
0.02870837040245533,
0.06416378915309906,
0.031024955213069916,
-0.016864113509655,
-0.013179091736674309,
0.028185483068227768,
0.04641003906726837,
0.0030577892903238535,
0.013037389144301414,
-0.10453290492296219,
0.01221926137804985,
0.005654077045619488,
-0.010799030773341656,
-0.081914983689785,
0.011985605582594872,
0.03718474134802818,
0.01873215101659298,
0.05439797788858414,
-0.013070452958345413,
-0.027886494994163513,
-0.022172830998897552,
0.009406082332134247,
0.002866549650207162,
0.0018323628464713693,
0.03182360157370567,
-0.03222484886646271,
0.08497949689626694,
0.037878867238759995,
-0.0032251107040792704,
-0.017930438742041588,
-0.007471252232789993,
-0.03189931437373161,
0.04236996918916702,
-0.0395294614136219,
-0.04109836742281914,
-0.036927204579114914,
-0.07403458654880524,
-0.03967546299099922,
0.026429433375597,
-0.043781522661447525,
-0.028533881530165672,
-0.0009281408274546266,
0.02612665481865406,
-0.031358975917100906,
0.018555117771029472,
-0.023746760562062263,
-0.013630332425236702,
-0.025141721591353416,
-0.01478688046336174,
-0.029124347493052483,
0.02724948525428772,
-0.0029246576596051455,
0.022257596254348755,
0.031182024627923965,
-0.03918767347931862,
0.005183826200664043,
-0.03615312650799751,
-0.0018899381393566728,
0.03749484941363335,
-0.0193452388048172,
0.008383176289498806
] | [
-0.040223557502031326,
-0.03941476345062256,
-0.021820323541760445,
-0.03331606835126877,
0.067563496530056,
-0.010280201211571693,
-0.03325186297297478,
-0.00017943228885997087,
0.03197791054844856,
0.021969472989439964,
0.025058019906282425,
-0.06702517718076706,
-0.00016414615674875677,
-0.019656416028738022,
0.0678868442773819,
0.0010825141798704863,
-0.026541374623775482,
-0.03532179445028305,
-0.02612162008881569,
0.061140839010477066,
-0.03502383828163147,
-0.03599803149700165,
-0.04211701080203056,
-0.013415862806141376,
0.01583877019584179,
0.012614167295396328,
0.06271190941333771,
-0.017202772200107574,
-0.04652302339673042,
-0.23786060512065887,
0.043777476996183395,
-0.03137173876166344,
-0.004916009493172169,
-0.006430374458432198,
0.05055180564522743,
0.0021479723509401083,
0.050405483692884445,
0.023401767015457153,
0.0022958486806601286,
0.004277064930647612,
0.028561927378177643,
-0.006435156334191561,
-0.05482304096221924,
-0.0230692308396101,
0.055105652660131454,
0.0062126521952450275,
-0.036341745406389236,
0.021972941234707832,
-0.04129359871149063,
0.01413742359727621,
-0.03491535782814026,
0.003497288329526782,
0.012337450869381428,
-0.018384117633104324,
0.02559504471719265,
0.0579175129532814,
0.04702334478497505,
0.07024530321359634,
0.04163053259253502,
0.02439870685338974,
0.03721204027533531,
0.025176020339131355,
-0.18100319802761078,
0.08596714586019516,
0.022458164021372795,
0.04982057213783264,
-0.028106698766350746,
-0.006243519484996796,
-0.04646440967917442,
0.05529453977942467,
-0.007642677985131741,
-0.00031756353564560413,
-0.015659809112548828,
0.048748426139354706,
0.025443069636821747,
-0.004592125304043293,
-0.016932586207985878,
0.037860821932554245,
0.010771559551358223,
-0.03738711029291153,
-0.059188440442085266,
0.04544326663017273,
-0.02491242066025734,
-0.010488209314644337,
0.030243586748838425,
0.006434873212128878,
-0.03349314630031586,
0.03632310777902603,
-0.0022896588779985905,
0.012793544679880142,
0.021869510412216187,
0.016667431220412254,
0.03296397998929024,
0.020988188683986664,
-0.10088581591844559,
-0.0426858551800251,
0.006504150107502937,
0.027827125042676926,
0.005464836023747921,
0.4096778333187103,
-0.0465361662209034,
0.0224774107336998,
0.05013405531644821,
0.033629972487688065,
-0.010381248779594898,
-0.037743981927633286,
-0.010734491981565952,
-0.06306192278862,
0.007210317067801952,
-0.005202445667237043,
0.011613099835813046,
-0.04932235926389694,
0.03257378935813904,
-0.08424743264913559,
0.0006125856307335198,
-0.017948729917407036,
0.00984215084463358,
0.024223005399107933,
-0.02792420983314514,
0.024085121229290962,
-0.018386993557214737,
0.015348140150308609,
0.019642774015665054,
-0.0133289135992527,
0.03234870359301567,
0.03837227821350098,
0.06441037356853485,
0.05513811483979225,
0.04786912724375725,
0.0040886662900447845,
0.03113917075097561,
0.007152000442147255,
-0.08931216597557068,
0.027002861723303795,
-0.011739089153707027,
-0.008289252407848835,
0.016482405364513397,
-0.04091920703649521,
-0.04186438396573067,
0.006781630218029022,
-0.003193637588992715,
-0.055593084543943405,
0.010196016170084476,
-0.0070396000519394875,
-0.044258732348680496,
0.15190966427326202,
-0.009532531723380089,
-0.03190016746520996,
-0.01553063653409481,
0.0017690637614578009,
-0.020938975736498833,
0.04285826161503792,
-0.0022087949328124523,
-0.07549276202917099,
0.00934700295329094,
0.03599376231431961,
0.06551339477300644,
-0.014770932495594025,
-0.07731857895851135,
-0.010873056948184967,
0.006758577190339565,
-0.06680634617805481,
-0.01995060220360756,
0.09483552724123001,
0.062242764979600906,
-0.1376529335975647,
-0.017661919817328453,
0.02166077494621277,
0.007132065948098898,
-0.0639171376824379,
0.024128442630171776,
0.025820299983024597,
-0.005385341122746468,
-0.01917392760515213,
0.0914711058139801,
-0.02014826238155365,
0.003989329095929861,
-0.007328902371227741,
0.04972492903470993,
-0.02088119089603424,
-0.0063432734459638596,
-0.021860163658857346,
-0.0351293608546257,
-0.01625608094036579,
-0.060549478977918625,
-0.019265461713075638,
-0.08470994979143143,
-0.005522081628441811,
-0.04541211575269699,
-0.024174854159355164,
-0.013550578616559505,
0.012281492352485657,
-0.07373359054327011,
0.07558935880661011,
-0.029722655192017555,
-0.05395972728729248,
-0.02135758101940155,
-0.00862088706344366,
0.0026420927606523037,
-0.022628655657172203,
0.013336139731109142,
0.023376841098070145,
-0.07419595122337341,
0.04748748615384102,
-0.040859583765268326,
0.013846464455127716,
0.05066514387726784,
-0.03470058739185333,
0.10235892236232758,
0.0351722314953804,
-0.0070554343983531,
0.01791263185441494,
0.016069434583187103,
-0.007491715718060732,
0.006918774917721748,
-0.015013953670859337,
0.007594263646751642,
-0.015314777381718159,
0.016917873173952103,
0.035619355738162994,
-0.018315661698579788,
-0.012340853922069073,
-0.020444432273507118,
-0.35659390687942505,
-0.08034570515155792,
-0.01638181321322918,
0.02020391635596752,
-0.01647684909403324,
-0.03528793901205063,
0.01828627847135067,
0.0033718463964760303,
-0.011849568225443363,
0.07282179594039917,
0.08492796868085861,
-0.0036812310572713614,
-0.013561863452196121,
-0.02954799495637417,
-0.0018959981389343739,
0.01518851239234209,
-0.038210179656744,
0.015104030258953571,
-0.016519267112016678,
0.07213837653398514,
0.006661756429821253,
-0.027435598894953728,
-0.03564858436584473,
-0.03258999437093735,
0.03161640465259552,
-0.02430158294737339,
0.1307787448167801,
0.013432727195322514,
0.026945529505610466,
-0.013080398552119732,
0.021561939269304276,
0.023031042888760567,
-0.016366662457585335,
-0.07511190325021744,
0.010475607588887215,
0.010321139357984066,
0.004941417835652828,
0.010333074256777763,
-0.011541001498699188,
-0.026106862351298332,
-0.07083503901958466,
-0.019338922575116158,
-0.041557103395462036,
-0.051518019288778305,
-0.014896707609295845,
0.014377528801560402,
-0.007895887829363346,
-0.016493992879986763,
-0.007937551476061344,
0.06256832182407379,
0.007338663097470999,
-0.022569503635168076,
0.0463903471827507,
0.03284715116024017,
0.016135549172759056,
-0.020552445203065872,
-0.055519796907901764,
-0.019096150994300842,
-0.0036294013261795044,
-0.00576429907232523,
-0.0017380431527271867,
0.015436082147061825,
0.01171056367456913,
-0.054327867925167084,
0.003585998434573412,
0.018650010228157043,
-0.01317671686410904,
0.003115810453891754,
-0.012135369703173637,
-0.021217070519924164,
-0.018533343449234962,
0.08050262182950974,
0.007166634313762188,
-0.010907775722444057,
0.03781678155064583,
0.05381585657596588,
-0.006018750369548798,
0.06824366748332977,
0.025526273995637894,
0.0004852723504882306,
0.0496084950864315,
-0.015199211426079273,
0.038818925619125366,
-0.013009781949222088,
-0.02013998292386532,
0.043321654200553894,
0.004228335805237293,
-0.023911207914352417,
0.06074073910713196,
0.02027216926217079,
0.016435518860816956,
-0.0028812787495553493,
-0.047928132116794586,
-0.007555221673101187,
0.030062848702073097,
-0.02580682747066021,
-0.24886243045330048,
0.040636371821165085,
0.026398543268442154,
0.0675446018576622,
0.0006874841637909412,
-0.023880556225776672,
0.02618657797574997,
-0.02870364673435688,
-0.017165416851639748,
0.007773157209157944,
-0.01098192110657692,
0.07235169410705566,
0.02328220009803772,
-0.02857930026948452,
-0.019763140007853508,
-0.0012907050549983978,
0.04108653590083122,
0.004117277450859547,
0.025585073977708817,
-0.005414281506091356,
0.035840608179569244,
-0.029196804389357567,
0.16031460464000702,
0.03686194494366646,
0.004001988098025322,
0.024481620639562607,
-0.01931706629693508,
-0.00970237236469984,
0.05768047645688057,
-0.01234693918377161,
-0.0032436612527817488,
-0.00792105682194233,
-0.0029957054648548365,
0.018609216436743736,
0.021853739395737648,
-0.05647442117333412,
-0.008455222472548485,
0.029197802767157555,
0.003563445759937167,
-0.023927995935082436,
0.03692513331770897,
0.012959934771060944,
-0.008790500462055206,
0.019818073138594627,
0.035892195999622345,
-0.004929601680487394,
-0.011798393912613392,
-0.0257989764213562,
-0.026852289214730263,
0.018051672726869583,
-0.018127765506505966,
-0.041944295167922974,
-0.04727034270763397,
0.004254383500665426,
0.011397656984627247,
0.09356018155813217,
0.02418903075158596,
-0.012893712148070335,
0.024661369621753693,
0.008971041068434715,
-0.023953745141625404,
-0.0588780976831913,
0.08726172894239426,
-0.017907066270709038,
0.01589941792190075
] | [
0.01802176423370838,
0.017611725255846977,
0.004872715100646019,
0.019713614135980606,
-0.013449122197926044,
0.022386066615581512,
-0.03395610302686691,
-0.006486712954938412,
-0.01874813623726368,
0.005343577824532986,
-0.02586151659488678,
-0.006826770957559347,
0.03846060484647751,
-0.028755953535437584,
0.01448807492852211,
0.010707465931773186,
-0.003938117530196905,
-0.006100445985794067,
0.03341364488005638,
-0.012071278877556324,
-0.05091816559433937,
0.013815192505717278,
0.028713606297969818,
0.007382811512798071,
-0.009161080233752728,
0.050411611795425415,
-0.015121673233807087,
0.03543144091963768,
0.026065420359373093,
-0.09914751350879669,
-0.0021123047918081284,
-0.029868895187973976,
-0.013744281604886055,
0.031172089278697968,
-0.02014908194541931,
0.014569852501153946,
0.0040932525880634785,
0.00010198465315625072,
0.00006770133040845394,
0.002339516766369343,
0.016033055260777473,
-0.021715383976697922,
0.0024902455043047667,
-0.009655489586293697,
-0.007675319444388151,
-0.002316318219527602,
-0.02770366705954075,
-0.009645739570260048,
-0.025546185672283173,
0.011570917442440987,
-0.030668025836348534,
-0.009373946115374565,
-0.012509609572589397,
0.00040664360858500004,
0.035508472472429276,
-0.02517436258494854,
-0.03996586054563522,
0.0048423586413264275,
0.01966097019612789,
-0.049534086138010025,
0.03171379119157791,
-0.01878775842487812,
-0.04081517457962036,
-0.02321503683924675,
-0.01439710147678852,
-0.010894273407757282,
-0.020595351234078407,
0.011943959631025791,
0.019766952842473984,
-0.002990532200783491,
-0.023397868499159813,
0.032519951462745667,
-0.05276510491967201,
-0.02369450032711029,
-0.036753349006175995,
0.004971252288669348,
0.037574414163827896,
-0.028519228100776672,
0.009114117361605167,
-0.01891758106648922,
-0.008527426980435848,
0.012573876418173313,
-0.00016384819173254073,
0.027608636766672134,
0.016731254756450653,
-0.04299381002783775,
-0.014447751455008984,
-0.00042890134500339627,
0.02092152275145054,
-0.00578400120139122,
-0.04378272965550423,
0.03568227216601372,
0.002864131471142173,
0.01816977746784687,
-0.07419915497303009,
0.014368449337780476,
-0.0027739624492824078,
-0.012155061587691307,
0.027039287611842155,
0.8466418981552124,
-0.003563361708074808,
0.006447221152484417,
-0.03953218087553978,
0.015074673108756542,
0.006702400743961334,
0.004137474577873945,
-0.017293687909841537,
-0.004850468132644892,
-0.012557567097246647,
-0.019142530858516693,
0.009690864011645317,
0.03054644539952278,
0.016012312844395638,
0.027798393741250038,
0.0095675652846694,
0.0302325077354908,
0.003782117273658514,
0.02193486876785755,
0.0012009539641439915,
0.020440852269530296,
-0.001985292648896575,
-0.006721734069287777,
0.003027040511369705,
-0.010181278921663761,
0.02667020633816719,
-0.17697778344154358,
-0.0019358090357854962,
-6.890079322108219e-33,
0.013009433634579182,
-0.03449558466672897,
0.056343358010053635,
-0.010322768241167068,
0.014416685327887535,
0.024393891915678978,
0.002818214939907193,
-0.016216278076171875,
-0.0029657778795808554,
-0.0605548657476902,
-0.0095615079626441,
0.007539817597717047,
0.03255307301878929,
-0.03436998277902603,
0.031400278210639954,
-0.017657039687037468,
0.004434008151292801,
0.021344058215618134,
-0.015555579215288162,
-0.023563290014863014,
0.015207990072667599,
0.0293032955378294,
-0.000257820647675544,
0.023575641214847565,
-0.0138392997905612,
0.03732876107096672,
0.029042694717645645,
0.014597708359360695,
0.01734899915754795,
-0.044101614505052567,
-0.04943518340587616,
0.009509150870144367,
-0.03165552392601967,
-0.0016098867636173964,
0.018454039469361305,
-0.04326922819018364,
-0.032010771334171295,
-0.010209349915385246,
-0.05018927529454231,
-0.025098208338022232,
-0.03600725531578064,
-0.000918193138204515,
-0.0454983152449131,
-0.06566612422466278,
-0.05070751905441284,
-0.015955938026309013,
0.008899958804249763,
0.006191960070282221,
0.01761944405734539,
0.024686841294169426,
0.015443030744791031,
-0.0014545851154252887,
0.006345334928482771,
-0.012662726454436779,
-0.02733423002064228,
0.013252289034426212,
0.002303492510691285,
0.011919110082089901,
-0.01341039314866066,
-0.0010666411835700274,
0.020018480718135834,
-0.02685915119946003,
0.012891089543700218,
0.007608948275446892,
0.015248896554112434,
0.023697370663285255,
-0.0034065227955579758,
0.001706368988379836,
0.006998142693191767,
0.022753506898880005,
-0.02893807552754879,
0.04168027266860008,
-0.012252582237124443,
-0.026032641530036926,
0.04121040180325508,
-0.019016113132238388,
0.010185911320149899,
-0.03230632096529007,
0.007530843373388052,
0.03324763849377632,
-0.021706098690629005,
-0.03349198028445244,
0.009875270538032055,
-0.013113598339259624,
-0.011181855574250221,
-0.031181320548057556,
0.02214895561337471,
0.02492515742778778,
0.0009663127129897475,
0.012502322904765606,
0.042788535356521606,
0.011604574508965015,
-0.018711214885115623,
-0.009180691093206406,
-0.019854113459587097,
6.929455444124889e-33,
-0.009749580174684525,
0.008063825778663158,
-0.018593348562717438,
0.011547225527465343,
0.028128013014793396,
-0.026491425931453705,
0.033289093524217606,
0.012670686468482018,
-0.0249697994440794,
0.05331846699118614,
0.002146761864423752,
-0.04625023901462555,
0.002868394600227475,
0.02310735359787941,
0.07494256645441055,
-0.007437621708959341,
0.03197283297777176,
-0.015415775589644909,
0.01691138558089733,
0.009266067296266556,
0.02039012871682644,
0.009046852588653564,
0.007500178180634975,
0.026025380939245224,
0.04523207247257233,
0.022292735055088997,
-0.0017835022881627083,
-0.009096052497625351,
0.008580666035413742,
-0.013619818724691868,
0.011958267539739609,
-0.050247661769390106,
-0.01579013280570507,
-0.018390098586678505,
0.015572491101920605,
0.04268763214349747,
-0.022649899125099182,
-0.023738551884889603,
0.018334420397877693,
-0.009888510219752789,
-0.00022668800374958664,
-0.01091339997947216,
-0.020611029118299484,
0.06224178522825241,
0.020317107439041138,
0.0027729528956115246,
-0.010801492258906364,
0.034814152866601944,
-0.015246354043483734,
0.03745761886239052,
0.005131603218615055,
0.029932597652077675,
0.0075659672729671,
0.021963905543088913,
0.015579677186906338,
-0.03695637732744217,
0.002511161845177412,
0.03252917528152466,
-0.014077479019761086,
-0.005070401821285486,
-0.02532569319009781,
-0.020802278071641922,
-0.03246123716235161,
0.01280949730426073,
-0.0017931568436324596,
-0.01602903939783573,
-0.06400211900472641,
-0.022244231775403023,
0.003696474712342024,
0.035252273082733154,
-0.011654067784547806,
0.0015324096893891692,
-0.0066353632137179375,
0.019751666113734245,
0.018258238211274147,
-0.010749711655080318,
-0.005049930419772863,
0.022878002375364304,
-0.02560277096927166,
0.013965764082968235,
0.021329641342163086,
0.004186753183603287,
0.05224062502384186,
0.002279985463246703,
-0.014360201545059681,
0.01877686008810997,
-0.03129352629184723,
0.03295180946588516,
0.018109990283846855,
0.005974763073027134,
0.02126188948750496,
-0.04889896884560585,
-0.019269565120339394,
0.03449564427137375,
-0.008933315053582191,
-1.2721577569152487e-8,
-0.061679963022470474,
-0.0013854544376954436,
-0.026677267625927925,
0.004466475453227758,
0.017898349091410637,
0.02193795144557953,
0.010586883872747421,
0.005968572571873665,
-0.010738559067249298,
0.0023190367501229048,
0.07974854856729507,
-0.045455049723386765,
0.0051562427543103695,
0.0057120248675346375,
-0.00006955929711693898,
-0.03399008512496948,
-0.0033671343699097633,
-0.014974390156567097,
0.032440703362226486,
0.02261159010231495,
0.0031603544484823942,
0.004902777727693319,
-0.049528904259204865,
0.029734689742326736,
0.01639278419315815,
0.0003004280151799321,
0.023297395557165146,
-0.06937212496995926,
-0.011436199769377708,
-0.037116244435310364,
0.009919526986777782,
-0.032818861305713654,
0.007522543426603079,
0.020749259740114212,
-0.06155107170343399,
-0.02267405018210411,
0.034480590373277664,
0.04906884953379631,
0.006205455400049686,
0.03686784952878952,
0.0018426324240863323,
0.023504039272665977,
-0.02967163547873497,
-0.03229043632745743,
-0.03132916986942291,
0.04864509776234627,
-0.03393362835049629,
0.0021483488380908966,
0.03194832429289818,
-0.03804074972867966,
-0.010291476733982563,
-0.009876018390059471,
0.0008640511659905314,
0.030933229252696037,
0.03401493281126022,
0.02948550134897232,
0.0010190363973379135,
-0.02201656810939312,
0.003717229701578617,
-0.011704199947416782,
0.014717694371938705,
0.02520298771560192,
-0.0295491311699152,
-0.028767675161361694
] | neo4j-string-matching-similarity | https://markhneedham.com/blog/2019/09/18/neo4j-string-matching-similarity |
false | 2019-09-27 00:47:00 | Graphing Brexit: Did the threat work? | [
"neo4j",
"cypher",
"brexit"
] | [
"Neo4j"
] | Following on from the blog post where https://markhneedham.com/blog/2019/09/23/graphing-brexit-mps-vs-parties/[we compared how MPs and parties voted on Brexit indicative measures^], in this post we're going to explore how Conservative MPs have voted with respect to a no deal exit from the European Union.
In particular we'd like to know whether the threat to have the party whip removed had an impact on how they voted in the recent motion to request an extension to work out a deal.
We know that there were 21 people who voted against the government and had the Conservative party whip removed.
Presumably the other Conservative MPs voted against the motion, but let's check by executing the following query:
[source,cypher]
----
MATCH (m:Motion {division: "439"})<-[vote]-(person:Person),
(person)-[memberOf:MEMBER_OF]->(:Party {name: "Conservative"})
WHERE memberOf.start <= m.date
AND (not(exists(memberOf.end)) OR m.date <= memberOf.end)
RETURN type(vote), count(*)
ORDER BY count(*) DESC
----
.Results
[opts="header",cols="1,1"]
|===
| type(vote) | count(*)
| "AGAINST" | 286
| "FOR" | 21
| "DID_NOT_VOTE" | 3
|===
As expected, most MPs voted against this motion, although there are also 3 MPs who didn't vote.
Those 3 who didn't vote might be interesting to explore further, but for now let's go back to our 21 rebel MPs and see how they voted on Mr Baron's motion B (No deal) back in March.
We'd assume that they mostly voted against this motion, but let's check by executing the following query:
[source,cypher]
----
MATCH (person:Person)-[vote]->(:Motion {division: "386"})
WHERE (person)-[:MEMBER_OF {end: date({year: 2019, month: 9, day: 3})}]
->(:Party {name: "Conservative"})
WITH person, type(vote) AS vote
ORDER BY person.pageviews DESC
RETURN person.name AS person, vote
----
.Results
[opts="header",cols="1,1"]
|===
| person | vote
| "Philip Hammond" | "DID_NOT_VOTE"
| "Kenneth Clarke" | "AGAINST"
| "Justine Greening" | "AGAINST"
| "Rory Stewart" | "AGAINST"
| "Nicholas Soames" | "AGAINST"
| "Dominic Grieve" | "AGAINST"
| "Oliver Letwin" | "AGAINST"
| "Sam Gyimah" | "AGAINST"
| "David Gauke" | "DID_NOT_VOTE"
| "Greg Clark" | "DID_NOT_VOTE"
| "Caroline Nokes" | "DID_NOT_VOTE"
| "Margot James" | "AGAINST"
| "Richard Benyon" | "AGAINST"
| "Anne Milton" | "AGAINST"
| "Guto Bebb" | "AGAINST"
| "Alistair Burt" | "AGAINST"
| "Antoinette Sandbach" | "AGAINST"
| "Stephen Hammond" | "AGAINST"
| "Steve Brine" | "AGAINST"
| "Richard Harrington" | "AGAINST"
| "Edward Vaizey" | "AGAINST"
|===
Unsurprisingly most of these people voted against the motion, 17 in total, although the 4 cabinet members didn't vote.
Were there any other Conservative MPs who also voted against Mr Baron's motion B (No deal)?
We can find out by executing the following query:
[source,cypher]
----
MATCH (person:Person)-[vote]->(m:Motion {division: "386"}),
(person)-[memberOf:MEMBER_OF]->(:Party {name: "Conservative"})
WHERE memberOf.start <= m.date
AND (not(exists(memberOf.end)) OR m.date <= memberOf.end)
RETURN type(vote), count(*)
ORDER BY count(*) DESC
----
.Results
[opts="header",cols="1,1"]
|===
| type(vote) | count(*)
| "FOR" | 156
| "AGAINST" | 94
| "DID_NOT_VOTE" | 63
|===
There were 94 people who voted against this motion.
We know who 17 of them are, but that still leaves us with 77 others.
[source,cypher]
----
MATCH (person:Person)-[:AGAINST]->(noDealMotion:Motion {division: "386"}),
(person)-[memberOf:MEMBER_OF]->(:Party {name: "Conservative"})
WHERE memberOf.start <= noDealMotion.date
AND (not(exists(memberOf.end)) OR noDealMotion.date <= memberOf.end)
MATCH (person)-[vote]->(:Motion {division: "439"})
RETURN type(vote) AS vote, collect(person.name) AS people, count(*) AS count
----
.Results
[opts="header",cols="1,3,1"]
|===
| vote | people | count
| "AGAINST" | ["James Cartlidge", "John Glen", "David Morris", "John Howell", "Luke Hall", "Mark Pawsey", "Chris Skidmore", "Alister Jack", "Gary Streeter", "Luke Graham", "Mel Stride", "Kevin Hollinrake", "Jeremy Lefroy", "Jeremy Quin", "Bim Afolami", "Victoria Atkins", "Michael Fallon", "Robin Walker", "Damien Moore", "Oliver Heald", "Nick Herbert", "Nicky Morgan", "Alok Sharma", "Keith Simpson", "Stephen Kerr", "Paul Masterton", "Alberto Costa", "Nick Hurd", "Colin Clark", "Lucy Frazer", "Stephen Crabb", "Bill Grant", "Andrew Bowie", "Robert Buckland", "Richard Graham", "Damian Collins", "Roger Gale", "David Duguid", "Jesse Norman", "Guy Opperman", "Charles Walker", "Paul Beresford", "Greg Hands", "Hugo Swire", "Patrick McLoughlin", "Mark Prisk", "Vicky Ford", "Damian Green", "Joseph Johnson", "Victoria Prentis", "Mike Freer", "Oliver Dowden", "David Tredinnick", "Andrew Jones", "Helen Grant", "George Hollingbery", "Robert Halfon", "Cheryl Gillan", "Rebecca Pow", "Simon Hoare", "Gillian Keegan", "Alex Chalk", "Graham Brady", "Caroline Spelman", "Peter Bottomley", "Alan Duncan", "Sarah Newton", "Robert Neill", "Philip Dunne", "Peter Aldous", "Jo Churchill", "Mark Field", "Seema Kennedy", "Jonathan Djanogly", "Mary Robinson"] | 75
| "FOR" | ["Stephen Hammond", "Justine Greening", "Steve Brine", "Rory Stewart", "Margot James", "Oliver Letwin", "Dominic Grieve", "Sam Gyimah", "Nick Boles", "Richard Benyon", "Alistair Burt", "Guto Bebb", "Kenneth Clarke", "Edward Vaizey", "Anne Milton", "Richard Harrington", "Nicholas Soames", "Antoinette Sandbach", "Phillip Lee"] | 19
|===
We can see that there are 19 people who voted against both motions.
If we add our 4 ex-Cabinet members, that gives us a total of 23 former Conservative MPs who voted against the motion to ask for an extension.
21 of those had the party whip removed on the 3rd September 2019, but that still gives us two that are not accounted for.
We can write the following query to find out what happened with them:
[source, cypher]
----
MATCH (person:Person)-[:AGAINST]->(noDealMotion:Motion {division: "386"}),
(person)-[memberOf:MEMBER_OF]->(:Party {name: "Conservative"})
WHERE memberOf.start <= noDealMotion.date
AND (not(exists(memberOf.end)) OR noDealMotion.date <= memberOf.end)
MATCH (person)-[vote]->(:Motion {division: "439"})
WITH person, type(vote) AS vote, memberOf
WHERE memberOf.end <> date({year: 2019, month: 9, day: 3})
RETURN person.name AS person, vote, memberOf.end AS endDate
----
.Results
[opts="header",cols="1,3,1"]
|===
| person | vote | endDate
| "Nick Boles" | "FOR" | 2019-04-01
| "Phillip Lee" | "FOR" | 2019-09-02
|===
Phillip Lee famously walked across the floor of the Houses of Common to join the Liberal Democrats, and I'd forgotten that Nick Boles had resigned the party whip back in April.
That still leave us with 75 people who changed their position from not supporting no deal in March 2019, but wanting to leave it as an option in September 2019.
We'll give them the benefit of the doubt, and make the assumption that if they represent a constituency that had a majority vote to leave the EU their constituents may be happy with them taking this position.
But if their constituency had a majority vote to remain in the EU we can't really make that argument.
The following query find MPs who voted against no deal in the indicative votes, voted against asking for an extension (under threat of having the party whip removed), and represent constituencies that want to remain in the EU:
[source, cypher]
----
MATCH (person:Person)-[:AGAINST]->(noDealMotion:Motion {division: "386"}),
(person)-[memberOf:MEMBER_OF]->(:Party {name: "Conservative"})
WHERE memberOf.start <= noDealMotion.date
AND (not(exists(memberOf.end)) OR noDealMotion.date <= memberOf.end)
MATCH (person)-[:AGAINST]->(:Motion {division: "439"}),
(person)-[:REPRESENTS]->(constituency:Constituency)
WHERE constituency.leave < 50
RETURN person.name AS person,
constituency.name AS constituency,
constituency.leave AS leavePercentage
ORDER BY constituency.leave
----
.Results
[opts="header",cols="1,1,1"]
|===
| person | constituency | leavePercentage
| "Paul Masterton" | "East Renfrewshire" | 25.7
| "Mark Field" | "Cities of London and Westminster" | 28.1
| "Greg Hands" | "Chelsea and Fulham" | 29.1
| "Mike Freer" | "Finchley and Golders Green" | 31.1
| "Stephen Kerr" | "Stirling" | 32.3
| "Graham Brady" | "Altrincham and Sale West" | 38.6
| "Andrew Bowie" | "West Aberdeenshire and Kincardine" | 39.2
| "Luke Graham" | "Ochil and South Perthshire" | 39.5
| "Bim Afolami" | "Hitchin and Harpenden" | 39.8
| "Mary Robinson" | "Cheadle" | 42.7
| "Alex Chalk" | "Cheltenham" | 42.9
| "John Howell" | "Henley" | 43.1
| "Bill Grant" | "Ayr, Carrick and Cumnock" | 44.1
| "Colin Clark" | "Gordon" | 44.3
| "Cheryl Gillan" | "Chesham and Amersham" | 45.0
| "Alister Jack" | "Dumfries and Galloway" | 45.1
| "Guy Opperman" | "Hexham" | 45.3
| "Lucy Frazer" | "South East Cambridgeshire" | 45.3
| "Sarah Newton" | "Truro and Falmouth" | 45.9
| "Damien Moore" | "Southport" | 46.3
| "Andrew Jones" | "Harrogate and Knaresborough" | 47.2
| "Paul Beresford" | "Mole Valley" | 47.3
| "Mark Prisk" | "Hertford and Stortford" | 49.2
| "Jeremy Quin" | "Horsham" | 49.5
| "Nick Hurd" | "Ruislip, Northwood and Pinner" | 49.5
| "Nick Herbert" | "Arundel and South Downs" | 49.7
| "Robert Neill" | "Bromley and Chislehurst" | 49.8
| "John Glen" | "Salisbury" | 49.9
|===
Several of these constituencies are in London or Scotland.
They would therefore seem like seats that remain favouring parties, such as the Liberal Democrats or SNP would try to win in the next election.
And indeed the Liberal Democrats have already moved MPs into https://inews.co.uk/news/politics/chuka-umunna-lib-dem-candidate-constituency-cities-of-london-and-westminster-general-election-2019-496539[Cities of London and Westminster^] and https://www.bbc.co.uk/news/uk-politics-49831648[Finchley and Golders Green^].
It'll be fascinating to see what will happen with these seats if and when there is actually an election.
If you have any other ideas for how we can explore the data, let me know in the comments. | In this post we look at how Conservative MPs feel about a no deal exit from the European Union. | null | [
0.0033532967790961266,
-0.034991927444934845,
0.024059653282165527,
0.008311372250318527,
0.031613539904356,
0.015099202282726765,
0.018100110813975334,
0.0020235241390764713,
-0.01081052701920271,
-0.0049490719102323055,
-0.03704088181257248,
-0.002550405915826559,
-0.05435163900256157,
0.011322853155434132,
-0.00833550002425909,
0.07149272412061691,
0.04842758551239967,
0.004546674434095621,
-0.005724173970520496,
-0.017738599330186844,
0.08932966738939285,
0.07806701958179474,
0.007863102480769157,
0.023140257224440575,
0.04303472116589546,
-0.018009446561336517,
0.03083796426653862,
-0.0005797587800770998,
-0.05552787333726883,
-0.04191191494464874,
0.03450103849172592,
-0.0037356435786932707,
-0.014721670188009739,
0.011036898009479046,
0.035389646887779236,
-0.014488755725324154,
-0.030943898484110832,
0.029032494872808456,
-0.009305103681981564,
0.0086362911388278,
-0.06230354309082031,
0.005721386056393385,
-0.027841998264193535,
0.0211027842015028,
-0.05376269295811653,
-0.020066343247890472,
-0.028697391971945763,
0.04493188485503197,
0.012566027231514454,
-0.008734132163226604,
-0.03913043439388275,
0.052440401166677475,
-0.0193977952003479,
-0.003892328357324004,
-0.005908765830099583,
0.019644523039460182,
-0.02076517418026924,
-0.06162049621343613,
0.014560755342245102,
-0.03763324394822121,
-0.0014886280987411737,
-0.019581124186515808,
0.006137487478554249,
0.0009353237110190094,
0.029374409466981888,
-0.04206504300236702,
-0.0036782866809517145,
0.04310116916894913,
-0.054045725613832474,
0.013421892188489437,
-0.009394416585564613,
-0.004335756413638592,
0.008582044392824173,
0.03971124812960625,
0.01812022365629673,
-0.03489864617586136,
0.03337078168988228,
0.0763971284031868,
0.023695170879364014,
0.021273992955684662,
0.026846962049603462,
-0.021124696359038353,
0.012701831758022308,
0.04821398854255676,
-0.005763104651123285,
-0.030291426926851273,
-0.012241186574101448,
-0.0020909919403493404,
-0.029342204332351685,
0.059245962649583817,
0.009892786853015423,
-0.036767903715372086,
0.028050381690263748,
0.04180039092898369,
-0.02544976770877838,
-0.002590852789580822,
0.05339783802628517,
0.009450411424040794,
-0.012858923524618149,
-0.04776662960648537,
-0.003844532649964094,
-0.031072551384568214,
0.04083865135908127,
-0.006566239986568689,
-0.067482590675354,
-0.013585823588073254,
-0.046863023191690445,
0.0006337679224088788,
0.018222877755761147,
0.016080260276794434,
-0.0017918492667376995,
0.0235739815980196,
-0.009075337089598179,
0.016917113214731216,
-0.09552566707134247,
0.05320678651332855,
0.008850128389894962,
-0.03868686407804489,
0.03119923733174801,
0.018812406808137894,
0.04998296871781349,
0.046244170516729355,
-0.02594507485628128,
0.09277388453483582,
0.04392441734671593,
0.0064616212621331215,
-0.00791910756379366,
0.03037201799452305,
-0.03199248015880585,
-0.06905476003885269,
0.01975860819220543,
0.08322576433420181,
-0.04507570341229439,
-0.00400758720934391,
-0.025593657046556473,
-0.006821491289883852,
-0.002251614583656192,
-0.004089373629540205,
0.059335142374038696,
0.062195662409067154,
0.00849385466426611,
-0.034094855189323425,
0.035431090742349625,
0.0441870279610157,
0.004134104587137699,
0.005885331891477108,
-0.033189162611961365,
-0.016531599685549736,
-0.026169203221797943,
-0.008549672551453114,
0.00752401864156127,
0.03289755433797836,
0.053004104644060135,
-0.05487040802836418,
0.00161338085308671,
0.08178335428237915,
0.056240376085042953,
0.005585554055869579,
-0.010331661440432072,
0.03855585679411888,
0.049359843134880066,
0.017504002898931503,
0.04359212517738342,
0.052288755774497986,
0.025610938668251038,
-0.011133809573948383,
-0.009177225641906261,
0.0484713613986969,
-0.005881393328309059,
-0.0018165666842833161,
-0.043660663068294525,
-0.0589439831674099,
0.06029363349080086,
-0.04892095550894737,
0.005445110145956278,
0.059070758521556854,
0.06578704714775085,
0.03346629813313484,
0.05046916753053665,
0.023753907531499863,
-0.0864538699388504,
0.027657298371195793,
-0.0024207409005612135,
0.04150741547346115,
0.027817796915769577,
0.004041783045977354,
0.05583541840314865,
0.03935150429606438,
-0.005307239945977926,
0.03214838355779648,
-0.07230464369058609,
-0.06701254844665527,
0.0031752593349665403,
-0.022636257112026215,
0.0392177477478981,
-0.038364995270967484,
0.015088517218828201,
0.07554822415113449,
0.015554470010101795,
0.060115814208984375,
-0.032660529017448425,
-0.011424836702644825,
0.024733949452638626,
-0.053562335669994354,
-0.05674849823117256,
0.05401255935430527,
0.01565363071858883,
0.01805882528424263,
0.004449489992111921,
0.04426013305783272,
-0.03854316100478172,
0.00263897143304348,
0.01025971956551075,
-0.02415875717997551,
0.024529557675123215,
-0.011090329848229885,
0.05577675253152847,
-0.059310004115104675,
0.03903108835220337,
-0.025905082002282143,
0.0184172410517931,
0.046565547585487366,
-0.01079301442950964,
0.005384900141507387,
-0.0036218396853655577,
0.09807988256216049,
0.055492546409368515,
-0.020488310605287552,
-0.046024736016988754,
0.0019289031624794006,
0.02693456970155239,
-0.027151241898536682,
-0.013377301394939423,
-0.01565185748040676,
0.00030780929955653846,
-0.007894424721598625,
-0.06484004110097885,
-0.02459515444934368,
0.021392418071627617,
-0.06255180388689041,
0.014506197534501553,
0.04907939210534096,
0.034407783299684525,
0.06354226917028427,
-0.06706288456916809,
0.017870107665657997,
-0.005114175844937563,
-0.00984380953013897,
-0.021289195865392685,
-0.0025611831806600094,
0.004237688612192869,
-0.018204212188720703,
0.008784427307546139,
-0.03299920633435249,
0.007526585832238197,
-0.023672837764024734,
-0.017493601888418198,
0.022410858422517776,
0.03432224690914154,
0.0578598789870739,
-0.029699379578232765,
0.04977148771286011,
0.0021399210672825575,
0.02899685502052307,
-0.026180563494563103,
-0.02484799362719059,
-0.07602780312299728,
-0.04277181625366211,
0.0028901996556669474,
0.006468839943408966,
0.030173297971487045,
-0.01372582372277975,
0.012507481500506401,
-0.022165164351463318,
0.013909726403653622,
0.00474531902000308,
0.026503611356019974,
0.00705837132409215,
-0.002743544289842248,
-0.03003893978893757,
-0.03253955766558647,
0.06627664715051651,
-0.04502244293689728,
-0.0053642382845282555,
0.04317506030201912,
-0.056900504976511,
0.0486774779856205,
-0.06539680808782578,
-0.034280940890312195,
0.043043091893196106,
0.05528157576918602,
-0.007271759677678347,
0.01945577561855316,
-0.004133366048336029,
0.056686725467443466,
0.01168860588222742,
0.016518794000148773,
0.03266434744000435,
0.011658628471195698,
0.05324346572160721,
-0.004778732545673847,
0.04270530119538307,
0.01487848348915577,
-0.038956720381975174,
0.04289925470948219,
-0.0695565938949585,
0.02467087097465992,
-0.011771162040531635,
-0.2674476206302643,
0.03285301476716995,
0.0015058848075568676,
-0.026534127071499825,
0.024240324273705482,
-0.02160009928047657,
0.027171272784471512,
-0.05335620790719986,
-0.04998824745416641,
0.016263090074062347,
-0.005599268712103367,
-0.061994973570108414,
-0.011665282770991325,
0.03429148346185684,
0.04030172899365425,
0.012115108780562878,
0.0037386605981737375,
-0.059894002974033356,
0.029443731531500816,
0.047602903097867966,
0.0070329089649021626,
-0.07149908691644669,
-0.014838864095509052,
0.033195096999406815,
0.03097960539162159,
0.041162021458148956,
-0.05341494083404541,
-0.009596685878932476,
-0.055277012288570404,
0.0006223950767889619,
-0.007540599443018436,
0.01801181584596634,
0.010364213027060032,
-0.012546843849122524,
-0.0021671769209206104,
-0.02838377095758915,
0.03243716433644295,
-0.004426952917128801,
-0.023882737383246422,
0.031145650893449783,
-0.02634086087346077,
-0.024952415376901627,
0.03373792767524719,
0.015659082680940628,
0.05265605077147484,
0.008503561839461327,
-0.06433799117803574,
-0.010771521367132664,
-0.04913344979286194,
0.07254107296466827,
-0.029685785993933678,
0.008933610282838345,
-0.01642238348722458,
0.023510407656431198,
-0.051011789590120316,
0.05558754503726959,
-0.05100207030773163,
-0.02651241235435009,
-0.05906140059232712,
-0.028081687167286873,
-0.05694219097495079,
-0.03272714838385582,
-0.012016681022942066,
-0.024787429720163345,
-0.029180942103266716,
-0.035984836518764496,
-0.06225825846195221,
-0.009253166615962982,
0.08506877720355988,
-0.0024540142621845007,
-0.022201653569936752,
-0.025363925844430923,
-0.030986718833446503,
-0.0858030766248703,
0.0028300269041210413,
-0.027379535138607025,
-0.027276359498500824,
0.040400128811597824,
0.03227442130446434,
0.03205536678433418,
-0.03111983835697174,
-0.051235973834991455,
0.037669382989406586,
0.006335732061415911,
0.007331616245210171,
-0.02338215708732605,
0.018499137833714485,
0.03572718799114227,
-0.05281605198979378,
-0.001695494051091373,
0.03134222701191902,
-0.01630244590342045,
-0.019544469192624092,
-0.007763109635561705,
-0.00410302123054862,
0.0025232150219380856,
-0.030696962028741837,
-0.005485767964273691,
0.00409956369549036,
0.037078212946653366,
-0.0073100496083498,
-0.05683823674917221,
0.010033592581748962,
-0.05079486593604088,
-0.023339267820119858,
-0.004089070484042168,
-0.054138075560331345,
0.03419322893023491,
0.040131960064172745,
0.0017129661282524467,
0.019130581989884377,
-0.04405786842107773,
0.0326511412858963,
-0.037188395857810974,
-0.024905040860176086,
-0.0340462327003479,
0.004126255866140127,
0.016840456053614616,
0.01107239630073309,
-0.011244071647524834,
-0.049468398094177246,
0.01710488647222519,
-0.04927908629179001,
-0.01217068824917078,
-0.0912606418132782,
-0.005634518340229988,
-0.025142012163996696,
-0.008800719864666462,
0.009956675581634045,
0.01782555878162384,
0.0025450624525547028,
0.01636701636016369,
0.015803012996912003,
-0.04008902609348297,
0.04345941171050072,
-0.02336617186665535,
-0.04417814314365387,
-0.03466501832008362,
-0.0059524462558329105,
-0.009675072506070137,
-0.013923393562436104,
-0.024185309186577797,
0.013915099203586578,
0.026788335293531418,
0.028001537546515465,
0.006458206567913294,
0.021267589181661606,
0.038031257688999176,
0.0015761004760861397,
0.05142088234424591,
0.011211689561605453,
-0.010324587114155293,
0.033632852137088776,
-0.035541683435440063,
0.0004222742863930762,
-0.009544994682073593,
0.03274168446660042,
-0.005521730054169893,
-0.007417374290525913,
-0.03840075805783272,
-0.018024208024144173,
-0.021227391436696053,
-0.0384804904460907,
-0.027713816612958908,
0.027566030621528625,
0.056382860988378525,
-0.04066063091158867,
0.02516165003180504,
0.004914824850857258,
0.005317630246281624,
0.005639892537146807,
0.021779917180538177,
-0.03981795161962509,
0.028608636930584908,
-0.004215874243527651,
-0.0038983358535915613,
-0.01731235906481743,
0.03282487764954567,
0.023694423958659172,
0.008348586037755013,
0.0066089085303246975,
-0.010362961329519749,
0.01977057009935379,
0.012529916130006313,
0.042908817529678345,
0.03691411018371582,
-0.01514514535665512,
-0.03243761882185936,
-0.009728989563882351,
-0.04086778685450554,
-0.00981979351490736,
0.0016540498472750187,
-0.017193863168358803,
-0.000998159870505333,
-0.05877073481678963,
-0.03664629906415939,
0.005842675920575857,
-0.011977013200521469,
-0.015503779985010624,
0.030236372724175453,
0.0079077472910285,
-0.011775914579629898,
-0.02737116441130638,
0.028417959809303284,
0.032095976173877716,
-0.05626355856657028,
0.008966106921434402,
0.021950453519821167,
-0.027103176340460777,
0.015059314668178558,
-0.016584334895014763,
-0.04841814562678337,
-0.021721556782722473,
-0.013832714408636093,
-0.004949135705828667,
-0.06098368391394615,
-0.019777964800596237,
-0.030044831335544586,
0.0017631144728511572,
0.0056643616408109665,
-0.01907488703727722,
-0.01566757634282112,
-0.005085156299173832,
0.0036968691274523735,
-0.012988495640456676,
0.009202267043292522,
-0.01906212791800499,
0.003927716054022312,
0.036533188074827194,
-0.03885936364531517,
-0.03828350827097893,
-0.02915848232805729,
0.005760658532381058,
0.03515775501728058,
-0.026229165494441986,
0.023667147383093834,
-0.04324973002076149,
-0.023733846843242645,
-0.02717498317360878,
0.04555712640285492,
0.0014203949831426144,
-0.0014389412244781852,
-0.024171654134988785,
-0.03786380589008331,
-0.055758990347385406,
0.01933649554848671,
0.03556613624095917,
-0.016923710703849792,
-0.001750128110870719,
0.04775027185678482,
0.011690459214150906,
0.03764428570866585,
-0.03397991508245468,
-0.01443108543753624,
0.0699113979935646,
-0.051995038986206055,
-0.014850286766886711,
0.003605576930567622,
-0.052075497806072235,
0.021678194403648376,
-0.02645200304687023,
0.0037908561062067747,
-0.037445589900016785,
0.020320480689406395,
0.03193909302353859,
0.02760707400739193,
0.043813884258270264,
0.00796960573643446,
0.007766528520733118,
-0.0528806708753109,
-0.010642746463418007,
-0.06104228273034096,
-0.004923852626234293,
0.019728269428014755,
0.028509944677352905,
0.017872348427772522,
0.027560792863368988,
-0.04423533380031586,
0.031789228320121765,
-0.10081862658262253,
-0.016747592017054558,
0.0191486906260252,
-0.0185367651283741,
0.005584951490163803,
0.05236494168639183,
-0.06913301348686218,
0.02802397683262825,
0.023397907614707947,
-0.02371795102953911,
-0.046826817095279694,
-0.0007817692239768803,
0.06312672793865204,
-0.00986263994127512,
0.025554614141583443,
-0.045562971383333206,
0.000235762374359183,
0.05068496614694595,
0.023636220023036003,
0.03847839683294296,
0.044272780418395996,
-0.06887129694223404,
0.034222666174173355,
0.006774324923753738,
0.018744276836514473,
-0.047787006944417953,
0.013376819901168346,
-0.009647130966186523,
-0.07935173064470291,
0.0454302616417408,
0.010151674039661884,
0.004114481154829264,
-0.05559850484132767,
0.04566732421517372,
-0.006444036029279232,
-0.024586327373981476,
-0.04767775535583496,
0.03958101570606232,
-0.06016470864415169,
-0.015776194632053375,
-0.034144870936870575,
0.012315906584262848,
-0.021338744089007378,
0.047174323350191116,
0.009602728299796581,
0.03359519690275192,
0.06659868359565735,
-0.002749386476352811,
0.028664443641901016,
0.022586066275835037,
0.09578733891248703,
0.06998620927333832,
0.07120829075574875,
-0.00551390228793025,
0.0703008696436882,
-0.030789628624916077,
-0.05806349962949753,
0.012510870583355427,
-0.024877654388546944,
-0.00010174205817747861,
0.02592649683356285,
0.004446079954504967,
0.06003176420927048,
-0.06167237088084221,
0.05388350784778595,
0.007676472421735525,
-0.022754687815904617,
-0.0007306607440114021,
-0.01770959421992302,
0.029731791466474533,
0.09764552861452103,
0.01592569425702095,
0.008052987046539783,
-0.01880834251642227,
-0.04868791997432709,
0.04051129147410393,
0.008074512705206871,
-0.03059665486216545,
0.018771929666399956,
-0.052934031933546066,
0.002334911609068513,
0.014402679167687893,
0.0224434994161129,
0.09034691005945206,
-0.007384154945611954,
0.0002769845013972372,
-0.019237395375967026,
0.019223162904381752,
0.03390221297740936,
0.02478979527950287,
-0.0018807188607752323,
0.019921978935599327,
-0.027330100536346436,
-0.037999995052814484,
-0.03793768212199211,
-0.02563217282295227,
-0.06489220261573792,
0.020010801032185555,
-0.03576552867889404,
0.008292483165860176,
0.0049203792586922646,
-0.020136093720793724,
-0.01705215498805046,
-0.03674867004156113,
-0.050583887845277786,
-0.03950176760554314,
-0.047320954501628876,
-0.018365100026130676,
0.026634737849235535,
-0.027558641508221626,
-0.029954571276903152,
-0.03139475733041763,
-0.01756942644715309,
-0.033999089151620865,
0.029449811205267906,
-0.05538271367549896,
-0.03295285254716873,
0.03195343166589737,
-0.006762221921235323,
0.018855098634958267,
0.0062639787793159485,
0.055043820291757584,
0.023389426991343498,
-0.0360211506485939,
-0.029913516715168953,
0.02809782885015011,
0.043200381100177765,
-0.005056398455053568,
0.0066525982692837715,
-0.09626870602369308,
0.013170652091503143,
0.0128324581310153,
-0.008475793525576591,
-0.06809291243553162,
0.026904981583356857,
-0.011084550991654396,
-0.0038465592078864574,
0.07599882781505585,
-0.022501006722450256,
0.0068347034975886345,
-0.0399329774081707,
0.0042464835569262505,
-0.007051506079733372,
0.009588201530277729,
0.028266772627830505,
-0.01781732775270939,
0.08733662962913513,
0.05141369253396988,
-0.008681497536599636,
-0.03333413973450661,
0.015050253830850124,
-0.008645634166896343,
0.030048491433262825,
-0.020268958061933517,
-0.03207731246948242,
-0.023227864876389503,
-0.060370948165655136,
-0.0363495759665966,
0.04192986339330673,
-0.03674406558275223,
-0.02759760618209839,
0.01821715757250786,
-0.011819278821349144,
-0.010773072019219398,
0.011773871257901192,
-0.015966881066560745,
-0.017006395384669304,
-0.015112222172319889,
-0.025430476292967796,
-0.020208951085805893,
0.024847665801644325,
0.005368654150515795,
0.014201542362570763,
0.04020504280924797,
-0.039319705218076706,
0.0037417057901620865,
-0.03312494605779648,
0.005144141148775816,
0.047463759779930115,
-0.026082830503582954,
-0.002467869780957699
] | [
-0.08562655746936798,
-0.03471923619508743,
-0.06919443607330322,
-0.025647945702075958,
0.04138569161295891,
-0.01013263501226902,
-0.00859107170253992,
0.012100058607757092,
0.012933305464684963,
0.03137814998626709,
0.014758355915546417,
-0.013943355530500412,
-0.01148642785847187,
-0.0439240038394928,
0.04565688222646713,
-0.011310278438031673,
-0.017782380804419518,
-0.07245257496833801,
-0.033367641270160675,
0.07327331602573395,
-0.04540650174021721,
-0.04403745383024216,
-0.029401907697319984,
0.012525912374258041,
0.032035812735557556,
-0.006455722730606794,
0.076511912047863,
-0.02114221639931202,
-0.0476820208132267,
-0.19408582150936127,
0.0571509450674057,
-0.0437442772090435,
-0.02036329358816147,
-0.028865357860922813,
0.06114192679524422,
-0.003951413556933403,
0.04320263862609863,
0.0005582750309258699,
0.002986812498420477,
0.011464179493486881,
0.013972307555377483,
0.01670956425368786,
-0.03770710155367851,
-0.015919921919703484,
0.056850615888834,
0.042976610362529755,
-0.023931408300995827,
-0.016306063160300255,
-0.043025512248277664,
0.026709837839007378,
-0.020871208980679512,
-0.0003320253163110465,
0.01816241629421711,
-0.056414637714624405,
0.008563071489334106,
0.03859158232808113,
0.026249166578054428,
0.05235468968749046,
0.03698401153087616,
0.002639438258484006,
0.0267405416816473,
0.024166185408830643,
-0.15809395909309387,
0.06687641888856888,
0.046352319419384,
0.06943819671869278,
-0.015486098825931549,
-0.03609158843755722,
-0.03305565565824509,
0.07402926683425903,
0.0010152719914913177,
-0.0016080986242741346,
-0.0185098759829998,
0.010031281970441341,
-0.02781856618821621,
-0.025924883782863617,
0.005730311386287212,
0.03432101011276245,
-0.002207306446507573,
-0.04942328855395317,
-0.02566247619688511,
0.045603591948747635,
-0.02419940195977688,
-0.042739592492580414,
0.014008580707013607,
-0.02434699982404709,
-0.014671124517917633,
0.051656290888786316,
-0.012788373045623302,
0.008157387375831604,
0.05686650425195694,
0.013527010567486286,
0.026111450046300888,
0.009632081724703312,
-0.08938712626695633,
-0.005448436364531517,
0.013412048108875751,
0.038786616176366806,
-0.02179320715367794,
0.445777952671051,
-0.04613298922777176,
0.01683022640645504,
0.06087062507867813,
0.029607342556118965,
0.017338883131742477,
-0.0013054306618869305,
-0.017644301056861877,
-0.021477987989783287,
0.026165714487433434,
-0.020303089171648026,
0.05510713532567024,
-0.0442439503967762,
0.07898984849452972,
-0.04639460891485214,
0.02495162934064865,
-0.014662484638392925,
0.052098389714956284,
-0.009032115340232849,
-0.005861920304596424,
0.01375556644052267,
-0.020620567724108696,
0.010269259102642536,
0.014368489384651184,
-0.013897795230150223,
0.02628370001912117,
0.021338125690817833,
0.05146471783518791,
0.0518534779548645,
0.02625587396323681,
-0.017696257680654526,
-0.009930216707289219,
-0.08764228969812393,
-0.05006198212504387,
-0.0031378220301121473,
-0.019431443884968758,
-0.006462431512773037,
0.01168611366301775,
-0.00007618900417583063,
-0.001610512612387538,
0.011818488128483295,
-0.02456284686923027,
-0.11729925870895386,
-0.001786618260666728,
-0.009834532625973225,
-0.02521631307899952,
0.11838891357183456,
-0.006733385846018791,
-0.03650344908237457,
-0.017664870247244835,
0.06148259714245796,
-0.03163313493132591,
0.045086901634931564,
-0.01887322962284088,
-0.1063719168305397,
0.017462823539972305,
0.04859042540192604,
0.036567721515893936,
-0.0007916458416730165,
-0.05723511800169945,
-0.014769147150218487,
0.04086200147867203,
-0.057396553456783295,
-0.04035470262169838,
0.05992567166686058,
0.056701235473155975,
-0.13330480456352234,
-0.016538364812731743,
-0.017321687191724777,
0.017190799117088318,
-0.05839545279741287,
0.017411209642887115,
0.025825263932347298,
-0.023888014256954193,
-0.060333650559186935,
0.07342137396335602,
-0.028152721002697945,
0.029706645756959915,
-0.007195423357188702,
0.04844510555267334,
-0.0063644335605204105,
0.009106619283556938,
0.004999859258532524,
-0.06402779370546341,
0.015599364414811134,
-0.05195892974734306,
-0.00654729874804616,
-0.08566772192716599,
-0.020488033071160316,
-0.030548110604286194,
-0.008855188265442848,
-0.04001416265964508,
-0.016075968742370605,
-0.09271705895662308,
0.07037505507469177,
-0.03666914999485016,
-0.047862738370895386,
-0.021462902426719666,
-0.001192331314086914,
-0.0007531382725574076,
0.004235299304127693,
-0.0208315197378397,
-0.008356363512575626,
-0.09395330399274826,
0.06390092521905899,
-0.04457171633839607,
0.06655875593423843,
0.05073362961411476,
-0.012483214028179646,
0.1144053041934967,
0.03940580040216446,
0.011624335311353207,
-0.006055730395019054,
0.018444379791617393,
-0.002143610967323184,
0.017003515735268593,
-0.05078820884227753,
-0.005792785435914993,
-0.009838961064815521,
0.010837686248123646,
0.007663125637918711,
0.0022302663419395685,
-0.02012125588953495,
0.006857987958937883,
-0.3253834843635559,
-0.06490481644868851,
-0.046388596296310425,
0.001096731168217957,
0.042050570249557495,
-0.08703042566776276,
0.028186047449707985,
-0.021385565400123596,
-0.05507758632302284,
0.07731115072965622,
0.010088678449392319,
-0.0041314600966870785,
-0.004617051221430302,
-0.014100728556513786,
0.02224569581449032,
0.01654021441936493,
-0.03657430037856102,
0.00831496249884367,
-0.012727034278213978,
0.07336706668138504,
-0.010224462486803532,
0.0019389967201277614,
-0.056193720549345016,
-0.008417575620114803,
0.02869308739900589,
-0.04030824080109596,
0.11651303619146347,
0.03271087631583214,
0.03906891867518425,
-0.015348561108112335,
0.01911700703203678,
0.027948474511504173,
0.007445570547133684,
-0.08436211943626404,
0.022020233795046806,
0.044593505561351776,
-0.02414112165570259,
-0.03882096707820892,
0.012091468088328838,
-0.02504018321633339,
-0.041095566004514694,
-0.000280917389318347,
-0.05670509487390518,
-0.006052146665751934,
-0.0488232858479023,
0.014688333496451378,
0.006559377536177635,
0.005507566034793854,
-0.025746501982212067,
0.09017745405435562,
0.014202005229890347,
-0.031070651486516,
0.039545848965644836,
0.04168001934885979,
0.03573896363377571,
-0.012942744418978691,
-0.06395094096660614,
-0.007722421549260616,
-0.003951702266931534,
0.026503365486860275,
-0.005162364803254604,
0.07001661509275436,
0.02133723348379135,
-0.059201303869485855,
-0.026187332347035408,
0.04524030163884163,
-0.026204867288470268,
0.004669461864978075,
-0.01790541224181652,
0.009624063037335873,
-0.01807498186826706,
0.059294693171978,
-0.05382881686091423,
-0.03296540305018425,
0.004338947590440512,
0.06357133388519287,
-0.0006272814935073256,
0.08700583875179291,
0.02217136137187481,
-0.026508938521146774,
0.06476636230945587,
-0.0007729441858828068,
0.04005328565835953,
-0.035866767168045044,
-0.03651830926537514,
0.009934769943356514,
-0.03087885119020939,
-0.0014308566460385919,
0.07131898403167725,
0.007338609546422958,
-0.0011161852162331343,
0.016766568645834923,
-0.03983297571539879,
-0.0018826215527951717,
0.02007353864610195,
-0.013951975852251053,
-0.20314712822437286,
0.019618285819888115,
0.04414866119623184,
0.04739319533109665,
0.01768825575709343,
0.026291465386748314,
0.019784558564424515,
-0.050258029252290726,
-0.02753501944243908,
0.023702282458543777,
0.010053303092718124,
0.0828123390674591,
-0.024159668013453484,
-0.02023746445775032,
0.0006737741059623659,
-0.0262786615639925,
0.008407395333051682,
0.007267327047884464,
0.00044393379357643425,
0.024628637358546257,
0.02113376557826996,
-0.0390322245657444,
0.11253197491168976,
0.017322076484560966,
0.010912135243415833,
-0.019151335582137108,
0.0050399573519825935,
0.011626683175563812,
0.01142432726919651,
-0.01741073839366436,
-0.005522833671420813,
-0.0025405490305274725,
0.002323106164112687,
-0.03760545328259468,
0.008424843661487103,
-0.06477697193622589,
-0.013394775800406933,
0.027234405279159546,
0.03686412051320076,
-0.015962451696395874,
0.03126115724444389,
-0.018204594030976295,
0.026455426588654518,
0.004555540159344673,
0.051050927489995956,
0.02413792535662651,
0.0052266838029026985,
-0.01159294880926609,
-0.007129266858100891,
0.016307411715388298,
0.005584334954619408,
-0.02836029976606369,
-0.011517020873725414,
0.04071894660592079,
0.03221752122044563,
0.07892804592847824,
0.01682041957974434,
-0.014368530362844467,
0.05288516730070114,
0.024811791256070137,
-0.047815773636102676,
-0.02979143150150776,
0.11266886442899704,
0.00455095898360014,
0.06297731399536133
] | [
0.02944308891892433,
0.006941447965800762,
0.004324684385210276,
0.03699973225593567,
0.020904328674077988,
0.047416675835847855,
-0.03624747321009636,
-0.00977164413779974,
-0.017661701887845993,
0.01176559180021286,
0.002701978199183941,
-0.008445745334029198,
0.053874723613262177,
-0.04196298122406006,
0.029920395463705063,
0.025866763666272163,
-0.00715221930295229,
-0.011818405240774155,
0.01320479717105627,
0.011241819709539413,
-0.059407152235507965,
0.03098149038851261,
0.029668280854821205,
0.04596913978457451,
-0.006231948267668486,
0.011185417883098125,
-0.014670110307633877,
0.03543039783835411,
0.03088418021798134,
-0.11213028430938721,
0.04082142561674118,
-0.015818225219845772,
-0.028676079586148262,
0.027729282155632973,
-0.0002510812773834914,
-0.044454216957092285,
-0.0005884570418857038,
-0.009592175483703613,
0.01691202074289322,
-0.009582169353961945,
0.024033330380916595,
-0.00315368571318686,
-0.006122620776295662,
-0.017030704766511917,
0.025664648041129112,
0.05060381814837456,
-0.000049258029321208596,
-0.01654990017414093,
-0.015241255983710289,
0.007420022040605545,
-0.01468414906412363,
0.0013983190292492509,
0.006805893965065479,
0.011938243173062801,
0.03841884434223175,
-0.03673596680164337,
-0.01953030191361904,
0.021106678992509842,
0.008661235682666302,
-0.02156914956867695,
0.004780135117471218,
0.003976241685450077,
-0.05817663297057152,
-0.037276800721883774,
-0.021796753630042076,
-0.014366362243890762,
-0.007120038848370314,
0.0012908716453239322,
0.015175331383943558,
0.004733731038868427,
-0.04818810522556305,
0.010534585453569889,
-0.03649138659238815,
-0.0319029875099659,
-0.018522538244724274,
-0.015518946573138237,
0.03347066417336464,
0.029675226658582687,
0.014242362231016159,
-0.02203594706952572,
-0.00705278106033802,
-0.006241823546588421,
-0.01492226030677557,
0.010713689029216766,
0.013153068721294403,
-0.06511285156011581,
0.0039716497994959354,
0.0078039527870714664,
0.02827662229537964,
0.015970712527632713,
-0.060496944934129715,
0.024904251098632812,
0.021331438794732094,
0.0029502827674150467,
-0.0723874419927597,
0.0011048653395846486,
0.020535100251436234,
-0.0023952152114361525,
0.031512532383203506,
0.8372073769569397,
-0.022109823301434517,
0.012307186610996723,
-0.03949949890375137,
-0.007168320007622242,
-0.01590036414563656,
0.006658162456005812,
-0.019373875111341476,
-0.012653150595724583,
0.016381308436393738,
-0.017549335956573486,
0.010834984481334686,
0.0061849309131503105,
0.018561149016022682,
0.016616087406873703,
0.022831877693533897,
0.012863365933299065,
0.01639212667942047,
-0.022165615111589432,
0.014516563154757023,
-0.0014110745396465063,
0.02390136756002903,
-0.02636137790977955,
0.0044782268814742565,
-0.006807541009038687,
0.006472354289144278,
-0.14535419642925262,
0.018416326493024826,
-6.936020580074231e-33,
0.005145963281393051,
-0.029299208894371986,
0.016922276467084885,
-0.015060445293784142,
0.0159815214574337,
0.0424351841211319,
-0.00794111005961895,
-0.027937771752476692,
0.0015622432110831141,
-0.0342913419008255,
0.01737876422703266,
-0.01507996954023838,
0.0159914568066597,
-0.023217879235744476,
0.02939976193010807,
-0.02628861740231514,
-0.01031899731606245,
0.02533257193863392,
-0.01480457466095686,
-0.0019432824337854981,
0.021616723388433456,
0.01684786006808281,
-0.005854471120983362,
0.0029074072372168303,
0.0025913759600371122,
0.043968331068754196,
0.029255511239171028,
0.01182542834430933,
0.0017826673574745655,
-0.04904082417488098,
-0.032318588346242905,
0.01841914653778076,
-0.04135393351316452,
0.024060552939772606,
-0.0005608704523183405,
-0.047657083719968796,
-0.04911455139517784,
-0.05082901939749718,
-0.017220327630639076,
-0.03340696543455124,
-0.0199508685618639,
-0.008565207943320274,
-0.031363118439912796,
-0.03753773868083954,
-0.039566051214933395,
0.00039454037323594093,
0.025781622156500816,
-0.023365065455436707,
0.012417617253959179,
-0.01676095277070999,
0.031499650329351425,
0.005529867485165596,
0.02950897254049778,
0.0024923740420490503,
-0.018050052225589752,
0.020808394998311996,
-0.022289356216788292,
0.03082801215350628,
-0.006857322528958321,
-0.04126806929707527,
0.0207072701305151,
-0.0054348246194422245,
0.013006878085434437,
-0.0010418767342343926,
0.009337417781352997,
0.027459263801574707,
-0.05136903375387192,
0.036678213626146317,
0.02838427573442459,
0.016819462180137634,
-0.025027578696608543,
0.014112995006144047,
-0.006239278241991997,
-0.021509844809770584,
0.005473119672387838,
0.025249838829040527,
-0.0068433876149356365,
-0.03148676082491875,
0.014109647832810879,
0.0495443269610405,
0.0068889823742210865,
-0.04653843492269516,
0.013623521663248539,
0.012638657353818417,
0.001754644326865673,
-0.0520431250333786,
0.032030168920755386,
0.007447891868650913,
0.005787172820419073,
0.002800906775519252,
0.020686166360974312,
-0.01922914944589138,
-0.003609615145251155,
0.018679052591323853,
0.0004896517493762076,
6.216062616290228e-33,
-0.02969617396593094,
0.019179197028279305,
-0.0289137102663517,
0.01111131813377142,
0.01788434386253357,
-0.011737063527107239,
0.027261978015303612,
0.002059916267171502,
-0.027476966381072998,
0.03711795434355736,
0.005144302733242512,
-0.036340486258268356,
-0.011403478682041168,
0.0363745391368866,
0.06327542662620544,
-0.01870044693350792,
0.018153687939047813,
-0.027427278459072113,
0.017879799008369446,
-0.003046073717996478,
-0.01037470530718565,
0.012422943487763405,
0.00102008949033916,
0.05287320539355278,
0.004797341302037239,
0.02770817279815674,
0.03240273892879486,
-0.030164871364831924,
0.0012233721790835261,
-0.023746635764837265,
0.009548027999699116,
-0.052197325974702835,
-0.0013034725561738014,
-0.025323908776044846,
0.029566295444965363,
0.024669736623764038,
-0.0188578013330698,
-0.009318726137280464,
0.010128399357199669,
0.006760905962437391,
-0.012362408451735973,
0.0025110107380896807,
0.034028105437755585,
0.027519099414348602,
0.00299314153380692,
0.018632443621754646,
-0.027551734820008278,
-0.005135341547429562,
0.005556751973927021,
0.056637804955244064,
0.0022892106790095568,
0.045014820992946625,
0.0034380604047328234,
0.02582339383661747,
0.006636145059019327,
-0.049143508076667786,
0.006166725419461727,
-0.005904003046452999,
-0.0013897345634177327,
-0.001561725977808237,
-0.055807776749134064,
0.02801435999572277,
-0.026499014347791672,
-0.00019007714581675828,
0.00527679268270731,
-0.026663046330213547,
-0.10504761338233948,
-0.04372509941458702,
0.0171669851988554,
0.0189362820237875,
-0.014961816370487213,
-0.0024024462327361107,
-0.008431445807218552,
0.028063807636499405,
0.03257134556770325,
0.005027753300964832,
-0.004302492365241051,
0.027785897254943848,
0.006082885432988405,
0.006847080774605274,
0.025734584778547287,
-0.022372610867023468,
0.025808246806263924,
-0.0187312550842762,
-0.03244561702013016,
-0.006699937395751476,
-0.059517811983823776,
0.02448912151157856,
0.02042652666568756,
-0.02195044979453087,
0.05694017559289932,
-0.05749044567346573,
-0.008836939930915833,
0.02273869700729847,
-0.012952725403010845,
-1.2734935772584777e-8,
-0.05152983218431473,
-0.031905584037303925,
-0.02172023057937622,
-0.005003671627491713,
0.0030137356370687485,
-0.002181328134611249,
-0.007965614087879658,
-0.010423842817544937,
-0.0445035919547081,
0.001087429467588663,
0.09093420207500458,
-0.05118098109960556,
-0.0021392737980931997,
0.006261633243411779,
0.008176429197192192,
-0.03733624517917633,
0.00426780991256237,
-0.004564202856272459,
0.02597455307841301,
0.030558453872799873,
-0.0010164717677980661,
0.009708565659821033,
-0.05547594651579857,
0.05748502165079117,
0.009303007274866104,
-0.002736297668889165,
0.036051515489816666,
-0.06702804565429688,
-0.004671662114560604,
-0.016370654106140137,
0.02201148495078087,
-0.01888566091656685,
-0.02758978307247162,
0.017302826046943665,
-0.06684333086013794,
-0.003910355735570192,
0.01619875617325306,
0.010281277820467949,
0.009336555376648903,
0.03113524802029133,
0.0033734345342963934,
0.000013220500477473252,
-0.035779085010290146,
-0.030574355274438858,
-0.01884232833981514,
0.012437999248504639,
-0.018899472430348396,
0.0018900660797953606,
-0.0025339734274894,
-0.050418201833963394,
0.004996985662728548,
-0.003255805466324091,
0.011520716361701488,
0.06589245796203613,
0.018094995990395546,
0.011411004699766636,
-0.006983048748224974,
-0.0034162423107773066,
-0.01145042572170496,
-0.013834166340529919,
-0.0035241120494902134,
0.010459914803504944,
-0.00839216634631157,
-0.02186313271522522
] | graphing-brexit-did-the-threat-work | https://markhneedham.com/blog/2019/09/27/graphing-brexit-did-the-threat-work |
false | 2019-09-23 00:47:00 | Graphing Brexit: MPs vs Parties | [
"neo4j",
"cypher",
"brexit"
] | [
"Neo4j"
] | In the previous post of the Graphing Brexit series we computed https://markhneedham.com/blog/2019/09/20/graphing-brexit-charting-how-the-parties-voted/[the average vote by party^].
In this post we're going to take those average party scores and compare them against the votes placed by individual MPs.
The goal is to determine whether, Brexit wise, MPs are representing the right party!
It won't be perfect since we know that https://towardsdatascience.com/graphing-brexit-clustering-edition-3b966694e723[not everyone in a party voted the same way^], but it should still give us some fun results.
Let's start with the https://www.theguardian.com/politics/2019/sep/03/what-have-tory-rebels-voted-for-and-will-an-election-now-happen[Conservative MPs who lost the party whip^] after voting to stop the government forcing a no-deal departure from the EU on 31st October.
We can find those MPs by executing the following query:
[source,cypher]
----
MATCH (person:Person)-[vote]->(m:Motion {date: date({year: 2019, month: 3, day: 27})})
WHERE (person)-[:MEMBER_OF {end: date({year: 2019, month: 9, day: 3})}]
->(:Party {name: "Conservative"})
RETURN person
----
image::{{<siteurl>}}/uploads/2019/09/conservative-rebels.svg[]
Now let's compare their vote on each of the indicative motions with the average vote of each party on those motions.
To recap from our last post, we're going to represent an MP's vote on a motion using the following scoring system:
* `0.0` means an MP voted against a motion
* `0.5` means an MP didn't vote on a motion
* `1.0` means an MP voted for a motion
We'll then build an lists of all their votes, and compare it against a list of the average votes of each of the parties using the https://neo4j.com/docs/graph-algorithms/current/experimental-algorithms/cosine/[Cosine Similarity algorithm^] in the Graph Algorithms Library.
[quote, Neo4j Graph Algorithms Documentation]
_____
Cosine similarity is the cosine of the angle between two n-dimensional vectors in an n-dimensional space. It is the dot product of the two vectors divided by the product of the two vectors' lengths (or magnitudes).
_____
The query below shows how we'd build those lists of votes for one person, and then shows the result of running the Cosine Similarity function on those lists:
[source,cypher]
----
MATCH (person:Person)
WHERE (person)-[:MEMBER_OF {end: date({year: 2019, month: 9, day: 3})}]
->(:Party {name: "Conservative"})
WITH person LIMIT 1
MATCH (person)-[vote]->(m:Motion {date: date({year: 2019, month: 3, day: 27})})
MATCH (party:Party)-[ave:AVERAGE_VOTE]->(m) WHERE party.name <> "Speaker"
WITH person, party,
collect(CASE WHEN type(vote) = "FOR" THEN 1
WHEN type(vote) = "DID_NOT_VOTE" THEN 0.5
ELSE 0 END) AS personVotes,
collect(ave.score) AS partyVotes
RETURN person.name AS person,
party.name AS party, personVotes, partyVotes,
algo.similarity.cosine(personVotes, partyVotes) AS score
----
If we run that query we'll see the following results:
.Results
[opts="header",cols="1,1,2,2,1"]
|===
| person | party | personVotes | partyVotes | score
| "Guto Bebb" | "Conservative" | [0, 0, 1, 1, 0, 1, 1, 0] | [0.5990415335463259, 0.20127795527156556, 0.2731629392971245, 0.1821086261980831, 0.062300319488817986, 0.10383386581469652, 0.10862619808306717, 0.5047923322683707] | 0.3760038974248517
| "Guto Bebb" | "Labour" | [0, 0, 1, 1, 0, 1, 1, 0] | [0.02582159624413147, 0.7042253521126761, 0.25352112676056326, 0.927230046948357, 0.9600938967136151, 0.6643192488262909, 0.8403755868544599, 0.03521126760563382] | 0.7186196179929221
| "Guto Bebb" | "Green" | [0, 0, 1, 1, 0, 1, 1, 0] | [0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 0.0] | 0.7071067811865476
| "Guto Bebb" | "Plaid Cymru" | [0, 0, 1, 1, 0, 1, 1, 0] | [0.0, 1.0, 0.5, 0.5, 0.5, 1.0, 1.0, 0.0] | 0.7745966692414834
| "Guto Bebb" | "DUP" | [0, 0, 1, 1, 0, 1, 1, 0] | [0.45, 0.5, 0.5, 0.0, 0.0, 0.0, 0.0, 1.0] | 0.19160041630983682
| "Guto Bebb" | "Scottish National Party" | [0, 0, 1, 1, 0, 1, 1, 0] | [0.014285714285714292, 0.5, 0.014285714285714292, 0.5, 0.5, 0.9857142857142855, 0.9571428571428571, 0.028571428571428584] | 0.7562796166478085
| "Guto Bebb" | "Independent" | [0, 0, 1, 1, 0, 1, 1, 0] | [0.075, 0.225, 0.15, 0.3, 0.25, 0.7999999999999998, 0.7250000000000001, 0.075] | 0.8338456535684794
| "Guto Bebb" | "Labour/Co-operative" | [0, 0, 1, 1, 0, 1, 1, 0] | [0.0, 0.7187499999999999, 0.265625, 1.0, 1.0, 0.796875, 0.90625, 0.0] | 0.7381883979420002
| "Guto Bebb" | "Sinn Féin" | [0, 0, 1, 1, 0, 1, 1, 0] | [0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5] | 0.7071067811865476
| "Guto Bebb" | "Liberal Democrat" | [0, 0, 1, 1, 0, 1, 1, 0] | [0.0, 0.5, 0.4090909090909091, 0.5, 0.4090909090909091, 0.9545454545454545, 1.0, 0.0] | 0.8640682817262345
|===
We can see from the results here that Guto Bebb voted most similarly to the Liberal Democrats, and least similarly to the DUP and Conservatives.
Let's run this query for all the rebel MPs:
[source,cypher]
----
MATCH (person:Person)-[vote]->(m:Motion {date: date({year: 2019, month: 3, day: 27})})
WHERE (person)-[:MEMBER_OF {end: date({year: 2019, month: 9, day: 3})}]
->(:Party {name: "Conservative"})
MATCH (party:Party)-[ave:AVERAGE_VOTE]->(m) WHERE party.name <> "Speaker"
WITH person, party,
collect(CASE WHEN type(vote) = "FOR" THEN 1
WHEN type(vote) = "DID_NOT_VOTE" THEN 0.5
ELSE 0 END) AS personVotes,
collect(ave.score) AS partyVotes
WITH person, party,
algo.similarity.cosine(personVotes, partyVotes) AS similarity
ORDER BY similarity DESC
WITH person, collect({party: party.name, score: similarity}) AS parties
RETURN person.name AS person, parties[0].party AS party, parties[0].score AS score
----
If we run that query we'll see the results below:
.Results
[opts="header",cols="1,1,1"]
|===
| person | party | score
| "David Gauke" | "Sinn Féin" | 1.0
| "Caroline Nokes" | "Sinn Féin" | 1.0
| "Philip Hammond" | "Sinn Féin" | 1.0
| "Greg Clark" | "Sinn Féin" | 1.0
| "Justine Greening" | "Liberal Democrat" | 0.9585976908510777
| "Kenneth Clarke" | "Labour/Co-operative" | 0.9573767170592801
| "Dominic Grieve" | "Independent" | 0.954606992329263
| "Sam Gyimah" | "Liberal Democrat" | 0.931030158349453
| "Richard Harrington" | "Plaid Cymru" | 0.8970852271450604
| "Stephen Hammond" | "Plaid Cymru" | 0.8767140075192094
| "Antoinette Sandbach" | "Plaid Cymru" | 0.8767140075192094
| "Guto Bebb" | "Liberal Democrat" | 0.8640682817262345
| "Margot James" | "Plaid Cymru" | 0.8563488385776752
| "Steve Brine" | "Plaid Cymru" | 0.828078671210825
| "Alistair Burt" | "Plaid Cymru" | 0.828078671210825
| "Edward Vaizey" | "Plaid Cymru" | 0.828078671210825
| "Anne Milton" | "Liberal Democrat" | 0.8243496193719115
| "Richard Benyon" | "Labour" | 0.6174088452074383
| "Nicholas Soames" | "Labour" | 0.6174088452074383
| "Rory Stewart" | "Labour" | 0.6144467241017605
| "Oliver Letwin" | "Sinn Féin" | 0.6123724356957945
|===
The top 4 on the list were Cabinet members, which meant that they didn't vote on any of the motions, just like Sinn Féin representatives.
Just below them we have Justine Greening, who used to be part of the cabinet until January 2018.
She voted most similarly to the Liberal Democrats, and we can see how she voted on each issue by executing the following query:
[source, cypher]
----
MATCH (person:Person {name: "Justine Greening"})-[vote]->(m:Motion {date: date({year: 2019, month: 3, day: 27})})
MATCH path2 = (party:Party {name: "Liberal Democrat"})-[ave:AVERAGE_VOTE]->(m)
WITH person,
CASE WHEN type(vote) = "FOR" THEN 1 WHEN type(vote) = "DID_NOT_VOTE" THEN 0.5 ELSE 0 END AS score,
m, path2
CALL apoc.create.vRelationship(person, toString(score), {}, m) YIELD rel
RETURN path2, rel, person, m
----
image::{{<siteurl>}}/uploads/2019/09/greening-indicative.svg[]
She differs to the average position of her Conservative colleagues in a couple of ways:
* She's not in favour of No Deal (Joanna Cherry's motion L)
* She'd like there to be a confirmatory public vote (Margaret Beckett's motion M)
I wonder if she'll be the next person to join the Liberal Democrats?
One person who did recently do that is Phillip Lee.
++++
<iframe width="560" height="315" src="https://www.youtube.com/embed/27ngBYn6Y-E" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
++++
Let's see how he voted in the indicative votes:
[source,cypher]
----
MATCH (person:Person {name: "Phillip Lee"})-[vote]->(m:Motion {date: date({year: 2019, month: 3, day: 27})})
MATCH (party:Party)-[ave:AVERAGE_VOTE]->(m) WHERE party.name <> "Speaker"
RETURN party.name,
algo.similarity.cosine(
collect(CASE WHEN type(vote) = "FOR" THEN 1
WHEN type(vote) = "DID_NOT_VOTE" THEN 0.5
ELSE 0 END),
collect(ave.score)) AS similarity
ORDER BY similarity DESC
----
If we run that query we'll see the results below:
.Results
[opts="header",cols="1,1"]
|===
| party | score
| "Green" | 1.0
| "Independent" | 0.9105491868904616
| "Scottish National Party" | 0.8456834950587977
| "Liberal Democrat" | 0.8340478501880517
| "Plaid Cymru" | 0.7302967433402214
| "Labour/Co-operative" | 0.5989010989010989
| "Labour" | 0.5694375104718962
| "Sinn Féin" | 0.5
| "Conservative" | 0.1691931217592533
| "DUP" | 0.0
|===
He voted reasonably similarly to his Liberal Democrat colleagues, but voted identically to the Green party.
Let's have a look at a graph of those votes:
image::{{<siteurl>}}/uploads/2019/09/lee-green-indicative.svg[]
One thing to keep in mind is that Caroline Lucas is the only person representing the Green Party, so he only voted identically to her rather than to a larger group of people.
We can see that, like Justine Greening, he's only in favour of a confirmatory public vote and is not in favour of no deal.
He voted against all the other motions.
Let's see a graph of his votes compared to those of the Liberal Democrats:
image::{{<siteurl>}}/uploads/2019/09/lee-liberal-indicative.svg[]
Brexit wise he looks like a good fit for the party.
He only really differs because he voted on every motion and many of his colleagues didn't vote on half of them.
Of course to know if he's really a good fit for the party in general we'd need to compare his voting record across more issues than just the Brexit motions.
We can tweak our query slightly to run it over all MPs and see which of them voted more similarly to another party than their own:
[source, cypher]
----
MATCH (person:Person)-[vote]->(m:Motion {date: date({year: 2019, month: 3, day: 27})})
MATCH (person)-[memberOf:MEMBER_OF]->(actualParty)
WHERE memberOf.start <= m.date AND (not(exists(memberOf.end)) OR m.date <= memberOf.end)
MATCH (party:Party)-[ave:AVERAGE_VOTE]->(m) WHERE party.name <> "Speaker"
WITH person, actualParty, party,
collect(CASE WHEN type(vote) = "FOR" THEN 1
WHEN type(vote) = "DID_NOT_VOTE" THEN 0.5
ELSE 0 END) AS personVotes,
collect(ave.score) AS partyVotes
WITH person, actualParty, party,
algo.similarity.cosine(personVotes, partyVotes) AS similarity
ORDER BY similarity DESC, party = actualParty DESC
WITH person, actualParty, collect({party: party, score: similarity}) AS parties
WHERE actualParty <> parties[0].party
WITH person, actualParty, parties[0].party.name AS mostSimilarParty,
parties[0].score AS score
ORDER BY person.pageviews DESC
RETURN person.name AS person, actualParty.name AS actualParty, mostSimilarParty, score
LIMIT 20
----
If we run that query we'll see the results below:
.Results
[opts="header",cols="1,1,1,1"]
|===
| person | actualParty | mostSimilarParty | score
| "Theresa May" | "Conservative" | "Sinn Féin" | 1.0
| "Amber Rudd" | "Conservative" | "Sinn Féin" | 1.0
| "John Bercow" | "Speaker" | "Sinn Féin" | 1.0
| "Michael Gove" | "Conservative" | "Sinn Féin" | 1.0
| "Andrea Leadsom" | "Conservative" | "Sinn Féin" | 1.0
| "Sajid Javid" | "Conservative" | "Sinn Féin" | 1.0
| "Philip Hammond" | "Conservative" | "Sinn Féin" | 1.0
| "Anna Soubry" | "Independent" | "Green" | 1.0
| "Jim McMahon" | "Labour/Co-operative" | "Labour" | 0.9591990396603212
| "Jeremy Hunt" | "Conservative" | "Sinn Féin" | 1.0
| "Liam Fox" | "Conservative" | "Sinn Féin" | 1.0
| "Helen Hayes" | "Labour" | "Labour/Co-operative" | 0.9799919151000505
| "Kenneth Clarke" | "Conservative" | "Labour/Co-operative" | 0.9573767170592801
| "Justine Greening" | "Conservative" | "Liberal Democrat" | 0.9585976908510777
| "Chuka Umunna" | "Independent" | "Green" | 1.0
| "Dennis Skinner" | "Labour" | "Sinn Féin" | 0.6123724356957945
| "Vince Cable" | "Liberal Democrat" | "Independent" | 0.954606992329263
| "Angela Eagle" | "Labour" | "Labour/Co-operative" | 0.9835164835164835
| "Elizabeth Truss" | "Conservative" | "Sinn Féin" | 1.0
| "Harriet Harman" | "Labour" | "Labour/Co-operative" | 0.9834336020084081
|===
We can mostly ignore the first few names on here since they were all cabinet members who didn't vote on any of the motions.
In a future iteration of the Brexit Graph we might want to store information about members of the government so that we could exclude them from this type of analysis.
Labour/Co-operative and Labour tend to vote in similar ways to each other, so I don't think it's interesting to see a difference in the votes by Jim McMahon, Harriet Harman, or Angela Eagle.
Justine Greening and Ken Clarke show up again - Justine voting in a similar way to Liberal Democrats and Ken Clarke in a similar way to Labour.
Dennis Skinner is an interesting one.
He's a long serving Labour MP, so it's surprising to see that he didn't vote in line with his party.
We can write the following query to explore his votes:
[source, cypher]
----
MATCH (person:Person {name: "Dennis Skinner"})-[rep:REPRESENTS]->(const)
CALL apoc.create.vNode(["Constituency"], {
caption: const.name + " (Leave" + const.leave + ")"})
YIELD node AS constituency
CALL apoc.create.vRelationship(person, type(rep), {}, constituency) YIELD rel as representing
MATCH (person)-[vote]->(m:Motion {date: date({year: 2019, month: 3, day: 27})})
MATCH path2 = (party:Party {name: "Labour"})-[ave:AVERAGE_VOTE]->(m)
WITH person, representing, constituency,
CASE WHEN type(vote) = "FOR" THEN 1
WHEN type(vote) = "DID_NOT_VOTE" THEN 0.5
ELSE 0 END AS score,
m, path2
CALL apoc.create.vRelationship(person, toString(score), {}, m) YIELD rel
RETURN path2, rel, person, m, representing, constituency
----
image::{{<siteurl>}}/uploads/2019/09/skinner-labour-indicative.svg[]
He voted in favour of Jeremy Corbyn's alternative deal, but also in favour of the No Deal motion.
We can see why he voted in favour of the latter by looking at the constituency he represents.
Bolsover voted 70.4% in favour of leaving the EU, so he's in a tricky situation where he can't vote in favour of motions that would not respect the leave vote.
This post has gone on a lot longer than I intended, but hopefully the exploration was interesting.
If you have any ideas for further analysis that I should do, let me know in the comments. | In this post we look at how MPs voted in the Brexit indicative votes and find the party that they voted most in line with. | null | [
0.006182541139423847,
-0.03099496103823185,
0.04994688555598259,
0.01665746420621872,
0.03083866462111473,
0.01439706515520811,
0.021182473748922348,
-0.00039284423110075295,
-0.013547711074352264,
-0.009991751052439213,
-0.030229059979319572,
-0.019648537039756775,
-0.06151286140084267,
0.01683286763727665,
-0.002050996059551835,
0.07705242931842804,
0.04187927395105362,
0.012675594538450241,
0.004565044306218624,
-0.019980715587735176,
0.06694389879703522,
0.07351115345954895,
0.0063991788774728775,
0.025347569957375526,
0.027876118198037148,
-0.023512372747063637,
0.038600534200668335,
0.0005922256386838853,
-0.05029239133000374,
-0.04421113431453705,
0.03536725789308548,
-0.004728488624095917,
-0.0053408206440508366,
0.013589663431048393,
0.04152923449873924,
-0.01531960815191269,
-0.033549778163433075,
0.030800672248005867,
-0.009974086657166481,
0.003839259734377265,
-0.055339615792036057,
0.006808197591453791,
-0.00430016964673996,
0.027846846729516983,
-0.04342572018504143,
-0.017899272963404655,
-0.02316076122224331,
0.03603868559002876,
0.02173508144915104,
0.005156708415597677,
-0.03616933897137642,
0.06917464733123779,
-0.02465643361210823,
-0.006036319304257631,
-0.01809774525463581,
0.014974943362176418,
-0.015085027553141117,
-0.06649775803089142,
0.0029924020636826754,
-0.027114421129226685,
0.006183960009366274,
-0.023723965510725975,
-0.0019031978445127606,
0.007269313093274832,
0.028601394966244698,
-0.036484938114881516,
-0.0032325054053217173,
0.04263189062476158,
-0.06221143901348114,
0.008497782982885838,
-0.016197219491004944,
-0.001773916301317513,
-0.002127294894307852,
0.022717561572790146,
0.01958092674612999,
-0.03760097548365593,
0.022793933749198914,
0.07531984150409698,
0.031298767775297165,
0.00726445484906435,
0.01626483164727688,
-0.00754729937762022,
0.01842275820672512,
0.05290709435939789,
-0.004743815865367651,
-0.0284102912992239,
-0.011117520742118359,
-0.024707956239581108,
-0.029945993795990944,
0.06474149227142334,
-0.0014286335790529847,
-0.04054109752178192,
0.038766276091337204,
0.045075345784425735,
-0.02426813915371895,
-0.022969692945480347,
0.05634613335132599,
0.0020799916237592697,
-0.00462828716263175,
-0.06555341184139252,
-0.0015249529387801886,
-0.02329789288341999,
0.060119617730379105,
0.001537399017252028,
-0.07007594406604767,
-0.014402511529624462,
-0.043909817934036255,
-0.008090920746326447,
0.02085406519472599,
0.015262647531926632,
-0.0053482153452932835,
0.019018646329641342,
-0.0020577881950885057,
0.010714513249695301,
-0.0797901526093483,
0.05990875884890556,
0.005507135763764381,
-0.04303654655814171,
0.028901340439915657,
0.02613551914691925,
0.0529458224773407,
0.058841247111558914,
-0.029439091682434082,
0.09338903427124023,
0.028593380004167557,
0.02837388962507248,
0.004300513304769993,
0.04396301880478859,
-0.02214384824037552,
-0.05856175720691681,
0.013578292913734913,
0.08259283006191254,
-0.05098908767104149,
0.002842637477442622,
-0.015988510102033615,
-0.023472608998417854,
-0.003992389887571335,
-0.0067933169193565845,
0.05695483833551407,
0.079859659075737,
0.01759759895503521,
-0.03831769898533821,
0.0345202200114727,
0.03048398718237877,
-0.004978922661393881,
0.0019045950612053275,
-0.030186709016561508,
-0.03190372511744499,
-0.03729141131043434,
-0.0032927668653428555,
0.015233880840241909,
0.03798747807741165,
0.040047530084848404,
-0.048441678285598755,
-0.0010272642830386758,
0.08511748164892197,
0.04365035146474838,
0.002690183464437723,
-0.00346786598674953,
0.031243758276104927,
0.04698298126459122,
0.020482435822486877,
0.043177880346775055,
0.055659469217061996,
0.007668838370591402,
-0.023276207968592644,
0.004296727478504181,
0.05248858407139778,
-0.005673644598573446,
0.0037796541582792997,
-0.04153239727020264,
-0.07224477082490921,
0.07304579764604568,
-0.0364193432033062,
0.020504577085375786,
0.05782856047153473,
0.07921403646469116,
0.0452108308672905,
0.04831525683403015,
0.023640615865588188,
-0.09158064424991608,
0.038560640066862106,
-0.00547195365652442,
0.03667182847857475,
0.025199856609106064,
-0.006371120922267437,
0.06193987652659416,
0.026255885139107704,
0.0037581787910312414,
0.03657190874218941,
-0.06418541818857193,
-0.06874038279056549,
0.013283084146678448,
-0.03000391274690628,
0.03973541408777237,
-0.03570111468434334,
0.017541632056236267,
0.06706386804580688,
0.01932741515338421,
0.047560859471559525,
-0.026596682146191597,
-0.0029523258563131094,
0.046455275267362595,
-0.04369518905878067,
-0.04833786189556122,
0.04648895561695099,
0.022236734628677368,
0.013244221918284893,
-0.0005467144073918462,
0.028338482603430748,
-0.03862065076828003,
-0.004090281669050455,
0.007686818018555641,
-0.018594956025481224,
0.013694277964532375,
-0.002981574973091483,
0.05216200649738312,
-0.04477006569504738,
0.0390285849571228,
-0.013398811221122742,
0.012219405733048916,
0.036088794469833374,
-0.014342978596687317,
5.597816539193445e-7,
0.01025916263461113,
0.09917518496513367,
0.06113256514072418,
-0.016415400430560112,
-0.037293095141649246,
0.00168208172544837,
0.019662028178572655,
-0.02375023625791073,
-0.003918150439858437,
-0.021015383303165436,
-0.012784435413777828,
-0.01001744158565998,
-0.07230391353368759,
-0.026713714003562927,
0.024567073211073875,
-0.07027489691972733,
0.014640482142567635,
0.049703486263751984,
0.03396197035908699,
0.0602213479578495,
-0.048206403851509094,
0.01031491905450821,
-0.006711093708872795,
-0.012658517807722092,
-0.027754100039601326,
-0.0018550425302237272,
-0.002648580353707075,
-0.02148069627583027,
0.0011827758280560374,
-0.02293444238603115,
0.00263594021089375,
-0.02010173164308071,
-0.012675866484642029,
0.023670408874750137,
0.03834971413016319,
0.06666155904531479,
-0.016450850293040276,
0.0416567400097847,
-0.001161388703621924,
0.025417059659957886,
-0.024463575333356857,
-0.03682274743914604,
-0.08619317412376404,
-0.04236303269863129,
-0.012733781710267067,
0.003402529051527381,
0.04491834342479706,
-0.011613485403358936,
0.02811707742512226,
-0.021476851776242256,
0.008311117999255657,
0.006128732115030289,
0.026308925822377205,
0.010066435672342777,
-0.017767593264579773,
-0.03151445835828781,
-0.03393493592739105,
0.06510700285434723,
-0.04357424005866051,
-0.007068173494189978,
0.04020499065518379,
-0.059871602803468704,
0.05000028759241104,
-0.0524277538061142,
-0.01719118468463421,
0.048223234713077545,
0.05229588598012924,
0.007288014516234398,
0.025574473664164543,
-0.0023850291036069393,
0.04820648208260536,
0.008987005800008774,
0.025057973340153694,
0.022678885608911514,
0.005287210922688246,
0.06112101674079895,
-0.005837467964738607,
0.04095945134758949,
0.03449908643960953,
-0.03173566237092018,
0.034434325993061066,
-0.07698602229356766,
0.01550968922674656,
-0.0075904191471636295,
-0.2687651216983795,
0.021179892122745514,
-0.003193281590938568,
-0.022395789623260498,
0.027031393721699715,
-0.030794326215982437,
0.02158309519290924,
-0.04881473258137703,
-0.042727358639240265,
0.014794405549764633,
-0.005183685105293989,
-0.04756270349025726,
-0.023463519290089607,
0.03867034614086151,
0.03929733484983444,
-0.002540779998525977,
-0.008026812225580215,
-0.055105943232774734,
0.032194096595048904,
0.05890078842639923,
-0.0007731801015324891,
-0.06844226270914078,
-0.009359334595501423,
0.03070186823606491,
0.025784743949770927,
0.04133257642388344,
-0.056907426565885544,
-0.014390871860086918,
-0.04588942602276802,
0.0002432172477710992,
-0.007679507602006197,
0.013448214158415794,
0.007955599576234818,
-0.007769507355988026,
0.007511917036026716,
-0.03589780628681183,
0.017463063821196556,
-0.0067221433855593204,
-0.02307121455669403,
0.02880602329969406,
-0.03205098584294319,
-0.010457265190780163,
0.011469405144453049,
0.01690904051065445,
0.057527054101228714,
0.014815526083111763,
-0.053842633962631226,
-0.004089612979441881,
-0.041559625416994095,
0.0767771378159523,
-0.030260441824793816,
0.007262235041707754,
0.001736333011649549,
0.030329730361700058,
-0.058119043707847595,
0.032701920717954636,
-0.03815721347928047,
-0.018200676888227463,
-0.06280195713043213,
-0.03899560496211052,
-0.05091586709022522,
-0.030228067189455032,
-0.004092704970389605,
-0.03426382690668106,
-0.04511941224336624,
-0.03728087991476059,
-0.058266185224056244,
-0.01647258549928665,
0.07823425531387329,
-0.0006365966983139515,
-0.02432369440793991,
-0.03428921103477478,
-0.025743883103132248,
-0.07659777998924255,
0.015726638957858086,
-0.021942300722002983,
-0.016458839178085327,
0.03842705115675926,
0.019091719761490822,
0.03302682191133499,
-0.030202949419617653,
-0.06208881363272667,
0.04227222502231598,
0.012487570755183697,
0.015041783452033997,
-0.021731967106461525,
0.025085752829909325,
0.02797063998878002,
-0.03770538792014122,
-0.010487432591617107,
0.034032974392175674,
-0.020979855209589005,
-0.016755685210227966,
-0.003658435307443142,
-0.011466071009635925,
0.010922971181571484,
-0.023581750690937042,
0.005573482718318701,
0.009076069109141827,
0.041674476116895676,
-0.006920236628502607,
-0.057503584772348404,
0.005638054572045803,
-0.040130797773599625,
-0.03092772141098976,
-0.015096189454197884,
-0.04832988604903221,
0.0372946560382843,
0.033709269016981125,
0.00196511740796268,
0.010066785849630833,
-0.039707355201244354,
0.02653074450790882,
-0.03885652497410774,
-0.025974338874220848,
-0.029186435043811798,
0.007405286654829979,
0.014017865993082523,
0.008222270756959915,
-0.00007820495375199243,
-0.058332402259111404,
0.0173510555177927,
-0.0484929084777832,
-0.01032793428748846,
-0.09296654909849167,
-0.0017869343282654881,
-0.009567353874444962,
-0.005301320925354958,
0.030076107010245323,
0.01329025812447071,
0.007691080681979656,
0.016132162883877754,
0.021305227652192116,
-0.04735797643661499,
0.04835387319326401,
-0.020737875252962112,
-0.03705533593893051,
-0.033427149057388306,
0.0049313935451209545,
-0.018251750618219376,
-0.004376837518066168,
-0.018356241285800934,
0.01795407570898533,
0.021678365767002106,
0.02089574746787548,
-0.006759887561202049,
0.02372843213379383,
0.028433334082365036,
-0.00021598394960165024,
0.042843516916036606,
0.01890202797949314,
-0.014372476376593113,
0.03194708004593849,
-0.034411825239658356,
0.010918653570115566,
-0.009586718864738941,
0.027322951704263687,
-0.00820776168256998,
-0.008596938103437424,
-0.04554607719182968,
-0.013112377375364304,
-0.01609555445611477,
-0.05239515006542206,
-0.04279434308409691,
0.03700932115316391,
0.057758182287216187,
-0.03110574372112751,
0.030268443748354912,
0.01206712145358324,
0.0010151928290724754,
0.018959933891892433,
0.0265905000269413,
-0.03359289839863777,
0.02734541706740856,
-0.008985881693661213,
-0.017421985045075417,
-0.012084889225661755,
0.044309526681900024,
0.027517253533005714,
0.011080337688326836,
-0.008310526609420776,
0.0004836508887819946,
0.011730184778571129,
0.003703772323206067,
0.04542068764567375,
0.0573514960706234,
-0.023888546973466873,
-0.03181152790784836,
-0.01267154049128294,
-0.04087267816066742,
-0.018405325710773468,
0.005260107573121786,
-0.014104615896940231,
0.0014525502920150757,
-0.05773560702800751,
-0.034536831080913544,
0.0030287951231002808,
-0.015010387636721134,
-0.021408218890428543,
0.015978101640939713,
-0.00039985962212085724,
-0.011196975596249104,
-0.03502640500664711,
0.021854529157280922,
0.03852931782603264,
-0.06474083662033081,
0.004543778952211142,
0.024246172979474068,
-0.00620986009016633,
-0.0010157041251659393,
-0.006116050761193037,
-0.048907238990068436,
-0.023247478529810905,
-0.02239016629755497,
-0.0010985109256580472,
-0.057189151644706726,
-0.01498708501458168,
-0.041004590690135956,
0.0011236353311687708,
0.005729436408728361,
-0.021176312118768692,
-0.017850961536169052,
-0.023174133151769638,
0.00043533011921681464,
-0.0013519750209525228,
0.0007126309792511165,
-0.013567483983933926,
-0.004490972496569157,
0.035863298922777176,
-0.04061761870980263,
-0.03391839563846588,
-0.019778447225689888,
0.0025801053270697594,
0.04132135584950447,
-0.02181389182806015,
0.02674262784421444,
-0.056933507323265076,
-0.01543512288480997,
-0.023010453209280968,
0.05031118914484978,
-0.0061772605404257774,
-0.0076565989293158054,
-0.028473494574427605,
-0.03410767763853073,
-0.047992680221796036,
0.014413213357329369,
0.0321267731487751,
-0.009450812824070454,
0.005073224660009146,
0.03161834925413132,
0.014537804760038853,
0.028120994567871094,
-0.0395178347826004,
-0.016603227704763412,
0.07243791967630386,
-0.05390837788581848,
-0.01064034178853035,
0.001943076029419899,
-0.039607904851436615,
0.017286961898207664,
-0.03145855292677879,
0.00028250220930203795,
-0.01115131564438343,
0.024608764797449112,
0.021222323179244995,
0.022466890513896942,
0.062018584460020065,
0.009215637110173702,
0.0026366068050265312,
-0.052321456372737885,
-0.011227152310311794,
-0.06489316374063492,
-0.010934561491012573,
0.017672376707196236,
0.025171497836709023,
0.0010194035712629557,
0.026266131550073624,
-0.039370812475681305,
0.030242107808589935,
-0.09302758425474167,
-0.010953037068247795,
0.024918630719184875,
-0.01878252811729908,
0.008890318684279919,
0.045226212590932846,
-0.0598914660513401,
0.03457252308726311,
0.018048742786049843,
-0.028682928532361984,
-0.04539569094777107,
0.012418652884662151,
0.06567201018333435,
-0.010914575308561325,
0.03147774934768677,
-0.04096464812755585,
0.00785315502434969,
0.05987837165594101,
0.04337561875581741,
0.03661632910370827,
0.03852040320634842,
-0.06355813890695572,
0.039608243852853775,
-0.0029266448691487312,
0.013934694230556488,
-0.049884404987096786,
0.019572747871279716,
-0.00019758986309170723,
-0.07443825900554657,
0.04209601879119873,
0.012766556814312935,
-0.0018946020863950253,
-0.06197288632392883,
0.059653665870428085,
-0.008644246496260166,
-0.028076808899641037,
-0.05127234384417534,
0.042600736021995544,
-0.0490742065012455,
0.0015930203953757882,
-0.02411632426083088,
0.008242523297667503,
-0.037576064467430115,
0.04834023490548134,
0.00406548660248518,
0.027589593082666397,
0.07582428306341171,
-0.007436161860823631,
0.026944179087877274,
0.028885532170534134,
0.10332813113927841,
0.07512826472520828,
0.0751982107758522,
-0.011790741235017776,
0.06871476024389267,
-0.04289165884256363,
-0.056449443101882935,
0.002515354659408331,
-0.02557322569191456,
0.006378874648362398,
0.015122324228286743,
0.0070023126900196075,
0.07291534543037415,
-0.06137945130467415,
0.06323907524347305,
0.004480599891394377,
-0.025657376274466515,
-0.00020743451023008674,
-0.02265007607638836,
0.010288591496646404,
0.0809900164604187,
-0.00424243975430727,
0.010371159762144089,
-0.019788222387433052,
-0.03511401638388634,
0.044816091656684875,
-0.001562206307426095,
-0.029781218618154526,
0.022586842998862267,
-0.04128643497824669,
-0.002601293846964836,
0.013012241572141647,
0.023793233558535576,
0.08897595852613449,
-0.014176551252603531,
-0.01863206923007965,
-0.014893933199346066,
0.032489001750946045,
0.025956666097044945,
0.01772020384669304,
-0.0038231881335377693,
0.013289079070091248,
-0.03151777759194374,
-0.03476756811141968,
-0.025887930765748024,
-0.038167037069797516,
-0.06284648925065994,
0.011353480629622936,
-0.04014423117041588,
-0.005140308756381273,
0.012557289563119411,
-0.033865541219711304,
-0.020156672224402428,
-0.034709349274635315,
-0.04360521584749222,
-0.04607310891151428,
-0.05612952262163162,
-0.030119486153125763,
0.029885603114962578,
-0.022797442972660065,
-0.02050042152404785,
-0.04153860732913017,
-0.02508806809782982,
-0.03730183467268944,
0.011217664927244186,
-0.05839214846491814,
-0.036335352808237076,
0.03485000133514404,
0.010630215518176556,
0.012359864078462124,
-0.0036057415418326855,
0.058683693408966064,
0.015545793808996677,
-0.03446425497531891,
-0.020098550245165825,
0.028328441083431244,
0.03716563805937767,
-0.008279525674879551,
0.005436630453914404,
-0.09172176569700241,
0.011984632350504398,
0.01632218435406685,
-0.015788588672876358,
-0.07733693718910217,
0.030977405607700348,
-0.0030354547780007124,
0.004261984024196863,
0.07350488752126694,
-0.028578942641615868,
0.0034056343138217926,
-0.04272501543164253,
0.01037209015339613,
-0.005346514750272036,
0.007610497530549765,
0.030441882088780403,
-0.026399774476885796,
0.0889817327260971,
0.042260151356458664,
-0.01155383512377739,
-0.03854357451200485,
0.0053120930679142475,
-0.02196335233747959,
0.020518306642770767,
-0.03139377012848854,
-0.026879863813519478,
-0.028535867109894753,
-0.07740222662687302,
-0.02571714110672474,
0.0376734733581543,
-0.03913555666804314,
-0.027377033606171608,
0.012795673683285713,
-0.006715558469295502,
-0.01592455804347992,
-0.0011258061276748776,
-0.026441743597388268,
-0.01060655526816845,
-0.017697585746645927,
-0.008564908988773823,
-0.021287983283400536,
0.03179830685257912,
0.0003463869506958872,
0.02433795854449272,
0.030777689069509506,
-0.049672532826662064,
0.013393143191933632,
-0.03153637424111366,
0.003954499028623104,
0.043944355100393295,
-0.013826216571033001,
0.005396753549575806
] | [
-0.09436199814081192,
-0.04281361401081085,
-0.058519940823316574,
-0.03942655399441719,
0.04851052537560463,
-0.008132354356348515,
-0.009652093052864075,
0.0112173892557621,
0.012450075708329678,
0.022453956305980682,
0.015122748911380768,
-0.03487623110413551,
-0.0138026662170887,
-0.028744854032993317,
0.038278382271528244,
-0.007506982889026403,
-0.00442034425213933,
-0.06508146226406097,
-0.031341180205345154,
0.06320255249738693,
-0.03254520148038864,
-0.03947223350405693,
-0.036931030452251434,
-0.011527842842042446,
0.03436502069234848,
0.003944867756217718,
0.08239461481571198,
-0.023504776880145073,
-0.043450918048620224,
-0.20774786174297333,
0.055445197969675064,
-0.041985224932432175,
-0.016025889664888382,
-0.033776212483644485,
0.051304951310157776,
-0.004855237435549498,
0.05752880126237869,
0.018344197422266006,
0.0046122120693326,
0.007372659631073475,
0.014904120936989784,
0.007398456800729036,
-0.031166452914476395,
-0.01853947341442108,
0.06501489877700806,
0.036254215985536575,
-0.036836862564086914,
0.010475564748048782,
-0.05579562485218048,
0.020182831212878227,
-0.02353201061487198,
0.004776831716299057,
0.001205439679324627,
-0.05449569225311279,
0.019185926765203476,
0.03702443465590477,
0.029129525646567345,
0.0513378381729126,
0.039173830300569534,
-0.0021224559750407934,
0.023441530764102936,
0.044821761548519135,
-0.15979045629501343,
0.08254536986351013,
0.04549958184361458,
0.05725787207484245,
-0.01894572749733925,
-0.015644999220967293,
-0.049656666815280914,
0.06872399896383286,
-0.004859240259975195,
-0.00994924921542406,
-0.006454227026551962,
0.007975384593009949,
-0.007944939658045769,
-0.01783708669245243,
0.01439303532242775,
0.025469914078712463,
0.0036029599141329527,
-0.03649018704891205,
-0.023850949481129646,
0.06247431039810181,
-0.02316289395093918,
-0.03022627718746662,
0.030354510992765427,
-0.016457734629511833,
-0.021519385278224945,
0.04401180148124695,
-0.014410832896828651,
0.005625831428915262,
0.03834010288119316,
0.013876086100935936,
0.01604805700480938,
0.016825933009386063,
-0.07975603640079498,
-0.013281872496008873,
0.01678490824997425,
0.03154391422867775,
-0.020995423197746277,
0.44308364391326904,
-0.048878755420446396,
0.012540039606392384,
0.06017538532614708,
0.037911225110292435,
0.01297315675765276,
-0.0113501762971282,
-0.01593548245728016,
-0.03560052812099457,
0.02409445121884346,
-0.011264708824455738,
0.030216509476304054,
-0.05295031890273094,
0.07855233550071716,
-0.06603353470563889,
0.00528257992118597,
-0.024481456726789474,
0.04237392544746399,
0.005466454196721315,
0.004752918146550655,
0.014515585266053677,
-0.010261383838951588,
0.026456981897354126,
0.012241954915225506,
-0.036052022129297256,
0.03849524259567261,
0.03519235923886299,
0.0582759715616703,
0.048387106508016586,
0.01874466985464096,
-0.016987858340144157,
-0.008288323879241943,
-0.060118649154901505,
-0.06943561136722565,
0.017694596201181412,
-0.030994437634944916,
-0.010963412933051586,
0.013572915457189083,
-0.007159253116697073,
-0.022216273471713066,
0.01582450047135353,
-0.013645109720528126,
-0.09202395379543304,
-0.0012599448673427105,
-0.0030205384828150272,
-0.04473927989602089,
0.13259248435497284,
-0.010858448222279549,
-0.03554415702819824,
-0.018818741664290428,
0.037808071821928024,
-0.029026009142398834,
0.05210939422249794,
-0.007158227264881134,
-0.0961732268333435,
0.015990471467375755,
0.05653394013643265,
0.041411057114601135,
-0.00531563488766551,
-0.07277023792266846,
-0.016694597899913788,
0.025274818763136864,
-0.05723058059811592,
-0.05382731184363365,
0.0471482016146183,
0.051932208240032196,
-0.13253670930862427,
-0.015929842367768288,
-0.005003798753023148,
0.01510754693299532,
-0.0650576576590538,
0.01790376752614975,
0.03977474570274353,
-0.026858652010560036,
-0.050353460013866425,
0.0888526663184166,
-0.021086448803544044,
0.025825416669249535,
-0.0031321034766733646,
0.053458280861377716,
-0.0268295556306839,
0.00936794187873602,
0.005253349430859089,
-0.054950617253780365,
0.01113872416317463,
-0.05448741838335991,
-0.009942437522113323,
-0.08962586522102356,
-0.031952276825904846,
-0.020183753222227097,
-0.013998070731759071,
-0.019234230741858482,
-0.006116611883044243,
-0.08505278825759888,
0.07613927125930786,
-0.03321157395839691,
-0.04697943106293678,
-0.02429172210395336,
-0.008835540153086185,
-0.005446205381304026,
0.005370356608182192,
-0.02095051109790802,
-0.01127759087830782,
-0.08129274100065231,
0.05540675297379494,
-0.04576772451400757,
0.0464572049677372,
0.054761115461587906,
-0.025509925559163094,
0.1121988296508789,
0.03620430827140808,
0.004610291216522455,
-0.014170018024742603,
0.022389408200979233,
-0.012676815502345562,
0.010947583243250847,
-0.03209379315376282,
0.008538789115846157,
-0.014805486425757408,
0.0076347701251506805,
0.02702992968261242,
0.0014767608372494578,
-0.018193431198596954,
0.006025007925927639,
-0.33408689498901367,
-0.06722068041563034,
-0.028712201863527298,
0.00928631890565157,
0.04440014064311981,
-0.07215221226215363,
0.03218289092183113,
-0.01930798590183258,
-0.047368548810482025,
0.08605577796697617,
0.024165000766515732,
-0.0016375364502891898,
-0.004099986050277948,
-0.017716223374009132,
0.02262302301824093,
0.01079220324754715,
-0.04049288481473923,
0.0020252561662346125,
-0.018811790272593498,
0.07152432948350906,
-0.01681329868733883,
-0.00007348017243202776,
-0.05107095465064049,
-0.010437517426908016,
0.021784167736768723,
-0.040362197905778885,
0.1216033324599266,
0.022745270282030106,
0.04220407456159592,
-0.016947437077760696,
0.0028066341765224934,
0.040814608335494995,
0.005026059690862894,
-0.0774473249912262,
0.020256642252206802,
0.04544118046760559,
-0.023213796317577362,
-0.034089576452970505,
-0.01456512976437807,
-0.04543270170688629,
-0.04113345965743065,
0.005384378135204315,
-0.05135564133524895,
-0.012255732901394367,
-0.06252723932266235,
0.015272008255124092,
0.010709007270634174,
-0.0052312384359538555,
-0.0380881242454052,
0.07787260413169861,
0.016819573938846588,
-0.020537517964839935,
0.049299295991659164,
0.016049914062023163,
0.024748029187321663,
-0.010285452008247375,
-0.05879663676023483,
-0.008416063152253628,
-0.01550543773919344,
0.024823348969221115,
0.005660417955368757,
0.05285527557134628,
0.018554845824837685,
-0.05524985492229462,
-0.024735702201724052,
0.03183316811919212,
-0.01197019312530756,
-0.017184678465127945,
-0.0143291549757123,
0.026299823075532913,
-0.014905482530593872,
0.05951838195323944,
-0.04103986546397209,
-0.03537086769938469,
0.02568659372627735,
0.05993973836302757,
-0.00005714796861866489,
0.09449966996908188,
0.03183784335851669,
-0.010293547064065933,
0.07644134759902954,
-0.0038325178902596235,
0.047066736966371536,
-0.033363793045282364,
-0.019932573661208153,
0.013382992707192898,
-0.016124391928315163,
0.0026428985875099897,
0.07275242358446121,
0.016248418018221855,
-0.007726279553025961,
0.019238512963056564,
-0.035995274782180786,
0.004559109918773174,
0.005147629417479038,
-0.015810199081897736,
-0.21896208822727203,
0.031716108322143555,
0.03313450887799263,
0.053778860718011856,
0.013908447697758675,
-0.0005950787453912199,
0.017650967463850975,
-0.043110836297273636,
-0.027043744921684265,
0.009084083139896393,
0.003581905970349908,
0.07966065406799316,
-0.001129400567151606,
-0.017910122871398926,
-0.01166116539388895,
-0.02145131677389145,
0.024878455325961113,
0.007283083163201809,
0.012985814362764359,
0.018143784254789352,
0.02305147983133793,
-0.03616379201412201,
0.12587124109268188,
0.01277231052517891,
0.015010417439043522,
-0.005399271380156279,
0.016187964007258415,
-0.0017353297444060445,
0.035226237028837204,
-0.014334531500935555,
-0.011623072437942028,
0.0007559162331745028,
-0.003868062049150467,
-0.030046654865145683,
0.018839187920093536,
-0.06091030687093735,
-0.02462194673717022,
0.02226938307285309,
0.029687970876693726,
-0.017241014167666435,
0.05620253458619118,
-0.0162615105509758,
0.019276341423392296,
0.008000190369784832,
0.03864040970802307,
0.020273583009839058,
0.002912453142926097,
-0.010516033507883549,
-0.008075359277427197,
0.021769331768155098,
-0.007414331194013357,
-0.030076751485466957,
-0.027106409892439842,
0.035142093896865845,
0.026413235813379288,
0.0841808170080185,
0.009352711960673332,
-0.006567248143255711,
0.05322805047035217,
0.014817443676292896,
-0.051254283636808395,
-0.03252994269132614,
0.10801950842142105,
0.002673247829079628,
0.0436677522957325
] | [
0.010896792635321617,
0.021695761010050774,
0.012291453778743744,
0.03151235356926918,
0.01760176010429859,
0.03254944831132889,
-0.0316779688000679,
-0.011969266459345818,
-0.020020129159092903,
0.011269005946815014,
-0.0039511495269834995,
0.010433155111968517,
0.03637439385056496,
-0.027645206078886986,
0.027819843962788582,
0.024534102529287338,
-0.0042271120473742485,
-0.02402876876294613,
0.03156450390815735,
0.020942874252796173,
-0.06018982082605362,
0.00264063011854887,
0.024113716557621956,
0.030424155294895172,
0.012540668249130249,
0.025710787624120712,
-0.021402547135949135,
0.03393281251192093,
0.031192494556307793,
-0.12620340287685394,
0.0182331632822752,
-0.02750014327466488,
-0.018692104145884514,
0.017287055030465126,
0.006876603700220585,
-0.028238782659173012,
-0.0020546980667859316,
-0.03721746802330017,
-0.0018817754462361336,
0.004387189634144306,
0.025770176202058792,
-0.00868945848196745,
-0.010668039321899414,
-0.014504621736705303,
0.020912185311317444,
0.04125269129872322,
-0.018110021948814392,
-0.006819454487413168,
-0.011504758149385452,
0.025139369070529938,
-0.02674264833331108,
-0.005264061503112316,
-0.00739708449691534,
-0.00978999026119709,
0.03333660960197449,
-0.038273196667432785,
-0.022760337218642235,
0.022500906139612198,
0.0261522326618433,
-0.04768209531903267,
0.01413654163479805,
0.017899634316563606,
-0.03883100301027298,
-0.02304573357105255,
-0.022175759077072144,
-0.005011538974940777,
-0.0017302895430475473,
0.004810818936675787,
0.017292886972427368,
0.01261263806372881,
-0.02856234461069107,
0.02830047532916069,
-0.02239442989230156,
-0.04446035996079445,
-0.01924874819815159,
-0.012085651978850365,
0.020344136282801628,
0.020636217668652534,
0.0024870336055755615,
-0.004658615682274103,
-0.006489994935691357,
0.00864127092063427,
-0.008330128155648708,
-0.006083495914936066,
0.016579944640398026,
-0.052959997206926346,
0.004546448588371277,
-0.004665298853069544,
0.040841471403837204,
0.01040324941277504,
-0.06453695893287659,
0.048310209065675735,
0.0072425059042871,
0.025593115016818047,
-0.0632902979850769,
0.02371794730424881,
0.025445988401770592,
-0.0013209226308390498,
0.025765271857380867,
0.8424290418624878,
-0.014551600441336632,
0.0032122903503477573,
-0.016057169064879417,
0.0106977429240942,
0.010286048986017704,
-0.009280276484787464,
-0.019832104444503784,
-0.006418267730623484,
0.015449769794940948,
-0.03706798702478409,
0.013444198295474052,
0.009100914001464844,
0.028840351849794388,
0.04540399834513664,
0.01998971961438656,
0.0036048656329512596,
0.01822342909872532,
-0.015316560864448547,
0.010741573758423328,
0.012371063232421875,
0.02961312234401703,
-0.005147622898221016,
0.004335081670433283,
-0.007822821848094463,
0.026797400787472725,
-0.1506929099559784,
-0.005866625811904669,
-7.60952080306183e-33,
0.022983331233263016,
-0.04765789583325386,
0.03794843703508377,
-0.01766108348965645,
-0.0074363332241773605,
0.038465533405542374,
-0.03335366025567055,
-0.031100213527679443,
-0.004196277819573879,
-0.03336554393172264,
0.01660224236547947,
-0.011427502147853374,
0.025032956153154373,
0.006924568209797144,
0.044358622282743454,
-0.014552239328622818,
0.011092299595475197,
0.04107469320297241,
-0.014232011511921883,
-0.011407917365431786,
0.008312678895890713,
0.01538949552923441,
0.00662413751706481,
0.0034588768612593412,
0.0042392960749566555,
0.052395135164260864,
0.029846016317605972,
0.01447213813662529,
0.006215391214936972,
-0.0525517463684082,
-0.019327543675899506,
0.01795421727001667,
-0.02084347978234291,
0.017381902784109116,
-0.00802471674978733,
-0.03621521219611168,
-0.03958769515156746,
-0.03806780278682709,
-0.029808780178427696,
-0.04197246953845024,
-0.013355150818824768,
-0.0022289426997303963,
-0.04457360506057739,
-0.05910639092326164,
-0.04882295802235603,
-0.007479076273739338,
0.011805441230535507,
-0.024504413828253746,
0.012832959182560444,
-0.014426623471081257,
0.00590779073536396,
0.0018499799771234393,
0.008627575822174549,
0.00460158521309495,
-0.007480400614440441,
0.014018669724464417,
-0.009148147888481617,
0.029031122103333473,
-0.023181742057204247,
-0.03977755084633827,
0.020261023193597794,
-0.016053039580583572,
0.012159433215856552,
-0.005039385054260492,
0.003814132884144783,
0.005499150604009628,
-0.027333632111549377,
0.021718068048357964,
0.032363343983888626,
0.003369678510352969,
-0.035209521651268005,
0.03362123668193817,
-0.015520506538450718,
-0.027750279754400253,
0.009116594679653645,
-0.004483498632907867,
-0.009742419235408306,
-0.03308488056063652,
-0.011269439943134785,
0.05852435156702995,
-0.00881069153547287,
-0.059817880392074585,
-0.0007271951180882752,
-0.009837468154728413,
0.011882631108164787,
-0.035717058926820755,
0.04151645675301552,
0.024357646703720093,
-0.006306295283138752,
-0.0053610485047101974,
0.018953286111354828,
-0.001545645180158317,
-0.02465634047985077,
0.008433802984654903,
-0.011731931008398533,
7.011757681097711e-33,
-0.03441960737109184,
0.02546411007642746,
-0.025473957881331444,
0.016673695296049118,
0.018647966906428337,
0.0013729475904256105,
0.025600120425224304,
0.005575042683631182,
-0.020994795486330986,
0.04956807941198349,
-0.0005762074142694473,
-0.03284705802798271,
-0.016638489440083504,
0.010002284310758114,
0.0766344964504242,
-0.03416534140706062,
0.013433209620416164,
-0.01855611801147461,
0.03257916867733002,
-0.007940779440104961,
0.0029321189504116774,
0.009221892803907394,
0.012162352912127972,
0.03984227031469345,
0.019627895206212997,
0.028294045478105545,
-0.00023282210167963058,
-0.04248460382223129,
-0.006276904605329037,
-0.02142595499753952,
0.003309229388833046,
-0.05082451179623604,
0.0028971596620976925,
-0.019493818283081055,
0.03775980323553085,
0.02095402218401432,
-0.025517592206597328,
-0.010158544406294823,
0.011725063435733318,
0.01292326208204031,
-0.008871217258274555,
-0.00786497537046671,
0.0028751131612807512,
0.016518594697117805,
0.0033100969158113003,
0.0005328364786691964,
-0.027853699401021004,
-0.002600434934720397,
0.008838032372295856,
0.06113256514072418,
-0.00014791209832765162,
0.040014252066612244,
0.009985198266804218,
0.016450956463813782,
-0.0020021828822791576,
-0.036453887820243835,
-0.012291300110518932,
0.013750428333878517,
-0.009888069704174995,
0.008822346106171608,
-0.03572855889797211,
0.011360423639416695,
-0.019544359296560287,
-0.013302208855748177,
-0.015822293236851692,
-0.013922404497861862,
-0.08902756869792938,
-0.03815680369734764,
0.022741731256246567,
0.031520672142505646,
-0.009231840260326862,
0.014333830215036869,
-0.010854612104594707,
0.02262049727141857,
0.035083040595054626,
-0.02681718021631241,
0.0026031313464045525,
0.04972361773252487,
0.019731223583221436,
-0.0008651256212033331,
0.021532168611884117,
-0.006580177694559097,
0.0439373143017292,
-0.023544691503047943,
-0.013933781534433365,
0.005486491601914167,
-0.03381500020623207,
0.028197554871439934,
0.020727107301354408,
0.0016012144042178988,
0.04541030898690224,
-0.05265021696686745,
-0.004550821613520384,
0.01297230739146471,
-0.015925826504826546,
-1.305234409443301e-8,
-0.0615360327064991,
-0.018977712839841843,
-0.024779386818408966,
0.001952553167939186,
-0.003959289751946926,
-0.000006556926564371679,
0.003417026484385133,
0.0061761983670294285,
-0.03905261680483818,
0.013832567259669304,
0.10681624710559845,
-0.0411895290017128,
-0.006379216909408569,
-0.0038040338549762964,
0.012393205426633358,
-0.042138975113630295,
-0.015301637351512909,
-0.002069684909656644,
0.029199428856372833,
0.018047289922833443,
-0.0028572999872267246,
0.004159372299909592,
-0.04012129455804825,
0.025072021409869194,
0.008839246816933155,
-0.009393280372023582,
0.022192098200321198,
-0.07827162742614746,
-0.02288263663649559,
-0.013118118047714233,
-0.001238889992237091,
-0.02316483110189438,
-0.014412906020879745,
0.01063917763531208,
-0.06435024738311768,
-0.018105190247297287,
0.011254904791712761,
0.019098931923508644,
0.02247079834342003,
0.028631212189793587,
0.00430725421756506,
-0.00144963467027992,
-0.008590570650994778,
-0.037302397191524506,
-0.026102136820554733,
0.03007533773779869,
0.003914745058864355,
0.002541853114962578,
0.015484338626265526,
-0.04751423001289368,
0.009192018769681454,
-0.01202517468482256,
-0.0135637316852808,
0.044007543474435806,
0.02602546475827694,
0.006579485721886158,
0.021037854254245758,
-0.015133338049054146,
0.007504201494157314,
-0.007865109480917454,
0.010925063863396645,
0.026510391384363174,
-0.01956472359597683,
-0.01855793036520481
] | graphing-brexit-mps-vs-parties | https://markhneedham.com/blog/2019/09/23/graphing-brexit-mps-vs-parties |
false | 2019-08-23 00:47:00 | Neo4j: Cypher - Nested Path Comprehensions vs OPTIONAL MATCH | [
"neo4j",
"cypher",
"apoc"
] | [
"Neo4j"
] | While writing my previous post about https://markhneedham.com/blog/2019/08/22/neo4j-cypher-nested-pattern-comprehensions/[Cypher nested path comprehensions^], I realised that for this particular problem, the https://neo4j.com/docs/cypher-manual/current/clauses/optional-match/[OPTIONAL MATCH^] clause is a better choice.
To recap, we have the following graph:
[source,cypher]
----
MERGE (club:Club {name: "Man Utd"})
MERGE (league:League {name: "Premier League"})
MERGE (country:Country {name: "England"})
MERGE (club)-[:IN_LEAGUE]->(league)
MERGE (league)-[:IN_COUNTRY]->(country)
MERGE (club2:Club {name: "Juventus"})
MERGE (league2:League {name: "Serie A"})
MERGE (club2)-[:IN_LEAGUE]->(league2)
----
[.graph-model]
image::{{<siteurl>}}/uploads/2019/08/nested-projection.svg[]
We started the post with the following query that returns `(club)-[:IN_LEAGUE]->(league)-[:IN_COUNTRY]->(country)` paths:
[source,cypher]
----
MATCH (club:Club)
RETURN club.name, [path = (club)-[:IN_LEAGUE]->(league)-[:IN_COUNTRY]->(country) | {path: path}] AS path
----
.Results
[opts="header",cols="1,2"]
|===
| club.name | path
| Man Utd | [{path: (:Club {name: "Man Utd"})-[:IN_LEAGUE]->(:League {name: "Premier League"})-[:IN_COUNTRY]->(:Country {name: "England"})}]
| Juventus | []
|===
The equivalent query using the `OPTIONAL MATCH` clause looks like this:
[source,cypher]
----
MATCH (club:Club)
OPTIONAL MATCH path = (club)-[:IN_LEAGUE]->(league)-[:IN_COUNTRY]->(country)
RETURN club.name, path
----
If we run that query we get the following result:
.Results
[opts="header",cols="1,2"]
|===
| club.name | path
| Man Utd | (:Club {name: "Man Utd"})-[:IN_LEAGUE]->(:League {name: "Premier League"})-[:IN_COUNTRY]->(:Country {name: "England"})
| Juventus | NULL
|===
We concluded the post with the following query that returns as much of the `(club)-[:IN_LEAGUE]->(league)-[:IN_COUNTRY]->(country)` as exists:
[source,cypher]
----
MATCH (club:Club)
WITH club,
[path1 = (club)-[:IN_LEAGUE]->(league) |
{path1: path1,
path2: [path2 = (league)-[:IN_COUNTRY]->(country) | path2]}] AS path
RETURN club.name,
[item in path | {path: apoc.path.combine(item.path1, item.path2[0])}]
----
.Results
[opts="header",cols="1,2"]
|===
| club.name | path
| Man Utd | [{path: (:Club {name: "Man Utd"})-[:IN_LEAGUE]->(:League {name: "Premier League"})-[:IN_COUNTRY]->(:Country {name: "England"})}]
| Juventus | [{path: (:Club {name: "Juventus"})-[:IN_LEAGUE]->(:League {name: "Serie A"})}]
|===
The equivalent query using the `OPTIONAL MATCH` clause looks like this:
[source,cypher]
----
MATCH (club:Club)
OPTIONAL MATCH path1 = (club)-[:IN_LEAGUE]->(league)
OPTIONAL MATCH path2 = (league)-[:IN_COUNTRY]->(country)
RETURN club.name, path1, path2
----
.Results
[opts="header",cols="1,2,2"]
|===
| club.name | path1 | path2
| Man Utd | (:Club {name: "Man Utd"})-[:IN_LEAGUE]->(:League {name: "Premier League"}) | (:League {name: "Premier League"})-[:IN_COUNTRY]->(:Country {name: "England"})
| Juventus | (:Club {name: "Juventus"})-[:IN_LEAGUE]->(:League {name: "Serie A"}) | NULL
|===
As in the other post, we can then use https://neo4j.com/developer/neo4j-apoc/[APOC^]'s `apoc.path.combine` function on these paths:
[source,cypher]
----
MATCH (club:Club)
OPTIONAL MATCH path1 = (club)-[:IN_LEAGUE]->(league)
OPTIONAL MATCH path2 = (league)-[:IN_COUNTRY]->(country)
RETURN club.name, apoc.path.combine(path1, path2)
----
.Results
[opts="header",cols="1,2"]
|===
| club.name | path
| Man Utd | (:Club {name: "Man Utd"})-[:IN_LEAGUE]->(:League {name: "Premier League"})-[:IN_COUNTRY]->(:Country {name: "England"})
| Juventus | (:Club {name: "Juventus"})-[:IN_LEAGUE]->(:League {name: "Serie A"})
|===
That works well when we only have two paths to combine, but what if we have more than that?
Let's run the following query to create an `IN_CONFEDERATION` relationship from England:
[source,cypher]
----
MATCH (country:Country {name:"England"})
MERGE (confederation:Confederation {name: "UEFA"})
MERGE (country)-[:IN_CONFEDERATION]->(confederation)
----
[.graph-model]
image::{{<siteurl>}}/uploads/2019/08/optional-match.svg[]
Now we can write the following query to optionally find each of our three relationships, `IN_LEAGUE`, `IN_COUNTRY`, and `IN_CONFEDERATION`:
[source,cypher]
----
MATCH (club:Club)
OPTIONAL MATCH path1 = (club)-[:IN_LEAGUE]->(league)
OPTIONAL MATCH path2 = (league)-[:IN_COUNTRY]->(country)
OPTIONAL MATCH path3 = (country)-[:IN_CONFEDERATION]->(confederation)
WITH club, [path1, path2, path3] AS paths
RETURN club.name,
reduce(acc=null, path in paths | apoc.path.combine(acc, path)) AS path
----
Note that we're using the `reduce` function to iterate over our paths and join them together.
If we run this query we'll see the following result:
.Results
[opts="header",cols="1,2"]
|===
| club.name | path
| Man Utd | (:Club {name: "Man Utd"})-[:IN_LEAGUE]->(:League {name: "Premier League"})-[:IN_COUNTRY]->(:Country {name: "England"})-[:IN_CONFEDERATION]->(:Confederation {name: "UEFA"})
| Juventus | (:Club {name: "Juventus"})-[:IN_LEAGUE]->(:League {name: "Serie A"})
|=== | Learn how to write nested path comprehensions with the Cypher query language | null | [
-0.001135552767664194,
-0.022340618073940277,
-0.0008940660045482218,
0.03307585418224335,
0.0776963010430336,
-0.007355295587331057,
0.04008912295103073,
0.006258833222091198,
0.017619138583540916,
-0.03315582498908043,
-0.008517946116626263,
-0.01041441224515438,
-0.0754571482539177,
0.016598746180534363,
0.004756028298288584,
0.08454986661672592,
0.05558515712618828,
0.02158774621784687,
-0.003295786678791046,
-0.028158770874142647,
0.010004631243646145,
0.06669138371944427,
-0.002592927310615778,
0.024100257083773613,
0.04459362477064133,
0.000575845711864531,
0.012003285810351372,
0.019021181389689445,
-0.04661823436617851,
-0.007945424877107143,
0.03464198112487793,
-0.01278825756162405,
0.007837150245904922,
-0.028154345229268074,
0.03303566947579384,
-0.014917144551873207,
-0.040878862142562866,
0.0033164096530526876,
-0.03606868535280228,
-0.008436325006186962,
-0.06359954923391342,
0.03406941890716553,
-0.02469600737094879,
0.030023563653230667,
-0.03849491849541664,
-0.016923481598496437,
-0.07164309173822403,
0.052554309368133545,
0.001203103456646204,
-0.009811113588511944,
-0.06953384727239609,
0.025638313964009285,
-0.028369219973683357,
0.01306865457445383,
-0.005001837853342295,
0.059044208377599716,
0.008453859947621822,
-0.05982048064470291,
0.05951150879263878,
-0.022243080660700798,
-0.02038590982556343,
0.0022477502934634686,
0.012763988226652145,
0.025110501796007156,
-0.008676236495375633,
-0.0545254722237587,
-0.017833204939961433,
0.05701114237308502,
-0.060558076947927475,
-0.02239820547401905,
-0.008145584724843502,
0.026118053123354912,
0.0021112156100571156,
0.007442765403538942,
-0.004292745143175125,
-0.04172031208872795,
-0.02121300995349884,
0.050034135580062866,
0.044022493064403534,
0.050105948001146317,
0.011367314495146275,
0.01871749386191368,
0.016763119027018547,
0.020465495064854622,
0.008247043937444687,
-0.03250676766037941,
-0.031362634152173996,
-0.011482049711048603,
-0.033731184899806976,
0.059147126972675323,
0.02670830488204956,
-0.06271146237850189,
0.0045283786021173,
0.004363018088042736,
-0.005205452907830477,
0.002714830683544278,
0.01412635762244463,
0.017069566994905472,
0.014191617257893085,
-0.03801633045077324,
-0.022255660966038704,
-0.014081554487347603,
0.02337767370045185,
-0.012121915817260742,
-0.0858016312122345,
-0.03380587697029114,
-0.055609844624996185,
-0.0032619209960103035,
0.019707821309566498,
-0.015219693072140217,
-0.050434842705726624,
0.01934260129928589,
0.029956571757793427,
0.03996063023805618,
-0.08641277253627777,
0.04931649938225746,
0.018501901999115944,
-0.01060948520898819,
-0.05020255222916603,
0.02448277734220028,
0.02569630742073059,
-0.005650338716804981,
0.020966198295354843,
0.059464529156684875,
0.03166244179010391,
0.04718135669827461,
-0.0019944594241678715,
0.053400758653879166,
-0.018504370003938675,
-0.07563953101634979,
-0.02797921933233738,
0.04961002618074417,
-0.013141985051333904,
0.021306350827217102,
-0.01086661871522665,
-0.07010002434253693,
-0.010638000443577766,
0.021984977647662163,
0.054084472358226776,
0.00784547533839941,
-0.016775405034422874,
-0.03405332192778587,
0.0455290824174881,
0.01231832429766655,
0.05284386873245239,
0.007490246556699276,
-0.02150147594511509,
-0.0172804594039917,
-0.013422165997326374,
0.0031181136146187782,
0.04060106724500656,
0.011073082685470581,
0.05415410175919533,
-0.038820426911115646,
0.006985629443079233,
0.1222919151186943,
0.06166563555598259,
-0.014339135959744453,
-0.023991750553250313,
0.014279837720096111,
0.05315127223730087,
0.04333651438355446,
-0.0046358294785022736,
0.05437804386019707,
-0.007162415888160467,
-0.007168478798121214,
-0.0029466841369867325,
0.06369893997907639,
0.0014778143959119916,
0.010329483076930046,
-0.01490465085953474,
-0.06359729170799255,
0.06747205555438995,
-0.030743058770895004,
-0.013512891717255116,
0.05453239008784294,
0.07270298153162003,
0.012495276518166065,
0.02833658829331398,
-0.0005612209788523614,
-0.08485125005245209,
0.060879264026880264,
0.005278169177472591,
0.0006266616401262581,
-0.0023254482075572014,
-0.006905936636030674,
0.08425022661685944,
0.035885684192180634,
0.00530022569000721,
0.038562923669815063,
-0.08422541618347168,
-0.05734935775399208,
-0.02496933564543724,
-0.016168532893061638,
0.07642537355422974,
-0.039655447006225586,
0.015410245396196842,
0.04451603442430496,
-0.005235214252024889,
0.02892356738448143,
0.04426828399300575,
0.0069654108956456184,
0.005628239829093218,
-0.03254326805472374,
-0.054165251553058624,
0.07793711870908737,
0.0165325328707695,
-0.0344775915145874,
-0.04820536822080612,
0.04961170256137848,
-0.023171288892626762,
-0.014685634523630142,
0.012853915803134441,
-0.0452306903898716,
0.0257085133343935,
0.009137534536421299,
0.026278892531991005,
-0.02097019925713539,
0.04582854360342026,
-0.04769612476229668,
0.03925212845206261,
0.011730128899216652,
-0.0416891984641552,
0.00334671582095325,
-0.00005651011088048108,
0.10832875967025757,
0.03611381724476814,
-0.012893945910036564,
-0.049631938338279724,
0.034274764358997345,
0.0004008612595498562,
0.010277435183525085,
0.020048754289746284,
-0.02363818883895874,
-0.005494053941220045,
-0.03499943017959595,
-0.047585487365722656,
-0.032950837165117264,
-0.0024775746278464794,
-0.04089784249663353,
0.013985345140099525,
0.04978533461689949,
-0.008842675015330315,
0.052592113614082336,
0.001929738325998187,
-0.010206053964793682,
-0.019225072115659714,
-0.04742397740483284,
-0.017392506822943687,
0.050734322518110275,
0.010861311107873917,
-0.03072015754878521,
0.04815365746617317,
-0.01997079700231552,
-0.008235026150941849,
-0.03940625488758087,
-0.04003950208425522,
0.030398154631257057,
0.04457487165927887,
0.06315134465694427,
0.0031989344861358404,
0.05038116127252579,
-0.028555549681186676,
0.00982666201889515,
-0.026335766538977623,
-0.04979345574975014,
-0.07860953360795975,
-0.034255437552928925,
0.032424431294202805,
0.012610447593033314,
0.020643293857574463,
0.01274272333830595,
-0.0053350552916526794,
-0.003219652222469449,
0.0036938919220119715,
0.0053661055862903595,
0.020294712856411934,
-0.0030300121288746595,
-0.0068591004237532616,
-0.01935967616736889,
-0.02621467411518097,
0.03797833248972893,
-0.04448843002319336,
-0.02734888531267643,
-0.040919143706560135,
-0.061356667429208755,
0.05175994336605072,
-0.05715867131948471,
-0.009862920269370079,
-0.003994505386799574,
0.03959014266729355,
0.05765647813677788,
-0.001065549673512578,
0.011357419192790985,
0.053918320685625076,
0.007161658722907305,
0.026408234611153603,
0.027036122977733612,
0.002411412773653865,
0.04393110051751137,
-0.0023080017417669296,
0.05886337533593178,
0.026754695922136307,
-0.009773663245141506,
0.02412194386124611,
-0.012389907613396645,
0.004560458939522505,
-0.019934652373194695,
-0.2657780945301056,
0.04364919289946556,
-0.018059851601719856,
-0.044800907373428345,
0.022124988958239555,
-0.02054395154118538,
-0.003267945721745491,
-0.04134570062160492,
-0.04524623230099678,
0.013930137269198895,
0.0060941255651414394,
-0.04120279476046562,
0.008184559643268585,
0.015548261813819408,
0.01584724709391594,
-0.011453239247202873,
-0.024872902780771255,
-0.055798232555389404,
0.01984144188463688,
0.056399110704660416,
0.037360332906246185,
-0.053818218410015106,
-0.011658473871648312,
0.023408690467476845,
0.011909466236829758,
0.03883873671293259,
-0.07607847452163696,
0.006700015161186457,
-0.06909973919391632,
-0.02432851493358612,
-0.00047094651381485164,
-0.011304677464067936,
0.011616519652307034,
0.009755869396030903,
-0.027055129408836365,
-0.007660785224288702,
0.05662892013788223,
-0.003762742504477501,
-0.0056305378675460815,
0.045274194329977036,
-0.05498011037707329,
-0.028720661997795105,
-0.0068547422997653484,
-0.02223740890622139,
0.09920889139175415,
-0.01001308299601078,
-0.06721226125955582,
-0.02627626247704029,
-0.030224649235606194,
0.055178482085466385,
-0.020445017144083977,
-0.012824246659874916,
0.0011848805006593466,
0.01930565945804119,
-0.012633923441171646,
-0.029004041105508804,
-0.008778615854680538,
-0.034086596220731735,
-0.053843703120946884,
-0.014641836285591125,
-0.01739601604640484,
-0.04308651387691498,
0.020619109272956848,
-0.03513481840491295,
-0.020779138430953026,
-0.03527066856622696,
-0.0525750033557415,
-0.02527584135532379,
0.051033101975917816,
0.019518038257956505,
-0.020320916548371315,
0.019805071875452995,
-0.02500014193356037,
-0.09484273940324783,
-0.042640332132577896,
-0.037853047251701355,
0.0044316817075014114,
-0.005478852428495884,
-0.0005590366199612617,
0.027903437614440918,
-0.040401823818683624,
-0.06405473500490189,
-0.0074014258570969105,
0.03336967155337334,
0.03525588661432266,
0.023890195414423943,
0.005189050920307636,
-0.010519200004637241,
-0.044550858438014984,
-0.00396426348015666,
0.05523869767785072,
-0.02790042944252491,
-0.028171077370643616,
0.01691237837076187,
-0.014813176356256008,
0.04152769222855568,
-0.010636281222105026,
-0.007862558588385582,
0.02244487963616848,
0.04563054069876671,
0.02980361506342888,
-0.020989587530493736,
0.012784481979906559,
0.00962978694587946,
-0.0445423349738121,
0.022826042026281357,
-0.03956136107444763,
0.0023572868667542934,
0.041066475212574005,
0.007275358773767948,
-0.013341561891138554,
-0.013218695297837257,
0.01596122421324253,
-0.01808607578277588,
-0.041995733976364136,
-0.031226254999637604,
0.0220026895403862,
0.0026259245350956917,
0.04413178190588951,
-0.04328411817550659,
-0.07878252863883972,
0.03521578758955002,
0.0024427196476608515,
-0.00022144733520690352,
-0.09097906202077866,
-0.04779287800192833,
-0.016070282086730003,
-0.007562700193375349,
-0.0033044510055333376,
0.036545805633068085,
-0.024726638570427895,
0.016546746715903282,
0.028091253712773323,
-0.03173760697245598,
0.04323221743106842,
-0.014510308392345905,
-0.04344141483306885,
-0.02075299248099327,
0.001044107717461884,
-0.008038204163312912,
-0.014145727269351482,
0.008483865298330784,
0.0096288425847888,
0.04520072415471077,
0.007193248253315687,
0.028540750965476036,
-0.005619083531200886,
0.0031884449999779463,
0.014460298232734203,
0.01586996763944626,
0.0020799413323402405,
-0.016322297975420952,
0.01896335929632187,
-0.049415357410907745,
-0.009852590039372444,
-0.0004245670570526272,
0.03503292053937912,
-0.016068369150161743,
-0.020725080743432045,
-0.04086393117904663,
0.038046982139348984,
-0.06263519078493118,
0.01613062620162964,
0.00033176469150930643,
0.017332006245851517,
0.06502814590930939,
-0.04342428967356682,
-0.0008567353361286223,
-0.03961476683616638,
0.0030034284573048353,
0.017420431599020958,
-0.011424210853874683,
-0.051053378731012344,
0.0050217569805681705,
-0.011965611018240452,
0.02049521915614605,
0.006951634772121906,
0.024058928713202477,
0.009072346612811089,
0.020710323005914688,
-0.014427979476749897,
-0.00024581540492363274,
0.015271170064806938,
0.04307916760444641,
0.04098089784383774,
0.03957809507846832,
-0.0002288370451424271,
-0.007062745746225119,
-0.027906158939003944,
-0.020768918097019196,
0.007319686468690634,
0.005159647203981876,
-0.03753114491701126,
-0.002545650117099285,
-0.0504150465130806,
-0.06491945683956146,
0.011602994054555893,
0.0025211074389517307,
0.002706859027966857,
0.02449774742126465,
-0.004044275730848312,
-0.006784848403185606,
-0.0031917348969727755,
-0.029009075835347176,
0.041500024497509,
-0.05346677824854851,
-0.01737901195883751,
0.014532179571688175,
-0.029510430991649628,
0.008665732108056545,
0.028018517419695854,
-0.06286412477493286,
-0.04925795644521713,
-0.007821542210876942,
0.03593909367918968,
-0.025014134123921394,
-0.0321548692882061,
0.013781850226223469,
-0.006684751715511084,
-0.004570398945361376,
0.03119128756225109,
-0.012199167162179947,
0.027430463582277298,
0.0037236432544887066,
-0.03336898609995842,
0.049896616488695145,
-0.018539031967520714,
0.002767371479421854,
0.0030569350346922874,
-0.017907539382576942,
0.016989685595035553,
-0.0213935486972332,
0.030920539051294327,
0.02306394837796688,
-0.014011086896061897,
0.00671772938221693,
-0.07611347734928131,
0.000027890449928236194,
-0.01290226075798273,
0.04388081282377243,
0.017364436760544777,
-0.011863120831549168,
-0.03924540802836418,
-0.01092914305627346,
-0.027222638949751854,
0.011393002234399319,
0.018418144434690475,
-0.015274039469659328,
0.006079056765884161,
0.04621687904000282,
-0.0013080344069749117,
0.028016971424221992,
-0.026230724528431892,
-0.03481379523873329,
0.05507851019501686,
-0.017612164840102196,
-0.041266001760959625,
-0.02480897679924965,
-0.050905320793390274,
0.004202442709356546,
-0.00580621836706996,
0.0007567293359898031,
-0.03455442190170288,
0.053278181701898575,
0.05469319224357605,
0.015943076461553574,
0.03611435368657112,
-0.010935008525848389,
0.002514145104214549,
-0.03498350828886032,
-0.029988447204232216,
-0.07440942525863647,
0.013168785721063614,
0.05607430636882782,
0.00862285029143095,
0.001481693354435265,
-0.005422402638942003,
-0.0144631527364254,
0.014249985106289387,
-0.05912407860159874,
-0.02991577796638012,
0.03321084752678871,
-0.019474804401397705,
0.03380536288022995,
0.024456867948174477,
-0.05559998378157616,
-0.010777805000543594,
0.05323052778840065,
-0.029593132436275482,
-0.02237364836037159,
-0.038839880377054214,
0.058913543820381165,
-0.016566913574934006,
0.022480666637420654,
0.0006211278960108757,
-0.008564586751163006,
0.0675169974565506,
0.038271572440862656,
0.0482138991355896,
0.04728610813617706,
-0.012933622114360332,
0.01858207955956459,
0.03966887667775154,
0.008532462641596794,
-0.0079905204474926,
0.05007020756602287,
-0.03685750439763069,
-0.06685004383325577,
0.04912550374865532,
0.009937899187207222,
-0.020826755091547966,
-0.040714114904403687,
0.06180211156606674,
0.0044529070146381855,
-0.05742018297314644,
-0.015300721861422062,
0.0032030045986175537,
-0.03720911219716072,
-0.025046536698937416,
-0.026717020198702812,
0.040339648723602295,
-0.028838247060775757,
0.058639682829380035,
-0.022920958697795868,
-0.002495299093425274,
0.05513352155685425,
0.0014563356526196003,
-0.009630215354263783,
0.018358590081334114,
0.10023526102304459,
0.09409705549478531,
0.043397583067417145,
0.014124114066362381,
0.07885804027318954,
0.007441923022270203,
-0.04781004413962364,
0.009941596537828445,
-0.01997286081314087,
0.004149276297539473,
0.011839035898447037,
0.02689884789288044,
0.06296379864215851,
-0.018681863322854042,
0.07323488593101501,
-0.010151405818760395,
-0.01694244146347046,
-0.009931999258697033,
-0.01354168076068163,
0.046751782298088074,
0.08271867781877518,
0.02256893925368786,
0.028858967125415802,
-0.033145420253276825,
-0.03428443893790245,
0.0159971471875906,
0.011878863908350468,
-0.015755996108055115,
0.03273089602589607,
-0.04206507280468941,
0.0212395116686821,
-0.0035858273040503263,
0.049948256462812424,
0.08777548372745514,
-0.04345622658729553,
-0.01613464020192623,
-0.019702458754181862,
-0.00809109304100275,
0.011865024454891682,
0.0034812649246305227,
0.0003428689087741077,
-0.03731279447674751,
-0.019211437553167343,
-0.06259431689977646,
-0.012868769466876984,
-0.04570898041129112,
-0.04022681713104248,
-0.0012942195171490312,
-0.006391625851392746,
-0.01167883537709713,
-0.0011511831544339657,
-0.002086014486849308,
-0.013667101971805096,
-0.05259951204061508,
-0.0582316629588604,
-0.04532773047685623,
-0.06547234952449799,
-0.008260185830295086,
-0.000985103310085833,
-0.0057393335737288,
-0.03120553120970726,
0.0012406352907419205,
-0.026709727942943573,
-0.027549713850021362,
0.04322786629199982,
-0.033955369144678116,
0.028540050610899925,
0.006435100454837084,
0.0246146060526371,
0.026235753670334816,
0.013162060640752316,
0.04968323931097984,
-0.00010439100151415914,
0.003330423031002283,
0.01568499021232128,
0.014973273500800133,
0.037102002650499344,
0.010378682054579258,
0.0018455861136317253,
-0.08394014090299606,
-0.02051725797355175,
0.034604109823703766,
-0.03354978933930397,
-0.09512605518102646,
0.006804118864238262,
0.05076395720243454,
0.00905026774853468,
0.037291400134563446,
-0.017788944765925407,
-0.00830920785665512,
-0.018652671948075294,
0.007547823246568441,
0.02154330536723137,
-0.0046769119799137115,
0.02408497966825962,
-0.021216614171862602,
0.05557405203580856,
0.037398967891931534,
-0.022851787507534027,
-0.01803158037364483,
-0.022907324135303497,
0.008073652163147926,
0.02035224623978138,
-0.03750404343008995,
-0.01407631579786539,
-0.0480230450630188,
-0.09672242403030396,
-0.04996080324053764,
0.013525319285690784,
-0.032108042389154434,
-0.03192638233304024,
0.0010581699898466468,
0.00047073716996237636,
-0.01976931095123291,
0.046958792954683304,
-0.03876464068889618,
0.0471520721912384,
-0.011123863980174065,
-0.02755703404545784,
-0.04516380652785301,
0.012204570695757866,
-0.0069831619039177895,
0.031018242239952087,
0.022722702473402023,
-0.04081551730632782,
0.020932428538799286,
-0.02269482985138893,
-0.00393329793587327,
0.03260625898838043,
0.018934017047286034,
0.007566177286207676
] | [
-0.06056058406829834,
-0.02080629952251911,
-0.02560746669769287,
-0.03252044692635536,
0.07603629678487778,
-0.012781414203345776,
0.0008331590215675533,
0.007925421930849552,
0.059408582746982574,
-0.013644219376146793,
-0.00313985301181674,
-0.07583703100681305,
0.0046027651987969875,
-0.0004801698087248951,
0.07143107801675797,
-0.03198922052979469,
-0.06999652087688446,
-0.01565999537706375,
-0.056283529847860336,
0.024783950299024582,
-0.03623994067311287,
-0.018075527623295784,
-0.028089074417948723,
-0.035915572196245193,
0.04409819468855858,
0.042538758367300034,
0.05796075612306595,
-0.02926366962492466,
-0.03946337476372719,
-0.22411203384399414,
0.011913207359611988,
0.008008829317986965,
0.0066552418284118176,
0.012405537068843842,
0.003469533286988735,
-0.008203147910535336,
0.007952035404741764,
-0.008049286901950836,
0.02416888065636158,
0.033965129405260086,
0.03265983238816261,
0.016009507700800896,
-0.04154322296380997,
-0.025531338527798653,
0.020564226433634758,
0.01251996960490942,
-0.004708026070147753,
-0.008710367605090141,
-0.028988145291805267,
0.050327472388744354,
-0.022800493985414505,
-0.015584557317197323,
-0.027208231389522552,
-0.01854781061410904,
-0.00018909388745669276,
0.08348938077688217,
0.028763025999069214,
0.06052040681242943,
0.029390109702944756,
0.08132138103246689,
0.0377044640481472,
0.007267276756465435,
-0.14784552156925201,
0.07193787395954132,
-0.004786679986864328,
-0.020840376615524292,
-0.050165560096502304,
-0.009149220772087574,
-0.05124923214316368,
0.10883234441280365,
0.008918040432035923,
-0.018443144857883453,
-0.03810384124517441,
0.06187571957707405,
-0.018017778173089027,
0.019517915323376656,
-0.019909121096134186,
-0.019072536379098892,
0.04274575784802437,
-0.004533918108791113,
-0.051783379167318344,
0.014236191287636757,
-0.06455723196268082,
-0.02378918044269085,
-0.037478912621736526,
0.021231351420283318,
-0.05422596633434296,
0.019275391474366188,
0.004245579708367586,
0.022772330790758133,
0.036013178527355194,
-0.014818317256867886,
0.008084657602012157,
0.05582993105053902,
-0.11541097611188889,
-0.03465092554688454,
-0.010209111496806145,
0.01666908897459507,
-0.007452864199876785,
0.39431217312812805,
0.03552987053990364,
0.005483513232320547,
0.01735253445804119,
0.04075882211327553,
-0.00036941806320101023,
-0.007030893117189407,
0.025523275136947632,
-0.05042241886258125,
0.021137261763215065,
-0.016945919021964073,
-0.014479859732091427,
-0.04824891686439514,
0.029208211228251457,
-0.07269368320703506,
-0.02038554474711418,
0.04501773416996002,
0.06643078476190567,
-0.005283862818032503,
-0.022342700511217117,
0.025278829038143158,
-0.00739702582359314,
-0.008707310073077679,
0.0003066313802264631,
0.02231365069746971,
-0.004101238213479519,
0.024176597595214844,
0.021192137151956558,
0.048528775572776794,
0.04063580557703972,
0.02687300555408001,
0.06049250811338425,
-0.033744942396879196,
-0.046081919223070145,
0.017991647124290466,
-0.007370385341346264,
-0.019219819456338882,
0.006945072673261166,
-0.009971586987376213,
-0.020697342231869698,
0.02719784341752529,
-0.021914035081863403,
-0.07005278766155243,
0.03094732202589512,
0.003266026498749852,
-0.02137237787246704,
0.12408442795276642,
-0.029428958892822266,
-0.040069833397865295,
-0.03891664370894432,
-0.016859307885169983,
-0.034286122769117355,
0.014419171027839184,
0.019688766449689865,
-0.08052735030651093,
-0.06465788930654526,
0.010048764757812023,
0.06539946049451828,
-0.0309064369648695,
-0.08180079609155655,
-0.0020935172215104103,
-0.028975870460271835,
-0.04040674492716789,
-0.047032032161951065,
0.09296241402626038,
-0.001526769483461976,
-0.12109445035457611,
-0.023262621834874153,
-0.022134874016046524,
-0.0193511750549078,
-0.05550789460539818,
-0.0025921340566128492,
-0.008468291722238064,
-0.012891977094113827,
0.005040713585913181,
0.04104112833738327,
0.03914634510874748,
-0.03438323363661766,
-0.03136824071407318,
0.03591034188866615,
-0.0008669259259477258,
-0.006678630597889423,
-0.02936512790620327,
-0.05110035464167595,
0.001423899200744927,
-0.043074462562799454,
-0.036929287016391754,
-0.0780528262257576,
-0.0065247551538050175,
-0.016231605783104897,
-0.05060809850692749,
-0.04949478060007095,
0.008192463777959347,
-0.023739179596304893,
0.04206418618559837,
-0.03807864338159561,
-0.0019008645322173834,
-0.007427598349750042,
-0.026022886857390404,
0.013501343317329884,
-0.05396019294857979,
0.00844191387295723,
0.02884470857679844,
0.013536239974200726,
0.017239322885870934,
-0.02638954669237137,
0.010638990439474583,
0.06798072159290314,
-0.026468466967344284,
0.03383845463395119,
0.0218153465539217,
-0.060919102281332016,
-0.011459765024483204,
-0.027486925944685936,
0.021761029958724976,
0.008976161479949951,
-0.007168803829699755,
-0.002359039383009076,
0.004462061449885368,
0.025388672947883606,
0.05084377899765968,
-0.042681340128183365,
0.026192747056484222,
-0.005318114999681711,
-0.3155839145183563,
-0.013227014802396297,
-0.01807723566889763,
0.004448681604117155,
0.013360983692109585,
-0.03487815707921982,
0.0033974808175116777,
-0.01974146068096161,
0.008431092835962772,
0.04242803156375885,
0.0705716535449028,
0.022670092061161995,
-0.03480282798409462,
-0.04124457761645317,
-0.007420771289616823,
0.007963722571730614,
-0.03192201256752014,
0.009354505687952042,
-0.023910874500870705,
0.07028086483478546,
0.08055360615253448,
-0.05430907756090164,
-0.009462377987802029,
-0.05293012782931328,
-0.012194842100143433,
-0.013351538218557835,
0.1540396511554718,
0.03849096968770027,
0.043674860149621964,
-0.05371110141277313,
0.03926496207714081,
0.023864764720201492,
0.0034613676834851503,
-0.03220747038722038,
0.014412159100174904,
-0.006347639486193657,
0.011202583089470863,
-0.052737146615982056,
0.010000820271670818,
-0.04149838164448738,
0.008542867377400398,
-0.011722382158041,
-0.04775046929717064,
-0.05229587107896805,
-0.01900532655417919,
0.009950253181159496,
-0.03798343613743782,
-0.022323954850435257,
-0.012683109380304813,
0.07598190754652023,
0.02786092832684517,
0.0350472554564476,
0.05056293308734894,
0.0002441875112708658,
0.038965605199337006,
-0.014525016769766808,
-0.055873263627290726,
-0.013564756140112877,
-0.007700395304709673,
0.0031990166753530502,
0.0058236559852957726,
0.03579443320631981,
0.058335185050964355,
-0.0909019485116005,
0.02854599431157112,
-0.0005135525716468692,
0.010549142956733704,
0.0008603596361353993,
0.019649311900138855,
-0.011067262850701809,
-0.02698930911719799,
0.05516990274190903,
0.01683785580098629,
0.006539561320096254,
0.03969092667102814,
0.07534024119377136,
-0.004911630880087614,
0.05161501467227936,
0.026981350034475327,
0.00874254945665598,
0.08090126514434814,
-0.05968079715967178,
0.07825357466936111,
-0.025341821834445,
-0.0015833097277209163,
0.08010976761579514,
0.014631171710789204,
-0.009590073488652706,
0.08190491795539856,
0.00793988723307848,
-0.023778310045599937,
0.019693763926625252,
-0.021840017288923264,
0.006762093398720026,
0.055588364601135254,
-0.07390885055065155,
-0.28021612763404846,
0.0332009419798851,
0.03111293911933899,
0.042646728456020355,
0.04523326829075813,
0.011639206670224667,
0.027693981304764748,
-0.034321147948503494,
-0.0483207181096077,
0.011976509355008602,
0.025517230853438377,
0.022958751767873764,
-0.00809954758733511,
-0.014066865667700768,
-0.011669842526316643,
-0.0043424018658697605,
0.03832181915640831,
0.021123521029949188,
0.05131712928414345,
0.011798865161836147,
0.04386930540204048,
-0.008192568086087704,
0.19969132542610168,
-0.006875365972518921,
0.05856046825647354,
0.038017354905605316,
-0.024961424991488457,
-0.04748717322945595,
0.014243757352232933,
0.016518384218215942,
-0.011382466182112694,
0.029963882640004158,
0.051272593438625336,
0.05978672578930855,
0.028793228790163994,
-0.01737057976424694,
-0.009311668574810028,
0.06221531331539154,
0.015454785898327827,
-0.05734138563275337,
-0.01642129383981228,
0.02378622628748417,
-0.0363159142434597,
0.02969895675778389,
0.05959860607981682,
-0.011355591006577015,
0.0056209019385278225,
0.0024454472586512566,
-0.04426458850502968,
-0.016225043684244156,
-0.027875926345586777,
-0.02430030144751072,
-0.03592418134212494,
0.0010691024363040924,
0.01860632747411728,
0.0297711081802845,
0.04441960155963898,
-0.02385663241147995,
0.02846144139766693,
0.010032521560788155,
-0.024511707946658134,
-0.0030959569849073887,
0.09446673095226288,
-0.018811825662851334,
0.002156764967367053
] | [
0.031063131988048553,
0.046916477382183075,
0.027052827179431915,
0.019000284373760223,
-0.016916422173380852,
0.011749456636607647,
-0.013103869743645191,
0.004090622533112764,
-0.004883607383817434,
0.009554139338433743,
-0.008800073526799679,
0.004366172943264246,
0.03380642086267471,
0.031067870557308197,
0.03933975473046303,
0.01652214117348194,
-0.05247371271252632,
0.01341214869171381,
0.011639900505542755,
-0.028604744002223015,
-0.020394250750541687,
0.0055006761103868484,
-0.012684565968811512,
-0.03248493745923042,
0.00218243058770895,
0.005963650997728109,
-0.01491464488208294,
0.029770229011774063,
0.020159045234322548,
-0.10630296915769577,
-0.02875337563455105,
-0.02096499316394329,
0.014681555330753326,
0.044220488518476486,
-0.021513214334845543,
-0.03583923354744911,
0.03130596503615379,
0.0012000532587990165,
0.021428801119327545,
0.002612082054838538,
0.018439192324876785,
-0.029873298481106758,
-0.012228172272443771,
0.017539236694574356,
-0.0034399600699543953,
0.02999725006520748,
-0.025177132338285446,
-0.009147669188678265,
0.0015050156507641077,
0.010319562628865242,
-0.054309312254190445,
-0.0347498282790184,
0.012682806700468063,
-0.018890712410211563,
0.02100568264722824,
0.03760560229420662,
-0.08300274610519409,
0.0372183732688427,
-0.01170035358518362,
-0.05453285202383995,
0.026775255799293518,
-0.012019998393952847,
-0.06776760518550873,
-0.030361803248524666,
-0.009245595894753933,
-0.022205352783203125,
-0.005852728150784969,
0.037691663950681686,
0.009065882302820683,
0.003261371748521924,
0.0269039124250412,
0.028310231864452362,
-0.06618765741586685,
-0.014282912947237492,
-0.026384519413113594,
0.06421129405498505,
0.011970059014856815,
-0.032392468303442,
-0.0017337175086140633,
-0.04046386852860451,
-0.01224086619913578,
0.005942946299910545,
-0.04325665906071663,
-0.00930905994027853,
0.014144014567136765,
-0.030570322647690773,
-0.0031462092883884907,
-0.009605737403035164,
0.01683668978512287,
0.02648085169494152,
-0.039249811321496964,
-0.0065123033709824085,
-0.0034568351693451405,
0.011228131130337715,
-0.08054116368293762,
0.03479092940688133,
0.024121493101119995,
0.0005434541963040829,
0.006563542410731316,
0.8180433511734009,
0.03005903586745262,
-0.019983388483524323,
-0.008550340309739113,
-0.010238820686936378,
0.0009665460675023496,
0.01599927619099617,
0.007489676121622324,
0.018610745668411255,
0.0034285960718989372,
0.01654854230582714,
-0.026113281026482582,
0.012280121445655823,
-0.008503328077495098,
0.02333272434771061,
0.007381266914308071,
0.06812591850757599,
0.03412400558590889,
0.004810667131096125,
-0.01940324902534485,
0.00836945790797472,
-0.009149187244474888,
0.03234023600816727,
-0.02494630217552185,
0.018778502941131592,
0.00446006003767252,
-0.1550229787826538,
-0.01601007767021656,
-6.990002954083837e-33,
0.021150674670934677,
0.018968038260936737,
0.04949718713760376,
0.008318186737596989,
-0.020419232547283173,
0.009610023349523544,
-0.00021063486929051578,
-0.04469769820570946,
-0.04595612734556198,
-0.05119088292121887,
-0.026454851031303406,
0.012713943608105183,
-0.011071067303419113,
-0.020762689411640167,
0.011940722353756428,
-0.04710831493139267,
0.021101830527186394,
0.009933858178555965,
-0.015724075958132744,
0.00895862840116024,
0.02326239086687565,
0.04926067963242531,
-0.023556120693683624,
0.009049801155924797,
0.004110650159418583,
0.03400864079594612,
-0.014666675589978695,
-0.04021754488348961,
-0.008379464037716389,
-0.041606880724430084,
-0.0685042142868042,
0.013882887549698353,
-0.016408009454607964,
0.00010277689580107108,
-0.007512105628848076,
-0.03888634592294693,
-0.02409949339926243,
-0.015422478318214417,
-0.04622870683670044,
-0.048485249280929565,
-0.04520798847079277,
-0.015586416237056255,
-0.024708762764930725,
-0.023579739034175873,
-0.026537710800766945,
-0.020927978679537773,
-0.022947417572140694,
0.0014419637154787779,
-0.006964011583477259,
-0.0006630053976550698,
0.02445782907307148,
0.011395399458706379,
-0.019627094268798828,
-0.0058284117840230465,
-0.0280303992331028,
0.010607779026031494,
-0.01497193519026041,
0.022253630682826042,
-0.02219153568148613,
-0.011139181442558765,
0.07761827111244202,
-0.017239969223737717,
-0.004231590311974287,
0.07550361007452011,
0.010985253378748894,
0.033818259835243225,
0.013158409856259823,
-0.0006901614251546562,
-0.012982829473912716,
0.0032225316390395164,
-0.044305115938186646,
0.061518486589193344,
0.008049430325627327,
-0.029159273952245712,
0.048156168311834335,
-0.05309418588876724,
0.002545650117099285,
-0.024830233305692673,
0.004666587337851524,
0.025318413972854614,
-0.023727482184767723,
0.009321016259491444,
-0.0008574390085414052,
-0.019256258383393288,
-0.002243875293061137,
-0.0065999883227050304,
0.059457894414663315,
0.04590287804603577,
0.012439592741429806,
0.010488742962479591,
0.03487369418144226,
0.015798328444361687,
-0.0011604089522734284,
-0.0009358400711789727,
0.013229266740381718,
6.265670681946836e-33,
-0.013795217499136925,
-0.002087959321215749,
0.03663456439971924,
-0.018023503944277763,
0.006063974462449551,
0.006147486623376608,
0.05864447355270386,
0.00867859274148941,
-0.03939436748623848,
0.03267812728881836,
-0.0068689677864313126,
-0.026884518563747406,
0.02816919796168804,
0.01296224445104599,
0.04287324473261833,
-0.03509261831641197,
0.03666474670171738,
-0.030131224542856216,
0.026251209899783134,
0.03208259120583534,
0.013179408386349678,
0.001438306295312941,
0.022280491888523102,
0.03276650235056877,
0.0025579894427210093,
0.0045127421617507935,
0.0008393089519813657,
-0.0024479497224092484,
-0.026142654940485954,
-0.01654602214694023,
0.020690996199846268,
-0.04841698333621025,
0.003370310878381133,
-0.051858145743608475,
0.035169970244169235,
0.004867532756179571,
-0.022250156849622726,
0.017991768196225166,
0.022173205390572548,
0.006446766667068005,
-0.0028643454425036907,
-0.005039711482822895,
-0.001967193791642785,
0.0675196498632431,
0.017732206732034683,
-0.006876638624817133,
-0.008761061355471611,
-0.0071026720106601715,
-0.003940807655453682,
0.012474453076720238,
0.028925899416208267,
0.037528976798057556,
-0.05679326504468918,
0.01372196152806282,
0.01598663628101349,
-0.034455519169569016,
0.0033963911700993776,
0.015461640432476997,
-0.016470517963171005,
-0.013097811490297318,
-0.041024062782526016,
0.0001868923573056236,
-0.07198341935873032,
0.028480831533670425,
0.007289359346032143,
-0.021688180044293404,
-0.06975394487380981,
-0.011204243637621403,
-0.009420914575457573,
-0.005583509802818298,
0.027718091383576393,
0.007537604309618473,
-0.012659188359975815,
0.03017728216946125,
0.03750886395573616,
-0.027069643139839172,
-0.009792715311050415,
0.02113296091556549,
0.00964600220322609,
0.021255336701869965,
-0.010859722271561623,
-0.027922285720705986,
0.027218732982873917,
0.03334256634116173,
-0.015478162094950676,
-0.010737905278801918,
-0.025576546788215637,
0.04441463202238083,
-0.0041687763296067715,
0.012767024338245392,
0.030759721994400024,
-0.058430738747119904,
-0.023924175649881363,
0.05255056917667389,
-0.038128916174173355,
-1.2656089509732737e-8,
-0.07481373846530914,
0.002682254882529378,
-0.023403842002153397,
0.02645295299589634,
-0.006316125392913818,
-0.00005414951010607183,
0.003808126086369157,
-0.009223884902894497,
0.0290064699947834,
0.019096247851848602,
0.0034836295526474714,
-0.0026073448825627565,
-0.012648941949009895,
0.005189638584852219,
0.009004494175314903,
-0.028021709993481636,
-0.008204651065170765,
-0.0028526161331683397,
0.032868146896362305,
0.029639504849910736,
-0.026473069563508034,
0.017396533861756325,
-0.0743785873055458,
0.01725330762565136,
0.018799524754285812,
0.0023918673396110535,
0.010964497923851013,
-0.06248634681105614,
-0.00013705861056223512,
-0.040492285043001175,
0.03277028352022171,
-0.012112585827708244,
-0.00687478668987751,
0.035112783312797546,
-0.04055759683251381,
-0.014539957046508789,
0.052498672157526016,
0.028724702075123787,
0.004251179751008749,
0.02761789970099926,
0.009721193462610245,
0.007564043626189232,
-0.023764146491885185,
-0.03690461441874504,
-0.003251851536333561,
0.004257383290678263,
-0.02221192978322506,
-0.0337633416056633,
0.029839763417840004,
-0.0522821880877018,
-0.020062169060111046,
0.013518133200705051,
0.03997594863176346,
0.009198992513120174,
0.03183900564908981,
0.02348547801375389,
0.014092178083956242,
0.014870044775307178,
-0.01451272051781416,
-0.0183002520352602,
0.038599953055381775,
0.0006295513012446463,
-0.037850383669137955,
-0.019320307299494743
] | neo4j-cypher-path-comprehensions-optional-match | https://markhneedham.com/blog/2019/08/23/neo4j-cypher-path-comprehensions-optional-match |
false | 2019-08-22 11:08:00 | Neo4j: Cypher - Nested Path Comprehensions | [
"neo4j",
"cypher",
"apoc"
] | [
"Neo4j"
] | I've recently been building an application using the https://grandstack.io/[GRANDstack^], which uses nested https://neo4j.com/blog/cypher-graphql-neo4j-3-1-preview/[Cypher path comprehensions^] to translate GraphQL queries to Cypher ones.
I'd not done this before, so I was quite curious how this feature worked.
We'll explore it using the following dataset:
[source,cypher]
----
MERGE (club:Club {name: "Man Utd"})
MERGE (league:League {name: "Premier League"})
MERGE (country:Country {name: "England"})
MERGE (club)-[:IN_LEAGUE]->(league)
MERGE (league)-[:IN_COUNTRY]->(country)
MERGE (club2:Club {name: "Juventus"})
MERGE (league2:League {name: "Serie A"})
MERGE (club2)-[:IN_LEAGUE]->(league2)
----
[.graph-model]
image::{{<siteurl>}}/uploads/2019/08/nested-projection.svg[]
If we want to return a path containing a club, the league they play in, and the country that the league belongs to, we could write the following query:
[source,cypher]
----
MATCH (club:Club)
RETURN club.name, [path = (club)-[:IN_LEAGUE]->(league)-[:IN_COUNTRY]->(country) | {path: path}] AS path
----
If we execute that query, we'll get the following result:
.Results
[opts="header",cols="1,2"]
|===
| club.name | path
| Man Utd | [{path: (:Club {name: "Man Utd"})-[:IN_LEAGUE]->(:League {name: "Premier League"})-[:IN_COUNTRY]->(:Country {name: "England"})}]
| Juventus | []
|===
We only get a path back for Man Utd because there isn't a path from Juventus that has both the `IN_LEAGUE` and `IN_COUNTRY` relationships.
What about if we do one path comprehension to get the `IN_LEAGUE` part of the path, and a second one to get the `IN_COUNTRY` part of the path?
[source,cypher]
----
MATCH (club:Club)
RETURN club.name,
[path1 = (club)-[:IN_LEAGUE]->(league) |
[path2 = (league)-[:IN_COUNTRY]->(country) |
{path1: path1, path2: path2}]] AS path
----
If we execute that query, we'll get the following result:
.Results
[opts="header",cols="1,2"]
|===
| club.name | path
| Man Utd | [[{path1: (:Club {name: "Man Utd"})-[:IN_LEAGUE]->(:League {name: "Premier League"}), path2: (:League {name: "Premier League"})-[:IN_COUNTRY]->(:Country {name: "England"})}]]
| Juventus | [[]]
|===
Hmmm, we expected not to get a value for `path2` for Juventus, but we should have got a value for `path1`.
How do we do that?
We need to pull the returning the map earlier in the path comprehension so that we return `path1` regardless of whether `path2` exists.
The following query does this:
[source,cypher]
----
MATCH (club:Club)
RETURN club.name,
[path1 = (club)-[:IN_LEAGUE]->(league) |
{path1: path1,
path2: [path2 = (league)-[:IN_COUNTRY]->(country) | path2]}]
----
If we execute that query, we'll get the following result:
.Results
[opts="header",cols="1,2"]
|===
| club.name | path
| Man Utd | [{path1: (:Club {name: "Man Utd"})-[:IN_LEAGUE]->(:League {name: "Premier League"}), path2: [(:League {name: "Premier League"})-[:IN_COUNTRY]->(:Country {name: "England"})]}]
| Juventus | [{path1: (:Club {name: "Juventus"})-[:IN_LEAGUE]->(:League {name: "Serie A"}), path2: []}]
|===
That's more like it!
Man Utd have paths for `path1` and `path2`, whereas Juventus only have a path for `path2`.
Now, we'd like to join those paths together, which we can do using the `apoc.path.combine` function from the https://neo4j.com/developer/neo4j-apoc/[APOC library^]:
[source,cypher]
----
MATCH (club:Club)
WITH club,
[path1 = (club)-[:IN_LEAGUE]->(league) |
{path1: path1,
path2: [path2 = (league)-[:IN_COUNTRY]->(country) | path2]}] AS path
RETURN club.name,
[item in path | {path: apoc.path.combine(item.path1, item.path2[0])}]
----
Since we know there can only be one `IN_COUNTRY` relationship between `league` and `country` we select the first value in the `path2` array on the last line of the query.
If we execute that query, we'll get the following result:
.Results
[opts="header",cols="1,2"]
|===
| club.name | path
| Man Utd | [{path: (:Club {name: "Man Utd"})-[:IN_LEAGUE]->(:League {name: "Premier League"})-[:IN_COUNTRY]->(:Country {name: "England"})}]
| Juventus | [{path: (:Club {name: "Juventus"})-[:IN_LEAGUE]->(:League {name: "Serie A"})}]
|===
This example shows how to write a nested path comprehension at just one level of nesting.
GraphQL queries can have an indefinite number of levels, so if you want to see extreme usage of this feature of the Cypher query language you'll need to create a GRANDstack app and then inspect the Cypher queries that get generated.
++++
<style>
.graph-model img {
margin-top: 10px;
}
</style>
++++ | Learn how to write nested path comprehensions with the Cypher query language | null | [
-0.003064375603571534,
-0.02525189332664013,
0.015439093112945557,
0.04081157222390175,
0.09047306329011917,
-0.019888445734977722,
0.02317836321890354,
0.039456598460674286,
0.021443581208586693,
-0.03565638139843941,
0.009316450916230679,
-0.02880810759961605,
-0.07369067519903183,
0.02552485652267933,
0.004560782574117184,
0.0678851529955864,
0.05953150615096092,
0.028565311804413795,
0.000785772455856204,
-0.009135162457823753,
-0.01025439240038395,
0.05609448626637459,
-0.02594849467277527,
0.03226298838853836,
0.05322600528597832,
0.016006000339984894,
0.008856688626110554,
0.031228328123688698,
-0.05795004591345787,
-0.0032925233244895935,
0.04287252202630043,
-0.03105851262807846,
0.022537069395184517,
-0.04270092025399208,
0.02480469085276127,
-0.03666197881102562,
-0.04434473067522049,
0.0071835508570075035,
-0.026450349017977715,
-0.017844345420598984,
-0.06818659603595734,
0.02985719032585621,
-0.017564984038472176,
0.030099574476480484,
-0.04208027198910713,
-0.013537275604903698,
-0.06906407326459885,
0.06776048243045807,
0.011125575751066208,
0.013213282451033592,
-0.07845509052276611,
0.021906912326812744,
-0.026477355509996414,
0.007366336416453123,
-0.0009784448193386197,
0.04422970116138458,
0.0005372327868826687,
-0.07169405370950699,
0.047645341604948044,
-0.017336666584014893,
0.0012876462424173951,
0.007977270521223545,
0.017729969695210457,
0.02776913531124592,
-0.0033363427501171827,
-0.05156150087714195,
-0.018804846331477165,
0.05826515331864357,
-0.04971552640199661,
-0.019694708287715912,
-0.006706139538437128,
0.005568789783865213,
-0.010258780792355537,
0.005830495618283749,
-0.016546983271837234,
-0.04131247103214264,
-0.024816041812300682,
0.058190688490867615,
0.04905984550714493,
0.04904567077755928,
-0.026077421382069588,
0.015858862549066544,
0.01357752364128828,
0.014872134663164616,
0.008883127011358738,
-0.0301873367279768,
-0.03617184981703758,
-0.020390208810567856,
-0.0431893952190876,
0.044995442032814026,
0.024439897388219833,
-0.07781261950731277,
-0.0011597886914387345,
-0.0014959153486415744,
-0.0000776508531998843,
-0.006322041153907776,
0.010502277873456478,
-0.0020454300101846457,
0.010871360078454018,
-0.03910497575998306,
-0.02593284845352173,
-0.015819093212485313,
-0.0047136531211435795,
-0.0010460929479449987,
-0.0716908648610115,
-0.02735246904194355,
-0.03602468594908714,
-0.03272330015897751,
0.011209709569811821,
-0.03955807164311409,
-0.03865104913711548,
0.018903518095612526,
0.01631872169673443,
0.0279002096503973,
-0.08640607446432114,
0.061263129115104675,
0.030048197135329247,
-0.00004023528526886366,
-0.03547077253460884,
0.018028663471341133,
0.04739752784371376,
0.01345000509172678,
0.01615864783525467,
0.062412843108177185,
0.009378787130117416,
0.025906173512339592,
0.011281116865575314,
0.04536478966474533,
-0.011540579609572887,
-0.07487182319164276,
-0.031137309968471527,
0.06698355823755264,
-0.003091539489105344,
0.027852846309542656,
-0.010724470019340515,
-0.04748188331723213,
-0.03162486478686333,
0.023551076650619507,
0.04926760494709015,
0.0038977183867245913,
-0.014988703653216362,
-0.027490178123116493,
0.030256636440753937,
-0.00596107030287385,
0.03438225015997887,
-0.0006045159534551203,
-0.029977258294820786,
-0.03058144636452198,
-0.008048378862440586,
0.017182154580950737,
0.03385638818144798,
0.023629052564501762,
0.06023602932691574,
-0.024726783856749535,
-0.010661567561328411,
0.11996719241142273,
0.03784456104040146,
-0.016587289050221443,
-0.02184476889669895,
-0.002273859456181526,
0.04561386629939079,
0.032713018357753754,
0.006782996002584696,
0.04719434678554535,
-0.0055755916982889175,
-0.011430320329964161,
-0.007498716004192829,
0.06101768836379051,
-0.014540273696184158,
-0.002159407362341881,
-0.01966565102338791,
-0.056112874299287796,
0.07784856855869293,
-0.03255024924874306,
-0.008860633708536625,
0.037485603243112564,
0.07019273936748505,
0.00692320428788662,
0.030289342626929283,
0.0034570505376905203,
-0.07617432624101639,
0.04945123940706253,
0.008264251053333282,
0.009032972157001495,
0.007058033719658852,
0.013130070641636848,
0.09133629500865936,
0.02360284887254238,
0.0021816787775605917,
0.049896687269210815,
-0.0783907100558281,
-0.06025981530547142,
-0.03800779953598976,
-0.003892412642017007,
0.06913882493972778,
-0.044472116976976395,
0.023007875308394432,
0.052753861993551254,
0.008323684334754944,
0.022326258942484856,
0.02579326741397381,
-0.001895940164104104,
0.022175757214426994,
-0.03021898865699768,
-0.04161089286208153,
0.05891377851366997,
0.017722276970744133,
-0.039905816316604614,
-0.043567076325416565,
0.03457116335630417,
-0.024758154526352882,
-0.014934120699763298,
0.01774825155735016,
-0.03854148089885712,
0.03707124665379524,
0.013348657637834549,
0.004536231979727745,
-0.020915202796459198,
0.03451336920261383,
-0.01954508014023304,
0.05332932621240616,
0.020666614174842834,
-0.01778300292789936,
-0.016493510454893112,
-0.00825023278594017,
0.11021677404642105,
0.042187441140413284,
-0.010420289821922779,
-0.056789055466651917,
0.03823842108249664,
0.006159813608974218,
0.0025418968871235847,
0.028359342366456985,
-0.05281958356499672,
-0.010429046116769314,
-0.03566766902804375,
-0.02954907715320587,
-0.019340360537171364,
0.0038758572190999985,
-0.03220757097005844,
0.007358028553426266,
0.045562829822301865,
-0.02831593155860901,
0.04242829605937004,
0.011010832153260708,
-0.012735683470964432,
-0.0034166539553552866,
-0.04214499518275261,
-0.015244313515722752,
0.03368764743208885,
0.017612280324101448,
-0.028942320495843887,
0.044846635311841965,
-0.01803671196103096,
-0.014750337228178978,
-0.031215818598866463,
-0.03116626664996147,
0.043955933302640915,
0.029801199212670326,
0.06984177976846695,
0.011158102191984653,
0.030818097293376923,
-0.029462626203894615,
0.01140825916081667,
-0.04001789540052414,
-0.04263105243444443,
-0.061539292335510254,
-0.03448104113340378,
0.029883822426199913,
0.001259318320080638,
0.03857150673866272,
-0.0010039146291092038,
0.018070433288812637,
0.004714355804026127,
0.019120771437883377,
0.018812432885169983,
-0.0057220784947276115,
-0.001714004436507821,
-0.006091335788369179,
-0.026478467509150505,
-0.03469359874725342,
0.06041019782423973,
-0.05592396855354309,
-0.029266677796840668,
-0.010554454289376736,
-0.06344001740217209,
0.05288024619221687,
-0.06568538397550583,
0.009392320178449154,
-0.012200791388750076,
0.045048266649246216,
0.0446554496884346,
-0.009407485835254192,
0.012494103983044624,
0.06279483437538147,
-0.0033563191536813974,
0.03255949541926384,
0.017341015860438347,
0.0019049268448725343,
0.07298684120178223,
-0.012410379946231842,
0.044239893555641174,
0.04439802095293999,
-0.025899004191160202,
-0.00020687203505076468,
-0.03262605890631676,
-0.0017938821110874414,
-0.01974090002477169,
-0.266372412443161,
0.03255883604288101,
-0.02256501093506813,
-0.03505536913871765,
0.018380209803581238,
-0.027384335175156593,
-0.011304493062198162,
-0.029941227287054062,
-0.03415893763303757,
0.008983789011836052,
-0.0008414265466853976,
-0.0446031279861927,
-0.009492872282862663,
0.03648635372519493,
0.02582688070833683,
0.01069056149572134,
-0.03777734562754631,
-0.04150687903165817,
0.0014728540554642677,
0.047215819358825684,
0.0031594831962138414,
-0.055926933884620667,
-0.004430943168699741,
0.026693249121308327,
0.02827020362019539,
0.013851470313966274,
-0.09235982596874237,
0.0017411368899047375,
-0.064450703561306,
-0.024607423692941666,
0.003100635949522257,
-0.014342413283884525,
0.002992178313434124,
0.004338244441896677,
-0.04562718793749809,
-0.02553478442132473,
0.046926215291023254,
-0.0034339989069849253,
-0.00478720897808671,
0.01674623042345047,
-0.05968354642391205,
-0.014780440367758274,
-0.025508197024464607,
-0.0018727956339716911,
0.10491494834423065,
-0.02462535724043846,
-0.07581102848052979,
-0.012065038084983826,
-0.008051896467804909,
0.059436649084091187,
-0.02989438734948635,
-0.0234114658087492,
-0.017635991796851158,
0.0414436012506485,
-0.022083265706896782,
-0.019770033657550812,
-0.00802752748131752,
-0.018140843138098717,
-0.0658247098326683,
0.0006640731589868665,
-0.004021796397864819,
-0.04244033619761467,
0.018054448068141937,
-0.045634184032678604,
-0.018899191170930862,
-0.04836660996079445,
-0.06262315064668655,
-0.036161962896585464,
0.044591546058654785,
0.025706559419631958,
-0.026492388918995857,
0.021325230598449707,
-0.02769392728805542,
-0.09610722213983536,
-0.03865555673837662,
-0.0364004448056221,
0.017516668885946274,
-0.01718413457274437,
-0.005540305282920599,
0.04342448338866234,
-0.03867565840482712,
-0.05296962708234787,
-0.008116020821034908,
0.024974321946501732,
0.036159999668598175,
0.011672205291688442,
-0.009504580870270729,
-0.00045753762242384255,
-0.01549512054771185,
-0.007834386080503464,
0.07684314996004105,
-0.033385004848241806,
-0.018273139372467995,
0.016685128211975098,
-0.02350824885070324,
0.04994392395019531,
-0.005999737419188023,
-0.014529349282383919,
0.0029808757826685905,
0.048813432455062866,
0.04807127267122269,
-0.015794917941093445,
0.0027759294025599957,
0.02579091489315033,
-0.020201904699206352,
-0.0010194580536335707,
-0.04163533076643944,
0.002394528826698661,
0.03881033882498741,
0.023721057921648026,
-0.024219997227191925,
-0.019750654697418213,
0.02096981555223465,
-0.03284294158220291,
-0.04696164280176163,
-0.025685705244541168,
0.02580077573657036,
0.0165732242166996,
0.059918779879808426,
-0.05175168812274933,
-0.07357393205165863,
0.03541044145822525,
0.032612353563308716,
-0.0013497943291440606,
-0.09332437068223953,
-0.03972426429390907,
-0.027334313839673996,
-0.012957163155078888,
-0.013132159598171711,
0.03406195342540741,
-0.030015135183930397,
0.018972398713231087,
0.02039077877998352,
-0.047507137060165405,
0.04981154203414917,
-0.016329564154148102,
-0.03077862784266472,
-0.03352870047092438,
0.009523668326437473,
-0.009229992516338825,
-0.014530016109347343,
0.006088520400226116,
0.037785597145557404,
0.04372299462556839,
0.004128328990191221,
0.018265480175614357,
0.01353970356285572,
0.01867789588868618,
0.001893176231533289,
0.019722850993275642,
-0.00637368019670248,
-0.025807511061429977,
0.028163433074951172,
-0.03571499511599541,
-0.004822263494133949,
-0.004727805964648724,
0.030901027843356133,
-0.025417868047952652,
-0.028264164924621582,
-0.029894253239035606,
0.03122023679316044,
-0.05606028437614441,
0.01036893855780363,
-0.00310759455896914,
0.014433729462325573,
0.07118802517652512,
-0.024269290268421173,
0.004591786302626133,
-0.031002037227153778,
-0.004664748441427946,
0.010905864648520947,
-0.016170108690857887,
-0.04311390221118927,
-0.012893183156847954,
-0.007015450391918421,
0.019363833591341972,
-0.00043996673775836825,
0.018884407356381416,
0.008679889142513275,
0.018513783812522888,
-0.015985723584890366,
0.025750787928700447,
0.012788164429366589,
0.038616061210632324,
0.04742923378944397,
0.04576193913817406,
-0.012991994619369507,
0.0042829811573028564,
-0.03274429216980934,
-0.015018320642411709,
-0.00619587441906333,
0.008276794105768204,
-0.05248502641916275,
-0.00032597099198028445,
-0.0402529202401638,
-0.0636247918009758,
0.00913705863058567,
-0.0007475045276805758,
-0.00245019793510437,
0.014383784495294094,
-0.003499051555991173,
-0.02087906002998352,
-0.0078137731179595,
-0.0020121715497225523,
0.053717851638793945,
-0.05304642394185066,
-0.027429543435573578,
0.02287314273416996,
-0.011868973262608051,
0.004658890888094902,
0.03074801154434681,
-0.07357647269964218,
-0.07154574245214462,
-0.01344769075512886,
0.031546078622341156,
-0.011495986953377724,
-0.02398737706243992,
-0.004687102977186441,
-0.01944083720445633,
0.004202891606837511,
0.019779648631811142,
-0.015877850353717804,
0.0019681681878864765,
-0.010001063346862793,
-0.016957120969891548,
0.032505471259355545,
-0.006792454048991203,
0.0008676355355419219,
0.0073608169332146645,
-0.004325341433286667,
0.02416570670902729,
-0.004296821542084217,
0.027348970994353294,
0.01196115743368864,
0.00010044542432297021,
0.004818369634449482,
-0.05660039559006691,
0.004539503250271082,
-0.013630902394652367,
0.03822352737188339,
0.003524267114698887,
-0.03327750414609909,
-0.02407161332666874,
-0.012849106453359127,
-0.0001541312667541206,
-0.0009195705642923713,
0.011487853713333607,
0.0032877717167139053,
0.009348194114863873,
0.01869175396859646,
0.0032767641823738813,
0.01670745387673378,
-0.0001537908538011834,
-0.049012042582035065,
0.04884110018610954,
-0.024001795798540115,
-0.024039408192038536,
0.00775893684476614,
-0.03795495256781578,
0.02395845577120781,
-0.010583854280412197,
-0.011231082491576672,
-0.06531935185194016,
0.06206032633781433,
0.0592089518904686,
0.020529456436634064,
0.03133450075984001,
-0.0023291371762752533,
0.03340509533882141,
-0.0333804190158844,
-0.02725900523364544,
-0.07112924009561539,
0.004927151370793581,
0.04596668481826782,
-0.002874431200325489,
-0.008206617087125778,
-0.007298319600522518,
-0.007984654046595097,
0.016492782160639763,
-0.04252605512738228,
-0.03211116045713425,
0.038941267877817154,
-0.0035690180957317352,
0.008944463916122913,
0.02381945215165615,
-0.0599081814289093,
0.005924345925450325,
0.04363659769296646,
-0.023143986240029335,
-0.020391756668686867,
-0.019703993573784828,
0.04417360574007034,
-0.02544771134853363,
0.04356065392494202,
0.001264928258024156,
-0.020298894494771957,
0.07982348650693893,
0.03358222544193268,
0.05682588741183281,
0.07475361227989197,
-0.02331428788602352,
0.03377605974674225,
0.042792223393917084,
-0.0045323446393013,
0.0007922632503323257,
0.0645533949136734,
-0.0331617034971714,
-0.05498519912362099,
0.053481996059417725,
0.014358419924974442,
-0.02455338090658188,
-0.044624436646699905,
0.07082031667232513,
0.007995039224624634,
-0.06323881447315216,
-0.017586402595043182,
0.021144835278391838,
-0.033848121762275696,
-0.027233483269810677,
-0.042498163878917694,
0.02450975961983204,
-0.03326641023159027,
0.07369426637887955,
-0.029451917856931686,
-0.0012574938591569662,
0.0590963140130043,
0.0010957852937281132,
-0.02360496297478676,
0.008005847223103046,
0.09926944226026535,
0.08692636340856552,
0.04360843822360039,
-0.0013425754150375724,
0.08240824192762375,
-0.01091257855296135,
-0.03349100425839424,
-0.01328158751130104,
-0.019555198028683662,
0.008350557647645473,
-0.0005390839651226997,
0.021094705909490585,
0.0682779848575592,
-0.021137423813343048,
0.08104026317596436,
-0.02434076927602291,
-0.007505523506551981,
0.020866209641098976,
0.013524677604436874,
0.03261749818921089,
0.07979059964418411,
0.011702735908329487,
0.03430265933275223,
-0.02689898945391178,
-0.03836660459637642,
0.00872590858489275,
-0.004233669489622116,
-0.0015571053372696042,
0.04281141608953476,
-0.02664230205118656,
0.019642861559987068,
0.0007584013510495424,
0.04670744389295578,
0.09609609097242355,
-0.04021875932812691,
-0.008809814229607582,
-0.004028428345918655,
0.012116330675780773,
-0.007150094024837017,
0.027621479704976082,
-0.01056464109569788,
-0.03792927414178848,
-0.014211276546120644,
-0.06995221227407455,
-0.02473536506295204,
-0.04381980374455452,
-0.035919975489377975,
0.004884174559265375,
-0.001718058716505766,
-0.003880805568769574,
0.002649928443133831,
-0.000043377232941566035,
-0.006677380762994289,
-0.04144921153783798,
-0.07470463961362839,
-0.05454334244132042,
-0.05809881165623665,
-0.007074043154716492,
0.01781504414975643,
-0.00008997128315968439,
-0.016902688890695572,
0.015517232939600945,
-0.022026045247912407,
-0.014728526584804058,
0.029624786227941513,
-0.01654161512851715,
0.005278009921312332,
0.02371044084429741,
0.018211407586932182,
0.024079689756035805,
0.0174711924046278,
0.04976378381252289,
0.0009248477872461081,
0.013532184064388275,
-0.02461014688014984,
0.021826107054948807,
0.03489171341061592,
0.0075784302316606045,
0.0013204534770920873,
-0.07171684503555298,
-0.008503828197717667,
0.022046169266104698,
-0.028012244030833244,
-0.08423280715942383,
0.004655748605728149,
0.058174166828393936,
0.012234186753630638,
0.0450507216155529,
-0.0030642147175967693,
-0.0014369848649948835,
-0.021141182631254196,
0.0014620700385421515,
0.030874690040946007,
0.012438490055501461,
0.0466705821454525,
-0.024091117084026337,
0.06883659958839417,
0.031667448580265045,
-0.022057589143514633,
-0.01932767778635025,
-0.028460556641221046,
-0.0009302480611950159,
-0.004896864760667086,
-0.046258337795734406,
-0.02292465977370739,
-0.04079650342464447,
-0.08745953440666199,
-0.04009988158941269,
-0.00010202355042565614,
-0.02506747841835022,
-0.013829207979142666,
-0.016686126589775085,
0.01683824509382248,
-0.005479119252413511,
0.037167713046073914,
-0.05346592143177986,
0.05466850474476814,
-0.026461098343133926,
-0.027417093515396118,
-0.03883941471576691,
0.009757962077856064,
0.0004423629434313625,
0.020840682089328766,
0.016263067722320557,
-0.05514940619468689,
0.00817952211946249,
-0.025866061449050903,
0.0038297316059470177,
0.01516532152891159,
0.018152078613638878,
0.015080052427947521
] | [
-0.026598097756505013,
-0.023117516189813614,
-0.03472423553466797,
-0.02589474804699421,
0.07053889334201813,
-0.020061887800693512,
-0.0011654678964987397,
-0.0001568203151691705,
0.04514818266034126,
-0.010926694609224796,
0.014863557182252407,
-0.080764539539814,
0.011563637293875217,
-0.008892021141946316,
0.07840371876955032,
-0.020498502999544144,
-0.07449093461036682,
-0.04677857458591461,
-0.05493626743555069,
0.03811964765191078,
-0.05041161924600601,
-0.014722255058586597,
-0.017520025372505188,
-0.026413151994347572,
0.038046807050704956,
0.028338471427559853,
0.058303020894527435,
-0.015262200497090816,
-0.03881802782416344,
-0.2188790738582611,
0.01598198153078556,
0.011321833357214928,
-0.02550734393298626,
0.012713175266981125,
0.008302285335958004,
-0.023242566734552383,
0.031393297016620636,
-0.010086879134178162,
0.028498832136392593,
0.033548079431056976,
0.05841676890850067,
0.006336541846394539,
-0.0642942413687706,
-0.008135640993714333,
0.05726028233766556,
0.01660938374698162,
-0.029026102274656296,
0.015618249773979187,
-0.022928783670067787,
0.03928205743432045,
-0.018419818952679634,
-0.0013651145854964852,
-0.023251254111528397,
-0.01385869737714529,
-0.0018759992672130466,
0.08853434771299362,
0.049008678644895554,
0.06925652921199799,
0.03575794771313667,
0.07977838069200516,
0.021756574511528015,
0.013433234766125679,
-0.14578431844711304,
0.08017516136169434,
-0.008827336132526398,
0.014334829524159431,
-0.05216972529888153,
0.0021599363535642624,
-0.033067021518945694,
0.09830974787473679,
0.01539240125566721,
-0.02191922813653946,
-0.0339040644466877,
0.05452156066894531,
0.0030952536035329103,
0.02174258977174759,
-0.02566966414451599,
-0.008664244785904884,
0.024482853710651398,
-0.0014004326658323407,
-0.054633963853120804,
0.003996546380221844,
-0.05406776815652847,
-0.019243741407990456,
-0.022446351125836372,
0.03668516129255295,
-0.04967644810676575,
0.030817421153187752,
0.005780060775578022,
0.022279197350144386,
0.05334283784031868,
0.000574585807044059,
0.017950499430298805,
0.04381841793656349,
-0.10014582425355911,
-0.03650878369808197,
-0.016968348994851112,
0.005150169599801302,
-0.0008982482249848545,
0.3836710751056671,
0.03726169094443321,
0.0019497148459777236,
0.03671520948410034,
0.050116561353206635,
-0.008536936715245247,
-0.007740718312561512,
0.0006382422288879752,
-0.048847246915102005,
0.015712600201368332,
-0.00677152443677187,
-0.027573607861995697,
-0.04323860630393028,
0.040796518325805664,
-0.06890276074409485,
-0.006484123878180981,
0.009761521592736244,
0.04371935501694679,
0.010651279240846634,
-0.034194499254226685,
0.0191311277449131,
0.0027493180241435766,
0.008016210049390793,
-0.0022455176804214716,
0.023421769961714745,
0.007757299114018679,
0.04183579608798027,
0.029618404805660248,
0.03520121052861214,
0.028880292549729347,
0.030110523104667664,
0.053415484726428986,
0.0000598765691393055,
-0.06885335594415665,
0.010754291899502277,
-0.006570172030478716,
-0.01598222739994526,
0.024087952449917793,
-0.023577336221933365,
-0.021991683170199394,
0.04280572012066841,
-0.018232470378279686,
-0.053836390376091,
0.047600485384464264,
-0.0050800698809325695,
-0.02215672843158245,
0.11298705637454987,
-0.011321943253278732,
-0.06217777356505394,
-0.042874421924352646,
-0.014485719613730907,
-0.03544173389673233,
0.03701414912939072,
0.012009887956082821,
-0.07584752142429352,
-0.05524846166372299,
0.02287442609667778,
0.06892111897468567,
-0.029199454933404922,
-0.07272440940141678,
-0.011764369904994965,
-0.022713633254170418,
-0.057750154286623,
-0.057458098977804184,
0.09880975633859634,
0.03444497287273407,
-0.149606853723526,
-0.030270641669631004,
-0.013665197417140007,
-0.0017368460539728403,
-0.06584225594997406,
-0.01059687789529562,
0.008855242282152176,
-0.029760092496871948,
-0.0075319306924939156,
0.05765892192721367,
0.023878486827015877,
-0.04422277957201004,
-0.024143103510141373,
0.05489686131477356,
-0.014880748465657234,
0.008158392272889614,
-0.015255890786647797,
-0.03951820731163025,
-0.006670758593827486,
-0.057573724538087845,
-0.05600946024060249,
-0.0849582850933075,
0.0017880878876894712,
-0.015181820839643478,
-0.0739029198884964,
-0.04126691073179245,
0.024817686527967453,
-0.035280484706163406,
0.04934664070606232,
-0.014208330772817135,
0.001573778223246336,
-0.02675943449139595,
-0.009313452057540417,
0.03764961287379265,
-0.04678497463464737,
0.0020593891385942698,
0.006008533760905266,
-0.003313350724056363,
0.01860925927758217,
-0.06391995400190353,
0.003773851552978158,
0.0621848963201046,
-0.03979749232530594,
0.03295070305466652,
0.019420819357037544,
-0.04099652171134949,
-0.002363621722906828,
-0.014981192536652088,
0.014718610793352127,
0.010388274677097797,
-0.011021849699318409,
-0.002186571015045047,
-0.014809554442763329,
0.0018009381601586938,
0.05137479305267334,
-0.046153128147125244,
0.016089942306280136,
-0.01569605991244316,
-0.32983168959617615,
-0.03072148934006691,
-0.011967424303293228,
-0.0004708097840193659,
0.010539110749959946,
-0.032180510461330414,
0.002773852087557316,
-0.011597855016589165,
0.03341237083077431,
0.02156938798725605,
0.0837416872382164,
0.023405777290463448,
-0.026478616520762444,
-0.03554077818989754,
-0.005145969334989786,
0.03271463140845299,
-0.029541214928030968,
0.02869287133216858,
-0.02326848730444908,
0.0515114963054657,
0.05865238234400749,
-0.04648100584745407,
-0.03404342383146286,
-0.05994751676917076,
0.0011452779872342944,
-0.008571472018957138,
0.1479124128818512,
-0.006217780988663435,
0.03753357380628586,
-0.05148717015981674,
0.043507665395736694,
0.005242939572781324,
0.006953564006835222,
-0.03899034857749939,
0.008999419398605824,
-0.0022451188415288925,
0.02797890640795231,
-0.006089792121201754,
-0.0020679666195064783,
-0.018212150782346725,
-0.019308079034090042,
-0.010297005996108055,
-0.053078774362802505,
-0.061944615095853806,
-0.01997586153447628,
0.024594184011220932,
-0.030290057882666588,
-0.023068081587553024,
-0.0041928282007575035,
0.07727675884962082,
0.0038184612058103085,
0.03663625195622444,
0.06219136714935303,
0.02432221919298172,
0.029014993458986282,
-0.035681456327438354,
-0.049197204411029816,
-0.01337573304772377,
-0.01081493217498064,
0.03155582770705223,
-0.0005863186670467257,
0.032635755836963654,
0.05897706001996994,
-0.08137387037277222,
0.05148515850305557,
-0.007439769804477692,
0.012344572693109512,
0.02122228778898716,
0.034126050770282745,
-0.026514418423175812,
-0.013305382803082466,
0.05545755475759506,
0.01438516192138195,
0.023165695369243622,
0.04137176647782326,
0.07039756327867508,
-0.01150854118168354,
0.033999256789684296,
0.029132025316357613,
0.006027430295944214,
0.04773283377289772,
-0.053087908774614334,
0.07534010708332062,
-0.02538026124238968,
-0.010758600197732449,
0.050759751349687576,
0.0148857943713665,
-0.024689897894859314,
0.07050204277038574,
0.006675541400909424,
-0.020096220076084137,
0.011508634313941002,
-0.02807416021823883,
-0.019417062401771545,
0.03344443440437317,
-0.06791486591100693,
-0.2807666063308716,
0.025783369317650795,
0.03745882585644722,
0.050183527171611786,
0.030034907162189484,
0.005893004592508078,
0.031133223325014114,
0.0020801962818950415,
-0.030238153412938118,
0.010581331327557564,
0.038131408393383026,
0.02751435525715351,
0.016119971871376038,
-0.011800614185631275,
-0.005394322331994772,
0.013697686605155468,
0.04344932362437248,
0.010905565693974495,
0.053662750869989395,
0.02699047140777111,
0.054314564913511276,
-0.013417153619229794,
0.19333045184612274,
0.04091585427522659,
0.043124351650476456,
0.05801141634583473,
-0.04838886111974716,
-0.03920906409621239,
0.02463638037443161,
0.01828421652317047,
-0.011980361305177212,
0.04444431886076927,
0.025938622653484344,
0.04818238317966461,
0.04023540019989014,
-0.043495867401361465,
-0.014685537666082382,
0.05930931866168976,
-0.0008552248473279178,
-0.039068300276994705,
-0.01860876753926277,
0.009481890127062798,
-0.03877399116754532,
0.024344591423869133,
0.056813787668943405,
-0.017640093341469765,
-0.01858266070485115,
-0.00519863935187459,
-0.054726727306842804,
-0.012172045186161995,
-0.03929628059267998,
-0.04146172106266022,
-0.011556620709598064,
-0.03890024870634079,
-0.012920456938445568,
0.027066420763731003,
0.03949842229485512,
-0.024766569957137108,
0.011643846519291401,
0.001002032309770584,
-0.02443728782236576,
-0.03419750928878784,
0.08531935513019562,
-0.039398372173309326,
0.0021037652622908354
] | [
0.028328195214271545,
0.046926163136959076,
0.012736229225993156,
0.028360629454255104,
-0.023183226585388184,
-0.00451972521841526,
-0.015255998820066452,
0.007384343072772026,
-0.012161202728748322,
0.01007190253585577,
-0.010247611440718174,
0.0053875744342803955,
0.04578471928834915,
0.01885049417614937,
0.03526042029261589,
0.01570086181163788,
-0.0419318750500679,
0.023264864459633827,
0.014832917600870132,
-0.02442745491862297,
-0.0082040810957551,
0.01090345811098814,
0.004602497909218073,
-0.027222005650401115,
0.00692920945584774,
0.008262481540441513,
-0.020078888162970543,
0.0319247767329216,
0.030608300119638443,
-0.10596862435340881,
-0.028872529044747353,
-0.025854483246803284,
0.0069982209242880344,
0.041468434035778046,
-0.023743683472275734,
-0.014614317566156387,
0.026674233376979828,
0.006203571800142527,
0.01672060787677765,
0.0009611209970898926,
0.023281855508685112,
-0.03221333771944046,
-0.014563266187906265,
0.008939052000641823,
-0.007109708618372679,
0.017843591049313545,
-0.03302512690424919,
-0.007859502919018269,
0.0036560979206115007,
0.01158799696713686,
-0.05585668236017227,
-0.035925719887018204,
0.009147520177066326,
-0.00613598944619298,
0.024677660316228867,
0.029707467183470726,
-0.07652458548545837,
0.030065663158893585,
-0.016565529629588127,
-0.028439734131097794,
0.025315091013908386,
-0.002879556268453598,
-0.05917184054851532,
-0.02802535519003868,
-0.007852674461901188,
-0.0203818641602993,
-0.005952138919383287,
0.035733506083488464,
0.011082340031862259,
0.0006300872191786766,
0.01747465878725052,
0.03774964436888695,
-0.0722297877073288,
-0.022026829421520233,
-0.020488834008574486,
0.06444508582353592,
0.022943507879972458,
-0.019528962671756744,
-0.0037089032121002674,
-0.04240298643708229,
-0.006584204733371735,
0.011744121089577675,
-0.03247745335102081,
-0.01438938733190298,
-0.004579050466418266,
-0.025441180914640427,
0.00483681820333004,
-0.014913156628608704,
0.017563721165060997,
0.031255338340997696,
-0.030156470835208893,
-0.0014074828941375017,
-0.0040879095904529095,
0.004437101073563099,
-0.08283413201570511,
0.018331333994865417,
0.02857803925871849,
-0.0004027933464385569,
0.01086196769028902,
0.8309109210968018,
0.022076889872550964,
-0.02885953150689602,
0.0009511808748356998,
-0.009360045194625854,
-0.0013216695515438914,
0.015622354112565517,
0.0003485875204205513,
0.008308686316013336,
-0.002421998418867588,
0.005077740643173456,
-0.023204874247312546,
0.015218199230730534,
-0.007222003769129515,
0.024640513584017754,
0.006434204522520304,
0.06106266751885414,
0.031183253973722458,
-0.002496850909665227,
-0.009547833353281021,
0.01103539764881134,
-0.015410946682095528,
0.03342597559094429,
-0.01966385915875435,
0.013762515038251877,
-0.0023106171283870935,
-0.1640176922082901,
-0.02131517603993416,
-7.204616631133308e-33,
0.020933212712407112,
0.012128928676247597,
0.03966554254293442,
0.01466745138168335,
-0.015729881823062897,
0.020467929542064667,
0.0023840281646698713,
-0.04966740310192108,
-0.04188046231865883,
-0.03928936645388603,
-0.020693151280283928,
0.01283066812902689,
-0.00044556689681485295,
-0.02187320776283741,
0.00955059565603733,
-0.03922615200281143,
0.008005022071301937,
0.007958294823765755,
-0.0170276015996933,
0.007181383203715086,
0.027062207460403442,
0.03801099956035614,
-0.014790081419050694,
0.013217915780842304,
0.0008582695154473186,
0.042434174567461014,
-0.01997602917253971,
-0.03917451947927475,
-0.006222832016646862,
-0.04365486279129982,
-0.07140282541513443,
0.010339036583900452,
-0.022260965779423714,
-0.00326406117528677,
-0.0019112206064164639,
-0.047319408506155014,
-0.019231649115681648,
-0.011610547080636024,
-0.04081673547625542,
-0.05631360039114952,
-0.048264920711517334,
-0.021917961537837982,
-0.022708609700202942,
-0.017008952796459198,
-0.030236491933465004,
-0.011679061688482761,
-0.027044780552387238,
-0.006094447802752256,
-0.006878440268337727,
-0.004151184111833572,
0.013420501723885536,
0.013113940134644508,
-0.019658163189888,
0.007488977629691362,
-0.024273227900266647,
0.00617957441136241,
-0.00011031454778276384,
0.017745723947882652,
-0.02247926965355873,
-0.014879281632602215,
0.06357083469629288,
-0.015846237540245056,
-0.011492937803268433,
0.06270992010831833,
0.002104418119415641,
0.027921298518776894,
0.008876845240592957,
0.002002364955842495,
-0.007229693699628115,
0.016102124005556107,
-0.04613106697797775,
0.057847581803798676,
0.0024921041913330555,
-0.03215956687927246,
0.042276185005903244,
-0.05484994128346443,
-0.011991760693490505,
-0.02541550062596798,
0.005299820564687252,
0.034405417740345,
-0.012468453496694565,
0.0008515279623679817,
-0.007305024657398462,
-0.01777169294655323,
-0.004879103507846594,
0.0012315931962803006,
0.054410748183727264,
0.037372566759586334,
0.018941527232527733,
0.013317118398845196,
0.03324509784579277,
0.02217285893857479,
0.007397076580673456,
-0.005057496018707752,
0.007699403911828995,
6.57083048478824e-33,
-0.011845762841403484,
0.0010440824553370476,
0.03399747237563133,
-0.004485737066715956,
0.002224660012871027,
-0.0011579281417652965,
0.04206222668290138,
0.008342776447534561,
-0.0518004409968853,
0.034142885357141495,
-0.005693715065717697,
-0.021936336532235146,
0.02779073640704155,
0.020679904147982597,
0.05443303659558296,
-0.0285507719963789,
0.03696032986044884,
-0.039506327360868454,
0.027079427614808083,
0.03436598181724548,
-0.00780183682218194,
0.003443569177761674,
0.010595285333693027,
0.03785894811153412,
0.012354012578725815,
-0.0016814154805615544,
-0.00583654223009944,
-0.015435214154422283,
-0.006798994727432728,
-0.014519662596285343,
0.022756390273571014,
-0.05643090978264809,
0.003318668343126774,
-0.04365001991391182,
0.03155512362718582,
0.0054711271077394485,
-0.019400350749492645,
0.008174153976142406,
0.02684272639453411,
-0.0018575857393443584,
0.0009690577862784266,
-0.01377939898520708,
-0.010843200609087944,
0.0673578679561615,
0.016666406765580177,
0.012224147096276283,
-0.013405962847173214,
0.0033483202569186687,
-0.005617729388177395,
0.010423432104289532,
0.03597570210695267,
0.032625939697027206,
-0.04644663631916046,
0.018658017739653587,
0.015462024137377739,
-0.0422244593501091,
0.007294349372386932,
0.024976346641778946,
-0.01924949698150158,
-0.01182232890278101,
-0.045190684497356415,
-0.004765009507536888,
-0.06555341929197311,
0.014479032717645168,
0.0008539407281205058,
-0.01760786958038807,
-0.06203903630375862,
-0.002037022728472948,
-0.0033883561845868826,
0.006307477597147226,
0.026088859885931015,
0.0012935232371091843,
-0.0093865767121315,
0.026935359463095665,
0.039458710700273514,
-0.015987899154424667,
-0.01708073914051056,
0.016238344833254814,
0.012044345028698444,
0.02405741810798645,
-0.00254532927647233,
-0.01335612777620554,
0.029521996155381203,
0.02132478542625904,
-0.008509288541972637,
-0.012140422128140926,
-0.023433636873960495,
0.04280655086040497,
-0.00434795580804348,
0.004751554224640131,
0.02510186843574047,
-0.05431009829044342,
-0.038908232003450394,
0.05480995401740074,
-0.03398992493748665,
-1.2891208989174174e-8,
-0.07488426566123962,
0.007824619300663471,
-0.028382154181599617,
0.01851951889693737,
0.003555870149284601,
-0.002489633159711957,
0.019497046247124672,
-0.004464565310627222,
0.021120376884937286,
0.024481356143951416,
0.008425417356193066,
-0.0018552235560491681,
0.005353935062885284,
0.008416295051574707,
0.010108251124620438,
-0.03715042769908905,
-0.001386343501508236,
0.006152304355055094,
0.04278247430920601,
0.027997132390737534,
-0.01819182187318802,
0.017000935971736908,
-0.07138854265213013,
0.011766530573368073,
0.018108440563082695,
-0.0019219915848225355,
0.014320097863674164,
-0.07252566516399384,
-0.001107852323912084,
-0.040167130529880524,
0.02406807616353035,
-0.013955113478004932,
-0.008481739088892937,
0.04030098393559456,
-0.03964880108833313,
-0.010689890012145042,
0.040852922946214676,
0.02195664308965206,
0.015605543740093708,
0.02291819453239441,
0.015519683249294758,
0.015525003895163536,
-0.02130141481757164,
-0.036704692989587784,
-0.014253897592425346,
0.00042183900950476527,
-0.02075011096894741,
-0.029490720480680466,
0.04042339697480202,
-0.045125529170036316,
-0.025214575231075287,
0.011326909996569157,
0.03508756682276726,
0.003953772597014904,
0.03614246845245361,
0.003894905326887965,
0.011851160787045956,
0.005854097660630941,
-0.007312561385333538,
-0.013644619844853878,
0.029446477070450783,
0.0003125073271803558,
-0.039767034351825714,
-0.020836973562836647
] | neo4j-cypher-nested-pattern-comprehensions | https://markhneedham.com/blog/2019/08/22/neo4j-cypher-nested-pattern-comprehensions |
false | 2019-01-11 09:42:00 | Python: Add query parameters to a URL | [
"python"
] | [
"Python"
] | I was recently trying to automate adding a query parameter to a bunch of URLS and came across a neat approach a long way down this https://stackoverflow.com/questions/2506379/add-params-to-given-url-in-python[StackOverflow answer^], that uses the http://docs.python-requests.org/en/master/api/#requests.PreparedRequest[PreparedRequest^] class from the http://docs.python-requests.org/en/master/[requests library^].
Let's first get the class imported:
[source,cypher]
----
from requests.models import PreparedRequest
req = PreparedRequest()
----
And now let's use use this class to add a query parameter to a URL.
We can do this with the following code:
[source, cypher]
----
url = "http://www.neo4j.com"
params = {'ref':"mark-blog"}
req.prepare_url(url, params)
----
And then we need to access the `url` attribute to see our new URL:
[source, cypher]
----
>>> req.url
'http://www.neo4j.com/?ref=mark-blog'
----
Neat!
We can also use this approach to add parameters to URLs that already have existing ones.
For example, we could update this YouTube URL:
[source, cypher]
----
url = "https://www.youtube.com/watch?v=Y-Wqna-hC2Y&list=RDhlznpxNGFGQ&index=2"
params = {'ref':"mark-blog"}
req.prepare_url(url, params)
----
And let's see what the updated URL looks like:
[source, cypher]
----
>>> req.url
'https://www.youtube.com/watch?v=Y-Wqna-hC2Y&list=RDhlznpxNGFGQ&index=2&ref=mark-blog'
----
I'm sure I'll be using this code snippet in future! | Learn how to add query parameters to a URL in Python. | null | [
0.04079519584774971,
-0.008942071348428726,
-0.012732850387692451,
0.056099098175764084,
0.08824076503515244,
0.0009104819619096816,
0.021698927506804466,
0.019053926691412926,
0.011579504236578941,
-0.02802419662475586,
-0.027505995705723763,
0.0012973668053746223,
-0.06819263100624084,
0.016420437023043633,
0.00767026050016284,
0.0764191746711731,
0.05307682231068611,
0.004461919888854027,
0.029898852109909058,
-0.018178895115852356,
0.017874883487820625,
0.06968822330236435,
0.01616291143000126,
0.002174017485231161,
0.027932055294513702,
0.029535485431551933,
-0.0030360152013599873,
-0.009273207746446133,
-0.05303764343261719,
-0.017947955057024956,
0.059013482183218,
-0.006596558261662722,
0.013944719918072224,
-0.0066848136484622955,
0.03529781103134155,
0.009613437578082085,
-0.035839878022670746,
-0.01447382103651762,
-0.004857674706727266,
0.015652071684598923,
-0.04657142981886864,
0.038449179381132126,
-0.03850667551159859,
0.011682604439556599,
-0.05647773668169975,
-0.012284261174499989,
-0.015756426379084587,
0.05267949402332306,
0.013685587793588638,
-0.005072838626801968,
-0.08204039931297302,
0.023750752210617065,
-0.020799746736884117,
0.013815904036164284,
0.010936534963548183,
0.049343541264534,
0.005781179293990135,
-0.08954094350337982,
0.06125091761350632,
-0.006127234548330307,
-0.0045037418603897095,
0.02212967537343502,
0.022402435541152954,
0.05703487992286682,
-0.022352607920765877,
-0.027081605046987534,
-0.007249172311276197,
0.08343926072120667,
-0.07194044440984726,
-0.014457173645496368,
0.00660907244309783,
0.00141233135946095,
-0.027651825919747353,
-0.002785148099064827,
-0.0018287256825715303,
-0.02520689181983471,
-0.006002558395266533,
0.0859949067234993,
0.002561343600973487,
0.04191442206501961,
0.007254272699356079,
-0.008807619102299213,
0.006481177639216185,
0.029751302674412727,
-0.012720725499093533,
-0.034237682819366455,
-0.043397206813097,
-0.015422365628182888,
-0.04209970682859421,
0.033245112746953964,
0.003860684111714363,
-0.07166024297475815,
0.010215727612376213,
-0.012578999623656273,
-0.014727834612131119,
0.002042696811258793,
-0.0034420157317072153,
-0.026474323123693466,
0.017620565369725227,
-0.0028983224183321,
-0.0328991562128067,
-0.02881595306098461,
0.012816757895052433,
-0.010757955722510815,
-0.07893255352973938,
-0.027995998039841652,
-0.027472859248518944,
-0.05099668353796005,
-0.017392480745911598,
-0.0023805832024663687,
-0.02873893454670906,
0.009919491596519947,
-0.028600258752703667,
0.021212732419371605,
-0.06817322969436646,
0.06828877329826355,
0.012841664254665375,
0.0003341053961776197,
-0.03155934065580368,
0.04054555669426918,
0.03530152142047882,
0.017587633803486824,
0.001788440509699285,
0.0748400017619133,
0.016404755413532257,
0.042190853506326675,
0.01455647498369217,
0.045283056795597076,
-0.0060691493563354015,
-0.0624992698431015,
0.005495906341820955,
0.07718978822231293,
0.013213027268648148,
0.00932756531983614,
-0.005332115106284618,
-0.034690871834754944,
-0.009114213287830353,
0.009714345447719097,
0.06177288293838501,
0.024874931201338768,
-0.003671629587188363,
-0.04250829666852951,
-0.01224850956350565,
-0.003341531381011009,
0.02470485493540764,
0.03740878030657768,
-0.009517328813672066,
-0.036048177629709244,
-0.027454417198896408,
0.014247620478272438,
0.01395600475370884,
0.018108006566762924,
0.06798942387104034,
-0.016160350292921066,
-0.01284052710980177,
0.08805195242166519,
0.03549450635910034,
0.00976829044520855,
-0.010069404728710651,
-0.00509117916226387,
0.04453381896018982,
0.04120773822069168,
-0.006590468809008598,
0.053744446486234665,
-0.01206157822161913,
-0.003955567721277475,
-0.030729984864592552,
0.046349916607141495,
-0.0029078025836497545,
0.00258080055937171,
-0.06015155836939812,
-0.05684691295027733,
0.07778710126876831,
-0.030749566853046417,
-0.03183576092123985,
0.05067133158445358,
0.0797320231795311,
0.010676531121134758,
0.04860391467809677,
0.012932046316564083,
-0.07167740166187286,
0.05692029744386673,
-0.0074052149429917336,
0.00946189183741808,
-0.00037548248656094074,
-0.016867849975824356,
0.10370811820030212,
0.007079688832163811,
-0.006564158480614424,
0.03336169198155403,
-0.08271324634552002,
-0.061612505465745926,
-0.05650770664215088,
-0.003318652743473649,
0.0859324187040329,
-0.02682368829846382,
0.03699954226613045,
0.08127596974372864,
0.006416636519134045,
0.04189743474125862,
0.017982393503189087,
-0.018195264041423798,
0.02316560037434101,
-0.04100716859102249,
-0.056303221732378006,
0.01571148820221424,
0.028194665908813477,
-0.04988938942551613,
-0.012204787693917751,
-0.000055372835049638525,
-0.03138447552919388,
0.016007211059331894,
0.0294503066688776,
-0.022783508524298668,
0.011440835893154144,
0.03919272869825363,
0.029321391135454178,
-0.02524220012128353,
0.025310499593615532,
-0.030925391241908073,
0.051371075212955475,
0.00046432120143435895,
-0.02807682380080223,
-0.022909851744771004,
-0.013018593192100525,
0.1196466013789177,
0.058833830058574677,
-0.00527644157409668,
-0.06992513686418533,
0.024575211107730865,
0.01786506362259388,
-0.0250263474881649,
-0.0004264166345819831,
0.00020053847401868552,
-0.022440820932388306,
-0.007466376293450594,
-0.024234145879745483,
-0.003274722257629037,
-0.007887842133641243,
-0.04931965842843056,
0.002871657721698284,
0.06456386297941208,
-0.0046446858905255795,
0.02802267111837864,
0.011515273712575436,
0.0009077313588932157,
-0.006437097676098347,
-0.016228262335062027,
-0.03827984631061554,
0.028573576360940933,
0.021209605038166046,
-0.0062407259829342365,
0.06743723154067993,
-0.0341501347720623,
-0.0063775572925806046,
-0.03891417384147644,
-0.0429060272872448,
0.04382067546248436,
0.061131514608860016,
0.05199822783470154,
0.012500693090260029,
0.04024920240044594,
-0.01026157382875681,
0.030544431880116463,
-0.023552238941192627,
-0.04769496992230415,
-0.05997110530734062,
-0.04508116841316223,
0.015433533117175102,
0.03524518385529518,
0.0281220655888319,
0.005477700848132372,
0.034273661673069,
0.0057106162421405315,
-0.00346196535974741,
0.02826842851936817,
0.025388173758983612,
0.005886508617550135,
-0.018798118457198143,
-0.04013310745358467,
-0.0261601023375988,
0.05921442434191704,
-0.05567879602313042,
-0.05027255788445473,
-0.02787143737077713,
-0.05016827955842018,
0.0088484613224864,
-0.05394343286752701,
-0.024293096736073494,
-0.004597008228302002,
0.014428416267037392,
0.06107548996806145,
0.015282428823411465,
0.020614348351955414,
0.06455926597118378,
-0.02600686438381672,
-0.005936380010098219,
0.005455501843243837,
-0.00038485467666760087,
0.04143150523304939,
-0.020171597599983215,
0.04615335166454315,
0.012081828899681568,
-0.008539913222193718,
-0.0019197664223611355,
-0.041681595146656036,
0.018663015216588974,
-0.028394527733325958,
-0.29085516929626465,
0.032985664904117584,
0.009296096861362457,
-0.011137026362121105,
0.011200494132936,
-0.00873079989105463,
-0.010974411852657795,
-0.0365755558013916,
-0.03135368227958679,
0.02119958959519863,
0.008538839407265186,
-0.016605975106358528,
-0.060105226933956146,
0.03982938453555107,
-0.019590124487876892,
-0.0004917486803606153,
-0.013032957911491394,
-0.029798414558172226,
-0.002480287104845047,
0.01174882985651493,
0.01614190824329853,
-0.04115551337599754,
0.0022984235547482967,
0.01932045817375183,
0.025783006101846695,
0.005571241490542889,
-0.07734744250774384,
0.06293737143278122,
-0.04609474912285805,
-0.043306704610586166,
0.030610304325819016,
-0.030760422348976135,
0.006675167940557003,
0.009324598126113415,
-0.013036349788308144,
-0.01404363103210926,
0.07877392321825027,
-0.016591133549809456,
0.020179085433483124,
0.002582143060863018,
-0.062112536281347275,
-0.03634687513113022,
-0.0021216904278844595,
-0.020368194207549095,
0.08113479614257812,
-0.0021283640526235104,
-0.06968872249126434,
-0.021644216030836105,
-0.028014520183205605,
0.053561270236968994,
-0.02056150510907173,
-0.056059785187244415,
-0.006098915357142687,
0.014664559625089169,
-0.008557897061109543,
-0.017078831791877747,
0.00839212629944086,
-0.01000379677861929,
-0.048580314964056015,
-0.0397939495742321,
0.020212434232234955,
-0.027811795473098755,
-0.018507013097405434,
-0.03984743356704712,
-0.019801123067736626,
-0.062433045357465744,
-0.036931298673152924,
-0.02959090657532215,
0.04491787031292915,
0.07717626541852951,
-0.022479228675365448,
0.05076229199767113,
-0.021923406049609184,
-0.09553541243076324,
-0.01430318783968687,
-0.04814303666353226,
-0.005124836694449186,
0.012045422568917274,
-0.03454873338341713,
0.037063997238874435,
-0.05047028511762619,
-0.03073602356016636,
0.012011776678264141,
0.024739524349570274,
0.02116735838353634,
-0.009515617974102497,
0.040339794009923935,
-0.040525469928979874,
-0.014884207397699356,
0.001601804862730205,
0.06964163482189178,
-0.041473742574453354,
-0.007979808375239372,
0.011816458776593208,
-0.03483227267861366,
0.0098196379840374,
0.015888946130871773,
0.006845664698630571,
0.018047159537672997,
0.053831733763217926,
0.03002956509590149,
-0.03034323640167713,
0.002106318948790431,
-0.03005417250096798,
-0.018132761120796204,
-0.018087569624185562,
-0.02784108743071556,
0.015138358809053898,
0.004232272505760193,
-0.005308269523084164,
-0.03831791505217552,
-0.02427498623728752,
-0.02691597491502762,
-0.018943844363093376,
-0.048827383667230606,
-0.0035141296684741974,
0.02743196301162243,
0.0018227262189611793,
0.02784319967031479,
-0.04701127111911774,
-0.0572902113199234,
0.023869946599006653,
0.026797378435730934,
-0.004196965601295233,
-0.05493517592549324,
-0.03198470175266266,
-0.012513754889369011,
-0.019597727805376053,
0.04241514578461647,
0.03237907215952873,
-0.01624317467212677,
0.002378196455538273,
-0.015626531094312668,
-0.01766200177371502,
0.03511714190244675,
-0.04921647161245346,
-0.016781127080321312,
0.007976318709552288,
0.03039880469441414,
0.013434591703116894,
-0.023168351501226425,
0.013773470185697079,
0.00532540725544095,
0.044453609734773636,
0.06018059700727463,
0.016695979982614517,
0.032541532069444656,
0.028431933373212814,
0.0015993942506611347,
-0.01650800183415413,
0.006754183676093817,
-0.04617208614945412,
0.008972981944680214,
-0.05830349028110504,
-0.006296657025814056,
-0.02447824366390705,
0.03212388977408409,
-0.009780380874872208,
-0.00512310303747654,
-0.035138484090566635,
0.008054778911173344,
-0.06484922766685486,
-0.0004559366498142481,
0.024806611239910126,
-0.001137008424848318,
0.04420638084411621,
-0.027204684913158417,
0.025934560224413872,
0.015944216400384903,
-0.023311229422688484,
0.021875722333788872,
0.020910508930683136,
-0.020666074007749557,
0.015185914002358913,
-0.019949069246649742,
-0.020451150834560394,
-0.006885377690196037,
0.051341310143470764,
0.005780404433608055,
0.010531066916882992,
0.03387564793229103,
-0.002752718050032854,
0.038962941616773605,
0.012379939667880535,
0.030008239671587944,
-0.0029309887904673815,
-0.04500488191843033,
-0.003259369172155857,
-0.016204284504055977,
-0.00997866503894329,
-0.027030915021896362,
0.008137606084346771,
-0.01162413414567709,
0.020336540415883064,
0.0011477951193228364,
-0.0846518874168396,
0.026812812313437462,
-0.002893142169341445,
0.011716892011463642,
0.01003771647810936,
0.004713165108114481,
0.013499991968274117,
-0.0170876607298851,
0.05524140223860741,
0.017038295045495033,
-0.04137391224503517,
-0.034869804978370667,
0.010341533459722996,
-0.0020039507653564215,
-0.02148260362446308,
-0.0034652291797101498,
-0.043992914259433746,
-0.019488267600536346,
-0.005145510192960501,
-0.0014970875345170498,
-0.01364518515765667,
-0.032460808753967285,
0.0014165982138365507,
0.0020260391756892204,
-0.0009728658478707075,
0.0549762099981308,
-0.00972016341984272,
0.025003237649798393,
-0.022820623591542244,
-0.01933067850768566,
0.019967587664723396,
-0.007278731558471918,
-0.02660427615046501,
0.003405906492844224,
-0.0038660720456391573,
0.03110496513545513,
-0.020327240228652954,
0.03930264711380005,
0.02545488439500332,
0.007888196967542171,
0.005304329562932253,
-0.06247991323471069,
0.030018748715519905,
-0.03309909999370575,
0.03302009776234627,
-0.012466847896575928,
-0.00482135871425271,
-0.028534507378935814,
-0.0021190510597079992,
-0.026287119835615158,
0.015713835135102272,
-0.02063022367656231,
0.011998469941318035,
0.04115661606192589,
0.04665355384349823,
0.004787732847034931,
0.02499600127339363,
0.0061103361658751965,
-0.04157509282231331,
0.03610222041606903,
-0.027718719094991684,
-0.03203607723116875,
-0.008433904498815536,
-0.053158994764089584,
0.040058813989162445,
0.03505381941795349,
0.04561687260866165,
-0.08317863941192627,
0.06661480665206909,
0.02714102528989315,
0.012801725417375565,
0.04593725875020027,
-0.011365359649062157,
0.014668058604001999,
-0.03833567351102829,
-0.02855266071856022,
-0.07093901932239532,
0.0015219217166304588,
0.07634343206882477,
0.035203542560338974,
-0.020411528646945953,
-0.02452479489147663,
-0.047219425439834595,
0.03958405554294586,
-0.06463565677404404,
-0.02620886079967022,
0.028206920251250267,
0.003800286678597331,
-0.008105061016976833,
0.036882419139146805,
-0.03773881494998932,
0.0017752913990989327,
0.06928213685750961,
-0.020993707701563835,
-0.015014730393886566,
-0.03835460916161537,
0.07031357288360596,
0.0036678703036159277,
0.05895529314875603,
-0.016381146386265755,
-0.02558494731783867,
0.0757826566696167,
0.030735377222299576,
0.015309964306652546,
0.0356544591486454,
0.007280426565557718,
0.009098485112190247,
0.02676139585673809,
-0.002000477397814393,
0.019789256155490875,
0.04727089777588844,
-0.01507953368127346,
-0.0602833554148674,
0.04308931156992912,
0.019253337755799294,
-0.02211352065205574,
-0.06459043174982071,
0.06633365154266357,
-0.005746807903051376,
-0.040813446044921875,
-0.019034726545214653,
0.04572302848100662,
-0.033039022237062454,
-0.04111352190375328,
-0.046200044453144073,
-0.012855279259383678,
0.002055033575743437,
0.06711918115615845,
-0.022833187133073807,
0.007832013070583344,
0.06050143763422966,
-0.004781179130077362,
-0.016554776579141617,
0.006907551549375057,
0.06644949316978455,
0.05674982815980911,
0.04268718138337135,
-0.0066025396808981895,
0.05857076495885849,
0.009193136356770992,
-0.027015719562768936,
-0.0025109658017754555,
-0.031104108318686485,
-0.03822041302919388,
-0.00003076388384215534,
-0.017005201429128647,
0.07476085424423218,
-0.012274758890271187,
0.05898909270763397,
-0.030465848743915558,
-0.0027403344865888357,
-0.011500123888254166,
-0.013168477453291416,
0.04593886807560921,
0.03289196267724037,
-0.0018720001680776477,
0.04145672172307968,
-0.055997949093580246,
-0.03713568300008774,
0.028364039957523346,
-0.0007463941583409905,
-0.026153648272156715,
0.03295766934752464,
-0.027299975976347923,
0.008325261995196342,
0.013052358292043209,
0.023194314911961555,
0.09973488003015518,
-0.06662396341562271,
-0.03323949873447418,
0.009137184359133244,
0.008679528720676899,
-0.017175083979964256,
0.014827863313257694,
-0.0034731444902718067,
-0.016151532530784607,
0.002231920836493373,
-0.05539906397461891,
-0.03686954081058502,
-0.03903048858046532,
-0.06365475058555603,
0.017558014020323753,
-0.011940636672079563,
-0.004703313112258911,
-0.007925476878881454,
-0.0059782518073916435,
-0.011995702981948853,
-0.04310572147369385,
-0.047090232372283936,
-0.04174445942044258,
-0.0458252876996994,
-0.03343575447797775,
0.01562377717345953,
-0.008543298579752445,
-0.033814504742622375,
-0.013418838381767273,
-0.024190885946154594,
-0.0009226594702340662,
0.034956566989421844,
-0.01618802919983864,
-0.020719405263662338,
0.00501299137249589,
0.01663081720471382,
0.0017496395157650113,
0.010930005460977554,
0.03848886862397194,
0.004342614207416773,
0.006739157717674971,
-0.017526697367429733,
0.007345742546021938,
0.0411246120929718,
0.01886969804763794,
-0.010498076677322388,
-0.07656920701265335,
-0.012721056118607521,
0.0033507884945720434,
0.013469136320054531,
-0.06455103307962418,
0.002730062697082758,
0.05828413367271423,
0.00720730097964406,
0.059098102152347565,
-0.034514106810092926,
-0.0157956350594759,
-0.03512769937515259,
-0.015145182609558105,
0.009411473758518696,
-0.008778000250458717,
0.042489416897296906,
-0.03144574910402298,
0.06138166785240173,
0.010736484080553055,
-0.02153819240629673,
-0.01781095191836357,
-0.023017819970846176,
-0.02214716374874115,
0.02564626932144165,
-0.04281216859817505,
-0.03506076708436012,
-0.05432165786623955,
-0.07186605781316757,
-0.03564703091979027,
0.041336704045534134,
-0.025154221802949905,
-0.009205776266753674,
0.0012790487380698323,
0.01887558400630951,
-0.034540288150310516,
0.04255335032939911,
-0.05024341866374016,
0.016473092138767242,
-0.008662723004817963,
-0.031974658370018005,
-0.021530576050281525,
0.030770063400268555,
0.0065923877991735935,
-0.011959085240960121,
0.03854590281844139,
-0.04168467968702316,
-0.018845807760953903,
-0.04359140247106552,
0.02728906087577343,
0.049043819308280945,
0.006016864441335201,
0.008162137120962143
] | [
-0.07381395995616913,
-0.02728598192334175,
-0.03580160066485405,
0.002444628393277526,
0.05548017472028732,
-0.058601584285497665,
-0.027019739151000977,
0.0147347841411829,
0.013099565170705318,
0.01052324753254652,
-0.0036127923522144556,
-0.0626370832324028,
0.012325690127909184,
0.018176177516579628,
0.08091551810503006,
-0.00963930506259203,
-0.0367790088057518,
-0.06094402074813843,
-0.04710480198264122,
0.03923622518777847,
0.018804097548127174,
0.002916396828368306,
0.018882468342781067,
-0.013559154234826565,
-0.003257990814745426,
0.004415202885866165,
0.0337248295545578,
-0.021498987451195717,
-0.002975069684907794,
-0.19163520634174347,
0.05620940029621124,
-0.005108341109007597,
-0.03229557350277901,
-0.013839038088917732,
-0.00797682162374258,
0.018029125407338142,
0.04016892611980438,
-0.02325204201042652,
0.0316956602036953,
0.0720430314540863,
0.03441271558403969,
0.007050864864140749,
-0.06199980154633522,
-0.01664336584508419,
0.028654929250478745,
-0.0011046319268643856,
0.019598927348852158,
-0.022476108744740486,
-0.011275461874902248,
0.005741169676184654,
-0.028386441990733147,
-0.009272460825741291,
-0.027477487921714783,
-0.02405855618417263,
0.004162583500146866,
0.0059127057902514935,
0.05165470764040947,
0.08877041935920715,
0.03532177582383156,
0.025619952008128166,
0.02575084939599037,
0.0009528706432320178,
-0.12350254505872726,
0.10673216730356216,
-0.03057369403541088,
0.04520649462938309,
-0.0602266900241375,
0.0028817683923989534,
-0.0013165533309802413,
0.07044503837823868,
-0.007752967067062855,
0.0013357193674892187,
-0.07370965927839279,
0.08458241820335388,
-0.012250316329300404,
0.006055853795260191,
0.01706065982580185,
0.01636122725903988,
0.08111439645290375,
-0.02970271185040474,
-0.044641491025686264,
-0.008199425414204597,
0.010229331441223621,
-0.014337674714624882,
0.030290741473436356,
-0.005071164108812809,
0.007481648586690426,
0.016070472076535225,
0.03371315076947212,
0.0022416519932448864,
0.03934022784233093,
-0.0632089376449585,
-0.009212869219481945,
0.042455706745386124,
-0.060750167816877365,
-0.01398300938308239,
0.021063800901174545,
-0.009500864893198013,
-0.02366769313812256,
0.37230318784713745,
0.003839754033833742,
-0.016748737543821335,
0.022246263921260834,
0.04318871721625328,
0.030579542741179466,
-0.03625943511724472,
0.016158638522028923,
-0.031568825244903564,
0.023143811151385307,
-0.04649491235613823,
-0.0041529471054673195,
-0.045269206166267395,
0.020061004906892776,
-0.06548386812210083,
-0.021529335528612137,
0.04329996928572655,
-0.005346650257706642,
-0.012242643162608147,
-0.026599174365401268,
-0.02564522996544838,
-0.0019381997408345342,
-0.03808434307575226,
0.05218822509050369,
0.006488476879894733,
0.002206958830356598,
0.0447920560836792,
0.030063295736908913,
0.06856898963451385,
-0.0014249800005927682,
0.053451552987098694,
0.037902798503637314,
-0.010435042902827263,
-0.09272312372922897,
-0.005087147932499647,
-0.009780907072126865,
-0.0060921539552509785,
0.02781752496957779,
-0.057684894651174545,
0.014172231778502464,
0.021500833332538605,
-0.027187440544366837,
-0.0590100921690464,
-0.023565078154206276,
-0.012282788753509521,
-0.04255008324980736,
0.12820686399936676,
-0.021793222054839134,
-0.028449570760130882,
-0.05907515063881874,
-0.040860798209905624,
-0.005778951570391655,
0.049245018512010574,
-0.0008986488101072609,
-0.06497068703174591,
0.0012917200801894069,
0.018576210364699364,
0.09222022444009781,
0.009846404194831848,
-0.02987680397927761,
-0.0341247096657753,
-0.033458221703767776,
-0.05839168280363083,
-0.014752165414392948,
0.05024523660540581,
0.02886364981532097,
-0.14048686623573303,
-0.044894054532051086,
-0.005594980902969837,
-0.009508300572633743,
-0.03271358460187912,
0.028843821957707405,
0.016481127589941025,
-0.060063160955905914,
-0.008007634431123734,
0.045902032405138016,
-0.01766420342028141,
-0.047811441123485565,
0.007302585523575544,
0.06396321207284927,
0.0032416509930044413,
-0.024482732638716698,
-0.01402230840176344,
-0.019675549119710922,
-0.014315932989120483,
-0.07488208264112473,
-0.05717220529913902,
-0.08301657438278198,
0.016251344233751297,
-0.007628449238836765,
-0.04661107435822487,
-0.01893305405974388,
0.023495201021432877,
-0.04353826120495796,
0.04230661690235138,
-0.03401761129498482,
0.01847834326326847,
0.014085041359066963,
0.0017599182901903987,
0.03895692154765129,
-0.04515336453914642,
0.05115189403295517,
0.04265647009015083,
0.007482790853828192,
0.01646522432565689,
-0.06740706413984299,
0.012702136300504208,
0.07866333425045013,
0.0018811709014698863,
0.05777827650308609,
0.02997429668903351,
-0.07468513399362564,
-0.006857862696051598,
-0.028144314885139465,
-0.01816992275416851,
-0.020405085757374763,
-0.03831058368086815,
-0.016034847125411034,
-0.005566183011978865,
0.015000819228589535,
0.03873974457383156,
-0.056522443890571594,
-0.011590959504246712,
0.003149991622194648,
-0.35185420513153076,
-0.013444056734442711,
-0.012626607902348042,
-0.03824811056256294,
0.0686875581741333,
-0.06647644937038422,
0.025605615228414536,
0.022089101374149323,
-0.02223896235227585,
0.024135088548064232,
0.1153426393866539,
-0.002368850400671363,
0.036402858793735504,
-0.07521390914916992,
-0.01410046685487032,
0.015612838789820671,
-0.009568890556693077,
-0.026568396016955376,
-0.022267749533057213,
0.04371362179517746,
-0.027936894446611404,
-0.03835930675268173,
-0.006006069481372833,
-0.07108834385871887,
-0.008356940001249313,
-0.028730830177664757,
0.09960604459047318,
0.021133216097950935,
0.036846913397312164,
-0.059399865567684174,
0.06745236366987228,
0.017370685935020447,
-0.010114544071257114,
-0.12180551141500473,
-0.022866234183311462,
0.007512337993830442,
0.02083035185933113,
0.06473769247531891,
0.040536437183618546,
0.0007203388959169388,
-0.0005975518142804503,
0.040521040558815,
-0.0338074266910553,
-0.048524126410484314,
-0.021009152755141258,
0.01810259371995926,
-0.04139251261949539,
-0.025558704510331154,
0.0018748436123132706,
0.08895110338926315,
-0.03109988011419773,
0.03803887590765953,
0.012615576386451721,
-0.0036009829491376877,
-0.02722519263625145,
-0.023282961919903755,
-0.05350375548005104,
-0.05140534043312073,
0.02119923010468483,
0.01131946500390768,
-0.003421876346692443,
0.03151000291109085,
0.05908433720469475,
-0.08502531796693802,
0.0213154423981905,
-0.029279334470629692,
0.002339715138077736,
0.007489134557545185,
0.051537275314331055,
-0.039663419127464294,
-0.03094513714313507,
0.10573334991931915,
0.008506891317665577,
0.08671931177377701,
0.009244048967957497,
0.03384045138955116,
-0.01276261918246746,
0.03896503895521164,
0.03325063735246658,
-0.005852145608514547,
0.04176313430070877,
0.00004202546915621497,
0.05357654020190239,
0.002090238966047764,
-0.00022245931904762983,
0.04924000799655914,
-0.026912644505500793,
0.018002768978476524,
0.05887065827846527,
0.026484685018658638,
-0.06310507655143738,
-0.031434278935194016,
-0.036205485463142395,
-0.012010308913886547,
0.04687616974115372,
-0.015412596054375172,
-0.25138261914253235,
0.038920748978853226,
0.039620429277420044,
0.04619858041405678,
0.021578511223196983,
0.017583761364221573,
0.04623670503497124,
-0.04109540954232216,
-0.008258553221821785,
0.01758468523621559,
0.027951598167419434,
0.025596093386411667,
0.002384513383731246,
0.015003581531345844,
0.01232222095131874,
0.0010620008688420057,
0.03861003369092941,
0.011161446571350098,
0.004110564477741718,
0.02800547517836094,
0.03814020752906799,
-0.026690568774938583,
0.1835702359676361,
0.027483731508255005,
0.04518471658229828,
0.02624744549393654,
-0.011037053540349007,
-0.015162418596446514,
0.06135716661810875,
0.015865374356508255,
0.003868314204737544,
0.016912367194890976,
0.027192892506718636,
0.016346313059329987,
0.030238011851906776,
-0.0712314322590828,
-0.018741782754659653,
0.037440333515405655,
0.01767604798078537,
-0.03128813952207565,
-0.041205890476703644,
-0.0013833037810400128,
-0.0478367805480957,
0.04043157771229744,
0.046619560569524765,
-0.013577022589743137,
0.0007942328229546547,
-0.050545584410429,
-0.039632685482501984,
0.008568193763494492,
-0.006997502874583006,
-0.022489191964268684,
-0.01908002980053425,
-0.00898329820483923,
0.019169170409440994,
0.07258668541908264,
0.02577241137623787,
-0.013627910055220127,
0.007621132303029299,
0.03932520002126694,
0.000134259884362109,
-0.030994722619652748,
0.13015000522136688,
-0.009156804531812668,
-0.0019206571159884334
] | [
-0.011630591936409473,
0.04106130823493004,
0.02323743887245655,
0.027960289269685745,
-0.007852156646549702,
-0.01912194862961769,
-0.04123123735189438,
0.017385490238666534,
-0.01608743704855442,
-0.00724899722263217,
-0.04607298597693443,
0.039434246718883514,
0.05158795416355133,
-0.0012488500215113163,
0.02285543456673622,
0.0173683762550354,
-0.021288858726620674,
0.03330618515610695,
-0.009257251396775246,
-0.016619062051177025,
0.016388941556215286,
0.049043867737054825,
0.04081786051392555,
0.012826668098568916,
-0.0398176908493042,
-0.035048872232437134,
-0.048396237194538116,
0.01539923157542944,
0.03772489354014397,
-0.1241900771856308,
-0.010303028859198093,
-0.02949400059878826,
-0.04429645463824272,
0.0047958409413695335,
-0.020424734801054,
0.0014349945122376084,
-0.008853317238390446,
-0.01889561302959919,
0.0014098862884566188,
0.023702023550868034,
0.036938827484846115,
-0.007472245022654533,
-0.04707606881856918,
0.004792127758264542,
-0.019859468564391136,
-0.0023574677761644125,
-0.02638455294072628,
-0.016443276777863503,
-0.017520636320114136,
-0.0010676883393898606,
-0.03984883055090904,
-0.023232975974678993,
-0.022935230284929276,
-0.013051367364823818,
-0.014161127619445324,
-0.004181237425655127,
-0.05432242527604103,
-0.014943994581699371,
0.005421917419880629,
-0.03532269597053528,
-0.00006632612348766997,
-0.018075045198202133,
-0.0337691605091095,
-0.02531345933675766,
-0.01966855674982071,
-0.016856245696544647,
-0.01482811663299799,
0.00434524891898036,
0.030965760350227356,
0.017533035948872566,
-0.02860678732395172,
0.03180314227938652,
-0.06412927061319351,
-0.0028846170753240585,
0.0041710007935762405,
-0.020297681912779808,
0.03414669260382652,
-0.02119395136833191,
-0.023987116292119026,
-0.012701821513473988,
0.02119849994778633,
-0.019057314842939377,
-0.003597316797822714,
0.026804709807038307,
0.035535410046577454,
-0.0383361391723156,
0.017787382006645203,
0.010882130824029446,
0.021855000406503677,
-0.004020892083644867,
-0.009931780397891998,
-0.01989174447953701,
-0.002711058361455798,
0.013298623263835907,
-0.08324737101793289,
0.0007002424099482596,
0.03755906969308853,
-0.005359917879104614,
-0.03524923697113991,
0.8368223905563354,
0.027312982827425003,
-0.02713680826127529,
0.0049003115855157375,
0.005910446867346764,
0.02639727294445038,
-0.00787389650940895,
-0.012067408300936222,
0.023917635902762413,
0.01454623881727457,
-0.02364717610180378,
-0.013288766145706177,
0.010831179097294807,
0.0025537924375385046,
-0.000807015283498913,
-0.0029203505255281925,
0.046840764582157135,
0.01997288316488266,
-0.009723547846078873,
-0.009977304376661777,
-0.004423020873218775,
0.020271768793463707,
0.010166377760469913,
-0.007034020964056253,
0.004399249330163002,
-0.03294747695326805,
-0.17162451148033142,
0.010676552541553974,
-7.662127113997005e-33,
0.049458205699920654,
-0.015496988780796528,
0.021501449868083,
0.020578062161803246,
0.014326635748147964,
0.04370225593447685,
0.06402642279863358,
0.014208497479557991,
-0.027064183726906776,
-0.044407762587070465,
-0.011588605120778084,
-0.011846345849335194,
-0.002047063549980521,
-0.01715569943189621,
0.005658548790961504,
-0.015953628346323967,
-0.02584616281092167,
0.05498801916837692,
-0.004724935162812471,
0.030716707929968834,
0.021937968209385872,
0.050506655126810074,
0.008766609244048595,
0.013958546333014965,
0.004918780643492937,
0.02087363973259926,
0.0003084302006755024,
0.0015372707275673747,
-0.038978684693574905,
-0.057157404720783234,
-0.022950630635023117,
0.015976320952177048,
-0.01963636837899685,
-0.03135731443762779,
0.022562634199857712,
-0.04321685805916786,
0.004037714097648859,
0.01169324666261673,
-0.02272964082658291,
-0.05352916941046715,
-0.041649557650089264,
0.0020054071210324764,
0.00214785267598927,
-0.006539216265082359,
-0.05372467637062073,
-0.03496042266488075,
-0.015506109222769737,
0.01900390535593033,
-0.004640424158424139,
0.03586139157414436,
0.010123936459422112,
0.000024591072360635735,
0.0017129599582403898,
-0.0141792893409729,
-0.037547267973423004,
0.008344276808202267,
0.0291058998554945,
0.006485191639512777,
0.007705431431531906,
-0.011786161921918392,
0.012245312333106995,
-0.00586270447820425,
-0.004630845971405506,
0.020909052342176437,
0.0012997016310691833,
0.012884348630905151,
0.03239104896783829,
0.04396353289484978,
0.036399949342012405,
0.03725554049015045,
-0.03379286453127861,
0.053071584552526474,
-0.03238239139318466,
-0.03714139387011528,
0.028321681544184685,
-0.06005707383155823,
-0.035199593752622604,
-0.015384461730718613,
0.01984648033976555,
0.06300070136785507,
0.038018301129341125,
-0.032643307000398636,
-0.0004264223971404135,
0.009431157261133194,
0.001101853558793664,
-0.008044630289077759,
0.02605120837688446,
0.006804340519011021,
0.0093874242156744,
0.018098559230566025,
0.049363527446985245,
0.009035996161401272,
0.007464067079126835,
-0.016195060685276985,
-0.029359551146626472,
8.06018109259611e-33,
0.01924031414091587,
0.00341974338516593,
-0.013661413453519344,
0.044928956776857376,
0.02316119894385338,
-0.016051726415753365,
0.01139263715595007,
0.02326538972556591,
-0.0339115746319294,
0.03674277290701866,
0.0052420529536902905,
0.016829924657940865,
0.0032091301400214434,
0.0046996972523629665,
0.03455609083175659,
-0.0181978028267622,
-0.01646445132791996,
-0.026537632569670677,
0.03408431261777878,
-0.011875822208821774,
-0.033724818378686905,
-0.009429417550563812,
0.0028577735647559166,
0.0178860891610384,
-0.005693669430911541,
0.0305732823908329,
-0.013018316589295864,
-0.014654525555670261,
0.008924328722059727,
0.0021342351101338863,
-0.0026126750744879246,
-0.019645802676677704,
0.0019794185645878315,
-0.012149122543632984,
0.005516648758202791,
0.037727199494838715,
-0.0029731146059930325,
0.013751426711678505,
0.037314675748348236,
-0.007416621316224337,
0.030209170654416084,
0.017256461083889008,
0.01570086181163788,
0.06081445887684822,
0.02364106848835945,
-0.011803417466580868,
-0.0068565658293664455,
0.020696913823485374,
-0.007032036315649748,
0.033980511128902435,
-0.0037665432319045067,
0.006340049207210541,
-0.0015338801313191652,
0.038767751306295395,
0.0172947496175766,
-0.04371669888496399,
-0.06524236500263214,
0.03346856310963631,
-0.019798090681433678,
0.020027829334139824,
-0.009323127567768097,
0.010534482076764107,
-0.06594488024711609,
0.01705373264849186,
-0.025571824982762337,
-0.012673432007431984,
-0.05798936262726784,
-0.001499128993600607,
0.00644941721111536,
0.012329556979238987,
0.013741450384259224,
0.00098717724904418,
-0.004336479119956493,
0.007322054356336594,
0.05617125332355499,
-0.04272491857409477,
-0.017525864765048027,
0.0017117997631430626,
0.0015221363864839077,
0.05141457915306091,
0.009618273004889488,
-0.00015167068340815604,
0.01805046945810318,
0.008554616011679173,
-0.011558168567717075,
-0.03551217541098595,
-0.01684875413775444,
0.0596548467874527,
-0.012299164198338985,
-0.0116948951035738,
-0.0019223116105422378,
-0.012104298919439316,
-0.0069083175621926785,
0.06018894910812378,
0.006988330744206905,
-1.308782948683529e-8,
-0.020076511427760124,
0.03792016953229904,
-0.015946775674819946,
0.010876962915062904,
0.01344163715839386,
0.03149186819791794,
-0.027841173112392426,
0.015809716656804085,
0.00966095831245184,
0.03038719855248928,
0.041528020054101944,
-0.002934034215286374,
0.01001540757715702,
0.020054662600159645,
-0.005063824821263552,
-0.025209736078977585,
-0.018240025267004967,
0.00034890579991042614,
0.04061146825551987,
0.002386256819590926,
0.005699819419533014,
0.03223060443997383,
-0.013230374082922935,
-0.014413796365261078,
0.04131921008229256,
0.003714310936629772,
0.01740230992436409,
-0.06637069582939148,
-0.034851379692554474,
-0.022552933543920517,
-0.02217160537838936,
-0.04565565288066864,
-0.04665010794997215,
0.013393714092671871,
-0.01283390074968338,
-0.006493510212749243,
-0.012301980517804623,
0.013757898472249508,
0.016917778179049492,
0.012978279031813145,
0.0002757818438112736,
0.01632312685251236,
0.002883447799831629,
-0.021790165454149246,
-0.002169844461604953,
-0.010803576558828354,
-0.02454552985727787,
0.0051679969765245914,
0.03441909700632095,
-0.009666443802416325,
0.005903511308133602,
-0.030956214293837547,
0.03941642865538597,
-0.02175111509859562,
0.030391626060009003,
-0.006769746076315641,
0.01712474785745144,
-0.025307869538664818,
-0.021397026255726814,
-0.013994162902235985,
0.027784835547208786,
0.02896401658654213,
-0.008271277882158756,
0.0038130164612084627
] | python-add-query-parameters-url | https://markhneedham.com/blog/2019/01/11/python-add-query-parameters-url |
false | 2019-01-12 19:05:00 | Neo4j: APOC - Caused by: java.io.RuntimeException: Can't read url or key file (No such file or directory) | [
"neo4j",
"apoc"
] | [
"Neo4j"
] | I've been using Neo4j's https://neo4j-contrib.github.io/neo4j-apoc-procedures/[APOC^] library to load some local JSON files this week, and ran into an interesting problem.
The `LOAD CSV` tool assumes that any files you load locally are in the `import` directory, so I've got into the habit of putting my data there.
Let's check what I'm trying to import by opening the import directory:
image::{{<siteurl>}}/uploads/2019/01/import-directory.png[]
What's in there?
image::{{<siteurl>}}/uploads/2019/01/import-directory-contents.png[]
Just the one JSON file needs processing.
If we want to import local files we need to add the following property to our Neo4j configuration file:
[source, text]
----
apoc.import.file.enabled=true
----
If you're using the Neo4j Desktop, you can add this property via the 'Settings' tab:
image::{{<siteurl>}}/uploads/2019/01/Selection_142.png[]
Once we've done that we'll need to restart the database so our new settings will be picked up:
image::{{<siteurl>}}/uploads/2019/01/restart-after-config.png[]
Now let's try to process our JSON file:
[source, cypher]
----
neo4j> CALL apoc.load.json("file:///dummy.json");
Failed to invoke procedure `apoc.load.json`: Caused by: java.lang.RuntimeException: Can't read url or key file:/dummy.json as json: /dummy.json (No such file or directory)
----
Hmm, that didn't work as we expected - it seems to be trying to read the file from the root of the machine rather than from the `import` directory.
It turns out I hadn't RTFM:
image::{{<siteurl>}}/uploads/2019/01/local-files.png[]
Let's update our Neo4j configuration file to add the following property:
[source, text]
----
apoc.import.file.use_neo4j_config=true
----
If we re-run our query we'll see that it now finds and processes the file:
image::{{<siteurl>}}/uploads/2019/01/load-json.png[] | Learn how to import files from the import folder when using the APOC library. | null | [
0.004233574960380793,
-0.024486485868692398,
-0.016296617686748505,
0.04838745296001434,
0.08715083450078964,
0.004006887786090374,
0.029801197350025177,
0.03647236153483391,
-0.004682405386120081,
-0.02136198617517948,
-0.006295991130173206,
-0.021163810044527054,
-0.08319734781980515,
-0.008183673955500126,
0.0065069920383393764,
0.0603032261133194,
0.08607864379882812,
-0.0017721644835546613,
0.016200991347432137,
-0.01229665707796812,
0.024993712082505226,
0.04919140040874481,
-0.001594275003299117,
0.040039341896772385,
-0.010553691536188126,
-0.01187938917428255,
0.005049074534326792,
-0.005111083388328552,
-0.05220844969153404,
0.0032571207266300917,
0.03231722116470337,
-0.012489999644458294,
0.04145791754126549,
-0.009133297950029373,
0.016141947358846664,
0.015500389970839024,
-0.028662486001849174,
-0.010451454669237137,
-0.016427157446742058,
0.02029351145029068,
-0.03767676651477814,
0.02918907441198826,
-0.0038025937974452972,
0.005622041877359152,
-0.022818632423877716,
0.002305653877556324,
-0.023977719247341156,
0.052473414689302444,
-0.005146431270986795,
-0.020126082003116608,
-0.07368973642587662,
0.02039170078933239,
-0.02991856075823307,
-0.009215941652655602,
0.028670895844697952,
0.04518158361315727,
0.010802926495671272,
-0.07332952320575714,
0.050844594836235046,
-0.02184196747839451,
-0.018217092379927635,
-0.01829705946147442,
0.010205109603703022,
0.017184916883707047,
-0.0028900238685309887,
-0.03738488256931305,
0.000046946941438363865,
0.07895400375127792,
-0.04973187670111656,
-0.02561645209789276,
0.017110660672187805,
0.016627805307507515,
-0.02324957214295864,
-0.006956074386835098,
0.005672924220561981,
-0.05929649993777275,
-0.001288281287997961,
0.04051109775900841,
0.013044256716966629,
0.07952141016721725,
-0.014839830808341503,
0.02431933395564556,
0.0012121422914788127,
0.016705671325325966,
0.014248925261199474,
-0.06266379356384277,
-0.029296953231096268,
0.003030410734936595,
-0.03641310706734657,
0.052371278405189514,
0.03207527473568916,
-0.028200628235936165,
-0.0057717543095350266,
0.010769433341920376,
0.0035517544019967318,
0.01290061604231596,
-0.031263258308172226,
0.027098026126623154,
0.01849387213587761,
0.014892004430294037,
-0.04762546718120575,
0.010331938043236732,
-0.01062779314815998,
0.023129014298319817,
-0.058001622557640076,
-0.0222475528717041,
-0.008676622062921524,
-0.05190231651067734,
-0.003962927032262087,
-0.015688229352235794,
-0.023539962247014046,
-0.004741880111396313,
0.00008227137004723772,
-0.019529998302459717,
-0.08331696689128876,
0.06932865083217621,
0.035578738898038864,
-0.009093041531741619,
-0.015991799533367157,
0.03109198622405529,
0.04846803471446037,
0.03878804296255112,
-0.007324067875742912,
0.05384316295385361,
-0.006491500418633223,
0.02714589238166809,
-0.003907160367816687,
0.04413587227463722,
-0.008369667455554008,
-0.05173487961292267,
-0.01935623213648796,
0.043713778257369995,
0.0022209775634109974,
0.02827650122344494,
0.0027070892974734306,
-0.03729269653558731,
-0.0068975780159235,
0.020654302090406418,
0.07046882063150406,
0.005060635507106781,
-0.014129477553069592,
-0.060120441019535065,
0.02144850417971611,
-0.008599388413131237,
0.028514811769127846,
0.023613939061760902,
-0.02196769416332245,
-0.06249942258000374,
-0.022660624235868454,
0.005498941987752914,
0.028948824852705002,
0.04030003026127815,
0.08303716033697128,
-0.01857195422053337,
-0.0215147715061903,
0.1197538822889328,
0.04143365100026131,
0.014868990518152714,
-0.03734160587191582,
0.014657764695584774,
0.03157329931855202,
0.04767877981066704,
-0.005741442553699017,
0.0672212690114975,
-0.03206649422645569,
-0.036294788122177124,
-0.015689732506871223,
0.04796973615884781,
0.016014285385608673,
0.02070070616900921,
-0.03152647987008095,
-0.07964255660772324,
0.0704219862818718,
-0.03965388610959053,
0.002933864714577794,
0.05788710340857506,
0.06628362834453583,
-0.007262503262609243,
0.002686664229258895,
0.01720842905342579,
-0.07882644981145859,
0.041621867567300797,
-0.0003583519719541073,
-0.005828372202813625,
0.004220542497932911,
0.011668873019516468,
0.06138221547007561,
0.02296563610434532,
0.010279608890414238,
0.0506465844810009,
-0.0841578021645546,
-0.07068080455064774,
-0.03466048464179039,
-0.0036301317159086466,
0.06617151200771332,
-0.022664828225970268,
-0.025215545669198036,
0.060678690671920776,
0.016405420377850533,
0.03932809457182884,
0.03525429591536522,
-0.030525250360369682,
0.03580633923411369,
-0.07710668444633484,
-0.059007640928030014,
0.03126615658402443,
0.02393602579832077,
-0.03158942610025406,
-0.012165066786110401,
0.006020541302859783,
-0.040184181183576584,
-0.005688443314284086,
0.04279699549078941,
-0.016990087926387787,
0.04044225066900253,
0.006199824623763561,
0.021612513810396194,
-0.020642578601837158,
0.005122329108417034,
-0.06930708140134811,
0.04074777662754059,
-0.002235005609691143,
-0.021572936326265335,
-0.022011850029230118,
0.006028950214385986,
0.10644561797380447,
0.049128323793411255,
-0.00877603143453598,
-0.0575520321726799,
0.035333383828401566,
0.024589719250798225,
-0.03336106613278389,
0.014961636625230312,
-0.021128317341208458,
-0.016172710806131363,
-0.011484276503324509,
-0.058575890958309174,
-0.008134795352816582,
-0.0195382721722126,
0.005679659079760313,
0.011137972585856915,
0.05452338606119156,
-0.015516800805926323,
0.015114462934434414,
0.035040974617004395,
0.0012720722006633878,
0.0012093704426661134,
-0.05210964381694794,
-0.05378396436572075,
0.018651096150279045,
0.034492120146751404,
-0.011807933449745178,
0.05345304682850838,
-0.0054266806691884995,
0.020620906725525856,
-0.0374920517206192,
-0.028394583612680435,
0.016821999102830887,
0.021753503009676933,
0.06113626807928085,
0.02370193600654602,
0.033589839935302734,
-0.06722564250230789,
-0.009424583055078983,
-0.017183473333716393,
-0.03993359953165054,
-0.03231927007436752,
-0.010045711882412434,
0.05098581686615944,
-0.003098014509305358,
0.03318081423640251,
-0.011208952404558659,
0.012434056028723717,
-0.010678814724087715,
0.008365455083549023,
-0.00471923453733325,
0.030590053647756577,
-0.003548087552189827,
0.012807805091142654,
-0.03507101535797119,
-0.019793108105659485,
0.059846870601177216,
-0.06307799369096756,
-0.03338935226202011,
-0.006741181015968323,
-0.057445161044597626,
0.033879078924655914,
-0.04464041069149971,
-0.04991873726248741,
-0.005110666621476412,
0.0112757021561265,
0.03670061379671097,
0.012356770224869251,
0.009023148566484451,
0.05589771270751953,
0.014986307360231876,
0.02061600610613823,
0.016606809571385384,
-0.016848638653755188,
0.061331409960985184,
-0.005787425208836794,
0.04239779710769653,
0.03813619911670685,
-0.00545390835031867,
0.0007950919680297375,
-0.028510043397545815,
-0.022165320813655853,
-0.032141540199518204,
-0.2732999324798584,
0.056561633944511414,
-0.03119419887661934,
-0.05793425813317299,
0.01705295965075493,
-0.026073895394802094,
-0.005400848109275103,
-0.003991078585386276,
-0.012764127925038338,
0.019610067829489708,
-0.001969464123249054,
-0.040065936744213104,
-0.008482277393341064,
0.04017149284482002,
-0.008868382312357426,
0.021667184308171272,
-0.010363672859966755,
-0.030362866818904877,
0.019464388489723206,
0.014774826355278492,
-0.007994674146175385,
-0.02817661687731743,
0.010293741710484028,
0.03999735042452812,
-0.013586248271167278,
0.054398030042648315,
-0.06930727511644363,
0.048571810126304626,
-0.02732447348535061,
-0.0479392483830452,
0.010938627645373344,
-0.027063021436333656,
0.035516079515218735,
0.015024217776954174,
-0.021994777023792267,
-0.0054688104428350925,
0.050677213817834854,
0.005017638672143221,
-0.016926970332860947,
-0.010231712833046913,
-0.04695531353354454,
-0.04485130310058594,
-0.02146361954510212,
-0.011626845225691795,
0.07886791229248047,
-0.02349024824798107,
-0.09126200526952744,
-0.002585427835583687,
-0.057330504059791565,
0.08178296685218811,
-0.02192775160074234,
-0.032760463654994965,
-0.014213561080396175,
0.03636307269334793,
-0.022486397996544838,
-0.01871652714908123,
-0.0068243565037846565,
0.014705950394272804,
-0.06187448650598526,
-0.05465397611260414,
-0.00337595515884459,
-0.04520682990550995,
0.008842002600431442,
-0.033213790506124496,
-0.03806082159280777,
-0.060803238302469254,
-0.07648095488548279,
-0.04025255888700485,
0.05403611809015274,
0.030252885073423386,
-0.03282342478632927,
0.0533914752304554,
-0.0028236056677997112,
-0.10802346467971802,
-0.025949764996767044,
-0.03737540915608406,
-0.024362867698073387,
-0.004622880835086107,
-0.038644276559352875,
0.058108139783144,
-0.04257464036345482,
-0.009697578847408295,
0.03666773438453674,
0.03210132569074631,
-0.00863702967762947,
0.0022383953910320997,
0.03499489277601242,
-0.02564278431236744,
-0.028800196945667267,
0.010295401327311993,
0.06557012349367142,
-0.05357136204838753,
-0.0024655433371663094,
0.0024637163151055574,
-0.024227134883403778,
0.01904669962823391,
0.0015367497690021992,
-0.01493473444133997,
0.043539199978113174,
0.026803115382790565,
0.059558309614658356,
-0.0339590385556221,
-0.00475712027400732,
-0.024382397532463074,
0.008874969556927681,
-0.03569291904568672,
-0.04521854221820831,
0.02573060430586338,
0.009173371829092503,
0.03774639219045639,
0.005024606361985207,
-0.002820720197632909,
0.023289980366826057,
-0.05549008026719093,
-0.008487347513437271,
0.012874489650130272,
0.021921202540397644,
0.020383499562740326,
0.04837968572974205,
-0.02874566987156868,
-0.0740152969956398,
0.0356375128030777,
0.045058540999889374,
-0.02418430708348751,
-0.03683844581246376,
-0.04420910403132439,
-0.03359704837203026,
-0.021474989131093025,
-0.0065719615668058395,
-0.0015540550230070949,
-0.02937922812998295,
0.02921312302350998,
0.04042256250977516,
-0.026318589225411415,
0.018253987655043602,
-0.04154897853732109,
-0.02561706118285656,
-0.039066169410943985,
0.04834605008363724,
0.0021738687064498663,
-0.01540098525583744,
0.009392461739480495,
-0.010973361320793629,
0.036070358008146286,
0.050659455358982086,
0.007314071524888277,
0.011919013224542141,
0.03277376666665077,
0.0314347930252552,
-0.05381077527999878,
-0.02859514206647873,
-0.055585507303476334,
0.025755194947123528,
-0.03655026853084564,
-0.05032181367278099,
-0.02154204435646534,
0.01200226042419672,
-0.018886836245656013,
-0.0143592469394207,
-0.03985431790351868,
0.016491351649165154,
-0.0574483685195446,
0.012229377403855324,
-0.005716975778341293,
-0.029544519260525703,
0.048562098294496536,
0.005247000139206648,
0.019355231896042824,
-0.024308079853653908,
-0.008413874544203281,
0.03796761855483055,
0.028811616823077202,
-0.028394997119903564,
-0.004775412380695343,
-0.021349631249904633,
-0.00862457137554884,
0.007083056960254908,
0.03352917730808258,
0.0335795097053051,
0.036720097064971924,
-0.011187965981662273,
-0.013002068735659122,
0.01334832888096571,
0.010132753290235996,
0.06159254163503647,
0.015356811694800854,
-0.038831934332847595,
0.000869637995492667,
-0.021831586956977844,
-0.03989963233470917,
-0.03667769953608513,
-0.004906699061393738,
-0.018916120752692223,
0.0028210540767759085,
0.00013194314669817686,
-0.0592309795320034,
0.038114551454782486,
-0.02171562798321247,
0.01804647594690323,
0.052760619670152664,
-0.01518280804157257,
0.00008334297308465466,
-0.024277612566947937,
0.035996124148368835,
0.047621313482522964,
-0.048655297607183456,
-0.04809132218360901,
0.009676247835159302,
0.006873497273772955,
0.0007411750848405063,
0.01488299947232008,
-0.061908308416604996,
-0.039276961237192154,
-0.00897794310003519,
0.014145545661449432,
-0.02198723703622818,
-0.04471958801150322,
-0.017386535182595253,
0.006354004610329866,
-0.002389762084931135,
-0.02637455239892006,
0.025338731706142426,
-0.0006709705339744687,
-0.005143863148987293,
-0.003004467813298106,
0.023782389238476753,
-0.0024319193325936794,
-0.010082986205816269,
0.020676646381616592,
-0.015663331374526024,
0.020404452458024025,
-0.013050916604697704,
0.055125363171100616,
0.028907019644975662,
-0.018092922866344452,
-0.019152270630002022,
-0.02761879935860634,
0.01947721280157566,
-0.012341746129095554,
0.05887538939714432,
-0.006672459188848734,
0.024012824520468712,
-0.004625906702131033,
0.007477954961359501,
-0.007648667320609093,
-0.01239850465208292,
-0.035617928951978683,
-0.030088627710938454,
0.025726258754730225,
0.06811429560184479,
0.02455400861799717,
0.006864546798169613,
0.007318949792534113,
-0.039966851472854614,
0.041398849338293076,
-0.04380783438682556,
-0.06707770377397537,
0.011382747441530228,
-0.03812728077173233,
0.028843428939580917,
0.04309336841106415,
-0.004803034942597151,
-0.05642281100153923,
0.06440731137990952,
0.05318966135382652,
0.013647714629769325,
0.027371631935238838,
-0.006759462412446737,
0.042348381131887436,
-0.024335118010640144,
-0.04229950159788132,
-0.10216362774372101,
0.021892916411161423,
0.0494612492620945,
-0.012571483850479126,
0.00973658636212349,
-0.016416821628808975,
-0.028236275538802147,
0.041785527020692825,
-0.05382333695888519,
-0.03850756213068962,
0.06223646551370621,
-0.017866939306259155,
0.019321858882904053,
-0.019473664462566376,
-0.05933050438761711,
0.006044215988367796,
0.056907590478658676,
-0.04313386231660843,
-0.019969966262578964,
-0.032747138291597366,
0.05721649155020714,
0.002949188696220517,
0.02516714110970497,
-0.01484694890677929,
-0.025299929082393646,
0.060835421085357666,
0.018175635486841202,
-0.0028091296553611755,
0.038600675761699677,
-0.03063477948307991,
0.0422346405684948,
0.0075815352611243725,
-0.03989768773317337,
0.013528936542570591,
0.03074076771736145,
0.0017123657744377851,
-0.03061993047595024,
0.017673971131443977,
0.027655333280563354,
-0.01686924695968628,
-0.04111706465482712,
0.05088656395673752,
0.00162596779409796,
-0.032205019146203995,
-0.032325729727745056,
0.052899543195962906,
-0.033363573253154755,
-0.027628783136606216,
-0.03533540666103363,
0.0164558794349432,
-0.0030002237763255835,
0.0411236472427845,
-0.03400985896587372,
0.012872779741883278,
0.0858270525932312,
-0.005250299349427223,
0.014508810825645924,
0.007881027646362782,
0.06581480801105499,
0.09364763647317886,
-0.004059735219925642,
0.01454918272793293,
0.06862536072731018,
0.03499474748969078,
-0.035239603370428085,
-0.025583049282431602,
-0.05553131550550461,
-0.017582016065716743,
-0.0019110870780423284,
-0.025352487340569496,
0.07677215337753296,
-0.02199830673635006,
0.08831647038459778,
-0.026678336784243584,
-0.01770232431590557,
-0.014382838271558285,
0.003153481986373663,
0.03326164931058884,
0.02085898257791996,
0.029728872701525688,
0.05265064537525177,
-0.0488305389881134,
-0.02614714577794075,
0.03343277797102928,
0.014097158797085285,
-0.0306254755705595,
0.037567734718322754,
-0.014741516672074795,
-0.005316589027643204,
0.024964604526758194,
0.036792270839214325,
0.07642237842082977,
-0.032386861741542816,
-0.013252495788037777,
-0.02154129184782505,
0.03308829292654991,
0.01576053723692894,
0.020841771736741066,
0.0032855223398655653,
-0.011231476441025734,
0.00905598420649767,
-0.02746366150677204,
-0.004029090516269207,
-0.007553044706583023,
-0.013989582657814026,
0.017545858398079872,
-0.01725851371884346,
0.00709064956754446,
0.004109804052859545,
-0.0048675537109375,
-0.0095919044688344,
-0.03175301104784012,
-0.05127892643213272,
-0.02869107387959957,
-0.07859788089990616,
0.011618221178650856,
0.025567734614014626,
-0.010448424145579338,
0.005999716464430094,
0.007414269261062145,
-0.004011380020529032,
-0.006496523506939411,
0.029165156185626984,
-0.04557901248335838,
-0.002003061817958951,
0.01116942148655653,
0.020170126110315323,
0.016002921387553215,
0.028474334627389908,
0.04660740867257118,
-0.004866213072091341,
-0.010911300778388977,
-0.022508082911372185,
0.01787981577217579,
0.03398340195417404,
0.01593218743801117,
-0.013871352188289165,
-0.07880014926195145,
0.007590974681079388,
0.012439854443073273,
-0.0013654911890625954,
-0.06264329701662064,
0.011380218900740147,
0.07403977960348129,
-0.009556486271321774,
0.04057773947715759,
0.01949823461472988,
0.012360655702650547,
-0.013991652056574821,
-0.0019561639055609703,
-0.02492293156683445,
0.00623113801702857,
0.04408389329910278,
-0.012405882589519024,
0.0699230283498764,
0.04083190858364105,
-0.019930856302380562,
-0.00615923386067152,
-0.025798337534070015,
0.002273689955472946,
0.01303412951529026,
-0.03362548351287842,
-0.027578484266996384,
-0.07162414491176605,
-0.07794545590877533,
-0.05865001305937767,
0.004284524824470282,
-0.02793903648853302,
-0.017053905874490738,
-0.019805941730737686,
-0.02071218192577362,
-0.036127056926488876,
-0.009181487374007702,
-0.026280131191015244,
0.026227127760648727,
-0.02965429611504078,
-0.028126293793320656,
-0.01964801736176014,
0.006821301765739918,
0.008758236654102802,
-0.019767288118600845,
0.03377130255103111,
-0.04944727569818497,
-0.004252743907272816,
-0.02707313932478428,
0.016730191186070442,
0.04146905243396759,
0.0049560037441551685,
-0.00473655154928565
] | [
-0.044350020587444305,
-0.03334646672010422,
-0.004128306172788143,
-0.04438815638422966,
0.08108075708150864,
-0.04288822412490845,
-0.017330966889858246,
0.004400060046464205,
-0.022197699174284935,
-0.015758763998746872,
0.034637484699487686,
-0.021414674818515778,
-0.0031985188834369183,
-0.011307615786790848,
0.06648208200931549,
-0.013148785568773746,
-0.042957618832588196,
-0.04907169193029404,
-0.051795996725559235,
0.061760224401950836,
-0.02825820818543434,
-0.03739350661635399,
0.006083185784518719,
-0.06199756637215614,
0.000025628523872001097,
0.031216491013765335,
0.06877817958593369,
-0.0006228526472114027,
-0.033281099051237106,
-0.20458577573299408,
-0.007869073189795017,
-0.038438715040683746,
-0.01361373532563448,
0.020304614678025246,
0.011603586375713348,
0.028237013146281242,
0.06021720916032791,
-0.02178679034113884,
0.018859343603253365,
0.03712611645460129,
0.01730845868587494,
0.023654155433177948,
-0.08369249850511551,
-0.016609974205493927,
0.028153691440820694,
0.0065879812464118,
-0.007250770460814238,
-0.008598190732300282,
0.013020403683185577,
0.034965500235557556,
-0.02468487061560154,
0.006405580788850784,
-0.0033490213099867105,
-0.02058696560561657,
-0.024813702329993248,
0.03223040699958801,
0.054535966366529465,
0.08243314176797867,
0.009178543463349342,
0.04583572596311569,
0.016082823276519775,
0.01232969481498003,
-0.12193319201469421,
0.1133820116519928,
0.033213671296834946,
0.009812574833631516,
-0.04213247448205948,
-0.00428968109190464,
-0.03991108387708664,
0.054328687489032745,
-0.014616383239626884,
0.011692932806909084,
-0.052185170352458954,
0.07638823240995407,
0.007804411463439465,
-0.006841418333351612,
-0.005132763646543026,
0.022750023752450943,
0.0389399528503418,
-0.050545647740364075,
-0.019057240337133408,
0.010401776060461998,
-0.02086692303419113,
-0.016808079555630684,
-0.03984854370355606,
0.03814566880464554,
-0.04288274794816971,
0.06577752530574799,
0.007909559644758701,
0.026351697742938995,
0.03629044070839882,
-0.0025699788238853216,
0.049449313431978226,
0.057370126247406006,
-0.08255192637443542,
-0.01883103884756565,
0.0005035058711655438,
0.031793467700481415,
0.02094697766005993,
0.38717594742774963,
-0.02106568031013012,
-0.01109051052480936,
0.03534400463104248,
0.03805236518383026,
-0.03777587413787842,
-0.009744091890752316,
0.00027684730594046414,
-0.030451470986008644,
0.052946653217077255,
0.00942317582666874,
-0.00248456047847867,
-0.024961503222584724,
0.00862798374146223,
-0.09088192880153656,
0.003632429288700223,
-0.005883018486201763,
0.035117436200380325,
-0.0013456433080136776,
-0.06490232050418854,
0.0448913611471653,
0.003413835074752569,
-0.032144270837306976,
0.048151206225156784,
0.003805273910984397,
0.03520499914884567,
0.014131641015410423,
0.012641698122024536,
0.025167347863316536,
0.06382475793361664,
0.016855161637067795,
0.022755887359380722,
-0.018402354791760445,
-0.06782856583595276,
0.042450692504644394,
0.010439028963446617,
0.004577046260237694,
0.019500600174069405,
-0.05001264810562134,
-0.03964217007160187,
0.023041268810629845,
-0.02461889386177063,
-0.028048165142536163,
0.01021583192050457,
0.019161297008395195,
-0.0017669848166406155,
0.09471330046653748,
0.008934546262025833,
-0.0004388315137475729,
-0.018114682286977768,
-0.04981697350740433,
0.006747139617800713,
0.06938496232032776,
-0.01984790898859501,
-0.02241804450750351,
-0.007647011429071426,
-0.016097338870167732,
0.07651323825120926,
-0.03192543238401413,
-0.06562155485153198,
-0.013978343456983566,
-0.023783644661307335,
-0.0522616021335125,
-0.020495744422078133,
0.06857926398515701,
0.03165680542588234,
-0.09366121888160706,
-0.022291475906968117,
-0.005336000584065914,
0.0015558407176285982,
-0.06883058696985245,
0.008721724152565002,
0.02155759185552597,
-0.04545407369732857,
-0.03674016520380974,
0.08082738518714905,
0.00042154171387664974,
-0.020026622340083122,
-0.01193992793560028,
0.024873653426766396,
-0.0040434664115309715,
-0.03151397407054901,
0.016140755265951157,
-0.030888307839632034,
-0.019128378480672836,
-0.03962014243006706,
-0.0660891979932785,
-0.07769328355789185,
0.035042427480220795,
-0.02414766140282154,
-0.027944674715399742,
-0.010644863359630108,
-0.004648732021450996,
-0.059298258274793625,
0.05419205129146576,
-0.028852973133325577,
-0.002565709874033928,
-0.0005614063702523708,
0.007305548992007971,
-0.0029644034802913666,
-0.04888467863202095,
0.046699587255716324,
0.02896125800907612,
-0.004560473840683699,
0.04684276878833771,
-0.05366462096571922,
-0.009156947024166584,
0.07148287445306778,
-0.012608836404979229,
0.04948018863797188,
-0.004046227317303419,
-0.06518884748220444,
0.023766981437802315,
-0.011114287190139294,
0.018514249473810196,
-0.019178975373506546,
-0.027829181402921677,
-0.009651623666286469,
-0.010177754797041416,
0.046404413878917694,
0.061112768948078156,
-0.059412334114313126,
-0.04809469357132912,
-0.018195997923612595,
-0.3467584550380707,
0.0005850663874298334,
-0.008082599379122257,
-0.006921666674315929,
-0.00918415654450655,
-0.028227921575307846,
0.020186156034469604,
-0.006420784629881382,
0.022575905546545982,
0.03018011897802353,
0.1079755499958992,
-0.0002755949681159109,
0.03579239547252655,
-0.07030706107616425,
0.016064373776316643,
0.055322423577308655,
0.006971179507672787,
-0.015593674965202808,
-0.02464245818555355,
0.02866344340145588,
-0.009856701828539371,
-0.06973514705896378,
-0.04968256503343582,
-0.031852733343839645,
0.024706551805138588,
-0.033216528594493866,
0.08942161500453949,
-0.006406279746443033,
0.033006757497787476,
-0.05296444147825241,
0.04076956957578659,
0.010720362886786461,
-0.031709764152765274,
-0.09482727944850922,
-0.00721328379586339,
-0.04560490697622299,
0.012274928390979767,
0.051601238548755646,
-0.016739053651690483,
0.028932593762874603,
-0.034893445670604706,
-0.00045602364116348326,
-0.05462625250220299,
-0.05664990097284317,
0.042115598917007446,
0.009923945181071758,
-0.04465371370315552,
0.027424952015280724,
0.0071296594105660915,
0.03348367288708687,
0.0018439696868881583,
0.02537757158279419,
0.009451502002775669,
0.04811007156968117,
0.0037681248504668474,
-0.039343949407339096,
-0.05468166247010231,
-0.01205796655267477,
0.0386565662920475,
0.05289451405405998,
0.0015115628484636545,
0.049529675394296646,
0.05618027597665787,
-0.06529742479324341,
0.029655948281288147,
-0.013802670873701572,
0.0011706515215337276,
0.018263116478919983,
0.03160940855741501,
-0.00832433719187975,
-0.018038958311080933,
0.10220599919557571,
-0.004146862775087357,
0.03764709085226059,
0.04690833389759064,
0.049485210329294205,
-0.015169807709753513,
-0.0066633205860853195,
0.049255046993494034,
0.00991963129490614,
0.04897025227546692,
-0.014617107808589935,
0.06788038462400436,
-0.005291786044836044,
-0.023101815953850746,
0.06701135635375977,
0.0009278241777792573,
-0.03733820840716362,
0.026028765365481377,
-0.004301781300455332,
-0.024665826931595802,
-0.027967460453510284,
-0.032314233481884,
-0.061242032796144485,
0.06588215380907059,
-0.01018607709556818,
-0.27355948090553284,
0.025444183498620987,
0.0351656973361969,
0.06355971097946167,
0.0031842885073274374,
0.0037434608675539494,
0.021454673260450363,
-0.041543155908584595,
0.013027742505073547,
0.03406078368425369,
0.03304364159703255,
0.024121642112731934,
-0.0001685275201452896,
-0.024694420397281647,
0.002173014683648944,
-0.000271658442215994,
0.023217547684907913,
0.063054159283638,
0.06836377084255219,
-0.01433242205530405,
0.01954365149140358,
-0.036450739949941635,
0.19131308794021606,
0.027097657322883606,
-0.011891900561749935,
0.03054140880703926,
-0.026482705026865005,
0.021906644105911255,
0.050902824848890305,
0.0010869228281080723,
-0.0002951422065962106,
0.06358710676431656,
-0.010531422682106495,
0.03184685483574867,
0.027928777039051056,
-0.05426957458257675,
-0.03820964694023132,
0.06279531121253967,
0.03673814237117767,
-0.040642399340867996,
-0.04315255582332611,
0.0270690880715847,
-0.07441651821136475,
0.02233233116567135,
0.056959718465805054,
-0.05747578665614128,
-0.01831797882914543,
-0.041033051908016205,
-0.060303330421447754,
-0.004185605328530073,
-0.014654327183961868,
-0.08483792096376419,
-0.027780482545495033,
-0.04127084091305733,
-0.01650269143283367,
0.08040016144514084,
0.015255858190357685,
-0.032487452030181885,
0.01248576957732439,
0.02393483556807041,
0.024095656350255013,
-0.06764665246009827,
0.08761657774448395,
-0.013564047403633595,
-0.014356966130435467
] | [
0.03786308690905571,
0.052146121859550476,
-0.032849036157131195,
0.02961244061589241,
0.004412070848047733,
-0.002916097640991211,
-0.022311579436063766,
0.033996861428022385,
-0.03130260482430458,
-0.006607807707041502,
0.013129280880093575,
0.02768259309232235,
0.07150092720985413,
0.03839065879583359,
-0.02102990634739399,
0.005302669946104288,
-0.025587016716599464,
0.021258966997265816,
0.02709992043673992,
-0.014497526921331882,
-0.047925256192684174,
-0.03536707162857056,
0.057843565940856934,
-0.0339403860270977,
-0.00572877936065197,
0.005056354682892561,
-0.02170524001121521,
-0.024704458191990852,
0.022498371079564095,
-0.12796904146671295,
-0.030511243268847466,
-0.03418612852692604,
-0.026669817045331,
0.008261612616479397,
0.015912961214780807,
0.04019017145037651,
0.03721307963132858,
-0.018558938056230545,
-0.006602908950299025,
0.014006320387125015,
0.0512203685939312,
-0.0032161271665245295,
-0.000006519256658066297,
-0.015347917564213276,
0.008706997148692608,
-0.028844689950346947,
-0.020309174433350563,
-0.026050277054309845,
0.019004005938768387,
-0.014818122610449791,
-0.03827603533864021,
-0.010787383653223515,
-0.03657640516757965,
0.009302124381065369,
-0.010757260024547577,
0.00968948844820261,
-0.004318359773606062,
0.0009782721754163504,
0.007826005108654499,
0.025614701211452484,
0.015739664435386658,
0.0011479818494990468,
-0.06457723677158356,
-0.01657242327928543,
-0.010964431799948215,
-0.0055997008457779884,
-0.0018643566872924566,
-0.008854853920638561,
-0.003165068104863167,
-0.00948324054479599,
0.009605206549167633,
0.06840765476226807,
-0.054260995239019394,
-0.007576957810670137,
-0.0296213086694479,
-0.0020531006157398224,
0.06137823686003685,
-0.023789692670106888,
-0.01657034084200859,
0.009896812960505486,
-0.01411340944468975,
0.0018722924869507551,
-0.013380404561758041,
-0.046109139919281006,
-0.026608619838953018,
0.019096607342362404,
-0.01881374418735504,
-0.0242770928889513,
-0.0024266317486763,
0.014160080812871456,
-0.007737299427390099,
-0.003765034256502986,
-0.022745518013834953,
0.013737943023443222,
-0.07751556485891342,
-0.020516065880656242,
0.027213485911488533,
-0.00990147702395916,
0.016288677230477333,
0.8182916641235352,
-0.011089344508945942,
-0.01758374460041523,
0.020145125687122345,
0.0053094555623829365,
0.010325753130018711,
0.004565631039440632,
0.03275807574391365,
0.01095677725970745,
-0.006541049107909203,
0.030173711478710175,
-0.003973275423049927,
0.014943428337574005,
0.003691005287691951,
0.018370982259511948,
0.005137333646416664,
0.018741045147180557,
0.010984517633914948,
0.008048630319535732,
-0.04131763428449631,
0.02548903413116932,
0.011911728419363499,
-0.001040695235133171,
-0.016711222007870674,
-0.014271396212279797,
0.02259095385670662,
-0.19566130638122559,
-0.013786925002932549,
-7.206894886121996e-33,
0.062144290655851364,
-0.014769393019378185,
0.09765052050352097,
0.019731486216187477,
0.02112645097076893,
-0.018386179581284523,
0.00012628761760424823,
-0.038442209362983704,
-0.04608537256717682,
-0.052514683455228806,
-0.029814278706908226,
-0.009832151234149933,
-0.04069028049707413,
0.014417274855077267,
-0.009607427753508091,
-0.004976002033799887,
0.008085567504167557,
0.014682778157293797,
0.004006661009043455,
0.08213694393634796,
-0.007807421963661909,
0.02691863849759102,
-0.032577674835920334,
0.06038651987910271,
-0.00018598111637402326,
0.025028571486473083,
0.018037164583802223,
0.005123030859977007,
0.013191204518079758,
-0.0424112007021904,
-0.03277638182044029,
0.026361532509326935,
-0.015118937008082867,
-0.04028987139463425,
0.01753286086022854,
-0.06339608132839203,
-0.013481566682457924,
0.005722018424421549,
-0.037261538207530975,
-0.03138989955186844,
-0.025439618155360222,
-0.023155242204666138,
-0.028148138895630836,
0.0005483655259013176,
-0.023982837796211243,
-0.023166052997112274,
0.0027136041317135096,
0.02395358681678772,
-0.03431262820959091,
0.010318035259842873,
-0.008978248573839664,
0.03924356773495674,
0.007406676188111305,
0.017823142930865288,
-0.022614270448684692,
0.009583989158272743,
-0.007969182915985584,
-0.031024403870105743,
0.01803431659936905,
-0.023920420557260513,
0.0682615414261818,
0.009455472230911255,
-0.02051384188234806,
0.05626127868890762,
0.01709449663758278,
-0.02333926036953926,
0.015530884265899658,
-0.004467248450964689,
0.004795825574547052,
0.061025843024253845,
-0.05726565793156624,
0.029113594442605972,
-0.02295188419520855,
-0.043746355921030045,
0.042692068964242935,
-0.030839446932077408,
-0.004511537961661816,
0.006297417916357517,
-0.0048673562705516815,
0.04107064753770828,
-0.0018817776581272483,
-0.02983795665204525,
0.005832576658576727,
-0.04529453441500664,
-0.012457147240638733,
0.026746604591608047,
0.05283559858798981,
0.021651363000273705,
0.03308187052607536,
0.009967104531824589,
0.05785170570015907,
0.05809495225548744,
-0.02066531963646412,
-0.022611303254961967,
-0.04997408762574196,
7.386289283052893e-33,
0.02944077178835869,
-0.005943733733147383,
-0.03484974429011345,
0.01940302737057209,
0.020596396178007126,
0.006102606188505888,
0.031035516411066055,
0.01082034595310688,
-0.02148577943444252,
0.03522126004099846,
0.003005228703841567,
-0.00008653356053400785,
-0.019058678299188614,
-0.01930050365626812,
0.05076087638735771,
0.0036466314923018217,
-0.005374368280172348,
-0.031242461875081062,
-0.0028174547478556633,
-0.0007109395228326321,
-0.0247028898447752,
0.017547864466905594,
0.00979529321193695,
0.019939294084906578,
0.0036288071423768997,
0.026312047615647316,
-0.013359720818698406,
0.005402614362537861,
-0.05646294355392456,
-0.0034910403192043304,
-0.010792544111609459,
-0.06576701998710632,
0.019204463809728622,
-0.013938657008111477,
-0.02489566057920456,
0.010491687804460526,
0.006280119530856609,
0.006471813656389713,
0.0032360374461859465,
0.01567688025534153,
0.041716936975717545,
0.0066322628408670425,
-0.030670952051877975,
0.04737851396203041,
0.00015757653454784304,
0.008301401510834694,
-0.016239961609244347,
0.007966295816004276,
0.0008157464908435941,
0.018958061933517456,
-0.011738923378288746,
0.024144312366843224,
0.008226955309510231,
0.007110388018190861,
0.06901942938566208,
-0.04503016918897629,
-0.010266659781336784,
0.021386686712503433,
0.017187906429171562,
0.0032109138555824757,
-0.030611297115683556,
-0.04262001812458038,
-0.014156279154121876,
0.014179522171616554,
-0.04398990422487259,
-0.018851308152079582,
-0.013177291490137577,
-0.0031279169488698244,
0.00654835207387805,
-0.0010129681322723627,
0.0159013532102108,
0.02522493153810501,
-0.012714814394712448,
0.006323577836155891,
0.02315838448703289,
-0.009373129345476627,
-0.02012368105351925,
-0.011424190364778042,
-0.02823113091289997,
0.035248227417469025,
0.0016375856939703226,
0.033681679517030716,
-0.0008590409997850657,
0.005042689386755228,
0.02981678582727909,
0.02385803684592247,
-0.02744026482105255,
0.020375726744532585,
-0.00418574595823884,
-0.009574566036462784,
0.02501477487385273,
-0.011496358551084995,
-0.009119562804698944,
-0.002820462454110384,
-0.02012566849589348,
-1.2627070056225875e-8,
-0.02691662684082985,
0.01658688485622406,
-0.00018982547044288367,
0.01627388969063759,
0.008839835412800312,
-0.005724847316741943,
0.010256015695631504,
0.029710033908486366,
0.007018820382654667,
0.027379531413316727,
0.030434932559728622,
-0.006707845255732536,
0.0008165352628566325,
-0.010464039631187916,
0.016107769683003426,
-0.0028373138047754765,
0.013347112573683262,
0.014537819661200047,
0.029993053525686264,
0.0022005890496075153,
-0.014769130386412144,
0.0320211760699749,
-0.022342568263411522,
0.029284853488206863,
-0.015260763466358185,
0.01624002866446972,
0.021508008241653442,
-0.0683848187327385,
-0.02740880846977234,
-0.014850841835141182,
0.0016888916725292802,
-0.02946058101952076,
-0.02461778186261654,
-0.02199423313140869,
-0.04983234032988548,
-0.03601590171456337,
0.03072749823331833,
0.03698296472430229,
0.016304537653923035,
0.023227978497743607,
0.007335387635976076,
-0.007557571399956942,
-0.009972880594432354,
-0.03545423969626427,
-0.0253178458660841,
-0.0016946179093793035,
-0.02405404858291149,
0.01395086944103241,
0.011245577596127987,
0.005422801710665226,
0.00856015458703041,
-0.008887574076652527,
-0.021253859624266624,
0.0483732707798481,
0.050216495990753174,
-0.013507523573935032,
0.0279447752982378,
-0.02416572906076908,
-0.012130807153880596,
0.015623544342815876,
0.04905787110328674,
0.009010582230985165,
-0.03697129711508751,
-0.010120275430381298
] | neo4j-apoc-file-not-found-exception-no-such-file-directory | https://markhneedham.com/blog/2019/01/12/neo4j-apoc-file-not-found-exception-no-such-file-directory |
false | 2019-01-12 04:32:00 | Neo4j: Cypher - Remove consecutive duplicates from a list | [
"neo4j",
"cypher"
] | [
"Neo4j"
] | I was playing with a dataset this week and wanted to share how I removes duplicate consecutive elements from a list using the Cypher query language.
For simplicity's sake, imagine that we have this list:
[source, cypher]
----
neo4j> return [1,2,3,3,4,4,4,5,3] AS values;
+-----------------------------+
| values |
+-----------------------------+
| [1, 2, 3, 3, 4, 4, 4, 5, 3] |
+-----------------------------+
----
We want to remove the duplicate 3's and 4's, such that our end result should be:
[source, cypher]
----
[1,2,3,4,5,3]
----
https://github.com/neo4j-contrib/neo4j-apoc-procedures[APOC]'s `apoc.coll.toSet` doesn't quite do the trick because it removes duplicates regardless of where they appear in the collection:
[source, cypher]
----
neo4j> return apoc.coll.toSet([1,2,3,3,4,4,4,5,3]) AS values;
+-----------------+
| values |
+-----------------+
| [1, 2, 3, 4, 5] |
+-----------------+
----
Luckily it's quite easy to translate https://stackoverflow.com/a/46977206[Ulf Aslak's Python one liner] to do what we want.
This is the Python version:
[source,python]
----
values = [1,2,3,3,4,4,4,5,3]
>>> [v for i, v in enumerate(values) if i == 0 or v != values[i-1]]
[1, 2, 3, 4, 5, 3]
----
We'll use the https://neo4j.com/docs/cypher-manual/current/functions/list/#functions-range[`range`^] function to iterate over our list and list comprehensions to do the rest.
The following code does the trick:
[source, cypher]
----
neo4j> WITH [1,2,3,3,4,4,4,5,3] AS values
RETURN [i in range(0, size(values)-1)
WHERE i=0 OR values[i] <> values[i-1] | values[i] ] AS values;
+--------------------+
| values |
+--------------------+
| [1, 2, 3, 4, 5, 3] |
+--------------------+
----
You can use this on collections containing nodes, strings, or anything else - I've just used numbers in the example to keep the example simple. | Learn how to remove consecutive duplicate elements/duplicate neighbours from a list. | null | [
0.01011865958571434,
-0.021535154432058334,
-0.03791482001543045,
0.051267918199300766,
0.09054011106491089,
-0.005590247921645641,
0.009955860674381256,
0.0068917060270905495,
0.005755237769335508,
-0.019691994413733482,
-0.015578405931591988,
0.005726476665586233,
-0.07848431169986725,
0.013864378444850445,
-0.010432565584778786,
0.061610735952854156,
0.05213194712996483,
0.010102939791977406,
0.0006433688686229289,
-0.011131992563605309,
0.010056091472506523,
0.03445916250348091,
0.008165030740201473,
0.01670406199991703,
0.02125362679362297,
0.026051726192235947,
0.0018410163465887308,
-0.00474269175902009,
-0.03440089523792267,
-0.0026515431236475706,
0.06259941309690475,
-0.0003618561022449285,
0.023146679624915123,
-0.029902633279561996,
0.02273562178015709,
-0.012371068820357323,
-0.048200275748968124,
-0.01859758235514164,
-0.015916069969534874,
-0.01113069336861372,
-0.052594903856515884,
0.021564971655607224,
-0.022433806210756302,
0.018869027495384216,
-0.04840880632400513,
0.012940684333443642,
-0.05643019825220108,
0.028191184625029564,
-0.006513983476907015,
0.00995964091271162,
-0.07996116578578949,
0.0025953250005841255,
-0.016799887642264366,
0.004773885942995548,
-0.011337416246533394,
0.06281892955303192,
-0.012919352389872074,
-0.07364802062511444,
0.040880173444747925,
-0.007997115142643452,
-0.019298981875181198,
-0.012175993993878365,
-0.0011738388566300273,
0.03233851119875908,
-0.0008088598842732608,
-0.05101402476429939,
-0.002001931658014655,
0.06154608726501465,
-0.04216407239437103,
-0.012871874496340752,
-0.0029338703025132418,
0.018482554703950882,
-0.00749058835208416,
-0.02538207359611988,
-0.00632114615291357,
-0.027979008853435516,
-0.01367277093231678,
0.05301068723201752,
0.02447311393916607,
0.06394555419683456,
-0.013420547358691692,
0.03335180878639221,
0.014637012034654617,
0.0351298563182354,
0.00782596692442894,
-0.032663069665431976,
-0.05698841065168381,
-0.010994462296366692,
-0.0538967028260231,
0.02777351438999176,
0.0010572891915217042,
-0.061667583882808685,
0.004062753636389971,
-0.000743504089768976,
-0.02645777352154255,
0.0015376334777101874,
-0.01366056501865387,
-0.008603350259363651,
0.015091313980519772,
0.009447558782994747,
-0.041580043733119965,
-0.06093015894293785,
0.014142892323434353,
-0.010385233908891678,
-0.09542404860258102,
-0.03500768914818764,
-0.013794925063848495,
-0.005033961497247219,
0.013026437722146511,
-0.005017329938709736,
-0.06380459666252136,
-0.003839675569906831,
-0.001400805776938796,
0.027938639745116234,
-0.10220903158187866,
0.06156289577484131,
0.015784088522195816,
-0.0063408613204956055,
-0.028579391539096832,
0.017749212682247162,
0.04746045544743538,
0.017389453947544098,
0.016991978511214256,
0.09916514158248901,
0.013722657226026058,
0.04197333753108978,
0.01877799816429615,
0.07325710356235504,
-0.02775675058364868,
-0.0593397431075573,
-0.020365910604596138,
0.06067194789648056,
-0.020263945683836937,
0.00819492805749178,
-0.013100052252411842,
-0.040528833866119385,
-0.041507139801979065,
0.0360255092382431,
0.062103595584630966,
0.026837138459086418,
0.02041861228644848,
-0.035391297191381454,
0.0018033427186310291,
-0.005428152158856392,
0.02474920265376568,
0.022560225799679756,
-0.05095423012971878,
-0.007731770630925894,
0.003275787690654397,
0.017934778705239296,
0.017122486606240273,
0.036557745188474655,
0.05158596858382225,
-0.024653306230902672,
0.0076402402482926846,
0.08932044357061386,
0.016643188893795013,
0.03601819649338722,
-0.032461754977703094,
0.009748348034918308,
0.02963154762983322,
0.018417973071336746,
0.006336395628750324,
0.07121391594409943,
0.013013658113777637,
0.0078038377687335014,
-0.018363729119300842,
0.07650470733642578,
-0.011843813583254814,
0.010634798556566238,
-0.036721404641866684,
-0.035342417657375336,
0.06698258221149445,
-0.049860525876283646,
0.0014606430195271969,
0.035819876939058304,
0.07320058345794678,
0.008686025626957417,
0.047874536365270615,
-0.0026521128602325916,
-0.06952299922704697,
0.0444287434220314,
0.006394754163920879,
0.013778124935925007,
-0.0014424241380766034,
0.009343821555376053,
0.06630655378103256,
0.05169440805912018,
0.05174410715699196,
0.03615740314126015,
-0.07863583415746689,
-0.06720798462629318,
-0.0216418094933033,
-0.01847073622047901,
0.07439165562391281,
-0.010345375165343285,
0.010932838544249535,
0.03811107948422432,
-0.0061611901037395,
0.032515998929739,
0.026734337210655212,
-0.010219520889222622,
0.014275874011218548,
-0.048481546342372894,
-0.03831837326288223,
0.0523713193833828,
0.015576462261378765,
-0.050901174545288086,
-0.048759814351797104,
0.008405638858675957,
-0.004398039076477289,
0.019741879776120186,
0.043074946850538254,
-0.04259202256798744,
0.05564228072762489,
0.03252366557717323,
0.02858843468129635,
-0.016286170110106468,
0.01994096301496029,
-0.06000572443008423,
0.048460569232702255,
0.00815490074455738,
-0.02469407580792904,
-0.017922386527061462,
0.00464808801189065,
0.12015474587678909,
0.0695885643362999,
-0.018795957788825035,
-0.03858892247080803,
0.03219622001051903,
0.0017437166534364223,
-0.008093707263469696,
-0.006983455736190081,
-0.018501847982406616,
-0.017449188977479935,
-0.024210570380091667,
-0.04383687674999237,
-0.01375765260308981,
0.009344993159174919,
-0.022011496126651764,
-0.01390079315751791,
0.07002977281808853,
-0.03775522857904434,
0.061021436005830765,
0.04103963077068329,
-0.0047468505799770355,
-0.014841974712908268,
-0.02989763766527176,
-0.0596654936671257,
0.012458596378564835,
0.01836216449737549,
-0.016510210931301117,
0.07039543986320496,
-0.03339727967977524,
-0.00833954382687807,
-0.027734994888305664,
-0.007104062475264072,
0.01991950534284115,
0.05183233320713043,
0.05818234384059906,
-0.028017165139317513,
0.056528329849243164,
-0.029039574787020683,
-0.018855350092053413,
-0.014085316099226475,
-0.06616540998220444,
-0.043104205280542374,
-0.02111252397298813,
0.03163152560591698,
-0.005302941892296076,
0.01038084551692009,
0.01371669489890337,
0.027834884822368622,
-0.006351461634039879,
0.010625503025949001,
0.003536344040185213,
0.025264499709010124,
0.010635982267558575,
-0.008920540101826191,
-0.03650191053748131,
-0.027712330222129822,
0.060607828199863434,
-0.060430534183979034,
-0.02386058121919632,
-0.023875653743743896,
-0.0688585564494133,
0.07304613292217255,
-0.07210548967123032,
-0.029048360884189606,
0.025005199015140533,
0.03723262995481491,
0.04699676111340523,
-0.014989816583693027,
0.00280378689058125,
0.0585508793592453,
-0.01501778606325388,
-0.000872023229021579,
0.02896779775619507,
0.01821824721992016,
0.028461234644055367,
-0.013396095484495163,
0.0570983849465847,
0.04393424093723297,
-0.007307190913707018,
0.0003794314106926322,
-0.03886781632900238,
0.006524802651256323,
-0.0077075171284377575,
-0.26925745606422424,
0.03593998774886131,
-0.04124772921204567,
-0.02599642425775528,
-0.00257664336822927,
-0.04461932182312012,
0.005045752506703138,
-0.03965776041150093,
0.0012537562288343906,
0.009345310740172863,
0.005178883206099272,
-0.02297091856598854,
-0.021808428689837456,
0.06231724098324776,
0.019410038366913795,
0.0385306179523468,
-0.016916563734412193,
-0.03693028539419174,
-0.007208613678812981,
0.056864846497774124,
0.005700867157429457,
-0.04460814595222473,
-0.021588074043393135,
0.033128999173641205,
-0.005172944162040949,
0.04594603180885315,
-0.07448680698871613,
0.001926699886098504,
-0.0825834646821022,
-0.03963425010442734,
-0.006110438611358404,
-0.025831473991274834,
0.022067176178097725,
-0.014691353775560856,
-0.03127951920032501,
-0.04179994389414787,
0.04634933918714523,
0.00933920033276081,
-0.01050528697669506,
0.05362830311059952,
-0.036667704582214355,
-0.049440689384937286,
0.016413908451795578,
-0.012072057463228703,
0.06952229142189026,
0.024394063279032707,
-0.045264750719070435,
-0.03777030482888222,
-0.002753070555627346,
0.06645219027996063,
-0.016083305701613426,
-0.02507401816546917,
-0.008449002169072628,
0.016928287222981453,
-0.006355317309498787,
0.008786042220890522,
-0.0019503695657476783,
-0.005754025187343359,
-0.05791998654603958,
-0.005668407306075096,
-0.02266906574368477,
-0.03711123764514923,
0.023796459659934044,
-0.04364318773150444,
-0.03219439089298248,
-0.056839101016521454,
-0.07246552407741547,
-0.026579707860946655,
0.05235760658979416,
0.05061042681336403,
-0.022437749430537224,
0.03256864845752716,
-0.00043452155659906566,
-0.10225759446620941,
-0.04478265717625618,
-0.02585376799106598,
-0.0008441904210485518,
0.0009408383048139513,
-0.0062391790561378,
0.05305451899766922,
-0.07643445581197739,
-0.047288987785577774,
0.0023429766297340393,
0.04073527082800865,
0.041150376200675964,
-0.01635172963142395,
0.004864241927862167,
-0.026540517807006836,
-0.03641625866293907,
0.0008762675570324063,
0.0686320811510086,
0.0025733502116054296,
-0.008268693462014198,
0.005360594484955072,
-0.003487412352114916,
0.05512397736310959,
0.010083906352519989,
0.013243191875517368,
0.028081977739930153,
0.0503004714846611,
0.03236767649650574,
-0.050279416143894196,
0.03477637097239494,
-0.034112341701984406,
-0.03146711736917496,
-0.0005866823485121131,
-0.04540275037288666,
-0.004646949004381895,
0.010870251804590225,
0.019424432888627052,
-0.014855248853564262,
-0.015136961825191975,
0.03297204151749611,
-0.03360951691865921,
-0.005882703233510256,
-0.028418345376849174,
0.03028181940317154,
0.02191700041294098,
0.04208444058895111,
-0.02829211764037609,
-0.06721452623605728,
0.03244674205780029,
0.02642093412578106,
0.0013055003946647048,
-0.056546296924352646,
-0.057302169501781464,
-0.01940634660422802,
-0.011896356008946896,
-0.006243258249014616,
0.02741084061563015,
-0.010765372775495052,
0.0341651476919651,
0.01257594395428896,
-0.0341632217168808,
0.05246208980679512,
-0.015558687970042229,
-0.021820800378918648,
-0.019731469452381134,
-0.018176956102252007,
0.01689438335597515,
-0.0016852454282343388,
-0.001974365208297968,
0.017087725922465324,
0.051359351724386215,
0.03787584602832794,
-0.004236316308379173,
0.022847885265946388,
-0.015994688495993614,
0.014521834440529346,
0.015081400983035564,
-0.002727452665567398,
-0.015926385298371315,
0.017297618091106415,
-0.053546927869319916,
0.002728844527155161,
0.015598568134009838,
0.04026472941040993,
-0.021527418866753578,
-0.034350648522377014,
-0.046890754252672195,
0.033799950033426285,
-0.04030542075634003,
0.026093874126672745,
-0.03003859333693981,
0.009739414788782597,
0.04869096726179123,
-0.03261119872331619,
0.02249823324382305,
-0.038358066231012344,
-0.006842495407909155,
0.02844419702887535,
0.023377949371933937,
-0.026022568345069885,
0.002310102107003331,
0.010997695848345757,
-0.0009792555356398225,
0.015124923549592495,
0.04703488573431969,
0.01289703231304884,
0.00891832448542118,
-0.014654277823865414,
-0.002641903469339013,
0.00452785799279809,
0.010700070299208164,
0.045182712376117706,
0.036824729293584824,
-0.0029638917185366154,
0.015604893676936626,
-0.02482685260474682,
-0.03481493890285492,
-0.010656318627297878,
-0.010913032107055187,
-0.04583796486258507,
0.017341112717986107,
-0.03862139955163002,
-0.05930442735552788,
0.02118764817714691,
0.002528250915929675,
-0.012487733736634254,
0.03269807994365692,
-0.007459667511284351,
-0.025274798274040222,
-0.0009366068989038467,
0.011973930522799492,
0.03829800337553024,
-0.05833490192890167,
-0.019548624753952026,
0.0006214097957126796,
-0.0012586136581376195,
0.009651675820350647,
0.025780392810702324,
-0.08296382427215576,
-0.03088889643549919,
-0.022522171959280968,
0.019201278686523438,
-0.004605511203408241,
-0.03904344514012337,
-0.0008782238583080471,
0.0016236669616773725,
-0.017652122303843498,
0.02367352321743965,
-0.005921617150306702,
0.03391043841838837,
0.001486611319705844,
-0.00839927140623331,
0.03432760387659073,
-0.028904998674988747,
-0.014515087939798832,
0.016025010496377945,
-0.025636820122599602,
0.029457466676831245,
-0.0331999771296978,
0.0323079489171505,
0.020490365102887154,
0.016168927773833275,
-0.009798763319849968,
-0.04789024963974953,
0.018041186034679413,
-0.034876804798841476,
0.043059926480054855,
-0.012676646932959557,
-0.01580922305583954,
-0.04410765692591667,
-0.015644975006580353,
-0.023346859961748123,
0.00006362150452332571,
0.00936167873442173,
-0.040739014744758606,
-0.0020813574083149433,
0.03443288430571556,
-0.005665934644639492,
0.042814671993255615,
-0.006304020527750254,
-0.042529840022325516,
0.06152370199561119,
-0.030868278816342354,
-0.024652717635035515,
-0.022854864597320557,
-0.06583679467439651,
0.02484479546546936,
0.009593593887984753,
0.025873711332678795,
-0.030475353822112083,
0.04620388522744179,
0.044605549424886703,
0.021503400057554245,
0.0344465896487236,
-0.002991477260366082,
0.018444083631038666,
-0.016612369567155838,
-0.0023133980575948954,
-0.07669557631015778,
0.0023827371187508106,
0.05456202104687691,
-0.02223367430269718,
-0.01933199167251587,
-0.024905014783143997,
-0.024184100329875946,
-0.0028023263439536095,
-0.04211246967315674,
-0.01760796457529068,
0.018770596012473106,
-0.0005607737693935633,
0.01762925088405609,
0.028912508860230446,
-0.042266737669706345,
0.006164396181702614,
0.05645429342985153,
-0.01927696354687214,
-0.008976644836366177,
-0.044507257640361786,
0.07612523436546326,
-0.03577743098139763,
0.03183190897107124,
0.004089280031621456,
-0.02069791592657566,
0.0531439445912838,
0.04356781765818596,
0.013881403021514416,
0.04753986373543739,
-0.023436320945620537,
0.006517915055155754,
0.03643784299492836,
-0.020622463896870613,
-0.01313009299337864,
0.05625308305025101,
-0.008108937181532383,
-0.05194544047117233,
0.0034619818907231092,
0.01335587166249752,
-0.027193894609808922,
-0.037684421986341476,
0.0848187580704689,
0.018979234620928764,
-0.0556497722864151,
-0.03718224912881851,
0.03647802025079727,
-0.04012604430317879,
-0.008628148585557938,
-0.04943117871880531,
0.0032554022036492825,
-0.029572291299700737,
0.07074260711669922,
-0.030381204560399055,
0.0004881371569354087,
0.06028840318322182,
-0.01017016265541315,
-0.00473226560279727,
0.004363166633993387,
0.07862658053636551,
0.0875912606716156,
0.05917847529053688,
0.00044912175508216023,
0.05296463519334793,
-0.017574863508343697,
-0.021935468539595604,
-0.0027623579371720552,
-0.024912504479289055,
-0.011769111268222332,
0.009705149568617344,
0.02316928282380104,
0.08350466936826706,
-0.036218006163835526,
0.0688016265630722,
-0.013143104501068592,
-0.002899172715842724,
-0.024752860888838768,
-0.013836686499416828,
0.030207624658942223,
0.0714164450764656,
0.019673077389597893,
0.05660851299762726,
-0.03556802496314049,
-0.038838014006614685,
0.06073165312409401,
0.008297787047922611,
-0.017869271337985992,
0.02933047153055668,
-0.03070446290075779,
0.016390513628721237,
0.010324073024094105,
0.03229449689388275,
0.07190683484077454,
-0.019671989604830742,
-0.022821174934506416,
-0.0072475615888834,
0.013562239706516266,
0.011557649821043015,
0.015497934073209763,
-0.0015511875972151756,
-0.014748902060091496,
-0.013925033621490002,
-0.04889669269323349,
-0.03142353147268295,
-0.03445170074701309,
-0.03702412545681,
-0.0022261079866439104,
-0.008540553972125053,
-0.011427169665694237,
0.01176387257874012,
0.01524275541305542,
-0.010140381753444672,
-0.039275139570236206,
-0.06391635537147522,
-0.05733449012041092,
-0.07129765301942825,
-0.003106930758804083,
-0.00047545754932798445,
-0.007448161486536264,
-0.01040960755199194,
0.004401028156280518,
-0.019440336152911186,
-0.028177745640277863,
0.04694670811295509,
-0.009336165152490139,
-0.022852614521980286,
0.013224662281572819,
0.03944229707121849,
0.005832210183143616,
0.012861333787441254,
0.05563654750585556,
0.010653341189026833,
-0.0008766036480665207,
-0.011851259507238865,
0.005662126466631889,
0.04570672661066055,
0.038235194981098175,
-0.006281998939812183,
-0.07908246666193008,
-0.009244055487215519,
0.004899820312857628,
-0.018609683960676193,
-0.0831056460738182,
0.0015684041427448392,
0.05490647628903389,
-0.004068504087626934,
0.016363035887479782,
-0.012799793854355812,
-0.042231485247612,
-0.01614961214363575,
0.015843449160456657,
0.008525138720870018,
0.002658598590642214,
0.048177946358919144,
-0.023888183757662773,
0.07441104203462601,
0.023462451994419098,
-0.02881053276360035,
-0.04726593568921089,
-0.0171732809394598,
-0.006303452420979738,
0.02052297443151474,
-0.04894080385565758,
-0.034407515078783035,
-0.04955097287893295,
-0.07933279126882553,
-0.013358724303543568,
-0.009342808276414871,
-0.03718239441514015,
-0.04022534564137459,
0.004959858488291502,
0.016119472682476044,
-0.028305882588028908,
0.026841050013899803,
-0.0453665517270565,
0.03396354615688324,
-0.035627543926239014,
-0.02350301668047905,
-0.029829654842615128,
-0.003779810154810548,
-0.009861437603831291,
0.03248845040798187,
0.0191681869328022,
-0.03125298395752907,
0.010348381474614143,
-0.04184730723500252,
0.023189356550574303,
0.016513582319021225,
0.013581102713942528,
0.01574760302901268
] | [
-0.06747564673423767,
-0.022487271577119827,
-0.025380197912454605,
0.009279359132051468,
0.06264348328113556,
-0.053091321140527725,
-0.020999444648623466,
-0.003184929257258773,
0.04463500902056694,
0.005224673077464104,
0.01937951147556305,
-0.0306385587900877,
0.019406739622354507,
0.0011642159661278129,
0.059475112706422806,
-0.026429863646626472,
-0.04733718931674957,
-0.026762690395116806,
-0.049041252583265305,
0.020419560372829437,
0.00015951908426359296,
-0.049929551780223846,
-0.04594559222459793,
-0.03985278308391571,
0.04336879029870033,
0.05045738443732262,
0.009175659157335758,
-0.025710804387927055,
-0.017711102962493896,
-0.24498049914836884,
0.010669462382793427,
-0.006771067623049021,
-0.008517585694789886,
-0.027413446456193924,
0.024608615785837173,
0.01785415969789028,
0.025331372395157814,
0.01679907739162445,
-0.0015733161708340049,
0.06632042676210403,
0.04196278005838394,
0.007858304306864738,
-0.07571081817150116,
-0.03585921600461006,
0.03188401088118553,
0.04377725347876549,
-0.016419105231761932,
-0.034086283296346664,
0.014620096422731876,
0.038606319576501846,
-0.03202500939369202,
-0.015214391052722931,
-0.009005515836179256,
0.012561376206576824,
0.0055688307620584965,
0.010385101661086082,
0.04292811080813408,
0.10204470157623291,
0.020063793286681175,
0.030590014532208443,
0.0040148841217160225,
-0.000029476159397745505,
-0.11689989268779755,
0.08721113950014114,
0.014849246479570866,
0.03805535286664963,
-0.010728655382990837,
-0.04063321277499199,
-0.04153420776128769,
0.09842897951602936,
-0.0022033301647752523,
-0.0015474651008844376,
-0.03620089963078499,
0.06572911143302917,
-0.004258395172655582,
-0.00037614224129356444,
-0.02308250404894352,
0.009264309890568256,
0.006286993157118559,
-0.012828017584979534,
-0.057898685336112976,
-0.005612591747194529,
-0.005086023360490799,
-0.024452216923236847,
-0.0041852230206131935,
0.009730339981615543,
-0.03255687654018402,
0.04617372900247574,
-0.007270440924912691,
0.03633967414498329,
0.03912299498915672,
0.044095154851675034,
0.05207756161689758,
0.0463978610932827,
-0.07889099419116974,
-0.01857065223157406,
0.0020336732268333435,
0.04946920648217201,
-0.0038749317172914743,
0.3948146402835846,
-0.02066814713180065,
0.002476013032719493,
0.02708527445793152,
0.0404355488717556,
0.015458953566849232,
-0.022623887285590172,
-0.01293013896793127,
-0.06491737812757492,
0.0166949313133955,
-0.030688699334859848,
-0.005934733897447586,
-0.0591580867767334,
0.05360890552401543,
-0.09190376102924347,
-0.011497634463012218,
0.030598970130085945,
0.05852783843874931,
0.022894367575645447,
-0.016117990016937256,
0.004449089057743549,
-0.03586583584547043,
-0.011028929613530636,
0.03860996291041374,
0.002004658104851842,
0.024776846170425415,
0.04538783058524132,
0.026825329288840294,
0.06769834458827972,
0.01663045957684517,
0.04892409220337868,
0.04824322462081909,
-0.027432531118392944,
-0.0841321349143982,
0.0272490456700325,
-0.030906064435839653,
0.01152881234884262,
0.03875536099076271,
-0.029256679117679596,
0.014006226323544979,
0.017293112352490425,
-0.004248382989317179,
-0.03240318223834038,
0.04265866428613663,
0.014046511612832546,
-0.0011586552718654275,
0.1467333287000656,
-0.020354216918349266,
-0.034692417830228806,
-0.03979036211967468,
-0.047676585614681244,
-0.032727133482694626,
0.02663661539554596,
0.003905835561454296,
-0.07675112038850784,
0.0037322761490941048,
0.019590822979807854,
0.09208831191062927,
-0.0025228499434888363,
-0.06516029685735703,
-0.029059479013085365,
-0.020617904141545296,
-0.04142594709992409,
-0.045748718082904816,
0.09769180417060852,
0.05207626521587372,
-0.09294795244932175,
-0.007652668748050928,
0.01572595164179802,
-0.006386460270732641,
-0.057516198605298996,
0.020965129137039185,
0.021041540428996086,
-0.04862983897328377,
-0.009691753424704075,
0.04830082505941391,
-0.03434197977185249,
-0.043197810649871826,
-0.03718321770429611,
0.05622303858399391,
0.02503526769578457,
-0.04933178797364235,
0.015087231993675232,
-0.051530372351408005,
0.006852346938103437,
-0.07893551886081696,
-0.0709775909781456,
-0.06159025803208351,
0.04530904069542885,
-0.009664507582783699,
-0.019946297630667686,
-0.02776823192834854,
-0.004857058636844158,
-0.02581530250608921,
0.07307881861925125,
-0.04303097352385521,
-0.03967275843024254,
-0.011244568973779678,
0.005065335426479578,
-0.022782428190112114,
-0.03591637313365936,
0.007640848867595196,
0.00613458501175046,
0.01315807644277811,
0.02926657721400261,
-0.04129212349653244,
0.02843346633017063,
0.050746213644742966,
-0.033609095960855484,
0.05601833760738373,
0.030425386503338814,
-0.013392498716711998,
0.015537039376795292,
-0.03281904757022858,
0.040378011763095856,
-0.004229184705764055,
-0.0348975732922554,
-0.0009381723357364535,
-0.018569407984614372,
0.018805650994181633,
0.0368754044175148,
-0.025727761909365654,
-0.046217627823352814,
-0.01832161284983158,
-0.346546471118927,
-0.0299447663128376,
-0.0006740668322890997,
-0.004252380225807428,
0.0025647757574915886,
-0.02927439659833908,
-0.005054851993918419,
-0.03480841591954231,
-0.0008993418887257576,
0.03951229900121689,
0.0491335466504097,
-0.000252126541454345,
-0.005015713162720203,
-0.05914285406470299,
-0.009441779926419258,
0.030580082908272743,
-0.016654616221785545,
0.0003741479595191777,
-0.033758748322725296,
0.021033061668276787,
0.010146084241569042,
-0.031821735203266144,
-0.00453448761254549,
-0.03990469127893448,
0.008205734193325043,
-0.00860783364623785,
0.13119834661483765,
-0.004043682012706995,
0.029213283210992813,
-0.038312990218400955,
0.03547634929418564,
0.02649972215294838,
-0.004373639822006226,
-0.01948043331503868,
-0.021936072036623955,
-0.003394785337150097,
-0.02076508104801178,
0.01613627001643181,
-0.016031406819820404,
-0.0023960501421242952,
-0.015503758564591408,
-0.011028377339243889,
-0.049156151711940765,
-0.04772727191448212,
-0.013212205842137337,
0.037073198705911636,
-0.044608425348997116,
0.0007395852589979768,
0.017636669799685478,
0.11412707716226578,
0.015259657055139542,
0.02548140659928322,
0.002816357184201479,
0.016309551894664764,
0.024129582569003105,
-0.008890670724213123,
-0.0871201902627945,
-0.007885786704719067,
0.013409259729087353,
-0.005106522236019373,
-0.009948565624654293,
0.01209454145282507,
0.05592234805226326,
-0.0814971923828125,
0.02448369562625885,
0.016204779967665672,
0.014394735917448997,
-0.0031611931044608355,
0.030785370618104935,
-0.029702216386795044,
-0.029515579342842102,
0.09077931940555573,
0.005334876477718353,
0.0002898806123994291,
-0.015561152249574661,
0.06197359785437584,
-0.026912705972790718,
0.03885680437088013,
0.016221022233366966,
-0.0011325887171551585,
0.0661592185497284,
-0.009886312298476696,
0.0396399199962616,
0.0025157006457448006,
-0.0025261002592742443,
0.03950533643364906,
0.016191713511943817,
-0.005714896600693464,
0.04885772615671158,
0.009929642081260681,
-0.0056818327866494656,
0.008671320043504238,
-0.03110082633793354,
-0.012735819444060326,
0.06251649558544159,
-0.01205211691558361,
-0.2744470536708832,
0.015880664810538292,
0.0008497777744196355,
0.06951223313808441,
0.018569160252809525,
0.02701502852141857,
-0.004887014627456665,
-0.025867778807878494,
0.015356214717030525,
-0.002363713691011071,
-0.012027258984744549,
0.07951474189758301,
0.003747148672118783,
-0.056796882301568985,
0.010470839217305183,
-0.0008502413984388113,
0.06098742038011551,
-0.0063764131627976894,
0.029662329703569412,
0.035740528255701065,
0.054493919014930725,
-0.027107389643788338,
0.1966673582792282,
0.02983950451016426,
0.00795527920126915,
0.008821573108434677,
-0.02962619438767433,
0.0024217278696596622,
0.03727317228913307,
0.016455959528684616,
-0.01345330011099577,
0.014213272370398045,
0.0019589210860431194,
0.031106796115636826,
0.00983472354710102,
-0.016192425042390823,
-0.04327764734625816,
0.03889342024922371,
0.02565697953104973,
-0.049533721059560776,
-0.016224633902311325,
0.01008839812129736,
-0.07308899611234665,
0.008261159062385559,
0.09179151803255081,
-0.03486890345811844,
0.0004587298899423331,
-0.032503534108400345,
-0.041287101805210114,
-0.0002474580251146108,
-0.0328962579369545,
-0.030912015587091446,
-0.023443637415766716,
-0.03033319115638733,
-0.02093861997127533,
0.06826786696910858,
-0.015640009194612503,
0.004967577755451202,
0.02109110727906227,
0.02054026536643505,
-0.024275248870253563,
-0.06800340116024017,
0.10002464056015015,
-0.01636839099228382,
-0.005929201375693083
] | [
-0.010092904791235924,
0.047906309366226196,
-0.0024727897252887487,
0.007797324098646641,
-0.03863728046417236,
-0.012173382565379143,
0.01476526539772749,
-0.019369272515177727,
-0.013586845248937607,
-0.013607632368803024,
-0.02238592877984047,
0.03407156467437744,
0.061038341373205185,
-0.01695399545133114,
-0.030901383608579636,
-0.013478781096637249,
-0.011222964152693748,
0.03968792036175728,
0.05063939467072487,
-0.03985140472650528,
-0.043662384152412415,
0.027142705395817757,
0.03613796830177307,
-0.00466634426265955,
0.013013280928134918,
0.0281692985445261,
-0.0034102313220500946,
0.023069769144058228,
0.01821140944957733,
-0.1112101748585701,
-0.05925671383738518,
-0.018916020169854164,
0.006048757582902908,
0.017047524452209473,
-0.026097780093550682,
-0.00896445196121931,
-0.011305526830255985,
0.023520389571785927,
0.0011166606564074755,
0.028885317966341972,
-0.0030540726147592068,
-0.01861010119318962,
-0.011791213415563107,
0.01915486715734005,
-0.009672817774116993,
0.006039357278496027,
-0.024238942191004753,
-0.01797657646238804,
0.002291643526405096,
-0.028340274468064308,
-0.017405904829502106,
0.019762927666306496,
-0.012523511424660683,
-0.00006117791781434789,
0.047871749848127365,
0.0021325969137251377,
-0.03763313218951225,
-0.015714120119810104,
-0.006050674244761467,
-0.031662676483392715,
-0.016692809760570526,
-0.001489928225055337,
-0.07033517211675644,
-0.015672586858272552,
0.006421344354748726,
-0.03140909597277641,
0.0056043691001832485,
0.03117186389863491,
0.021056659519672394,
0.000659177836496383,
-0.016345946118235588,
0.026323234662413597,
-0.04316078871488571,
-0.0036833721678704023,
0.019087493419647217,
0.050049446523189545,
0.053947292268276215,
-0.051796868443489075,
-0.014386989176273346,
-0.012127423658967018,
-0.020485151559114456,
0.006399592384696007,
-0.024931445717811584,
-0.0015318184159696102,
-0.01335541158914566,
-0.06896437704563141,
-0.00632774643599987,
0.016998805105686188,
0.007587848696857691,
-0.00284693599678576,
-0.02501731365919113,
-0.01358065940439701,
-0.004753035493195057,
-0.01729392074048519,
-0.07617133110761642,
0.02787846140563488,
0.057943277060985565,
0.011668222956359386,
0.01709897443652153,
0.8281734585762024,
0.03473788499832153,
-0.016103610396385193,
-0.010903574526309967,
0.024858688935637474,
0.02142155170440674,
0.0034799876157194376,
-0.009451472200453281,
-0.029628397896885872,
0.011669499799609184,
-0.014092851430177689,
-0.030201656743884087,
-0.004614086821675301,
0.0005767705151811242,
0.015464930795133114,
0.02592809498310089,
0.06383518874645233,
0.03532629460096359,
0.014880523085594177,
-0.0006262020906433463,
0.010722813196480274,
-0.0027321039233356714,
-0.018442826345562935,
0.0011648705694824457,
0.03742004185914993,
-0.0004580340173561126,
-0.18081670999526978,
-0.02249966189265251,
-7.282466683252391e-33,
0.026846759021282196,
-0.03012821264564991,
0.08657519519329071,
-0.014886735007166862,
-0.011343399062752724,
0.022382045164704323,
-0.0011379176285117865,
-0.03489428386092186,
-0.00192471023183316,
-0.02696075104176998,
-0.020116182044148445,
0.024732369929552078,
0.019164973869919777,
0.00381553266197443,
-0.007103616371750832,
-0.01762106455862522,
0.026682570576667786,
0.010821421630680561,
-0.02967834286391735,
0.0004332602838985622,
0.007334543392062187,
0.021776407957077026,
0.006022777408361435,
0.027386588975787163,
0.021613789722323418,
0.013860789127647877,
-0.009747619740664959,
-0.030704768374562263,
0.01328833308070898,
-0.04890294373035431,
-0.0979929193854332,
0.04247448593378067,
0.0036677042953670025,
0.03336067497730255,
-0.0002917374367825687,
-0.04897178336977959,
0.005067174788564444,
-0.03201204538345337,
0.024879172444343567,
-0.08489653468132019,
-0.010661641135811806,
0.0033153975382447243,
0.0118628591299057,
-0.009700932539999485,
-0.00892708357423544,
-0.04016060009598732,
-0.03218467906117439,
0.03327386826276779,
-0.0013922409852966666,
0.04558863118290901,
0.037674907594919205,
0.027555156499147415,
-0.0011935255024582148,
-0.006229650229215622,
-0.06561118364334106,
-0.010107597336173058,
0.01687421090900898,
0.01282183825969696,
0.013972795568406582,
0.04087967425584793,
0.005555977579206228,
0.02973818965256214,
0.0026176879182457924,
0.06900671869516373,
-0.0021370307076722383,
0.01240928191691637,
-0.01981908269226551,
0.017783960327506065,
-0.0007956792251206934,
0.019760403782129288,
-0.03438342735171318,
0.01760401763021946,
-0.020172664895653725,
-0.04985055699944496,
0.005192148499190807,
-0.04055716469883919,
0.005249584559351206,
-0.041773635894060135,
-0.009717811830341816,
0.03375795856118202,
-0.008119560778141022,
-0.0317496582865715,
-0.011229303665459156,
-0.011402838863432407,
-0.021308565512299538,
0.023443663492798805,
0.033251743763685226,
0.033364634960889816,
0.03941397741436958,
0.015040479600429535,
0.03870080038905144,
0.00940436776727438,
0.012020914815366268,
-0.006156807765364647,
-0.008849124424159527,
6.961108568256656e-33,
0.019007453694939613,
0.0017285398207604885,
-0.0048105427995324135,
-0.02021658606827259,
0.026398921385407448,
-0.0046677421778440475,
0.011473544873297215,
0.003906863275915384,
-0.020598402246832848,
0.005036369431763887,
0.005418260116130114,
-0.020473018288612366,
0.010425007902085781,
0.005031563341617584,
0.019308945164084435,
0.020576519891619682,
0.009866842068731785,
0.005968702025711536,
-0.007797128055244684,
0.02369435876607895,
-0.01609894260764122,
-0.011875251308083534,
0.025623442605137825,
0.01408039778470993,
-0.02465295046567917,
-0.0154783446341753,
-0.014719695784151554,
-0.02603290043771267,
-0.016379237174987793,
0.007157130166888237,
0.007711933925747871,
-0.02249731495976448,
0.010807252489030361,
-0.02386350743472576,
0.03075166419148445,
0.007827808149158955,
0.015422698110342026,
-0.010939378291368484,
-0.0006172997527755797,
0.0012388314353302121,
0.025048991665244102,
0.003878989489749074,
-0.012232677079737186,
0.04860786348581314,
0.058513011783361435,
0.007040274795144796,
-0.0017267471412196755,
0.023787224665284157,
0.014325727708637714,
0.020049424842000008,
0.0032770491670817137,
0.03673017397522926,
-0.02074902132153511,
0.04399885982275009,
0.041278764605522156,
-0.04940131679177284,
-0.015572253614664078,
0.03278275951743126,
0.023329032585024834,
-0.03185919299721718,
-0.021317075937986374,
-0.004348638467490673,
-0.05799805372953415,
-0.002522882306948304,
-0.004365889355540276,
0.01716504618525505,
-0.03640982136130333,
-0.01624509133398533,
-0.025967441499233246,
0.002104465151205659,
-0.027122167870402336,
-0.002749089617282152,
-0.012484140694141388,
0.01562672108411789,
-0.004966806620359421,
-0.00825109425932169,
-0.0333239771425724,
-0.025024401023983955,
-0.01916177198290825,
0.051603756844997406,
0.025600047782063484,
-0.03600484877824783,
0.018690435215830803,
0.02063416689634323,
-0.05385662987828255,
-0.011689131148159504,
0.004269501660019159,
0.01395877730101347,
-0.0014316565357148647,
-0.022911017760634422,
0.01823345199227333,
-0.02553746849298477,
-0.030826542526483536,
0.06541384011507034,
0.0025264995638281107,
-1.2713232244720984e-8,
-0.04028387740254402,
-0.008201021701097488,
-0.02197054959833622,
0.027830028906464577,
0.018549693748354912,
0.011738297529518604,
0.002928265370428562,
-0.01508987694978714,
0.0073650553822517395,
-0.003056670306250453,
0.014328023418784142,
0.00473471125587821,
0.03868418186903,
0.0031322953291237354,
0.023028986528515816,
0.0053477818146348,
0.030630556866526604,
-0.011598464101552963,
0.03783975541591644,
0.011201493442058563,
-0.025016754865646362,
0.032334137707948685,
-0.0258853230625391,
0.017099393531680107,
-0.015169627033174038,
0.020775081589818,
0.0320388562977314,
-0.06575269997119904,
0.02583787776529789,
-0.031762994825839996,
-0.0004446646198630333,
-0.041964925825595856,
-0.0051399096846580505,
0.016871418803930283,
-0.027752798050642014,
-0.021002650260925293,
0.01042275782674551,
0.03219594061374664,
0.017481008544564247,
0.026645824313163757,
-0.039591483771800995,
-0.016401605680584908,
-0.015974806621670723,
-0.02509652078151703,
-0.02335364557802677,
0.0071365502662956715,
-0.045309003442525864,
-0.018623804673552513,
0.036866091191768646,
-0.038579393178224564,
0.013868147507309914,
0.006099454127252102,
0.05799827352166176,
-0.016511263325810432,
0.047536469995975494,
0.012433753348886967,
0.0017504151910543442,
0.010070418007671833,
0.007107063662260771,
-0.031200600787997246,
0.0032582315616309643,
-0.008079576306045055,
-0.024962246417999268,
-0.009161781519651413
] | neo4j-cypher-remove-consecutive-duplicates | https://markhneedham.com/blog/2019/01/12/neo4j-cypher-remove-consecutive-duplicates |
false | 2019-01-13 06:42:00 | Neo4j: Cypher - Date ranges | [
"neo4j",
"cypher"
] | [
"Neo4j"
] | As part of a dataset I've been working with this week, I wanted to generate a collection of a range of dates using the Cypher query language.
I've previously used the https://neo4j.com/docs/cypher-manual/current/syntax/temporal/#cypher-temporal-durations[`duration`^] function, which lets you add (or subtract) from a specific date, so I thought I'd start from there.
If we want to find the day after 1st January 2019, we could write the following query:
[source,cypher]
----
neo4j> WITH date("2019-01-01") AS startDate
RETURN startDate + duration({days: 1}) AS date;
+------------+
| date |
+------------+
| 2019-01-02 |
+------------+
----
We can extend this code sample to find the next 5 dates from 1st January 2019 by using the `range` function:
[source,cypher]
----
neo4j> WITH date("2019-01-01") AS startDate
RETURN [day in range(0, 5) | startDate + duration({days: day})]
AS dates;
+--------------------------------------------------------------------------+
| dates |
+--------------------------------------------------------------------------+
| [2019-01-01, 2019-01-02, 2019-01-03, 2019-01-04, 2019-01-05, 2019-01-06] |
+--------------------------------------------------------------------------+
----
That works fine if we know how many days we want to find the range for, but what if we only know the start and end dates for which we want to extract a range?
We can use the `duration.inDays` function to compute a duration between two dates:
[source, cypher]
----
neo4j> RETURN duration.inDays(date("2019-01-01"), date("2019-01-06")) AS difference;
+------------+
| difference |
+------------+
| P0M5DT0S |
+------------+
----
We can then get a count of the number of days from the `days`attribute:
[source,cypher]
----
neo4j> RETURN duration.inDays(date("2019-01-01"), date("2019-01-06")).days AS days;
+------+
| days |
+------+
| 5 |
+------+
----
We can now update our query where we hard coded the number of days to use this computed value instead:
[source,cypher]
----
neo4j> WITH date("2019-01-01") AS startDate, date("2019-01-06") AS endDate
WITH startDate, duration.inDays(startDate, endDate).days AS days
RETURN [day in range(0, days) | startDate + duration({days: day})]
AS dates;
+--------------------------------------------------------------------------+
| dates |
+--------------------------------------------------------------------------+
| [2019-01-01, 2019-01-02, 2019-01-03, 2019-01-04, 2019-01-05, 2019-01-06] |
+--------------------------------------------------------------------------+
---- | Learn how to remove consecutive duplicate elements/duplicate neighbours from a list. | null | [
0.00953331496566534,
-0.014396867714822292,
-0.01489756815135479,
0.037628937512636185,
0.08717789500951767,
-0.009010250680148602,
0.036126747727394104,
0.015135927125811577,
0.03466067090630531,
-0.009149291552603245,
-0.0054662530310451984,
0.011195489205420017,
-0.06664757430553436,
0.021394001320004463,
-0.009554186835885048,
0.06271644681692123,
0.04981009289622307,
-0.01483973953872919,
0.014588301070034504,
-0.03694454953074455,
0.00004591739343595691,
0.027150833979249,
0.00036623908090405166,
0.03925008326768875,
0.06714501976966858,
-0.0017373543232679367,
-0.03422321379184723,
-0.0005953717627562582,
-0.03201684355735779,
-0.008408588357269764,
0.007178911007940769,
0.0068025728687644005,
-0.011141007766127586,
-0.01659899763762951,
0.01065084058791399,
0.009715172462165356,
-0.05861279368400574,
-0.021025849506258965,
-0.002579968888312578,
-0.018515896052122116,
-0.04587896168231964,
0.012558234855532646,
0.00660119391977787,
-0.00020456334459595382,
-0.04733234643936157,
0.024222563952207565,
-0.04136624559760094,
0.01940382830798626,
0.0006860917783342302,
0.009587488137185574,
-0.08765652030706406,
0.019338499754667282,
0.008761072531342506,
-0.007402822375297546,
-0.02122458629310131,
0.04667287319898605,
0.018786340951919556,
-0.0780433639883995,
0.02154676243662834,
0.002208324382081628,
0.032071638852357864,
-0.006515398621559143,
0.0035052362363785505,
0.01633402705192566,
-0.002100095385685563,
-0.025886891409754753,
-0.0069582900032401085,
0.04760703817009926,
-0.03975642845034599,
-0.012649075128138065,
-0.008799098432064056,
0.03250601887702942,
-0.008843940682709217,
-0.00010482233483344316,
-0.0341946966946125,
-0.029432671144604683,
-0.016826463863253593,
0.022195445373654366,
0.020008010789752007,
0.033675771206617355,
-0.02321188896894455,
0.024207284674048424,
0.029985914006829262,
0.0038564493879675865,
0.01717696152627468,
0.003603904042392969,
-0.06376882642507553,
-0.040461648255586624,
-0.03433815389871597,
0.03637111932039261,
0.02736019156873226,
-0.04946209490299225,
0.029691727831959724,
-0.009586848318576813,
-0.012927534058690071,
0.00809413567185402,
-0.003169917967170477,
-0.0205811969935894,
0.03441007807850838,
0.0033839603420346975,
-0.012185337021946907,
-0.05708842724561691,
0.01569667086005211,
0.0029914574697613716,
-0.07367946207523346,
-0.049863167107105255,
-0.04601546749472618,
-0.041480373591184616,
0.026393713429570198,
-0.000611880503129214,
-0.0671331062912941,
0.02587650716304779,
0.028043854981660843,
0.045611780136823654,
-0.07422489672899246,
0.045821670442819595,
0.04172154515981674,
-0.0032695771660655737,
-0.03773129731416702,
-0.015408258885145187,
0.02716532163321972,
-0.012353986501693726,
0.008286656811833382,
0.0780179500579834,
-0.0042723105289042,
0.0722072422504425,
0.016916630789637566,
0.05097334086894989,
-0.009524401277303696,
-0.0679640844464302,
-0.031106065958738327,
0.03385171294212341,
-0.001392295933328569,
0.0006959012825973332,
-0.02894831821322441,
-0.04358600080013275,
-0.03784022852778435,
0.0014666287461295724,
0.061553455889225006,
0.02561293914914131,
0.030521661043167114,
-0.03636784106492996,
0.028907567262649536,
-0.03433165326714516,
0.032589562237262726,
0.02962433360517025,
-0.03802117332816124,
-0.04080667346715927,
-0.0066388375125825405,
0.007051387801766396,
0.012560077011585236,
0.005716550629585981,
0.042800452560186386,
-0.032123155891895294,
0.007632998749613762,
0.07770875841379166,
0.022992951795458794,
0.03945574164390564,
-0.034865934401750565,
-0.009637773968279362,
0.04916251450777054,
0.03620562329888344,
-0.02799892984330654,
0.07737871259450912,
-0.010917105711996555,
-0.0056478725746273994,
0.007573387585580349,
0.057213280349969864,
-0.03739871829748154,
0.005257670767605305,
-0.02551552653312683,
-0.03009301796555519,
0.07336527109146118,
-0.04484064504504204,
-0.024571169167757034,
0.04328707978129387,
0.062258802354335785,
0.012142018415033817,
0.030314145609736443,
-0.006845292169600725,
-0.07479474693536758,
0.04538200423121452,
0.010861684568226337,
0.007595602888613939,
0.019966859370470047,
-0.019547181203961372,
0.07243524491786957,
0.009092665277421474,
-0.004954463802278042,
0.023502599447965622,
-0.08418342471122742,
-0.06670179218053818,
-0.0019421686884015799,
-0.016994290053844452,
0.05340716242790222,
-0.04572078585624695,
0.02686758153140545,
0.027485080063343048,
-0.023760708048939705,
0.06450415402650833,
0.027699071913957596,
-0.006263554096221924,
0.01728803664445877,
-0.040997736155986786,
-0.04133983328938484,
0.04742898792028427,
0.007541722152382135,
-0.04960198700428009,
-0.0004431747074704617,
0.02358156442642212,
-0.010755953378975391,
0.038534976541996,
0.03430900722742081,
-0.018379738554358482,
0.046225663274526596,
0.06325599551200867,
0.03393876925110817,
-0.015155401080846786,
0.022115234285593033,
-0.055343806743621826,
0.06068114563822746,
0.023919926956295967,
-0.04306335374712944,
-0.03033948689699173,
-0.014769081026315689,
0.11204836517572403,
0.05722981318831444,
-0.030454322695732117,
-0.03604552149772644,
0.020271556451916695,
-0.0002841630484908819,
-0.008155985735356808,
0.01613149233162403,
-0.002796608954668045,
0.017898404970765114,
-0.009187203831970692,
-0.017715588212013245,
-0.026048265397548676,
-0.024659408256411552,
-0.02370488829910755,
0.02582353539764881,
0.07094945013523102,
0.0036076963879168034,
0.06222639977931976,
-0.027297744527459145,
0.02234092354774475,
0.00022104248637333512,
-0.02214018628001213,
-0.05037408694624901,
0.03150817006826401,
0.004184211138635874,
-0.01100907102227211,
0.060242217034101486,
-0.012452933005988598,
-0.02570492960512638,
0.0019741011783480644,
-0.029620328918099403,
0.06066342070698738,
0.0631471797823906,
0.05804462358355522,
0.011395568028092384,
0.04090959206223488,
-0.010669120587408543,
0.029137084260582924,
-0.017349734902381897,
-0.06158244609832764,
-0.057012904435396194,
-0.005993196275085211,
0.026294734328985214,
0.012182945385575294,
0.042940299957990646,
-0.03941524028778076,
0.05271090939640999,
0.020446764305233955,
-0.023370828479528427,
-0.00286271795630455,
0.04013323038816452,
0.008111577481031418,
-0.012170758098363876,
-0.04502226412296295,
-0.018650583922863007,
0.056933436542749405,
-0.05149046331644058,
-0.02873781882226467,
-0.016590038314461708,
-0.06061793118715286,
0.05726541206240654,
-0.05805562436580658,
-0.026859546080231667,
0.0018410255433991551,
0.01728195883333683,
0.0632505938410759,
0.025713680312037468,
0.03564291447401047,
0.084272600710392,
0.008177902549505234,
0.013463357463479042,
0.017602313309907913,
0.010324612259864807,
0.017798880115151405,
-0.00562429940328002,
0.022504396736621857,
0.05776041001081467,
-0.016374332830309868,
-0.00339597393758595,
-0.03407537564635277,
-0.01394844613969326,
-0.030503785237669945,
-0.2591920793056488,
0.02119387499988079,
-0.08560510724782944,
-0.029846714809536934,
0.0045362962409853935,
-0.040909696370363235,
0.01696639694273472,
-0.024856969714164734,
-0.026624541729688644,
-0.002350025111809373,
0.010193387977778912,
-0.06173531338572502,
-0.028621932491660118,
0.08792416751384735,
0.031401924788951874,
0.0001819125609472394,
-0.02219131961464882,
-0.04875786229968071,
0.024719158187508583,
0.03713579848408699,
0.00037254017661325634,
-0.024034246802330017,
-0.023356059566140175,
0.034441087394952774,
-0.0014942828565835953,
0.05379104986786842,
-0.06007297337055206,
-0.007941950112581253,
-0.06493273377418518,
-0.040511082857847214,
-0.018766406923532486,
-0.03412312641739845,
0.037213534116744995,
-0.003448959207162261,
-0.003595976624637842,
-0.014454389922320843,
0.049610529094934464,
0.02018340677022934,
0.02904549427330494,
0.03410966694355011,
-0.04730115830898285,
-0.05717536807060242,
0.013034908100962639,
0.007013701368123293,
0.07653839141130447,
0.022760149091482162,
-0.05295325070619583,
-0.024672873318195343,
-0.006451870780438185,
0.04623911529779434,
-0.022432321682572365,
-0.019595205783843994,
-0.028094105422496796,
-0.016418803483247757,
-0.013215004466474056,
-0.04555945098400116,
-0.023675058037042618,
-0.013769866898655891,
-0.03254815191030502,
0.005374531261622906,
-0.0009339198004454374,
-0.03971017897129059,
0.04701722785830498,
-0.06942027807235718,
-0.03412022814154625,
-0.04562569782137871,
-0.08159248530864716,
-0.02428632788360119,
0.03648332506418228,
0.029525695368647575,
-0.0010656611993908882,
-0.00017079715325962752,
-0.01887129433453083,
-0.10724577307701111,
-0.0549352690577507,
-0.02460544742643833,
0.01402121689170599,
0.0017289542593061924,
-0.006477865390479565,
0.0350189246237278,
-0.06621553748846054,
-0.06482482701539993,
-0.005700734909623861,
0.047701116651296616,
0.016703514382243156,
-0.0077776676043868065,
0.013830344192683697,
-0.01666802540421486,
-0.03270355984568596,
0.006913662888109684,
0.05876917764544487,
-0.015819711610674858,
-0.015538990497589111,
0.013389700092375278,
0.00033004285069182515,
0.05222645774483681,
-0.009900077246129513,
-0.021523982286453247,
0.016797471791505814,
0.014880701899528503,
0.030758922919631004,
-0.017375720664858818,
0.020097000524401665,
-0.042172275483608246,
-0.0344703234732151,
-0.03093470260500908,
-0.02384370006620884,
0.019444547593593597,
0.01863137073814869,
0.02403673343360424,
0.0082329660654068,
0.016692742705345154,
-0.0020251998212188482,
-0.04354603961110115,
-0.04727165773510933,
-0.03140566870570183,
0.01667780429124832,
0.03457729145884514,
0.06592296063899994,
-0.016582611948251724,
-0.09334401041269302,
-0.0012124009663239121,
0.02039457857608795,
-0.005250898189842701,
-0.03444574773311615,
-0.03610498085618019,
-0.02694159559905529,
-0.022001497447490692,
0.016538696363568306,
0.03602799400687218,
-0.05656196549534798,
0.030016213655471802,
0.014354715123772621,
-0.006821481045335531,
0.05753469094634056,
-0.017939049750566483,
0.0028003088664263487,
-0.04182089865207672,
-0.002801015507429838,
0.016843855381011963,
-0.01027179416269064,
-0.01352816540747881,
0.014779077842831612,
0.05364183336496353,
0.03209768980741501,
0.01037838775664568,
-0.004061803221702576,
-0.009351925924420357,
-0.007109698839485645,
0.02498951181769371,
-0.026914294809103012,
0.00761794438585639,
0.024861784651875496,
-0.05247976630926132,
-0.015022153966128826,
0.012952599674463272,
0.059725020080804825,
-0.017420772463083267,
-0.029820142313838005,
-0.028051627799868584,
0.019762208685278893,
-0.07418041676282883,
0.019939985126256943,
-0.028595704585313797,
0.0028041466139256954,
0.05098036304116249,
-0.028108976781368256,
0.028033358976244926,
-0.019020358100533485,
-0.008129638619720936,
-0.00179617153480649,
-0.007037718314677477,
-0.03375840559601784,
0.04228277876973152,
-0.018177028745412827,
-0.0015042361337691545,
0.031725604087114334,
0.03401526063680649,
0.009341860190033913,
0.007024549413472414,
-0.01445088442414999,
-0.003908868413418531,
0.0017871435265988111,
0.011034419760107994,
0.04511347413063049,
0.03930140659213066,
0.001995329512283206,
0.0007132359896786511,
-0.047524042427539825,
-0.03849615156650543,
-0.005236058495938778,
-0.019177041947841644,
-0.046579085290431976,
-0.022054454311728477,
-0.02212960459291935,
-0.061977870762348175,
0.055787138640880585,
0.03381839767098427,
0.01962946727871895,
0.028636502102017403,
0.009241377003490925,
-0.044262226670980453,
-0.03535784035921097,
0.03862803429365158,
0.04993058741092682,
-0.03931347280740738,
0.01967068575322628,
-0.00007874033326515928,
-0.012798110023140907,
-0.017460880801081657,
0.04242851585149765,
-0.056755680590867996,
-0.03016422875225544,
0.002772473730146885,
-0.004733410198241472,
-0.006297088693827391,
-0.03769036382436752,
-0.001528608612716198,
0.005840366240590811,
-0.0039954097010195255,
0.03829198330640793,
0.011093983426690102,
0.019483866170048714,
-0.0011547660687938333,
0.011422030627727509,
0.05288117378950119,
-0.03900809586048126,
-0.012017439119517803,
0.015397180803120136,
-0.005922836251556873,
0.01940411888062954,
-0.04313165694475174,
0.030826931819319725,
0.00008699652971699834,
-0.014299661852419376,
-0.02522851713001728,
-0.060403965413570404,
0.018440639600157738,
-0.026499347761273384,
0.05231401324272156,
-0.013784085400402546,
-0.01425523404031992,
-0.01757446862757206,
-0.017822198569774628,
-0.029404617846012115,
0.015528254210948944,
0.015234026126563549,
-0.031047755852341652,
0.013123746030032635,
0.025395305827260017,
-0.007561055477708578,
0.057178985327482224,
-0.014754191040992737,
-0.04315781593322754,
0.037554237991571426,
-0.030670924112200737,
-0.022815145552158356,
0.00027590367244556546,
-0.0557488352060318,
0.021527662873268127,
0.009395948611199856,
-0.00796893797814846,
-0.03226536139845848,
0.07170432060956955,
0.055119168013334274,
0.06529100984334946,
0.05126253888010979,
-0.005258368328213692,
0.0162765234708786,
-0.004627267364412546,
-0.010527946054935455,
-0.08121039718389511,
0.0072839828208088875,
0.04598744213581085,
0.0273283664137125,
-0.02284579910337925,
-0.006895255297422409,
-0.001784549793228507,
0.01324045192450285,
-0.05863937363028526,
-0.02517065964639187,
0.026859991252422333,
-0.029907256364822388,
0.016502702608704567,
0.029375936836004257,
-0.041309867054224014,
0.001850601052865386,
0.06421711295843124,
-0.0014817044138908386,
-0.0202042143791914,
-0.014634164050221443,
0.05367119237780571,
-0.047024331986904144,
0.03418658673763275,
-0.03227541223168373,
-0.00913046021014452,
0.08023647964000702,
0.029524976387619972,
0.03397678583860397,
0.06364598125219345,
-0.0072263204492628574,
0.026920979842543602,
0.0237321425229311,
-0.021856702864170074,
-0.021745575591921806,
0.035590074956417084,
-0.022069841623306274,
-0.04482252150774002,
0.023844407871365547,
0.006877588108181953,
-0.026920396834611893,
-0.031105224043130875,
0.09107133001089096,
-0.009296664968132973,
-0.039567966014146805,
-0.03159423545002937,
0.013675463385879993,
-0.011805667541921139,
-0.034712620079517365,
-0.037440456449985504,
-0.0029444387182593346,
-0.032039955258369446,
0.07036874443292618,
-0.011889738962054253,
0.00882399920374155,
0.07660586386919022,
0.006895602215081453,
-0.00010965448018396273,
0.00992228277027607,
0.0634351521730423,
0.08121825754642487,
0.05004667863249779,
-0.005551123060286045,
0.08252356201410294,
-0.03042006306350231,
-0.02507554180920124,
-0.0258305836468935,
-0.06556876003742218,
-0.0018833847716450691,
-0.013538604602217674,
0.0546027310192585,
0.0810520201921463,
-0.03846065327525139,
0.040694769471883774,
-0.02880038507282734,
-0.021848713979125023,
-0.0011268210364505649,
-0.0022726678289473057,
0.04306904226541519,
0.05563261732459068,
0.01892840676009655,
0.012246743775904179,
-0.0034318389371037483,
-0.04138309508562088,
0.049316417425870895,
-0.006249638739973307,
-0.008716251701116562,
0.04911481589078903,
-0.0116981016471982,
-0.01005268283188343,
-0.006818171590566635,
0.046744704246520996,
0.078232042491436,
-0.026508960872888565,
0.010023354552686214,
0.014842941425740719,
-0.006246844306588173,
0.012675970792770386,
0.01240290142595768,
-0.01629847101867199,
0.0032773693092167377,
-0.016226625069975853,
-0.04220472276210785,
-0.04181460291147232,
-0.015033779665827751,
-0.06036784499883652,
0.001577715971507132,
-0.01730305142700672,
-0.011429275386035442,
-0.012385359965264797,
-0.045376069843769073,
-0.00782365258783102,
-0.04292210564017296,
-0.046648845076560974,
-0.040020301938056946,
-0.09685409069061279,
-0.002968352288007736,
0.008678038604557514,
-0.012809418141841888,
-0.00543784536421299,
0.03386103734374046,
-0.006535088177770376,
-0.018443938344717026,
0.006240064278244972,
-0.012838601134717464,
-0.006966289598494768,
0.03561042621731758,
0.03743568807840347,
0.01783427968621254,
0.006167423911392689,
0.057178348302841187,
-0.009574824012815952,
-0.0009901474695652723,
-0.04770692437887192,
0.016452869400382042,
0.03544390946626663,
0.032708995044231415,
0.006433699280023575,
-0.05782591924071312,
-0.00670809717848897,
0.019460996612906456,
-0.0108102448284626,
-0.08747512102127075,
0.02209687978029251,
0.030863149091601372,
0.01729617267847061,
0.04122397303581238,
-0.0018211278365924954,
-0.008135783486068249,
-0.013723190873861313,
0.0173790343105793,
0.02270473726093769,
-0.008354186080396175,
0.04653526842594147,
-0.029451362788677216,
0.061498839408159256,
0.020046204328536987,
-0.02603536657989025,
-0.008159642107784748,
-0.017904747277498245,
0.010324383154511452,
-0.013187541626393795,
-0.050654616206884384,
-0.020237956196069717,
-0.05102314427495003,
-0.071367047727108,
-0.041428904980421066,
-0.016883624717593193,
-0.04054580256342888,
-0.027360303327441216,
0.0248506311327219,
0.027507157996296883,
-0.014771039597690105,
0.04896230250597,
-0.04263506084680557,
0.011204920709133148,
-0.002349955728277564,
-0.02580992691218853,
-0.04447861760854721,
0.015930239111185074,
-0.0298012662678957,
0.017104124650359154,
0.011854125186800957,
-0.050244808197021484,
-0.038139574229717255,
-0.05583035573363304,
0.007601865567266941,
-0.009375082328915596,
0.005441355053335428,
0.011889321729540825
] | [
-0.07744665443897247,
0.00370862171985209,
-0.016261549666523933,
-0.003920879680663347,
0.05177341401576996,
-0.041457775980234146,
-0.029986001551151276,
-0.01952575147151947,
0.011794159188866615,
-0.008892660960555077,
0.03462579473853111,
-0.020350739359855652,
0.00008449191955151036,
0.041876789182424545,
0.05301138758659363,
-0.02566695399582386,
-0.033392470329999924,
-0.0575033538043499,
-0.04839446023106575,
0.04546166956424713,
0.01581667922437191,
-0.023187005892395973,
-0.04391581565141678,
-0.030427074059844017,
0.03180118650197983,
0.06727448105812073,
0.026474423706531525,
-0.03727355971932411,
-0.03587877005338669,
-0.18131659924983978,
-0.008745978586375713,
0.020433848723769188,
0.0010365111520513892,
-0.02263008989393711,
-0.005329902749508619,
0.018448833376169205,
0.05312018841505051,
-0.005845087114721537,
0.012539815157651901,
0.0711040273308754,
0.04380541667342186,
0.006724892184138298,
-0.05022469535470009,
-0.0444866344332695,
0.01810607686638832,
0.011585449799895287,
-0.007663736119866371,
-0.006058856379240751,
-0.021819738671183586,
0.0420970655977726,
-0.015075311064720154,
-0.019272001460194588,
0.0025128235574811697,
0.021053293719887733,
0.007016020826995373,
0.03857411816716194,
0.021424682810902596,
0.05408632010221481,
0.04556066170334816,
0.025958187878131866,
-0.027647826820611954,
0.002717619528993964,
-0.1411958634853363,
0.07992338389158249,
-0.055806636810302734,
0.007012630812823772,
-0.048790957778692245,
0.010015277191996574,
-0.022753307595849037,
0.06773751974105835,
0.02187921106815338,
-0.001323882257565856,
-0.036225996911525726,
0.07431263476610184,
-0.010555743239820004,
0.022529441863298416,
0.00372636248357594,
0.008120063692331314,
0.035399649292230606,
-0.033560141921043396,
-0.035447925329208374,
0.013461004011332989,
-0.017725596204400063,
-0.027639206498861313,
-0.0057682557962834835,
0.05171775072813034,
-0.016926202923059464,
0.04250244051218033,
-0.010300901718437672,
0.06267000734806061,
0.023789355531334877,
0.034312162548303604,
0.005735133774578571,
0.035838477313518524,
-0.09264326095581055,
-0.04151728376746178,
0.03140658512711525,
0.028375759720802307,
0.00867038406431675,
0.34976354241371155,
-0.01967618055641651,
0.01944996975362301,
-0.007362587843090296,
0.06471248716115952,
-0.024859372526407242,
-0.023777326568961143,
-0.010539491660892963,
-0.06700137257575989,
0.009074052795767784,
-0.03637183457612991,
-0.036919400095939636,
-0.04283852502703667,
0.04354562610387802,
-0.1329805552959442,
0.005138932261615992,
0.020962946116924286,
0.06930222362279892,
0.017451798543334007,
-0.00851992703974247,
0.027645375579595566,
0.01581137254834175,
-0.014550336636602879,
0.05041908472776413,
0.0009600397315807641,
0.022533169016242027,
0.07413414865732193,
0.06250996887683868,
0.04583638161420822,
-0.0017713059205561876,
0.025697311386466026,
0.07045461982488632,
0.004452832974493504,
-0.08201754093170166,
0.016776995733380318,
-0.010752743110060692,
0.01735619083046913,
-0.0052134995348751545,
-0.05659317225217819,
-0.0009999846806749701,
-0.006353430915623903,
-0.047607555985450745,
-0.04164398834109306,
0.06437772512435913,
-0.0009054449619725347,
-0.023457659408450127,
0.13680994510650635,
-0.0031356937251985073,
-0.01218361034989357,
-0.032500386238098145,
-0.064752496778965,
-0.036346979439258575,
0.039912473410367966,
0.044966261833906174,
-0.07512903958559036,
0.010003719478845596,
0.034421760588884354,
0.1007220596075058,
-0.023187121376395226,
-0.08513274788856506,
-0.0013545544352382421,
-0.03344206511974335,
-0.016573864966630936,
-0.049000296741724014,
0.07071635872125626,
0.04675962030887604,
-0.1221042051911354,
0.004417821299284697,
0.033052463084459305,
0.029124462977051735,
-0.08451978117227554,
0.024702729657292366,
0.022186217829585075,
-0.027725286781787872,
-0.047290392220020294,
0.12253738939762115,
0.0030556879937648773,
0.002016234677284956,
-0.005939509253948927,
0.032261937856674194,
0.0332915298640728,
-0.025649286806583405,
-0.015417917631566525,
-0.035986050963401794,
0.02437998168170452,
-0.06567839533090591,
-0.06575529277324677,
-0.044071219861507416,
0.029764270409941673,
-0.022526681423187256,
-0.03729914501309395,
-0.005929512903094292,
-0.0387650728225708,
-0.03643626719713211,
0.07679843157529831,
-0.06583807617425919,
-0.058325063437223434,
-0.03687882423400879,
0.048523541539907455,
-0.03710521385073662,
-0.04967264086008072,
0.026347605511546135,
-0.020190251991152763,
0.04196872562170029,
0.00808472279459238,
-0.014367915689945221,
0.007804082240909338,
0.07928544282913208,
-0.056411415338516235,
0.059986528009176254,
0.029389940202236176,
-0.02400774508714676,
0.02263535000383854,
0.010288853198289871,
-0.009114283137023449,
-0.012864476069808006,
0.0059232995845377445,
-0.0191853828728199,
-0.022007912397384644,
-0.01626562513411045,
0.042844902724027634,
-0.02485421486198902,
-0.025563310831785202,
0.006910232827067375,
-0.34258633852005005,
-0.012934703379869461,
-0.012020673602819443,
-0.03407086059451103,
0.041105322539806366,
-0.015700820833444595,
-0.022247768938541412,
-0.05125068873167038,
0.021173864603042603,
0.026686711236834526,
0.07896116375923157,
0.006557465065270662,
-0.028544297441840172,
-0.10319758951663971,
-0.005208182614296675,
0.027613671496510506,
-0.001713958801701665,
-0.007625842001289129,
-0.012813512235879898,
0.008324577473104,
0.0006794171640649438,
-0.07333824038505554,
-0.015451504848897457,
-0.09063161164522171,
-0.012208981439471245,
-0.000508698052726686,
0.10543368756771088,
-0.0060121784918010235,
0.00012233767483849078,
-0.0875888392329216,
0.06332779675722122,
-0.037034180015325546,
-0.01363783422857523,
-0.03638394922018051,
-0.003995186649262905,
-0.03648972511291504,
0.027519425377249718,
0.015825001522898674,
-0.03313921019434929,
-0.023301048204302788,
-0.026554472744464874,
0.013696395792067051,
-0.024629533290863037,
0.00014700705651193857,
-0.05928533896803856,
0.024337369948625565,
0.005638712085783482,
-0.002864174311980605,
0.005740843713283539,
0.05809547379612923,
0.007973616942763329,
0.00866507925093174,
0.027670055627822876,
0.017494965344667435,
0.02353120967745781,
-0.03487122431397438,
-0.09138413518667221,
-0.013342089019715786,
0.00030596007127314806,
0.020639488473534584,
-0.007479455787688494,
0.03877450153231621,
0.018504388630390167,
-0.059839025139808655,
-0.005215359851717949,
0.021980002522468567,
0.013903871178627014,
-0.026641014963388443,
-0.002648876281455159,
0.0031165480613708496,
-0.026614084839820862,
0.09145576506853104,
-0.025297202169895172,
-0.003520745551213622,
0.05031494423747063,
0.01791379414498806,
-0.03447769954800606,
0.009602381847798824,
0.028378482908010483,
0.012540054507553577,
0.04021759703755379,
-0.03970326855778694,
0.07135865092277527,
-0.007098292000591755,
0.00647920835763216,
0.05312054604291916,
0.014221676625311375,
-0.019373135641217232,
0.04290569946169853,
0.0026375155430287123,
-0.00970968883484602,
-0.003873101668432355,
-0.0034065216314047575,
-0.03768079727888107,
0.09051766246557236,
-0.02098264917731285,
-0.2580193281173706,
0.07163512706756592,
0.02283284440636635,
0.04214873164892197,
0.031188184395432472,
0.002675577998161316,
-0.014277954585850239,
-0.02463311329483986,
-0.04082220792770386,
-0.014516035094857216,
0.022690704092383385,
0.05856204405426979,
-0.006727416999638081,
-0.018780149519443512,
0.001984243281185627,
0.020275890827178955,
0.0570610947906971,
0.019634578377008438,
0.02957204543054104,
-0.003281035926192999,
0.06644994765520096,
-0.01310526579618454,
0.16251403093338013,
0.04991358518600464,
0.0054267882369458675,
0.02498864196240902,
-0.027713840827345848,
-0.010544674471020699,
0.08251816034317017,
-0.01709679141640663,
-0.013056683354079723,
0.03139293193817139,
0.012121610343456268,
0.048207011073827744,
-0.005427471827715635,
-0.014185566455125809,
-0.01409458089619875,
0.08267678320407867,
0.013799327425658703,
-0.03857653588056564,
-0.008546117693185806,
0.020377565175294876,
-0.023365380242466927,
0.03545122593641281,
0.10270844399929047,
-0.02741287648677826,
-0.005852897185832262,
-0.04774932563304901,
-0.07502628862857819,
-0.01998845487833023,
-0.028754346072673798,
-0.017198430374264717,
-0.02006889320909977,
0.01593971438705921,
-0.01718967780470848,
0.0885404497385025,
0.05126079171895981,
-0.0313243567943573,
0.03796160966157913,
0.02936176396906376,
-0.004625111352652311,
-0.033422455191612244,
0.09257826209068298,
-0.06414996087551117,
0.004553777631372213
] | [
0.006770186126232147,
0.06602813303470612,
0.042745452374219894,
0.04390851780772209,
-0.01738603785634041,
0.013456217013299465,
-0.06577812880277634,
-0.003338768146932125,
-0.008435619063675404,
-0.028110140934586525,
-0.05494803935289383,
-0.02483808435499668,
0.016388529911637306,
0.0021115748677402735,
-0.009374705143272877,
-0.02327490784227848,
-0.0345548540353775,
0.029331855475902557,
0.07127778977155685,
-0.014945393428206444,
-0.020026741549372673,
0.023038243874907494,
0.027539508417248726,
-0.0018288500141352415,
0.003662519156932831,
0.00039898892282508314,
-0.02594180963933468,
0.024134108796715736,
0.0277313981205225,
-0.0759732648730278,
-0.062267426401376724,
0.01601840741932392,
-0.017902368679642677,
-0.0008467652951367199,
-0.04599770903587341,
0.00001102224996429868,
0.004101659171283245,
0.015065189450979233,
0.002380425576120615,
0.031181063503026962,
0.028963293880224228,
-0.01949271559715271,
-0.013598961755633354,
0.001871732180006802,
0.008199090138077736,
-0.007390130311250687,
-0.014487913809716702,
-0.01294021774083376,
-0.019186586141586304,
0.02602028287947178,
-0.04554513841867447,
-0.01155522558838129,
-0.027241230010986328,
0.0014249311061576009,
0.031117666512727737,
0.040505725890398026,
-0.06459353864192963,
-0.019261667504906654,
0.012055193074047565,
-0.05486968904733658,
0.013756881467998028,
-0.008442258462309837,
-0.08740167319774628,
-0.025470111519098282,
-0.01080375723540783,
-0.021353652700781822,
-0.005656502675265074,
0.04575757682323456,
0.03018587827682495,
-0.002033068798482418,
-0.04815737158060074,
0.02497771382331848,
-0.070611372590065,
0.03756530582904816,
-0.01699208654463291,
0.04657358303666115,
0.06515515595674515,
-0.04344348981976509,
0.016079595312476158,
-0.033522311598062515,
-0.0025682614650577307,
0.006448868662118912,
-0.012860863469541073,
0.01865791156888008,
-0.02746809460222721,
-0.04017827287316322,
0.006230061873793602,
0.0629405602812767,
0.001974070444703102,
-0.008111154660582542,
-0.02124456688761711,
-0.007824276573956013,
-0.005149828735738993,
-0.022975796833634377,
-0.09265163540840149,
-0.014031244441866875,
0.010270371101796627,
0.038068391382694244,
0.0712590366601944,
0.7795149683952332,
0.04632312059402466,
-0.014997703023254871,
-0.04189639165997505,
0.03614603728055954,
-0.01049723383039236,
0.008205466903746128,
-0.017517320811748505,
-0.0011206287890672684,
-0.04368791729211807,
5.815263648401015e-7,
-0.02127079851925373,
0.01511890534311533,
0.015533434227108955,
-0.021918606013059616,
0.019595539197325706,
0.07936693727970123,
0.00684785470366478,
0.010511590167880058,
-0.0018685190007090569,
0.01891137845814228,
0.021433038637042046,
-0.006419381592422724,
-0.01196848414838314,
0.022980907931923866,
-0.00561674777418375,
-0.16907387971878052,
0.02797030471265316,
-6.934932513115751e-33,
0.023967429995536804,
-0.03511226549744606,
0.0932602733373642,
-0.02034868486225605,
0.0010405826615169644,
0.04150637984275818,
0.00695221358910203,
-0.046305157244205475,
-0.010341623798012733,
-0.03899036720395088,
-0.02544231526553631,
-0.0003493792319204658,
-0.01550622284412384,
-0.05448303744196892,
0.021977823227643967,
-0.025002747774124146,
0.023221228271722794,
0.029011741280555725,
0.0012535250280052423,
0.010304233059287071,
0.004403000697493553,
-0.010797697119414806,
-0.024649737402796745,
0.030366528779268265,
0.0380142517387867,
0.0262380950152874,
0.001457517733797431,
-0.017312634736299515,
-0.027450529858469963,
-0.06511189788579941,
-0.0584121011197567,
0.004548999946564436,
-0.022577272728085518,
0.011814112775027752,
0.04457155987620354,
-0.058845389634370804,
-0.006814533844590187,
-0.0027650215197354555,
-0.016637729480862617,
-0.05370089039206505,
-0.026154180988669395,
-0.0033100901637226343,
0.007535721641033888,
-0.031134041026234627,
-0.028929173946380615,
-0.00459815189242363,
0.004480195697396994,
0.030271949246525764,
-0.008032997138798237,
0.037759989500045776,
0.013397350907325745,
0.03014953061938286,
-0.020909685641527176,
-0.042447712272405624,
-0.021899649873375893,
0.03205609694123268,
0.039906591176986694,
0.012403367087244987,
-0.014411910437047482,
0.03130397945642471,
0.008939891122281551,
0.0007263827137649059,
0.011858183890581131,
0.03589249774813652,
0.013829908333718777,
0.025708544999361038,
-0.027361668646335602,
0.010141519829630852,
-0.01466360967606306,
0.05806482583284378,
-0.042949408292770386,
0.026922807097434998,
0.024876058101654053,
-0.03663645312190056,
0.05296812951564789,
-0.05482425540685654,
0.011376707814633846,
-0.02739189937710762,
0.009995347820222378,
0.044157974421978,
-0.01593683660030365,
-0.04184766858816147,
0.0001058821871993132,
0.00042045069858431816,
-0.00026517180958762765,
-0.009476338513195515,
0.030399415642023087,
0.04736165329813957,
0.034842994064092636,
0.01222350262105465,
0.02198229357600212,
-0.026123834773898125,
0.017365487292408943,
-0.0003923035110346973,
-0.019546886906027794,
7.18145865773814e-33,
0.019231202080845833,
0.00985279306769371,
-0.011840930208563805,
-0.020453443750739098,
0.017553096637129784,
0.007272492628544569,
0.005478214006870985,
0.041655175387859344,
-0.023915424942970276,
0.05239217355847359,
0.01158206444233656,
-0.04077598452568054,
-0.00615021213889122,
0.02583332173526287,
0.03959228843450546,
0.0018890277715399861,
0.03957972675561905,
-0.07149164378643036,
-0.010396822355687618,
0.030729416757822037,
-0.022724108770489693,
-0.012932997196912766,
-0.026743685826659203,
0.021473288536071777,
0.029000073671340942,
0.04155082628130913,
0.038035888224840164,
0.017188765108585358,
-0.02438546158373356,
0.008866427466273308,
-0.0046808067709207535,
-0.04988948628306389,
-0.0030660529155284166,
-0.028236204758286476,
0.03403504565358162,
0.0034569299314171076,
0.01741013489663601,
-0.02861553616821766,
0.007428569253534079,
0.0073287468403577805,
-0.012964311987161636,
0.024130530655384064,
-0.007192887831479311,
0.0518040657043457,
0.04255004972219467,
0.05036846548318863,
-0.005861198529601097,
0.02915208600461483,
0.008378962054848671,
-0.0035993815399706364,
-0.0022220227401703596,
0.015766700729727745,
-0.06033578887581825,
0.03505384922027588,
0.017962638288736343,
-0.052022479474544525,
-0.003563295118510723,
0.009793184697628021,
0.02935504913330078,
-0.04364728555083275,
-0.03487034887075424,
-0.03089349903166294,
-0.05501280352473259,
-0.0005884396960027516,
0.010655012913048267,
-0.04401887580752373,
-0.03373706340789795,
-0.015115573070943356,
-0.005959292873740196,
0.000884082808624953,
0.03637562692165375,
0.015857765451073647,
-0.01569412462413311,
0.024595385417342186,
-0.003744684159755707,
-0.02767997607588768,
-0.017921702936291695,
-0.012570038437843323,
-0.02886209823191166,
0.03743455559015274,
0.004236122127622366,
-0.012927412986755371,
0.031716298311948776,
0.04736267402768135,
-0.04416618123650551,
0.012455448508262634,
-0.03487703204154968,
0.016107669100165367,
-0.010190756991505623,
-0.006790384650230408,
0.018755042925477028,
-0.031733520328998566,
-0.04325048252940178,
0.08410942554473877,
-0.0069229681976139545,
-1.2261184068051989e-8,
-0.01292185764759779,
0.002660800004377961,
-0.03347832337021828,
0.004783837590366602,
0.010105575434863567,
-0.015322620049118996,
-0.0044555021449923515,
-0.027725432068109512,
0.04816712439060211,
0.044436439871788025,
0.060745008289813995,
-0.039737481623888016,
0.05475415289402008,
-0.002304517198354006,
-0.003403299953788519,
0.008648054674267769,
-0.012274614535272121,
0.009059710428118706,
0.045490581542253494,
0.021559391170740128,
0.012719734571874142,
0.040590327233076096,
-0.056945983320474625,
-0.007423087023198605,
0.01830180361866951,
0.03195873275399208,
0.025471147149801254,
-0.019202614203095436,
0.05502127483487129,
-0.04528677463531494,
0.002090219408273697,
-0.026335470378398895,
-0.0026584055740386248,
0.03874886780977249,
-0.07123622298240662,
-0.05763697996735573,
0.014669256284832954,
0.0315253920853138,
-0.007071975618600845,
0.05320865660905838,
0.0022975497413426638,
-0.007755717728286982,
-0.04288850352168083,
-0.014099542051553726,
-0.04201842099428177,
0.006758692674338818,
-0.01923481747508049,
-0.024762481451034546,
0.03166700899600983,
-0.026754604652523994,
0.005864704959094524,
0.0005561508587561548,
0.0651693195104599,
-0.0029059341177344322,
0.053957488387823105,
0.030218448489904404,
0.006020931992679834,
-0.019366798922419548,
-0.015403426252305508,
-0.001705508097074926,
-0.03026234172284603,
-0.0066880229860544205,
-0.02847534418106079,
-0.0072064269334077835
] | neo4j-cypher-date-ranges | https://markhneedham.com/blog/2019/01/13/neo4j-cypher-date-ranges |
false | 2019-06-03 11:08:00 | Kafka: Python Consumer - No messages with group id/consumer group | [
"kafka",
"python"
] | [
"Kafka"
] | When I'm learning a new technology, I often come across things that are incredibly confusing when I first come across them, but make complete sense afterwards.
In this post I'll explain my experience writing a Kafka consumer that wasn't finding any messages when using https://kafka.apache.org/documentation/#intro_consumers[consumer groups^] .
== Setting up Kafka infrastructure
We'll set up the Kafka infrastructure locally using the Docker Compose Template that I describe in my https://markhneedham.com/blog/2019/05/16/kafka-basic-tutorial/[Kafka: A Basic Tutorial blog post^].
We can run the following command to do this:
[source,bash]
----
git clone [email protected]:mneedham/basic-kafka-tutorial.git && cd basic-kafka-tutorial
----
And then launch the Docker containers using the following command:
[source, bash]
----
docker-compose up
----
While that's running let's install the https://github.com/dpkp/kafka-python[kafka-python^] library, which we'll use to put messages onto a Kafka topic, as well as consume messages from that topic.
We can install this library using the following command:
[source, bash]
----
pip install kafka-python
----
== Creating a Kafka topic
Now let's create a topic named `foobar`, which we can do using the `kafka-topics` tool
[source, bash]
----
docker exec broker-tutorial kafka-topics \
--zookeeper zookeeper:2181 \
--create \
--topic foobar \
--partitions 2 \
--replication-factor 1
----
.Output
[source, text]
----
Created topic "foobar".
----
Cool!
Now we're ready to write some messages to the topic.
== Producing and consuming messages
The following code adds 10 JSON messages to the `foobar` topic:
[source, python]
----
from kafka import KafkaProducer
import uuid
import json
producer = KafkaProducer(
bootstrap_servers=['localhost:9092'],
value_serializer=lambda v: json.dumps(v).encode('utf-8'))
for _ in range(10):
producer.send('foobar', {"id": str(uuid.uuid4())})
producer.flush()
----
Let's read the messages from the topic.
The following code does this:
[source, python]
----
from kafka import KafkaConsumer
import json
consumer = KafkaConsumer('foobar',
bootstrap_servers='localhost:9092',
auto_offset_reset='earliest',
consumer_timeout_ms=1000,
value_deserializer = json.loads)
for msg in consumer:
print(msg.value)
----
Note that we set `auto_offset_reset` to `earliest` so that our consumer will read all the messages from the beginning.
If we don't add this config our consumer will only see new messages.
The output of running the consumer is below:
[source, bash]
----
python dummy_consumer.py
----
.Output
[source, json]
----
{'id': '939cd4fe-79e9-4050-a9bc-3f94b31f62e3'}
{'id': 'a90c71b3-4516-4df9-871d-047264f1d6b6'}
{'id': '06d45529-6888-4d2d-a4df-fec15b4b1d87'}
{'id': '25642eee-b51c-432a-89d1-d7a17c7ef30a'}
{'id': '03229045-94c9-4825-9cb6-ce495a68e7a9'}
{'id': '3b6875f4-0a64-443f-9206-3bf1a3d31dc8'}
{'id': '9f45a12b-97d2-4585-b296-a80ec5c0223c'}
{'id': '485b4946-18a9-47d1-a849-87a6fc60365a'}
{'id': 'b1c9d75a-d56e-4dd8-9e08-89b3a818fbb1'}
{'id': '14486560-b5cb-41fa-bd0e-845a424c8ed4'}
----
If we run that code again, we'll see the same list of 10 messages.
What about if we provide a https://kafka.apache.org/documentation/#intro_consumers[consumer group^]? (using the `group_id` config)
The following consumer reads from the `foobar` topic using a group id named `blog_group`:
[source, python]
----
from kafka import KafkaConsumer
import json
consumer = KafkaConsumer('foobar',
bootstrap_servers='localhost:9092',
group_id='blog_group',
auto_offset_reset='earliest',
consumer_timeout_ms=10000,
value_deserializer = json.loads)
for msg in consumer:
print(msg.value)
----
The first time we run this script we'll see those 10 messages, but if we run it again we won't get any messages.
The reason for this is that when we provide a group id, the broker https://github.com/confluentinc/confluent-kafka-python/issues/275[keeps track of the current offset^] so that messages aren't consumed twice.
We can run the following command to see this:
[source, bash]
----
$ docker exec broker-tutorial kafka-consumer-groups \
--bootstrap-server broker:9093 \
--group blog_group \
--describe
----
.Output
[source,text]
----
TOPIC PARTITION CURRENT-OFFSET LOG-END-OFFSET LAG CONSUMER-ID HOST CLIENT-ID
foobar 0 8 8 0 kafka-python-1.4.6-74f3f185-b563-40c8-958a-ad6c0c4815c0 /172.26.0.1 kafka-python-1.4.6
foobar 1 2 2 0 kafka-python-1.4.6-74f3f185-b563-40c8-958a-ad6c0c4815c0 /172.26.0.1 kafka-python-1.4.6
----
From this output we need to look at two columns:
* `CURRENT_OFFSET`, which indicates the offset that our consumer has read up to
* `LOG-END-OFFSET`, which indicates the maximum offset for that partition
If we want to consume all the messages on the `foobar` topic again, we'll need to reset `CURRENT_OFFSET` back to 0.
== Resetting offsets
We can do this by passing the `--reset-offsets` argument to `kafka-consumer-groups.`
The following code shows what a dry run of this command will do:
[source, bash]
----
docker exec broker-tutorial kafka-consumer-groups \
--bootstrap-server broker:9093 \
--group blog_group \
--topic foobar \
--reset-offsets \
--to-earliest \
--dry-run
----
.Output
[source, text]
----
TOPIC PARTITION NEW-OFFSET
foobar 0 0
foobar 1 0
----
And if we want to execute it for real, we need to change `--dry-run` to `--execute`:
[source, bash]
----
docker exec broker-tutorial kafka-consumer-groups \
--bootstrap-server broker:9093 \
--group blog_group \
--topic foobar \
--reset-offsets \
--to-earliest --execute
----
.Output
[source, text]
----
TOPIC PARTITION NEW-OFFSET
foobar 0 0
foobar 1 0
----
Once we've done this we can re-run our group id consumer and we'll be able to read all the messages again. | Learn how to work around a confusing error message when using the Kafka Python Consumer. | null | [
0.014176040887832642,
-0.010805405676364899,
-0.012069051153957844,
0.0473821721971035,
0.08545864373445511,
0.007172547746449709,
-0.0009573924471624196,
0.07014324516057968,
-0.0006217669579200447,
-0.007301034405827522,
0.0019096315372735262,
-0.009117494337260723,
-0.0708375945687294,
0.031235037371516228,
-0.0073691620491445065,
0.041645269840955734,
0.06484919041395187,
0.001946945209056139,
0.011231600306928158,
0.022709427401423454,
0.01896304078400135,
0.051200225949287415,
0.011725641787052155,
0.048312801867723465,
0.006456071510910988,
0.0012852835934609175,
0.020746387541294098,
0.023132333531975746,
-0.03952842578291893,
-0.009939040057361126,
0.036841440945863724,
0.010827821679413319,
0.000364435079973191,
-0.013171239756047726,
0.00702187605202198,
-0.03203587234020233,
-0.019857317209243774,
0.00968086626380682,
0.012224058620631695,
0.020665470510721207,
-0.08214753121137619,
0.047255150973796844,
-0.007131839171051979,
0.016993112862110138,
-0.03325588256120682,
0.008074749261140823,
-0.04503980651497841,
0.01204558927565813,
0.003157168859615922,
-0.00015961746976245195,
-0.06700760871171951,
0.017812881618738174,
0.0002988200867548585,
0.0018610222032293677,
0.005273811984807253,
0.03985030576586723,
0.008402126841247082,
-0.09147580713033676,
0.023646308109164238,
-0.01688936911523342,
-0.01290709339082241,
-0.013221758417785168,
0.017475120723247528,
0.028311170637607574,
0.02770514041185379,
-0.030496761202812195,
-0.01547034177929163,
0.03868350014090538,
-0.019132182002067566,
-0.013381807133555412,
-0.013918292708694935,
-0.010110358707606792,
-0.023163413628935814,
-0.018746402114629745,
0.022902101278305054,
-0.046835094690322876,
0.005684024188667536,
0.054959964007139206,
0.026582952588796616,
0.053792260587215424,
-0.032797202467918396,
-0.008931471034884453,
-0.005874042399227619,
0.030391069129109383,
0.03724747523665428,
-0.04947657883167267,
-0.0338539220392704,
-0.010089908726513386,
-0.066785529255867,
0.07004678249359131,
0.015031471848487854,
-0.043784718960523605,
-0.006766556296497583,
-0.0017489875899627805,
-0.0083230035379529,
0.015509875491261482,
0.011487308889627457,
0.012318640947341919,
0.024588776752352715,
-0.01749587617814541,
-0.037747059017419815,
0.03360550105571747,
-0.02258019894361496,
0.04455355182290077,
-0.06073657050728798,
-0.04366867616772652,
-0.03909382224082947,
-0.028328990563750267,
0.004204627126455307,
0.019278058782219887,
0.008430544286966324,
0.003683650167658925,
-0.006257065571844578,
0.0031709035392850637,
-0.09037569910287857,
0.08798279613256454,
0.008144434541463852,
-0.0647679790854454,
0.013570326380431652,
0.009111016057431698,
0.036991387605667114,
0.04973091930150986,
0.0042277006432414055,
0.06677736341953278,
-0.014453585259616375,
0.0037129130214452744,
-0.0018459036946296692,
0.0681343674659729,
-0.03464435413479805,
-0.05754980072379112,
-0.00040339588304050267,
0.05400436371564865,
0.02335697039961815,
0.020473681390285492,
-0.0025356225669384003,
-0.008111339062452316,
0.01103975996375084,
0.017649777233600616,
0.053490933030843735,
0.04280778020620346,
-0.010544839315116405,
-0.045607734471559525,
0.023958059027791023,
0.009265994653105736,
0.004164219368249178,
0.016173359006643295,
0.02410172112286091,
-0.024555394425988197,
-0.02630164474248886,
0.014297112822532654,
0.000991103588603437,
0.017039809376001358,
0.05506031960248947,
-0.01859232597053051,
0.021079447120428085,
0.05568401515483856,
0.0139903724193573,
0.02695475146174431,
-0.012797325849533081,
0.012940672226250172,
0.0259246863424778,
0.03469260409474373,
0.01564653031527996,
0.007065691519528627,
0.006586616393178701,
-0.05669907480478287,
0.001096420339308679,
0.029021073132753372,
-0.010358587838709354,
-0.009041089564561844,
-0.039684634655714035,
-0.04085811600089073,
0.044827353209257126,
-0.018382826820015907,
0.03908419609069824,
0.01535704918205738,
0.07976065576076508,
0.03111112490296364,
0.05253554880619049,
0.02491682581603527,
-0.06908433884382248,
0.05210242420434952,
-0.008378172293305397,
0.019641157239675522,
0.0330762043595314,
-0.03571676090359688,
0.046480029821395874,
0.025053109973669052,
0.012422630563378334,
0.02866664156317711,
-0.08313027769327164,
-0.05952451005578041,
-0.03151308745145798,
0.021998146548867226,
0.06507842242717743,
-0.054088201373815536,
-0.024836340919137,
0.061345621943473816,
0.04454506188631058,
0.031025037169456482,
0.002929155947640538,
0.001527560641989112,
0.012199528515338898,
-0.0718008279800415,
-0.06195102259516716,
0.059923894703388214,
-0.0013879041653126478,
-0.03150678798556328,
-0.045286308974027634,
-0.007346405182033777,
-0.0446387343108654,
-0.029975982382893562,
0.04977119714021683,
-0.022679289802908897,
0.054396823048591614,
-0.0012035906547680497,
0.012853517197072506,
-0.02378927730023861,
0.029536336660385132,
-0.01918811909854412,
0.021283535286784172,
-0.012566245160996914,
-0.005239527672529221,
0.00025077484315261245,
-0.01727108657360077,
0.10198161751031876,
0.0510861799120903,
-0.023821743205189705,
-0.045753058046102524,
0.05580092966556549,
0.021078182384371758,
-0.023535998538136482,
0.0034279057290405035,
-0.020169977098703384,
-0.0031422951724380255,
-0.0076163639314472675,
-0.04335225746035576,
-0.039154116064310074,
-0.00388712459243834,
-0.023692702874541283,
0.017771916463971138,
0.07171410322189331,
-0.0536581389605999,
0.06970994919538498,
0.02313779667019844,
-0.019418975338339806,
0.004819577559828758,
-0.04139837995171547,
-0.09325996786355972,
0.03484182059764862,
-0.0021187833044677973,
-0.011352750472724438,
0.06858183443546295,
-0.04196847230195999,
-0.05779890716075897,
-0.022860707715153694,
-0.051413364708423615,
0.036154139786958694,
0.023031625896692276,
0.05517154559493065,
-0.031627267599105835,
0.06066407263278961,
-0.03750692680478096,
0.02161617949604988,
-0.026113361120224,
-0.03594213351607323,
-0.004049266222864389,
-0.003364602802321315,
0.013268298469483852,
0.030566256493330002,
0.014164496213197708,
-0.006176614668220282,
0.04788836091756821,
0.004966909531503916,
0.0020501951221376657,
-0.003854460548609495,
0.027450820431113243,
-0.010975433513522148,
0.024501267820596695,
-0.0344432108104229,
-0.04527977108955383,
0.05449488013982773,
-0.08086363971233368,
0.009575791656970978,
0.03489931300282478,
-0.07727169990539551,
0.03160564601421356,
-0.04557638615369797,
-0.022487079724669456,
-0.03399556502699852,
0.027695173397660255,
0.02835136651992798,
0.013609896413981915,
0.005811032373458147,
0.05911530554294586,
0.03845081850886345,
-0.013593055307865143,
0.013507895171642303,
-0.002363343955948949,
0.045852407813072205,
-0.022980257868766785,
0.0027321134693920612,
0.0826287642121315,
0.021367138251662254,
-0.014862301759421825,
-0.04492457956075668,
0.03662353754043579,
-0.020854545757174492,
-0.2763189375400543,
0.04230072721838951,
0.006298412568867207,
-0.03952092304825783,
0.011630645021796227,
-0.012813406065106392,
0.02931998111307621,
-0.05446067079901695,
-0.007504509761929512,
-0.008793315850198269,
-0.05610523000359535,
-0.03150416165590286,
-0.015716880559921265,
0.04604407772421837,
-0.004327048547565937,
0.017124680802226067,
0.007272965274751186,
-0.026686053723096848,
0.005039675161242485,
0.00730741024017334,
-0.040451742708683014,
-0.06726992875337601,
-0.012966617941856384,
0.041478805243968964,
0.04155668988823891,
0.013618784956634045,
-0.09822335839271545,
0.05352064222097397,
-0.04904944449663162,
0.002820401918143034,
-0.009440556168556213,
-0.027889544144272804,
-0.014154862612485886,
-0.014530147425830364,
0.00033428549068048596,
0.003148264018818736,
0.01803780160844326,
0.0065003568306565285,
0.01779320277273655,
0.019012367352843285,
-0.010617020539939404,
-0.04562931880354881,
-0.01587284356355667,
-0.018809564411640167,
0.08161445707082748,
0.00883722398430109,
-0.07049698382616043,
-0.004370653070509434,
-0.03318943455815315,
0.07676583528518677,
-0.03961826488375664,
-0.051870547235012054,
0.014275502413511276,
0.03420090302824974,
-0.0008262567571364343,
0.004570042714476585,
-0.0030949485953897238,
0.008646896108984947,
-0.01506186742335558,
-0.03626854717731476,
0.00019933763542212546,
-0.026015669107437134,
-0.007458903361111879,
-0.06712999194860458,
-0.0014863279648125172,
-0.04537047818303108,
-0.057955846190452576,
-0.00030640431214123964,
0.08698444813489914,
0.02941894717514515,
-0.06708705425262451,
-0.027559317648410797,
-0.01666966639459133,
-0.10682502388954163,
0.007451741490513086,
-0.05174561217427254,
-0.05459880083799362,
-0.007853728719055653,
-0.01171814650297165,
0.04178453981876373,
-0.03687096759676933,
-0.03533698990941048,
0.011347630992531776,
0.0035673161037266254,
0.00027848692843690515,
-0.02492017298936844,
0.025921586900949478,
-0.016572166234254837,
-0.016836749389767647,
-0.003884884063154459,
0.03593949228525162,
-0.024749333038926125,
-0.03211575001478195,
-0.035946834832429886,
0.003070007311180234,
0.04810904338955879,
0.002882732544094324,
0.01510731689631939,
0.008310138247907162,
0.03859318047761917,
0.05078901723027229,
-0.05242380499839783,
-0.003136427141726017,
-0.02808680571615696,
-0.01204830314964056,
-0.014247700572013855,
-0.07475020736455917,
0.00594292813912034,
0.02603873237967491,
0.03369974344968796,
-0.016360552981495857,
-0.06832266598939896,
0.0018077587010338902,
-0.056071627885103226,
-0.009512314572930336,
0.009372880682349205,
-0.003916122484952211,
0.04633071646094322,
0.012973775155842304,
0.004062878433614969,
-0.058606185019016266,
0.03858177736401558,
0.005372894927859306,
0.0027371319010853767,
-0.04474683851003647,
-0.04421138018369675,
-0.017652207985520363,
-0.012297055684030056,
-0.0036350253503769636,
0.02376859448850155,
0.011858725920319557,
0.031052537262439728,
0.05487000197172165,
-0.023208914324641228,
0.027445832267403603,
-0.02723034657537937,
-0.0561688058078289,
-0.04376218095421791,
0.0012780292890965939,
0.022479716688394547,
-0.04254431277513504,
-0.002556363819167018,
0.006107708439230919,
0.025775529444217682,
0.0470455139875412,
0.013925767503678799,
0.02568723075091839,
0.03497392311692238,
0.014805324375629425,
0.003604963654652238,
0.01304991077631712,
-0.039874088019132614,
0.009545373730361462,
-0.020562412217259407,
-0.024371184408664703,
-0.021846050396561623,
0.030484693124890327,
-0.004373312462121248,
-0.026851359754800797,
-0.02083941549062729,
0.01365563552826643,
-0.06913813948631287,
-0.00844783429056406,
-0.014200747944414616,
0.010764502920210361,
0.04981130361557007,
-0.018921304494142532,
0.009601548314094543,
-0.00467473641037941,
-0.022644009441137314,
-0.0014269901439547539,
0.004091248847544193,
-0.02072860300540924,
0.02607049234211445,
0.014209728688001633,
-0.02473153918981552,
0.01868859864771366,
0.01422774139791727,
0.025767015293240547,
0.0043971603736281395,
0.0018165321089327335,
-0.01732553355395794,
0.03020232543349266,
-0.0090361712500453,
0.04584183916449547,
0.04357422515749931,
-0.02939056046307087,
-0.0013965523103252053,
-0.023191798478364944,
-0.01592666655778885,
-0.0036468221805989742,
0.011949521489441395,
0.00857615564018488,
0.00005590617365669459,
-0.018347349017858505,
-0.06464282423257828,
0.046101298183202744,
0.02052302472293377,
0.003523303894326091,
-0.00725162448361516,
-0.017163248732686043,
0.026200812309980392,
-0.05503462627530098,
0.047793496400117874,
0.08013352751731873,
-0.04836494103074074,
0.008382231928408146,
-0.014884905889630318,
0.04331367090344429,
0.014674603939056396,
0.02309185266494751,
-0.06343796849250793,
-0.015065348707139492,
0.003968003671616316,
-0.019123641774058342,
-0.03372493013739586,
-0.025896182283759117,
-0.030435286462306976,
0.02510375902056694,
0.04624971002340317,
0.010124702006578445,
-0.0069306776858866215,
0.011502941139042377,
-0.03786741569638252,
-0.047107990831136703,
0.024439118802547455,
-0.012077110819518566,
0.015202944166958332,
-0.009180683642625809,
-0.020075060427188873,
0.012044801376760006,
-0.025256192311644554,
0.048930395394563675,
0.0016771797090768814,
-0.014260117895901203,
-0.02196274884045124,
-0.04626284912228584,
-0.0025367881171405315,
-0.02574760653078556,
0.05665741488337517,
0.016855185851454735,
-0.0036709087435156107,
-0.048055920749902725,
0.0009353649220429361,
-0.030327212065458298,
-0.004108831286430359,
-0.01216514315456152,
0.025968262925744057,
0.027322566136717796,
0.020435327664017677,
-0.002186247380450368,
0.014421666041016579,
-0.006374703720211983,
-0.029472069814801216,
0.05131182074546814,
-0.05076979100704193,
-0.04618273302912712,
-0.011819270439445972,
-0.054835278540849686,
-0.002318764803931117,
0.034092992544174194,
0.022505594417452812,
-0.0885889083147049,
0.054354745894670486,
0.02956301160156727,
0.016501126810908318,
0.00889346282929182,
0.024185333400964737,
0.022416209802031517,
-0.024550573900341988,
-0.012687369249761105,
-0.07675433158874512,
-0.014816906303167343,
0.036970190703868866,
0.003795761615037918,
0.010511924512684345,
-0.00547392014414072,
-0.05189944803714752,
0.034165941178798676,
-0.05660819634795189,
-0.01528483908623457,
0.04387553408741951,
-0.020841266959905624,
-0.014832860790193081,
-0.0031341619323939085,
-0.06746676564216614,
0.03365408629179001,
0.03099951706826687,
-0.05153171718120575,
-0.016485948115587234,
0.0038979456294327974,
0.049308549612760544,
0.017624152824282646,
0.04459664225578308,
0.004740131553262472,
-0.02943173050880432,
0.09844972938299179,
0.03644127398729324,
0.0424405001103878,
0.04364313557744026,
-0.021329784765839577,
0.041546065360307693,
0.02975614368915558,
-0.0069021605886518955,
0.037856847047805786,
0.017482513561844826,
-0.059910815209150314,
-0.04287658631801605,
0.0529441200196743,
0.0016038791509345174,
-0.0056287189945578575,
-0.03894684836268425,
0.06128009781241417,
0.008478422649204731,
-0.05897471681237221,
-0.06403619796037674,
0.0481656938791275,
-0.06255661696195602,
-0.015096529386937618,
-0.014328867197036743,
0.02962966077029705,
-0.057953059673309326,
0.04534284770488739,
-0.030446883291006088,
0.005238084122538567,
0.05489660054445267,
-0.005279303528368473,
-0.009979463182389736,
0.013062899932265282,
0.06841445714235306,
0.06964806467294693,
0.048445772379636765,
-0.018077975139021873,
0.06613019108772278,
-0.018235275521874428,
-0.03421597182750702,
-0.01986263319849968,
0.0031023742631077766,
-0.023273559287190437,
-0.029090864583849907,
0.03196495771408081,
0.052225422114133835,
-0.02092917263507843,
0.08268647640943527,
-0.024244923144578934,
-0.004482548218220472,
0.0020873548928648233,
0.04558713734149933,
0.013477996923029423,
0.04614273086190224,
-0.0013895620359107852,
0.032518647611141205,
0.028735686093568802,
-0.04908893629908562,
0.010054565966129303,
-0.011960790492594242,
-0.04430542513728142,
0.03725471347570419,
-0.016777990385890007,
0.026788808405399323,
0.03810903802514076,
0.023329921066761017,
0.07405149936676025,
-0.023971814662218094,
0.0032604201696813107,
0.02101835422217846,
0.006676876451820135,
-0.02209615521132946,
0.01771629974246025,
-0.024421395733952522,
-0.00588478147983551,
-0.02308719791471958,
-0.03607206046581268,
0.0013306160690262914,
-0.010850418359041214,
-0.00801905058324337,
0.008387957699596882,
-0.018808206543326378,
0.009066547267138958,
0.009024156257510185,
-0.011656317859888077,
-0.05489880591630936,
-0.038801468908786774,
-0.04516659304499626,
-0.04597121849656105,
-0.01394698303192854,
-0.011077252216637135,
0.009752929210662842,
-0.00976631511002779,
-0.03788295388221741,
-0.031860798597335815,
-0.026127535849809647,
-0.013731643557548523,
0.024828577414155006,
-0.05724578723311424,
-0.006593616213649511,
0.01823234185576439,
0.01987670361995697,
-0.007152327802032232,
-0.016319941729307175,
0.054193440824747086,
0.026065250858664513,
-0.009814913384616375,
-0.006185331381857395,
0.026915093883872032,
0.020152077078819275,
-0.031270600855350494,
-0.006586986128240824,
-0.07651460915803909,
0.028144534677267075,
0.024281030520796776,
0.004254591651260853,
-0.07085540890693665,
0.021187948063015938,
0.03337310999631882,
0.021666929125785828,
0.06278229504823685,
-0.01805776171386242,
0.02330251783132553,
-0.027522755786776543,
-0.02685527130961418,
-0.03446507826447487,
0.016634395346045494,
0.051274340599775314,
0.000951902475208044,
0.08167209476232529,
0.03774507716298103,
-0.009351681917905807,
-0.023034963756799698,
-0.010156191885471344,
-0.03519338369369507,
0.012934145517647266,
-0.030588313937187195,
-0.005689854733645916,
-0.02231023460626602,
-0.055116865783929825,
-0.02042888104915619,
0.012335820123553276,
-0.022423777729272842,
-0.014671867713332176,
0.044833533465862274,
-0.007236577104777098,
-0.0006790623301640153,
0.016636215150356293,
-0.06252260506153107,
-0.013406451791524887,
-0.025108851492404938,
-0.026249466463923454,
-0.02821504697203636,
0.017986174672842026,
0.0025685452856123447,
-0.052326928824186325,
-0.01506937574595213,
-0.048039600253105164,
-0.027813218533992767,
0.00896377582103014,
0.07294903695583344,
0.04661322385072708,
-0.02436741441488266,
-0.016748420894145966
] | [
-0.05395226180553436,
-0.026135681197047234,
-0.025920215994119644,
-0.028811955824494362,
0.05448054522275925,
-0.06752965599298477,
-0.03510875999927521,
0.02361992560327053,
-0.025441795587539673,
-0.017378807067871094,
-0.01267176028341055,
-0.050263289362192154,
-0.024122318252921104,
-0.04029473662376404,
0.11753895878791809,
0.012280750088393688,
-0.010481997393071651,
-0.0796961784362793,
-0.0404326431453228,
0.0026343262288719416,
0.009657257236540318,
-0.036049984395504,
-0.04940950497984886,
-0.04680487513542175,
0.024110782891511917,
0.0422469899058342,
0.06272155046463013,
-0.04107532277703285,
-0.01941565051674843,
-0.17720463871955872,
0.0021598339080810547,
-0.034229524433612823,
0.049664124846458435,
0.00917179137468338,
0.000462336145574227,
0.036440666764974594,
0.03313151001930237,
-0.009136050008237362,
-0.007168509066104889,
0.043923210352659225,
0.04599837213754654,
-0.025232505053281784,
-0.021227575838565826,
-0.007382397074252367,
-0.004763208329677582,
-0.04333215951919556,
-0.017621904611587524,
-0.029849398881196976,
0.02036292850971222,
-0.03651350364089012,
-0.06117220222949982,
-0.011072032153606415,
-0.030671488493680954,
-0.03751634061336517,
0.0074678282253444195,
0.012294735759496689,
0.05216211453080177,
0.06009776145219803,
0.06506337225437164,
0.008266978897154331,
0.016271887347102165,
-0.007030683569610119,
-0.150857612490654,
0.1130438819527626,
-0.004187758546322584,
0.04044901207089424,
-0.029656827449798584,
0.012120498344302177,
-0.006767180748283863,
0.05917009711265564,
0.023195726796984673,
-0.022768396884202957,
0.011085123755037785,
0.08932489156723022,
0.014652716927230358,
-0.0007274368545040488,
-0.029405059292912483,
0.039712272584438324,
0.026973390951752663,
-0.021794980391860008,
-0.05652405694127083,
0.030689941719174385,
-0.03177038952708244,
-0.005919502582401037,
-0.09796115756034851,
-0.01093906071037054,
-0.027365228161215782,
0.05428431183099747,
0.0008020539535209537,
0.03214278444647789,
0.016949545592069626,
-0.0036356919445097446,
0.04831701144576073,
0.005736937280744314,
-0.1036999449133873,
-0.049189213663339615,
-0.050818830728530884,
-0.020409198477864265,
-0.04881615936756134,
0.37536612153053284,
0.0036097809206694365,
-0.010499982163310051,
0.054548926651477814,
0.04111957177519798,
-0.00510334363207221,
-0.002536390209570527,
-0.007428956683725119,
-0.05172831192612648,
0.02701408602297306,
-0.01706063002347946,
-0.006887437310069799,
0.004305006004869938,
0.023556016385555267,
-0.0520733967423439,
0.04720357060432434,
-0.017155075445771217,
0.020543983206152916,
-0.005190051160752773,
-0.011772374622523785,
0.03212391585111618,
0.00648697093129158,
0.005164631642401218,
0.046063382178545,
-0.0006029635551385581,
0.05034235119819641,
0.022479098290205002,
0.032104410231113434,
0.024566588923335075,
0.03884735330939293,
0.002662268001586199,
0.006958648096770048,
-0.030978400260210037,
-0.056422196328639984,
0.008451160043478012,
0.004698232281953096,
-0.007761161774396896,
0.016073420643806458,
-0.0564442053437233,
0.0005731855635531247,
0.018885251134634018,
-0.0068335747346282005,
-0.03997064381837845,
0.039176709949970245,
-0.04354426637291908,
-0.015988707542419434,
0.12787170708179474,
0.03643118217587471,
0.018408240750432014,
-0.024875624105334282,
-0.02837083861231804,
0.018112467601895332,
0.04570251703262329,
0.022019632160663605,
-0.06476754695177078,
0.03701494261622429,
-0.0024156563449651003,
0.05572540685534477,
-0.0018334509804844856,
-0.06868492066860199,
0.007940303534269333,
-0.03703819587826729,
-0.07385458797216415,
-0.0409921258687973,
0.018802152946591377,
0.024548368528485298,
-0.10980269312858582,
-0.01369820162653923,
0.0033952926751226187,
0.01822470687329769,
-0.069823257625103,
-0.006175159476697445,
0.05580204725265503,
-0.024838637560606003,
-0.01133219338953495,
0.03420715779066086,
-0.02608642168343067,
-0.006187614053487778,
0.04172047972679138,
0.029575753957033157,
-0.004606316797435284,
-0.0069116088561713696,
0.03751043602824211,
-0.013115248642861843,
0.009698266163468361,
-0.016036557033658028,
-0.10002531111240387,
-0.05696796253323555,
-0.024319101125001907,
-0.05106326565146446,
-0.03857790306210518,
-0.03720524534583092,
-0.009367424063384533,
-0.00823174323886633,
0.07269397377967834,
0.005449984222650528,
-0.012156552635133266,
0.02710695192217827,
0.043468911200761795,
0.005641103256493807,
-0.038087256252765656,
-0.010370155796408653,
0.04411957040429115,
-0.03997272625565529,
0.025423897430300713,
-0.09446439146995544,
0.027763327583670616,
0.058704525232315063,
-0.017594540491700172,
0.06708988547325134,
0.009647148661315441,
-0.011612114496529102,
0.016846386715769768,
-0.023622822016477585,
0.02083779126405716,
-0.028067003935575485,
-0.004474074579775333,
0.010393292643129826,
0.028765521943569183,
-0.0071292719803750515,
0.01079663634300232,
0.007773136254400015,
-0.02695310115814209,
-0.03363759443163872,
-0.387121319770813,
-0.014733976684510708,
0.005493256729096174,
-0.005491364281624556,
-0.005940159782767296,
-0.04998044669628143,
0.024697205051779747,
0.0041916281916201115,
0.001502170809544623,
0.021959256380796432,
0.0911281481385231,
-0.07882878184318542,
0.022677648812532425,
-0.0849466398358345,
0.014395625330507755,
0.06728330254554749,
-0.055770449340343475,
-0.0030540123116225004,
-0.00529830576851964,
0.035491008311510086,
-0.004824726842343807,
0.0011940152617171407,
0.016478268429636955,
-0.04819660633802414,
-0.00943087413907051,
-0.004541796166449785,
0.1034432053565979,
0.03593077510595322,
0.07204776257276535,
-0.05674886330962181,
0.06588396430015564,
0.030028844252228737,
-0.017572661861777306,
-0.08993923664093018,
-0.01812465488910675,
-0.007387452758848667,
0.0013592300238087773,
0.021313438192009926,
-0.0020527022425085306,
-0.0013278458500280976,
-0.03456966578960419,
0.06780698895454407,
-0.06608707457780838,
-0.049812957644462585,
-0.045645345002412796,
0.0012139931786805391,
-0.03108035959303379,
0.0043169367127120495,
-0.03934163227677345,
0.01949336566030979,
-0.00994417816400528,
0.037117667496204376,
0.020378638058900833,
0.023382550105452538,
-0.0007544190739281476,
-0.01150349248200655,
-0.04634200409054756,
-0.04068407788872719,
-0.012390551157295704,
0.03759987652301788,
0.02441168762743473,
0.07780972868204117,
0.015849187970161438,
-0.042650967836380005,
0.018154630437493324,
0.010525069199502468,
-0.01901438646018505,
0.05894498527050018,
0.04845642298460007,
-0.014807872474193573,
-0.011540989391505718,
0.0909695103764534,
-0.0240179430693388,
0.02464093081653118,
0.08513980358839035,
0.04829453304409981,
-0.00835286732763052,
-0.01538235042244196,
0.006989613175392151,
0.032017581164836884,
0.05321330204606056,
-0.044880084693431854,
0.032015565782785416,
-0.012616276741027832,
0.029252449050545692,
0.07085693627595901,
-0.011689303442835808,
-0.02466333471238613,
0.04637667164206505,
-0.034152839332818985,
-0.036616113036870956,
0.011607836000621319,
-0.006842551752924919,
-0.06791660189628601,
0.0629211887717247,
-0.006383226253092289,
-0.2387511432170868,
0.055027034133672714,
0.03803999722003937,
0.0506635420024395,
0.025421401485800743,
0.015222565270960331,
-0.007596454117447138,
-0.03221167251467705,
0.008570698089897633,
0.027694514021277428,
0.009424352087080479,
0.04965765029191971,
-0.010458886623382568,
0.0030793314799666405,
0.010568739846348763,
0.01028677262365818,
0.043475519865751266,
0.006277510430663824,
-0.01364512462168932,
-0.02824290283024311,
0.006007930729538202,
0.003485193010419607,
0.14873941242694855,
0.03383463993668556,
-0.03314753994345665,
-0.006875565741211176,
0.026206910610198975,
0.034249477088451385,
0.04420987144112587,
0.032589949667453766,
0.013740693219006062,
0.00428490387275815,
0.0607047900557518,
0.011145011521875858,
0.07994471490383148,
-0.04897083342075348,
0.005350077990442514,
0.02184201218187809,
-0.0008122907602228224,
-0.03044966794550419,
-0.03332602605223656,
0.03727823868393898,
-0.020921699702739716,
0.00979623757302761,
0.05709928646683693,
-0.03239976987242699,
-0.013143057934939861,
-0.10262998938560486,
-0.05169323459267616,
-0.02820601500570774,
-0.018402377143502235,
-0.045946333557367325,
0.028595075011253357,
0.028874939307570457,
0.014889380894601345,
0.0683136060833931,
0.021151302382349968,
-0.028103571385145187,
0.01103239320218563,
0.010336203500628471,
0.015654830262064934,
-0.020904622972011566,
0.1196172833442688,
-0.004981635138392448,
0.013062666170299053
] | [
0.006564935203641653,
0.031511448323726654,
-0.006976900156587362,
0.007856898941099644,
0.001604813034646213,
-0.024863017722964287,
0.004140192177146673,
0.022169172763824463,
0.00515924533829093,
-0.010490188375115395,
-0.003062585135921836,
-0.017351964488625526,
0.005472967866808176,
-0.024389756843447685,
0.016909202560782433,
-0.07072696089744568,
0.07776743173599243,
0.01781047135591507,
0.024814801290631294,
-0.019244370982050896,
-0.02471793256700039,
0.0436125174164772,
0.027278633788228035,
-0.00286651193164289,
-0.026968494057655334,
0.026882831007242203,
-0.034908685833215714,
-0.007660572417080402,
0.019663769751787186,
-0.10522131621837616,
0.00014445515989791602,
-0.0228059533983469,
0.0015343187842518091,
-0.00954029057174921,
0.04902267083525658,
0.0154004180803895,
0.002575344406068325,
-0.011635278351604939,
0.004450851120054722,
0.01384814828634262,
0.053786735981702805,
-0.05416972190141678,
-0.021197646856307983,
-0.004051392897963524,
-0.020794231444597244,
-0.03623063489794731,
-0.058225132524967194,
-0.015020628459751606,
0.010047192685306072,
-0.006034444086253643,
-0.03813103586435318,
0.0025438833981752396,
-0.007174283266067505,
0.02087085321545601,
0.040359728038311005,
-0.010303151793777943,
-0.03206672519445419,
0.0005328283878043294,
0.020027723163366318,
-0.015474692918360233,
-0.0030333728063851595,
0.021538563072681427,
-0.041305460035800934,
-0.014154920354485512,
-0.007317200768738985,
-0.015021393075585365,
-0.019201138988137245,
0.025338826701045036,
0.005960849579423666,
0.02831515669822693,
0.02063882350921631,
-0.002038894686847925,
-0.03728412836790085,
-0.04108040779829025,
-0.007981223985552788,
-0.0023628203198313713,
0.004517099354416132,
-0.013428694568574429,
-0.024828141555190086,
0.02286246232688427,
-0.028513427823781967,
0.0037481384351849556,
-0.028135104104876518,
-0.03565308451652527,
-0.058234695345163345,
-0.020786037668585777,
-0.016089214012026787,
0.001902543124742806,
0.019938774406909943,
0.01577637903392315,
0.00514880521222949,
0.011169488541781902,
0.015166344121098518,
-0.028202934190630913,
-0.0818050429224968,
-0.018789511173963547,
-0.037038400769233704,
-0.015032600611448288,
0.007877357304096222,
0.8172044157981873,
0.0027373633347451687,
0.036371324211359024,
0.015026836656033993,
0.018669823184609413,
0.023395845666527748,
-0.035401321947574615,
-0.033697523176670074,
-0.005802816711366177,
0.024973222985863686,
-0.005791312549263239,
0.01592193730175495,
0.01200428232550621,
0.016557903960347176,
0.024420564994215965,
0.06895957142114639,
0.006835116073489189,
0.052649278193712234,
-0.02327915094792843,
-0.002170997206121683,
0.017094919458031654,
0.03677572309970856,
-0.05699703097343445,
0.033028535544872284,
-0.006981466431170702,
0.005344438832253218,
-0.1541716754436493,
0.007735829334706068,
-6.455740771635107e-33,
0.04597953334450722,
-0.05413489416241646,
0.04484128952026367,
0.02568625658750534,
0.06129903718829155,
-0.0028286257293075323,
-0.016964277252554893,
-0.02635328099131584,
-0.016577523201704025,
-0.019371097907423973,
-0.027845535427331924,
0.010204503312706947,
-0.0337383970618248,
-0.009532238356769085,
0.014192692004144192,
-0.012238940224051476,
-0.035644080489873886,
0.022830653935670853,
0.026719296351075172,
0.021705331280827522,
0.023173436522483826,
0.04456547647714615,
0.011745825409889221,
0.03565603122115135,
0.03906332328915596,
0.013692175969481468,
0.02070082351565361,
-0.04346354305744171,
0.017592109739780426,
-0.025095390155911446,
-0.042831748723983765,
0.022531235590577126,
-0.024061674252152443,
-0.038772501051425934,
-0.039287760853767395,
-0.055630020797252655,
-0.029471104964613914,
-0.004599109757691622,
-0.046927884221076965,
-0.05083044618368149,
-0.03885079547762871,
-0.02632085792720318,
-0.032819367945194244,
-0.023715589195489883,
-0.024720696732401848,
-0.005373863037675619,
0.016502676531672478,
0.0315401591360569,
0.018035683780908585,
0.04644232243299484,
0.05060418322682381,
-0.0274211373180151,
0.021788090467453003,
0.01470900233834982,
-0.0008294259896501899,
0.011926514096558094,
0.02154572121798992,
-0.022677015513181686,
0.009972738102078438,
-0.02080848440527916,
-0.005873115733265877,
-0.006532738450914621,
0.028810352087020874,
0.0015910163056105375,
0.041567232459783554,
0.003263510065153241,
-0.0019553001038730145,
0.03150805085897446,
0.009099955670535564,
0.05244170501828194,
-0.027378970757126808,
-0.0003459656145423651,
-0.03217625617980957,
-0.010516507551074028,
0.029387321323156357,
-0.019389498978853226,
0.009199551306664944,
0.006196221802383661,
-0.03219546005129814,
0.06627333909273148,
0.03575992211699486,
0.015851711854338646,
0.01387130655348301,
-0.03093637526035309,
-0.03189977630972862,
-0.008986442349851131,
0.025365523993968964,
0.01715902052819729,
0.008603367954492569,
0.01287628524005413,
0.02420736290514469,
0.05909368768334389,
0.02057146467268467,
-0.0073511311784386635,
-0.045710884034633636,
6.519387178576411e-33,
0.005456685088574886,
-0.031267840415239334,
-0.024897757917642593,
0.0038538153748959303,
-0.014195552095770836,
-0.04528873413801193,
0.02453988790512085,
-0.0027692720759660006,
0.0005171257071197033,
0.036189593374729156,
-0.05701376125216484,
0.007132238242775202,
-0.018233973532915115,
0.04975080117583275,
0.036524493247270584,
-0.007527757901698351,
0.006518947426229715,
-0.0003424942260608077,
0.01927451230585575,
-0.00948921125382185,
0.02026405744254589,
-0.005662416107952595,
0.006701232865452766,
0.04921727254986763,
-0.008287422358989716,
0.030301880091428757,
-0.00761271920055151,
0.041450221091508865,
-0.040229808539152145,
-0.07129859924316406,
0.013480155728757381,
-0.016022251918911934,
0.023758310824632645,
-0.022298112511634827,
-0.023104630410671234,
0.0254733394831419,
-0.013204728253185749,
0.03525794669985771,
0.00825718604028225,
-0.03161236271262169,
0.03976898640394211,
0.010251251049339771,
-0.0009912349050864577,
0.006309072952717543,
-0.022974014282226562,
-0.04040633887052536,
0.0392686165869236,
-0.03325502574443817,
0.015682365745306015,
0.007394664455205202,
0.00008010838064365089,
-0.007307060994207859,
0.03423667699098587,
0.026135941967368126,
-0.018368864431977272,
-0.006962244398891926,
0.004763354081660509,
0.05760098993778229,
0.015993209555745125,
0.009769093245267868,
0.010406417772173882,
-0.02500179409980774,
0.0157986618578434,
-0.0026123863644897938,
-0.04258212819695473,
-0.034050729125738144,
0.01734934188425541,
-0.021999042481184006,
-0.008459886536002159,
-0.01612849161028862,
0.0248149074614048,
-0.026073988527059555,
-0.02111027203500271,
0.049610961228609085,
0.06064339354634285,
0.005025174468755722,
-0.0049841017462313175,
0.026532219722867012,
-0.02484981343150139,
0.008735619485378265,
0.010477369651198387,
0.00724155455827713,
-0.0254448764026165,
-0.010957400314509869,
0.010344472713768482,
-0.035637225955724716,
-0.016014881432056427,
0.00832776166498661,
0.04326426982879639,
0.015923215076327324,
-0.018881872296333313,
-0.014251657761633396,
-0.005789247807115316,
0.008855153806507587,
-0.03156910091638565,
-1.2349110178888623e-8,
0.006963891442865133,
-0.02414083667099476,
-0.015575855039060116,
0.08109024912118912,
0.014759059064090252,
0.0032546294387429953,
0.0021269398275762796,
-0.033899106085300446,
-0.02379573881626129,
0.002520988928154111,
0.011046785861253738,
-0.011549624614417553,
0.008832558058202267,
0.048576436936855316,
0.0557246059179306,
0.007642616517841816,
-0.022934818640351295,
-0.046233877539634705,
0.018277674913406372,
-0.005211589392274618,
0.03323131427168846,
0.044425562024116516,
0.024115100502967834,
-0.009852200746536255,
-0.019990090280771255,
0.014513494446873665,
0.01909995637834072,
-0.053784970194101334,
-0.03607356548309326,
-0.02849492058157921,
-0.007109478116035461,
-0.04146100953221321,
-0.06855256855487823,
0.018904834985733032,
-0.013693340122699738,
-0.013749397359788418,
-0.008924692869186401,
0.022579247131943703,
0.007760263048112392,
-0.010846012271940708,
-0.051819808781147,
-0.015472029335796833,
-0.04007291421294212,
-0.030513694509863853,
-0.05000336468219757,
0.03683099523186684,
-0.04011984169483185,
0.04508412256836891,
0.0020526626612991095,
0.015044737607240677,
-0.007885212078690529,
-0.0046664997935295105,
0.01948755793273449,
-0.021641312167048454,
-0.015123493038117886,
-0.00038308295188471675,
0.03890238329768181,
-0.019122431054711342,
0.017565974965691566,
-0.04211900755763054,
0.049386460334062576,
0.03757546842098236,
-0.007751499768346548,
-0.013031532056629658
] | kafka-python-consumer-no-messages-group-id-consumer-group | https://markhneedham.com/blog/2019/06/03/kafka-python-consumer-no-messages-group-id-consumer-group |
false | 2019-12-19 00:21:00 | React React Router: Setting parent component state based on route change event | [
"react"
] | [
"React"
] | I've been working on a https://reach.tech/router[React Reach Router^] based application that has several routes and wanted to show a search box in the header unless the user was on the search page.
After a lot of trial and error I learnt that I could use a route change event listener to do this.
The CodeSandbox below shows all the code to do this:
++++
<iframe
src="https://codesandbox.io/embed/github/mneedham/hugo-blog/tree/master/blog/code/my-app?fontsize=14&hidenavigation=1&module=%2Fsrc%2FApp.js&theme=dark"
style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
title="my-app"
allow="geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb"
sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"
></iframe>
++++
Let's walk through the code.
We have a top level component called `App` that has the state `showSearchBox`, which defaults to `true`:
[source,javascript]
----
import React, {Component} from 'react';
import {globalHistory, Link, Router} from "@reach/router";
class App extends Component {
constructor(props) {
super(props)
this.state = {
showSearchBox: true
};
}
}
----
In our render function we display an input box only if this value is set to `true`:
[source,javascript]
----
class App extends Component {
render() {
return (
<div className="App">
<header className="App-header">
<p>
React Reach Router Demo
</p>
<div>
{this.state.showSearchBox && <input type={"text"} style={{margin: "10px"}}/>}
</div>
</header>
<nav style={{padding: "5px"}}>
<Link to="/">Home</Link> <Link to="dashboard">Dashboard</Link> <Link to="search">Search</Link>
</nav>
<div style={{paddingTop: "10px"}}>
<Router>
<Home path="/"/>
<Dashboard path="/dashboard"/>
<Search path="/search"/>
</Router>
</div>
</div>
);
}
}
----
In this code sample we can also see that we have 3 paths:
* `/`
* `/dashboard` and
* `/search`
We want to set `showSearchBox` to `false` if we're on the `/search` route, but set to `true` on any of the other routes.
I initially tried to control this state from the child components, without much success.
The closest I got was a maximum update depth exceeded error, which wasn't great.
By chance I came across a https://github.com/reach/router/issues/262[GitHub issue^] created by Marvin Heilemann, in which he asked whether there was a hook to capture route change events.
And indeed there is.
We can update our `App` component to listen to these events and update the `showSearchBox` state by adding the following functions:
[source, javascript]
----
class App extends Component {
componentDidMount() {
this.toggleSearchBox(globalHistory.location)
this.historyUnsubscribe = globalHistory.listen(({action, location}) => {
if (action === 'PUSH') {
this.toggleSearchBox(location)
}
});
}
componentWillUnmount() {
this.historyUnsubscribe();
}
toggleSearchBox(location) {
if (location.pathname === "/search") {
this.setState({
showSearchBox: false
})
} else {
this.setState({
showSearchBox: true
})
}
}
}
----
In `componentDidMount` we also make sure that we toggle the search box based on the URL that we start on as well, otherwise it would default to `true`.
If we try the CodeSandbox provided at the top of the post we'll see the following if we click the `Dashboard` link in the header:
image::{{<siteurl>}}/uploads/2019/12/dashboard.png[]
As expected, the search box is still showing.
But if we click the `Search` link, we'll see the following screen:
image::{{<siteurl>}}/uploads/2019/12/search.png[]
After I'd got this working I came across https://github.com/reach/router/issues/203[another GitHub issue^], where Martin Mende showed how to achieve the same thing https://reactjs.org/docs/hooks-intro.html[using state and effect hooks^].
The following code does the same thing as the `App` component that we defined above:
[source, javascript]
----
import React, {useEffect, useState} from 'react';
import {globalHistory, Link, Router} from "@reach/router";
function App() {
const initialState = true;
const [showSearchBox, setShowSearchBox] = useState(initialState);
useEffect(() => {
const removeListener = globalHistory.listen(params => {
const { location } = params;
const newState = location.pathname !== "/search";
setShowSearchBox(newState);
});
return () => {
removeListener();
};
}, []);
return (
<div className="App">
<header className="App-header">
<p>React Reach Router Demo</p>
<div>
{showSearchBox && <input type={"text"} style={{ margin: "10px" }} />}
</div>
</header>
<nav style={{ padding: "5px" }}>
<Link to="/">Home</Link> <Link to="dashboard">Dashboard</Link>{" "}
<Link to="search">Search</Link>
</nav>
<div style={{ paddingTop: "10px" }}>
<Router>
<Home path="/" />
<Dashboard path="/dashboard" />
<Search path="/search" />
</Router>
</div>
</div>
);
}
---- | Learn how to listen to route change events when using React Reach Router. | null | [
-0.002131546149030328,
0.006545108277350664,
-0.01847010664641857,
0.018682999536395073,
0.09037691354751587,
-0.05342460796236992,
0.024894390255212784,
0.05440199375152588,
0.009800232015550137,
-0.02932140789926052,
0.0009088690276257694,
-0.012785093858838081,
-0.0560307539999485,
0.017908159643411636,
-0.004175384994596243,
0.057264603674411774,
0.07519781589508057,
-0.03458896279335022,
0.01360508892685175,
0.0030522248707711697,
0.001102210721001029,
0.0624728798866272,
0.007614342495799065,
0.029515191912651062,
0.05003345385193825,
0.02243635803461075,
-0.0030462106224149466,
-0.016133055090904236,
-0.06144880875945091,
0.026441698893904686,
0.03197352960705757,
-0.010635919868946075,
0.004139596596360207,
-0.05206485092639923,
0.0023027227725833654,
-0.03560291975736618,
0.004596728831529617,
0.006991870701313019,
-0.0076887281611561775,
0.016778944060206413,
-0.08169491589069366,
-0.005364360753446817,
-0.04567427188158035,
0.01352704782038927,
-0.017405975610017776,
0.02798234112560749,
-0.027326898649334908,
0.02727447636425495,
-0.002711343578994274,
-0.014675036072731018,
-0.05895359814167023,
0.04474194347858429,
-0.05064912512898445,
0.0033767034765332937,
0.021972212940454483,
0.046160291880369186,
0.02994641102850437,
-0.06368469446897507,
0.024271175265312195,
-0.03439004346728325,
0.0031517024617642164,
0.028117485344409943,
0.01923522911965847,
0.03463532030582428,
0.0025802103336900473,
-0.032147008925676346,
-0.02239309251308441,
0.05597051978111267,
-0.026620877906680107,
-0.03474939614534378,
0.016272038221359253,
0.029027890413999557,
0.025465505197644234,
-0.00259382463991642,
0.02243180200457573,
-0.0031631404999643564,
-0.035885922610759735,
0.04037115350365639,
-0.006771570537239313,
-0.0036161544267088175,
-0.011485748924314976,
-0.002494398271664977,
-0.0026078808587044477,
0.020154684782028198,
-0.0102542070671916,
-0.05093100294470787,
-0.04520092532038689,
0.004387072287499905,
-0.0023324331268668175,
0.04508901387453079,
0.005592334549874067,
-0.05141933262348175,
0.037722282111644745,
0.015577332116663456,
0.04044806957244873,
-0.0050136311911046505,
0.00811432208865881,
-0.004491547588258982,
-0.003385781077668071,
-0.031171703711152077,
-0.047290217131376266,
0.007715984713286161,
0.01728120632469654,
-0.00036659924080595374,
-0.07384627312421799,
0.004199397750198841,
-0.00753577658906579,
-0.027968676760792732,
0.004792786668986082,
0.005016321782022715,
-0.043654702603816986,
0.026691202074289322,
-0.01849418319761753,
0.010307416319847107,
-0.056129615753889084,
0.0699060708284378,
0.03267403692007065,
0.0018757153302431107,
0.03781459107995033,
0.010737515985965729,
0.034824542701244354,
0.04467334970831871,
-0.0007235129014588892,
0.07418166100978851,
0.020026588812470436,
0.03472452610731125,
-0.013239394873380661,
0.03908412158489227,
-0.0224141962826252,
-0.058433327823877335,
-0.02033524587750435,
0.055269207805395126,
-0.0095402542501688,
0.01568055897951126,
-0.011751830577850342,
0.048789132386446,
-0.004190785810351372,
-0.0019570717122405767,
0.0816822201013565,
0.030825741589069366,
-0.009685438126325607,
-0.07034286856651306,
0.010957431979477406,
-0.02321537397801876,
0.014792116358876228,
0.01866830140352249,
0.04010254517197609,
-0.03937077894806862,
-0.016488181427121162,
0.061329569667577744,
-0.006907608360052109,
-0.000811844423878938,
0.0696982592344284,
-0.0071751270443201065,
-0.032426778227090836,
0.05706929787993431,
0.03062465228140354,
-0.012520171701908112,
0.0014390508877113461,
-0.0016638787928968668,
0.04383602365851402,
0.015315260738134384,
0.02722574956715107,
0.028783626854419708,
9.641964737738817e-8,
0.024134010076522827,
-0.02240830846130848,
0.06728710234165192,
0.00216732919216156,
-0.05663640797138214,
-0.03600668907165527,
-0.03721367567777634,
0.07503774017095566,
-0.016179556027054787,
0.0013537233462557197,
0.019680818542838097,
0.053405068814754486,
-0.012009254656732082,
-0.013539752922952175,
0.0016465057851746678,
-0.06147436797618866,
0.010840853676199913,
0.024890683591365814,
0.010953899472951889,
0.03521472215652466,
-0.001365236472338438,
0.07806147634983063,
0.06426239758729935,
-0.027951298281550407,
-0.00742616830393672,
-0.05994843691587448,
-0.06091798469424248,
-0.07183686643838882,
-0.001518129836767912,
0.08088723570108414,
-0.025800658389925957,
0.02486993558704853,
0.0942038893699646,
0.04169752076268196,
0.03332306817173958,
0.0025627501308918,
-0.018887950107455254,
0.03358686342835426,
0.0011449356097728014,
-0.05501188337802887,
0.020082978531718254,
0.022720253095030785,
-0.008631146512925625,
-0.030054446309804916,
0.010415966622531414,
-0.022570833563804626,
-0.01601913757622242,
0.040984898805618286,
-0.021501030772924423,
0.04630749300122261,
0.007216109428554773,
0.06988990306854248,
-0.015104107558727264,
0.007072879932820797,
-0.0016176432836800814,
0.05059945955872536,
-0.020210707560181618,
-0.02336089313030243,
-0.009566028602421284,
-0.05615347623825073,
0.09959882497787476,
0.034201622009277344,
-0.014405901543796062,
-0.06445722281932831,
0.0024727131240069866,
-0.034212615340948105,
-0.06075664237141609,
-0.007720529101788998,
-0.029722094535827637,
0.002598363906145096,
-0.011453336104750633,
0.013564029708504677,
-0.03072625957429409,
-0.015794983133673668,
-0.05356897413730621,
0.01669733226299286,
0.05735307186841965,
-0.00854208879172802,
0.052168697118759155,
-0.017453661188483238,
-0.039938099682331085,
0.03730649873614311,
-0.02053659036755562,
-0.019115282222628593,
-0.006314278580248356,
0.0194585882127285,
-0.022530540823936462,
0.02074359357357025,
-0.05363208055496216,
-0.015328469686210155,
-0.009266067296266556,
-0.018244173377752304,
0.04544677957892418,
0.04733261093497276,
0.0579809807240963,
0.014064410701394081,
0.0596381351351738,
-0.009663342498242855,
0.029889587312936783,
-0.035331565886735916,
-0.057131003588438034,
-0.029024679213762283,
-0.01873953454196453,
0.0010875731240957975,
0.0428185872733593,
0.03953148424625397,
0.004841745365411043,
0.046324923634529114,
-0.015401976183056831,
0.027864418923854828,
-0.00322359474375844,
0.015149354003369808,
0.013262998312711716,
-0.013891338370740414,
-0.038330111652612686,
-0.027995487675070763,
0.048531536012887955,
-0.03419842943549156,
-0.0464739091694355,
0.04647257179021835,
-0.055004868656396866,
0.013145847246050835,
-0.0735887661576271,
-0.03602755814790726,
0.02503846399486065,
0.05315408110618591,
0.014225834049284458,
0.014110750518739223,
0.05688193067908287,
0.07976343482732773,
-0.019014451652765274,
0.014730890281498432,
0.046341992914676666,
-0.005480981897562742,
0.024875465780496597,
-0.022745607420802116,
0.001507499604485929,
-0.01857461780309677,
-0.03601738438010216,
-0.01147631835192442,
-0.05754050239920616,
0.04373027756810188,
-0.04509576037526131,
-0.2658112645149231,
0.05995484068989754,
0.01926213875412941,
-0.02767661027610302,
0.03014863282442093,
0.016773851588368416,
0.006067811045795679,
-0.044035185128450394,
-0.0010228108149021864,
0.026051349937915802,
0.00521815475076437,
-0.029854536056518555,
-0.01876840367913246,
0.023880045861005783,
-0.04042521491646767,
-0.0016708957264199853,
-0.050089817494153976,
-0.02238684706389904,
0.012923911213874817,
-0.017457524314522743,
-0.037409476935863495,
-0.08015263080596924,
0.016738634556531906,
0.017827210947871208,
0.021463846787810326,
-0.01949518546462059,
-0.04484439641237259,
0.05309667810797691,
-0.037371087819337845,
-0.00016547265113331378,
0.04140232130885124,
-0.012006521224975586,
0.004380339756608009,
0.0034803119488060474,
-0.018947338685393333,
-0.038673434406518936,
0.07141077518463135,
0.003613694803789258,
0.031211387366056442,
0.008231660351157188,
-0.019570520147681236,
0.005879250355064869,
0.01691797561943531,
-0.013951276428997517,
0.08730684965848923,
-0.022291209548711777,
-0.04056566581130028,
-0.008449766784906387,
-0.03808492794632912,
0.07824916392564774,
-0.00462104007601738,
-0.060544129461050034,
-0.029292579740285873,
0.04118805378675461,
-0.004456310998648405,
-0.02007213793694973,
0.017911139875650406,
-0.023469608277082443,
-0.047364309430122375,
-0.024092378094792366,
-0.013557659462094307,
0.02543538250029087,
-0.04393710941076279,
-0.05454917624592781,
0.011919626966118813,
-0.06988579034805298,
-0.044206392019987106,
-0.0015233291778713465,
0.05962039902806282,
0.005840852856636047,
-0.0009822193533182144,
0.019191892817616463,
-0.005401256028562784,
-0.121334508061409,
-0.008086783811450005,
-0.009147102944552898,
-0.017196184024214745,
-0.029168831184506416,
-0.00120336445979774,
-0.0002694220165722072,
-0.061545152217149734,
-0.02053310163319111,
0.03431147709488869,
0.004952704533934593,
0.013724012300372124,
0.031012164428830147,
0.008220294490456581,
0.016506377607584,
-0.0300800409168005,
-0.0026018409989774227,
0.07818019390106201,
-0.016298282891511917,
-0.0443238727748394,
-0.029551690444350243,
-0.02168298326432705,
0.03447731211781502,
0.036187201738357544,
0.006093223579227924,
0.027293648570775986,
0.05360672250390053,
0.02534346655011177,
-0.025328755378723145,
0.0010016694432124496,
-0.02266787737607956,
0.0061152903363108635,
0.021045567467808723,
-0.0465933121740818,
0.03125078231096268,
0.04356539621949196,
0.013021865859627724,
-0.008499834686517715,
-0.05915415659546852,
-0.008563005365431309,
-0.0643187090754509,
-0.039578747004270554,
0.0190422460436821,
-0.0007167204166762531,
0.005969933234155178,
0.004811543971300125,
-0.04086580500006676,
-0.04091857746243477,
0.017799369990825653,
0.016051528975367546,
0.02179451286792755,
-0.037602417171001434,
-0.04584280028939247,
-0.03881049156188965,
0.05688308924436569,
0.042793359607458115,
-0.009615943767130375,
-0.0066484492272138596,
0.004995832685381174,
-0.0009730622987262905,
-0.028218159452080727,
0.027356380596756935,
-0.02995922602713108,
-0.019866954535245895,
-0.01772134192287922,
0.013576531782746315,
-0.00283103808760643,
-0.0429653525352478,
0.03186088427901268,
0.02877427637577057,
0.007594051770865917,
0.07865431904792786,
-0.01353027019649744,
-0.011376344598829746,
0.01393123622983694,
-0.03721393644809723,
-0.02758966013789177,
-0.029679542407393456,
-0.06968265771865845,
0.018339447677135468,
-0.033994704484939575,
-0.0250563882291317,
-0.026990588754415512,
0.05211971327662468,
-0.0029454652685672045,
0.0036015487276017666,
-0.057073719799518585,
0.00925231259316206,
-0.05973527580499649,
-0.004490131512284279,
-0.000732171640265733,
0.012980509549379349,
0.05754357948899269,
0.01533763762563467,
0.02018452063202858,
-0.01117703877389431,
-0.041079115122556686,
-0.024721898138523102,
0.025289705023169518,
-0.03930842503905296,
-0.0007082668016664684,
-0.0383521243929863,
0.03607776761054993,
-0.03022119775414467,
0.002859591506421566,
0.00026396341854706407,
0.009049867279827595,
0.0031382280867546797,
0.011344489641487598,
0.03055693581700325,
0.02273053675889969,
0.03096185065805912,
-0.004949138034135103,
-0.025318140164017677,
0.032617658376693726,
0.00793590396642685,
-0.008498698472976685,
-0.023560605943202972,
0.0008228545775637031,
-0.050630152225494385,
-0.016477400436997414,
-0.010051659308373928,
-0.07154686003923416,
0.00617049727588892,
-0.0017567536560818553,
0.00321481516584754,
-0.0030362035613507032,
0.005326279439032078,
0.01715449057519436,
-0.032673779875040054,
0.013182030990719795,
0.03569208085536957,
-0.045025262981653214,
0.03097098134458065,
0.0098215751349926,
0.031095867976546288,
0.009018559008836746,
-0.0017169939819723368,
-0.07838968187570572,
-0.024711087346076965,
-0.0008090109331533313,
0.028697559610009193,
-0.03937168046832085,
-0.042116448283195496,
-0.04829998314380646,
0.019058069214224815,
-0.011784913949668407,
0.01272167544811964,
0.005662969779223204,
-0.015730883926153183,
-0.018025951460003853,
-0.0268983393907547,
0.012764204293489456,
-0.023154588416218758,
-0.031054193153977394,
0.028856609016656876,
-0.044819947332143784,
0.009869902394711971,
0.0058522094041109085,
0.025905894115567207,
0.03492682799696922,
-0.012952825985848904,
-0.04747924581170082,
-0.08415532857179642,
-0.007221621926873922,
-0.003128277137875557,
0.059964943677186966,
0.002289579017087817,
-0.01811494678258896,
-0.01612112671136856,
0.027932124212384224,
0.010561540722846985,
0.005459005944430828,
-0.016714392229914665,
-0.011651232838630676,
0.03712332993745804,
0.034712523221969604,
0.0031604510731995106,
0.028171101585030556,
-0.023999547585844994,
-0.004609956871718168,
0.043787650763988495,
-0.07402915507555008,
-0.03081885166466236,
-0.001103473943658173,
-0.04481373727321625,
0.03188541904091835,
0.01827147603034973,
0.02864326350390911,
-0.07434988021850586,
0.03402154520153999,
0.013678597286343575,
-0.005588153842836618,
0.02840065211057663,
-0.04108211025595665,
0.03201695904135704,
-0.03739718347787857,
-0.017904924228787422,
-0.07639393210411072,
0.022917723283171654,
-0.0024536100681871176,
-0.02529684640467167,
0.009761947207152843,
0.008769923821091652,
0.015343371778726578,
0.05274968594312668,
-0.04919786378741264,
-0.030532797798514366,
0.05246679484844208,
-0.006297624204307795,
-0.0336340069770813,
0.016922224313020706,
-0.03374826908111572,
0.016773493960499763,
0.030738038942217827,
-0.018325502052903175,
0.0020701594185084105,
-0.036966416984796524,
0.04664497449994087,
-0.04251028597354889,
0.015344349667429924,
-0.014179294928908348,
-0.036643221974372864,
0.07107407599687576,
0.040216196328401566,
0.02415383607149124,
0.07430930435657501,
-0.03138842433691025,
-0.0007385934004560113,
0.03533689305186272,
0.005567676853388548,
-0.006142593454569578,
0.035029590129852295,
0.029167775064706802,
-0.06552915275096893,
0.06024119630455971,
0.010803887620568275,
-0.02719251438975334,
-0.07013975828886032,
0.09767937660217285,
0.00643808301538229,
-0.029223216697573662,
-0.00345536763779819,
0.004766053520143032,
-0.028875786811113358,
-0.030940352007746696,
-0.02065834030508995,
-0.013104906305670738,
-0.035877108573913574,
0.04020083323121071,
-0.020851047709584236,
-0.006186771206557751,
0.07845000922679901,
0.0002062420971924439,
0.005103439092636108,
-0.0061286273412406445,
0.0664329007267952,
0.10169626027345657,
0.028213251382112503,
-0.020557362586259842,
0.0889759361743927,
-0.02824733778834343,
-0.046561647206544876,
-0.014761489816009998,
-0.058345455676317215,
-0.04513341933488846,
-0.058058351278305054,
-0.01739923283457756,
0.06561290472745895,
-0.0026093272026628256,
0.08893400430679321,
-0.025144902989268303,
0.003922928124666214,
0.006094415206462145,
0.032828476279973984,
0.008086739107966423,
0.04668070375919342,
0.012113651260733604,
0.04107755422592163,
-0.00021288228163029999,
-0.009280257858335972,
0.013244210742413998,
-0.022173792123794556,
-0.03449695184826851,
0.03999905660748482,
-0.0034911264665424824,
-0.003992063924670219,
0.017839793115854263,
-0.007544284220784903,
0.04043179005384445,
-0.03548206388950348,
0.012712926603853703,
-0.022057246416807175,
0.01880311593413353,
0.010950303636491299,
0.020077068358659744,
-0.012703534215688705,
0.00031979536288417876,
-0.01293967105448246,
-0.030863871797919273,
-0.0291476771235466,
-0.008773968555033207,
-0.007672581821680069,
0.02853396162390709,
-0.0498177707195282,
0.03961825370788574,
0.0020291178952902555,
0.007468323688954115,
-0.04070675000548363,
-0.01672833412885666,
-0.05416302755475044,
-0.05624989792704582,
-0.06253252923488617,
-0.008993836119771004,
0.02268085815012455,
0.006797796580940485,
-0.042624108493328094,
-0.03191826865077019,
-0.008792337030172348,
-0.02001877874135971,
0.034947723150253296,
-0.01221009623259306,
-0.04548835754394531,
0.025307396426796913,
0.02489408478140831,
0.03369676321744919,
0.037965863943099976,
0.07019779831171036,
0.006016870960593224,
0.008213021792471409,
-0.0370643250644207,
0.0035086243879050016,
0.06385093182325363,
0.007741886656731367,
0.008011960424482822,
-0.06631799042224884,
0.01068462897092104,
0.019771577790379524,
0.022281331941485405,
-0.06513810157775879,
0.025613699108362198,
0.02057989500463009,
-0.015402108430862427,
0.07245791703462601,
-0.021411867812275887,
-0.0014530556509271264,
-0.05146083980798721,
-0.029146989807486534,
0.026684172451496124,
0.009261873550713062,
0.03870994597673416,
-0.014742821455001831,
0.0506989024579525,
0.032469797879457474,
0.004727827850729227,
-0.03118523769080639,
0.013381251133978367,
-0.003435787744820118,
-0.01714230887591839,
-0.04776574671268463,
-0.023264432325959206,
-0.06425895541906357,
-0.07538656145334244,
-0.04059423878788948,
0.03217387571930885,
0.030698232352733612,
-0.03582199290394783,
-0.01583423838019371,
0.03563946858048439,
-0.031369928270578384,
0.041155874729156494,
-0.06862211227416992,
0.017246685922145844,
-0.017740987241268158,
-0.012849044986069202,
-0.0013450124533846974,
0.033875565975904465,
0.001340249553322792,
-0.014989342540502548,
0.03301515802741051,
-0.0015898689161986113,
0.004304331261664629,
-0.04482574760913849,
0.0019461261108517647,
0.01392074953764677,
-0.04621361568570137,
0.019893024116754532
] | [
-0.054883282631635666,
-0.0367753691971302,
0.00480670528486371,
0.009119080379605293,
0.030750758945941925,
-0.022533556446433067,
0.016682039946317673,
0.032426126301288605,
-0.004194025415927172,
0.003105069976300001,
-0.018230721354484558,
-0.018227195367217064,
0.0052973804995417595,
0.01978967897593975,
0.06525002419948578,
0.011016594246029854,
-0.03680936247110367,
-0.03043553978204727,
-0.000634017342235893,
0.04922959953546524,
0.037654612213373184,
0.01639934629201889,
-0.01921737752854824,
-0.03188774734735489,
0.0036355655174702406,
0.04660206660628319,
0.0459134504199028,
-0.027435127645730972,
0.0074426475912332535,
-0.1648802012205124,
-0.013965442776679993,
-0.05018516257405281,
0.014701200649142265,
-0.009051944129168987,
-0.0303493645042181,
0.0047265454195439816,
0.02489509806036949,
-0.0023081547114998102,
0.02882540225982666,
0.04304225742816925,
0.005591654684394598,
0.04201068729162216,
-0.007015121169388294,
-0.02065032720565796,
-0.004136982839554548,
-0.007842205464839935,
-0.01036183349788189,
-0.031213104724884033,
-0.014418144710361958,
-0.005540880840271711,
-0.05605196952819824,
-0.0026553156785666943,
0.026068318635225296,
-0.027053294703364372,
0.011739994399249554,
0.02708471566438675,
0.03434346988797188,
0.05982070043683052,
0.011555174365639687,
0.06323859095573425,
0.015585018321871758,
-0.03210096433758736,
-0.11798463761806488,
0.10824166238307953,
0.059482719749212265,
0.08656417578458786,
-0.06136617064476013,
-0.021283363923430443,
-0.018369100987911224,
0.054788053035736084,
0.04535369575023651,
0.0009535116259939969,
-0.04754131659865379,
0.05635590851306915,
0.028704233467578888,
-0.028833292424678802,
-0.002414937363937497,
0.04514923691749573,
0.044592756778001785,
-0.04977210983633995,
-0.03609144687652588,
-0.05035967752337456,
-0.05131150409579277,
0.009329313412308693,
0.016058675944805145,
-0.02408597059547901,
0.011548914015293121,
0.047487854957580566,
-0.015650441870093346,
0.03309996798634529,
-0.011350360698997974,
-0.04715172201395035,
0.014279092662036419,
0.024463558569550514,
-0.10246247053146362,
-0.010863122530281544,
-0.014784648083150387,
0.019613951444625854,
-0.03369031473994255,
0.3893575370311737,
-0.014349030330777168,
0.001810595509596169,
0.010524029843509197,
0.014032122679054737,
0.016036037355661392,
-0.0045934212394058704,
0.029095834121108055,
-0.022004039958119392,
-0.0000981107004918158,
-0.0024216133169829845,
0.03195364773273468,
-0.007074269466102123,
0.037064410746097565,
-0.05399123579263687,
-0.021957462653517723,
0.043586596846580505,
-0.006047065369784832,
0.02544146403670311,
-0.0015397825045511127,
-0.011608692817389965,
-0.017618892714381218,
-0.012119434773921967,
0.03650514781475067,
-0.002201598836109042,
0.019050702452659607,
0.018984735012054443,
0.08890093863010406,
0.04850396886467934,
-0.009611960500478745,
0.07829147577285767,
0.04790071025490761,
-0.02241106890141964,
-0.03251427784562111,
0.0021339349914342165,
0.0084157083183527,
0.029536856338381767,
0.010437190532684326,
-0.025146516039967537,
-0.006210746709257364,
0.04584239423274994,
-0.010159171186387539,
-0.0264071524143219,
0.042823124676942825,
-0.04078835994005203,
-0.02277294173836708,
0.08194319158792496,
-0.02269589714705944,
-0.04375380277633667,
-0.03482381999492645,
-0.019071903079748154,
-0.005758434999734163,
0.02885529026389122,
-0.0026280093006789684,
-0.05158925801515579,
-0.04747508838772774,
0.0057966578751802444,
0.02978019416332245,
-0.034840844571590424,
-0.030246218666434288,
-0.007949587889015675,
-0.0069099352695047855,
-0.01844867318868637,
0.011995688080787659,
-0.005022669211030006,
0.04438882693648338,
-0.13856814801692963,
-0.03452897444367409,
0.025848684832453728,
-0.0023366869427263737,
-0.08874966949224472,
-0.07138421386480331,
0.005692231003195047,
-0.03633655607700348,
-0.040974561125040054,
0.07079539448022842,
-0.005803942680358887,
-0.013347809202969074,
0.05220374837517738,
-0.01426338404417038,
-0.01018382329493761,
-0.016465092077851295,
-0.015517745167016983,
-0.038270942866802216,
-0.0355968177318573,
-0.04245932772755623,
-0.05134778469800949,
-0.07445845007896423,
-0.024671966210007668,
0.008364289067685604,
-0.02544713392853737,
-0.05063667148351669,
-0.048063598573207855,
-0.08749184757471085,
0.06298047304153442,
-0.0057286727242171764,
-0.017256567254662514,
-0.010632541961967945,
-0.040181804448366165,
0.018682323396205902,
-0.020315660163760185,
0.06155203655362129,
0.04327032342553139,
-0.010211750864982605,
0.010329467244446278,
-0.07952919602394104,
0.057502612471580505,
0.03131318837404251,
-0.043264079838991165,
0.06161075830459595,
-0.024782121181488037,
-0.06992905586957932,
0.02229691669344902,
0.024176765233278275,
0.030873727053403854,
0.01809842512011528,
-0.07079112529754639,
0.0007508049602620304,
0.027719752863049507,
0.030240314081311226,
0.06100895628333092,
0.016824614256620407,
0.011807593517005444,
-0.004722675774246454,
-0.3264913260936737,
-0.029471172019839287,
-0.02423427440226078,
0.022872043773531914,
-0.012708384543657303,
-0.04180658981204033,
-0.0020848491694778204,
-0.006592513527721167,
-0.012132731266319752,
0.012920142151415348,
0.14414073526859283,
0.0061533586122095585,
0.01912006363272667,
-0.05538283288478851,
-0.013336922973394394,
0.0027809939347207546,
-0.02080553025007248,
-0.0466931127011776,
-0.024702955037355423,
-0.0032877237536013126,
-0.03038550168275833,
-0.041890643537044525,
-0.01290350966155529,
-0.09943728893995285,
0.01224184688180685,
-0.013560276478528976,
0.15497614443302155,
0.036765605211257935,
0.02759435959160328,
-0.07930159568786621,
0.05407081916928291,
-0.028459925204515457,
-0.006308229640126228,
-0.09890682995319366,
-0.0060319118201732635,
-0.02460380643606186,
-0.021469131112098694,
-0.002514649648219347,
0.04401741921901703,
-0.012264532968401909,
-0.057920802384614944,
0.016286563128232956,
-0.04481317475438118,
-0.037430666387081146,
0.016082393005490303,
0.00803876481950283,
-0.03198980912566185,
-0.030743496492505074,
-0.033633891493082047,
0.07430464774370193,
0.04003353416919708,
-0.0037660980597138405,
0.0010749035282060504,
0.04748759791254997,
0.0180057343095541,
-0.03254690766334534,
-0.009007919579744339,
-0.03696366772055626,
-0.004877544939517975,
0.003758826060220599,
0.027796054258942604,
0.08223897963762283,
0.02437974140048027,
-0.06465112417936325,
0.025904003530740738,
0.05200515687465668,
-0.015351665206253529,
-0.020694872364401817,
0.06759831309318542,
-0.023294886574149132,
-0.03578019142150879,
0.0978376641869545,
0.029018009081482887,
0.06355630606412888,
0.04180498793721199,
0.01798146218061447,
0.02092408388853073,
0.05162885785102844,
0.05031407251954079,
0.022732684388756752,
0.017252523452043533,
0.01836426369845867,
0.027809856459498405,
-0.033820006996393204,
-0.05011525750160217,
0.03217940405011177,
0.0017337073804810643,
-0.038142815232276917,
0.027263060212135315,
-0.00365245109423995,
-0.01012776792049408,
-0.0025647764559835196,
-0.012369683012366295,
-0.09036371856927872,
0.011077475734055042,
-0.033686213195323944,
-0.26593339443206787,
0.01148370373994112,
0.07120537012815475,
0.04046062380075455,
-0.028764406219124794,
0.019382143393158913,
0.030399514362215996,
-0.01749933324754238,
-0.05195537582039833,
0.006130644120275974,
-0.046599872410297394,
0.05732794106006622,
-0.0025095075834542513,
0.011667069979012012,
0.0341331921517849,
0.06815686076879501,
0.04798296466469765,
0.029926184564828873,
-0.00557327177375555,
-0.030129140242934227,
0.01419833768159151,
0.005059981252998114,
0.19695232808589935,
0.04383112117648125,
0.02828417345881462,
0.012705630622804165,
-0.030125821009278297,
-0.009405138902366161,
0.07919465005397797,
0.028269482776522636,
-0.03094705380499363,
-0.03925638273358345,
0.0710843950510025,
-0.004721381701529026,
0.04035453125834465,
-0.07027926295995712,
0.015266332775354385,
0.03991493582725525,
0.015898587182164192,
-0.017226845026016235,
-0.0415789857506752,
0.022076928988099098,
-0.03211601451039314,
0.020467737689614296,
0.06636673957109451,
-0.0387202650308609,
-0.033391691744327545,
0.0010222516721114516,
-0.04754684865474701,
-0.007212313357740641,
-0.008235115557909012,
-0.05324217677116394,
-0.018759414553642273,
-0.009239530190825462,
0.04884052649140358,
0.0717015191912651,
0.011212972924113274,
-0.04122265800833702,
-0.035643529146909714,
0.02860451303422451,
0.018276648595929146,
0.03413182124495506,
0.12302017956972122,
-0.02322240173816681,
0.03908471763134003
] | [
-0.0031628787983208895,
-0.0004886902752332389,
0.03850642219185829,
0.05694665014743805,
0.054749198257923126,
0.030649151653051376,
-0.025882134214043617,
0.027534477412700653,
-0.008137840777635574,
-0.03249257057905197,
-0.03935856372117996,
0.022633861750364304,
0.00418952526524663,
0.008206790313124657,
0.010245873592793941,
0.020919054746627808,
-0.014115330763161182,
-0.022904731333255768,
0.04234614968299866,
0.005010325461626053,
-0.007647338323295116,
0.01606871746480465,
0.03401246294379234,
-0.012651793658733368,
-0.013817884959280491,
-0.004062640480697155,
0.0027340087108314037,
-0.023189719766378403,
0.033578041940927505,
-0.1318201869726181,
0.025342246517539024,
-0.03868268430233002,
-0.04425745829939842,
0.004240855108946562,
-0.05861130356788635,
-0.012632583267986774,
-0.020356252789497375,
0.017073919996619225,
0.001774923992343247,
-0.03498108312487602,
-0.00307113747112453,
0.010576149448752403,
0.00395266292616725,
0.01980164647102356,
0.0032727199140936136,
-0.03406966105103493,
-0.02005954273045063,
-0.02330683171749115,
-0.033381387591362,
-0.00619794987142086,
-0.019818326458334923,
-0.015707416459918022,
0.014257744885981083,
0.0009355669026263058,
-0.0070974682457745075,
0.019136562943458557,
-0.02049751579761505,
0.007832866162061691,
-0.00814087875187397,
0.004328201524913311,
-0.001290372689254582,
-0.03287801891565323,
-0.009447162039577961,
-0.057862091809511185,
0.00513041066005826,
-0.017379119992256165,
-0.018129969015717506,
-0.021956250071525574,
-0.0069626374170184135,
0.021457107737660408,
-0.0011859257938340306,
0.036481261253356934,
0.017099935561418533,
0.007884668186306953,
0.0070985229685902596,
-0.05432938039302826,
-0.02358480542898178,
0.029949607327580452,
0.02910592593252659,
0.011551715433597565,
-0.006503666751086712,
-0.024155830964446068,
-0.00655405456200242,
0.053471505641937256,
0.03748144954442978,
-0.0030813671182841063,
0.0019641912076622248,
0.0058242082595825195,
0.01165992021560669,
0.0032506934367120266,
-0.03809117525815964,
-0.0002812760358210653,
0.027295291423797607,
0.07192584872245789,
-0.10534319281578064,
-0.021282192319631577,
-0.06359266489744186,
-0.02215680666267872,
-0.015929294750094414,
0.8134642243385315,
0.004938550293445587,
0.002647284884005785,
0.025636162608861923,
0.02897745557129383,
0.021539142355322838,
0.011889198794960976,
0.014043722301721573,
0.021046491339802742,
0.03201675042510033,
0.05964941903948784,
0.014039230532944202,
-0.025348281487822533,
0.004109397996217012,
0.031605061143636703,
-0.008107426576316357,
-0.007932963781058788,
0.021516308188438416,
-0.028229912742972374,
-0.02797231450676918,
0.04567455127835274,
0.016897715628147125,
-0.052196163684129715,
-0.0019720883574336767,
-0.011244426481425762,
-0.00370475254021585,
-0.18866151571273804,
0.04157643765211105,
-7.396690204005762e-33,
0.03753720596432686,
0.00943929236382246,
-0.028747910633683205,
-0.008020218461751938,
0.03907409682869911,
-0.008582991547882557,
-0.014207949861884117,
0.016285987570881844,
-0.031107693910598755,
-0.015572695061564445,
-0.024772219359874725,
0.00420907000079751,
-0.012438396923244,
-0.028030170127749443,
0.021907472983002663,
-0.032413214445114136,
0.0037347101606428623,
0.028491217643022537,
0.03877400606870651,
-0.013379042968153954,
0.013798065483570099,
0.030468840152025223,
-0.010265432298183441,
0.019808268174529076,
0.03415098041296005,
0.03347814083099365,
0.010698038153350353,
0.02465999498963356,
-0.021155335009098053,
-0.06266414374113083,
0.02652025781571865,
-0.003940936177968979,
-0.033866651356220245,
-0.005618808325380087,
0.008798802271485329,
-0.027785934507846832,
-0.010759415104985237,
-0.007271954324096441,
-0.027415309101343155,
-0.008722279220819473,
-0.03257015720009804,
-0.032106220722198486,
-0.030915096402168274,
0.010611736215651035,
-0.0167646836489439,
-0.014282040297985077,
-0.006763544399291277,
0.0314987376332283,
-0.010273505933582783,
0.0018231294816359878,
-0.009070351719856262,
0.03494253009557724,
-0.0073693846352398396,
-0.024461494758725166,
0.01856740191578865,
-0.0016551933949813247,
-0.04840610921382904,
0.03863898292183876,
0.039136260747909546,
-0.005863990169018507,
0.03317325562238693,
-0.06503579020500183,
0.0010966530535370111,
0.0314788743853569,
-0.04352748394012451,
0.02603314444422722,
-0.024909893050789833,
0.006855371408164501,
0.034458227455616,
0.009901739656925201,
-0.0443916991353035,
0.024320583790540695,
0.024744845926761627,
0.00851937010884285,
0.013103759847581387,
0.0010854036081582308,
-0.036663103848695755,
0.008613265119493008,
0.04461842402815819,
0.023144733160734177,
0.012966283597052097,
-0.015867847949266434,
0.025255028158426285,
0.04927812144160271,
0.03394544497132301,
-0.018661973997950554,
-0.01973058097064495,
-0.028896035626530647,
-0.009187799878418446,
0.06132751330733299,
0.005655501037836075,
0.029269704595208168,
0.013368290849030018,
0.0026976470835506916,
-0.04255755618214607,
7.33921146898643e-33,
-0.006288188509643078,
0.0137568274512887,
-0.03448067978024483,
0.029534585773944855,
-0.02897920459508896,
-0.02766348235309124,
0.04697856307029724,
0.04973217472434044,
0.0036917414981871843,
0.017869332805275917,
-0.01703803986310959,
0.022031672298908234,
0.012418733909726143,
-0.01648518443107605,
0.029686978086829185,
-0.0011191696394234896,
0.02529192715883255,
-0.02336006611585617,
0.021049631759524345,
-0.017877312377095222,
-0.0114830881357193,
0.010953628458082676,
-0.02446957863867283,
-0.008128398098051548,
0.0025096689350903034,
0.07547082751989365,
0.04755690321326256,
-0.010114437900483608,
-0.03235979750752449,
0.00514261843636632,
0.006700292229652405,
-0.018436459824442863,
0.0408814363181591,
-0.05095627158880234,
0.010151365771889687,
0.04446857050061226,
-0.014753691852092743,
-0.005534804426133633,
0.006104751490056515,
-0.02023305743932724,
0.02086893655359745,
-0.005248634610325098,
0.02373812347650528,
0.018239790573716164,
-0.013811640441417694,
-0.03255074471235275,
-0.0038275166880339384,
-0.01083728950470686,
0.000236638356000185,
-0.002774852328002453,
0.017331689596176147,
-0.009350298903882504,
0.002894766628742218,
0.016540467739105225,
0.011924266815185547,
-0.004828407894819975,
-0.057636793702840805,
0.017492247745394707,
0.0057676094584167,
0.007484947331249714,
0.020659729838371277,
0.0024344571866095066,
-0.03355127573013306,
0.06348317116498947,
-0.014762322418391705,
-0.004525512456893921,
-0.05953933298587799,
-0.006425654515624046,
0.018635982647538185,
0.021278798580169678,
0.02136179991066456,
0.010208891704678535,
0.004500017035752535,
0.05965978652238846,
0.07077553868293762,
-0.030353570356965065,
0.046538472175598145,
-0.018836887553334236,
-0.038250215351581573,
0.012382293120026588,
-0.010149055160582066,
0.001712715718895197,
0.023673923686146736,
-0.06922081857919693,
0.016786545515060425,
0.023264281451702118,
-0.07410500198602676,
0.0022734561935067177,
0.024273302406072617,
0.004090459086000919,
-0.016878584399819374,
0.0011780644999817014,
-0.013838640414178371,
-0.029559461399912834,
-0.04797736182808876,
-1.2588206033115057e-8,
-0.019446663558483124,
0.017261788249015808,
-0.0034304948057979345,
-0.02772582694888115,
0.0205541979521513,
0.019267648458480835,
-0.007819403894245625,
-0.02371116913855076,
-0.04641905054450035,
0.01323883980512619,
0.020475290715694427,
0.02895176224410534,
-0.029059533029794693,
0.02724098414182663,
0.031130263581871986,
-0.04015106335282326,
-0.01061877142637968,
-0.01263578049838543,
0.01940133608877659,
0.008103531785309315,
-0.03849241882562637,
0.05526413023471832,
0.012447211891412735,
0.022628294304013252,
0.011612453497946262,
-0.011566751636564732,
-0.019194483757019043,
-0.06146693974733353,
-0.0001208944377140142,
0.013358638621866703,
-0.03733932599425316,
0.0018371029291301966,
-0.009396527893841267,
-0.005804986692965031,
-0.03697057440876961,
0.00508354464545846,
0.001504384446889162,
-0.019811896607279778,
0.006173007655888796,
0.022050978615880013,
0.02578793652355671,
0.00631587253883481,
0.028336215764284134,
-0.006784665863960981,
-0.015514361672103405,
0.00169789616484195,
-0.04019325599074364,
0.03237149864435196,
0.052408214658498764,
-0.005166921298950911,
0.00037985460949130356,
-0.0036605813074856997,
-0.03849795088171959,
-0.008487085811793804,
0.041061293333768845,
-0.0273749977350235,
0.008612616918981075,
-0.04933951050043106,
-0.017387766391038895,
-0.019623858854174614,
0.03254203498363495,
0.01767221838235855,
-0.011345893144607544,
-0.05320360139012337
] | react-reach-parent-event-route-change | https://markhneedham.com/blog/2019/12/19/react-reach-parent-event-route-change |
false | 2019-12-23 00:21:00 | QuickGraph #3: Itsu Allergens | [
"quickgraph",
"neo4j",
"apoc"
] | [
"QuickGraph"
] | As someone who's allergic to lots of different things, the introduction of allergen charts in restaurants over the last few years has been very helpful.
These charts are often hidden away in PDF files, but the Asian inspired Itsu restaurant have all this information available on their online menus.
This therefore seemed like a great opportunity for another https://markhneedham.com/blog/tag/quickgraph/[QuickGraph^].
image::{{<siteurl>}}/uploads/2019/12/Itsu_logo.svg[]
== Scraping the Itsu website
I wrote a couple of Python scripts to download each of the menu items and then extract the product name, description, and allergens.
Instructions for https://github.com/mneedham/itsu-neo4j#downloading-and-scraping-product-data[how to download and scrape this data^] are described in the https://github.com/mneedham/itsu-neo4j[itsu-neo4j^] repository.
The scraped data for each of the products is in the https://github.com/mneedham/itsu-neo4j/blob/master/import/items.json[import/items.json^] file.
== Exploring the data
Let's have a quick look at the first few lines of this file using command line tools:
[source,bash]
----
$ head -n3 import/items.json | jq '.'
{
"title": "aluminium refill flask",
"allergens": [],
"description": "for only £1.99, our aluminium refill flask is eco-friendly and can be used again and again. Proudly supporting Blue Marine Foundation.",
"url": "https://www.itsu.com/menu/sides-snacks/aluminium-refill-flask/"
}
{
"title": "itsu still water",
"allergens": [],
"description": "",
"url": "https://www.itsu.com/menu/sides-snacks/itsu-still-water/"
}
{
"title": "salmon sashimi",
"allergens": [
"fish",
"soya",
"mustard",
"gluten"
],
"description": "omega 3 rich sashimi grade salmon sashimi on magnesium packed wakame & pickled ginger",
"url": "https://www.itsu.com/menu/sushi/salmon-sashimi-2/"
}
----
We can also use the https://neo4j.com/docs/labs/apoc/3.5/[APOC^] Library's https://neo4j.com/docs/labs/apoc/current/import/load-json/[`apoc.load.json`^] procedure to explore the data.
The following query returns the 1st product:
[source,cypher]
----
CALL apoc.load.json("https://github.com/mneedham/itsu-neo4j/raw/master/import/items.json")
YIELD value
RETURN value
LIMIT 1
----
If we run that query we'll see the following output:
.Exploring the data
[opts="header"]
|===
| value
| {description: "for only £1.99, our aluminium refill flask is eco-friendly and can be used again and again. Proudly supporting Blue Marine Foundation.", title: "aluminium refill flask", url: "https://www.itsu.com/menu/sides-snacks/aluminium-refill-flask/", allergens: []}
|===
This isn't a particularly interesting product as it doesn't have any allergens!
Next we're going to learn how we can use `LOAD CSV` to import the products into Neo4j.
== Importing the data
We're going to import the data into the following graph model:
image::{{<siteurl>}}/uploads/2019/12/itsu-graph-model.png[]
The following statement imports the products and their allergens:
[source,cypher]
----
CALL apoc.load.json("https://github.com/mneedham/itsu-neo4j/raw/master/import/items.json")
YIELD value
MERGE (product:Product {url: value.url})
SET product.name = value.title, product.description = value.description
WITH product, value
UNWIND value.allergens AS a
MERGE (allergen:Allergen {name: a})
MERGE (product)-[:CONTAINS_ALLERGEN]->(allergen);
----
We can see a sample of the imported graph in the Neo4j Browser visualisation below:
image::{{<siteurl>}}/uploads/2019/12/itsu-sample.svg[]
== Querying the graph
Now let's explore the data using Neo4j's https://neo4j.com/developer/cypher-basics-i/[Cypher^] query language.
== How many allergens are there?
[source,cypher]
----
MATCH (allergen:Allergen)
RETURN count(*), collect(allergen.name) AS allergens;
----
.How many allergens are there?
[opts="header",cols="1,3"]
|===
| count(*) | allergens
| 14 | ["fish", "soya", "mustard", "gluten", "celery", "sesame", "sulphur dioxide", "dairy", "egg", "crustaceans", "wheat", "mullusc", "nuts", "peanuts"]
|===
== Which allergen is most prevalent?
[source,cypher]
----
MATCH (:Product)
WITH count(*) AS productCount
MATCH (allergen)<-[:CONTAINS_ALLERGEN]-()
WITH allergen, count(*) AS count, productCount
RETURN allergen.name AS allergen, count,
apoc.math.round(count*1.0/productCount,2) AS percentageOfProducts
ORDER BY count DESC
LIMIT 5;
----
.Which allergen is most prevalent?
[opts="header"]
|===
| allergen | count | percentageOfProducts
| "soya" | 78 | 0.75
| "gluten" | 55 | 0.53
| "sesame" | 54 | 0.52
| "mustard" | 42 | 0.4
| "celery" | 24 | 0.23
|===
Itsu is clearly not a good place to go if you're allergic to soya, gluten, or sesame.
== Which allergens appear together most frequently?
[source,cypher]
----
MATCH (allergen1:Allergen)<-[:CONTAINS_ALLERGEN]-()-[:CONTAINS_ALLERGEN]->(allergen2)
WHERE allergen1.name < allergen2.name
RETURN allergen1.name AS allergen1, allergen2.name AS allergen2 , count(*) AS count
ORDER BY count DESC
LIMIT 5
----
.Which allergens appear together most frequently?
[opts="header"]
|===
| allergen1 | allergen2 | count
| "gluten" | "soya" | 55
| "sesame" | "soya" | 53
| "gluten" | "sesame" | 47
| "mustard" | "soya" | 40
| "mustard" | "sesame" | 36
|===
It looks like Itsu recipes often use soya alongside gluten and sesame.
And now let's finally see what I can eat the next time that I go to Itsu.
== How many things can I eat in Itsu?
[source,cypher]
----
MATCH (:Product) WITH count(*) AS productCount
WITH ["crustaceans", "nuts", "peanuts", "egg", "dairy", "fish"] AS allergens, productCount
MATCH (product:Product)
WHERE all(allergen in allergens
WHERE not((product)-[:CONTAINS_ALLERGEN]->(:Allergen {name: allergen})))
WITH count(*) AS count, collect(product.name) AS products, productCount
RETURN count,
apoc.math.round(count*1.0/productCount, 2) AS percentageOfProducts,
products
----
.How many things can I eat in Itsu?
[opts="header", cols="1,1,3"]
|===
| count | percentageOfProducts | products
| 61 | 0.59 | ["aluminium refill flask", "itsu still water", "edamame", "dark chocolate rice cakes", "veggie rice’bowl & quinoa burgers", "winter wonderland", "veggie dragon roll", "christmas cracker gyoza", "detox miso’noodle soup", "little choc pot", "porridge’power", "itsu sparkling water", "hoisin duck tokyo wrap", "vegetable fusion gyoza", "chicken noodle soup", "ginger & lemon kombucha", "ginger’low", "veg press", "lean chicken machine", "miso soup", "original kombucha", "coconut chicken soup", "thai chicken rice’bowl", "blueberry’boost porridge", "beef twerky", "crispy seaweed thins sweet soy & sea salt", "passionfruit kombucha", "raw fruitfix beauty’smoothie", "cucumber & mint zen’water", "Hawaii 5.0 fruit cup", "crispy seaweed thins sea salt", "bacon bao’bun", "ginger detox zinger", "pork & truffle gyoza", "crispy seaweed thins wasabi", "veggie club rolls", "veggie’gyoza udon ", "spicy korean chicken rice’bowl", "veggie thai soup", "the sesame chicken salad", "i’thai udon [stir-fry style]", "lean satay chicken tokyo wrap", "quinoa burgers tokyo wrap", "little salted caramel pot", "orange press", "hoisin duck bao buns", "peach & lychee zen’water", "veggie sushi collection", "raw veg cleanse beauty’smoothie", "chilli’chicken udon", "super’seeds porridge", "no meat mondays", "avo baby rolls", "lemon’low", "tenderstem broccoli with sesame dressing", "crushed coconut & chocolate oishi bar", "teriyaki chicken rice’bowl", "vegetable dumplings", "wasabi peas [healthy snack]", "chargrilled chicken udon", "goji, mandarin & lime"]
|===
A lot more than I expected!
Let's simplify this query a bit by creating a function that returns the product count:
[source,cypher]
----
CALL apoc.custom.asFunction("productCount",
"MATCH (:Product) RETURN count(*) AS count",
"LONG", null, true)
----
And now we'll update our previous query to use this function:
[source,cypher]
----
WITH ["crustaceans", "nuts", "peanuts", "egg", "dairy", "fish"] AS allergens
MATCH (product:Product)
WHERE all(allergen in allergens
WHERE not((product)-[:CONTAINS_ALLERGEN]->(:Allergen {name: allergen})))
WITH count(*) AS count, collect(product.name) AS products
RETURN count,
apoc.math.round(count*1.0/custom.productCount(), 2) AS percentage,
products
----
== How many hot things can I eat in Itsu?
Let's say I want to eat something from the `hot` category.
We haven't modelled that in our graph, but it is embedded in the `url` property stored on each product.
The following query will find the products that I can eat in this category:
[source,cypher]
----
WITH ["crustaceans", "nuts", "peanuts", "egg", "dairy", "fish"] AS allergens
MATCH (product:Product)
WHERE all(allergen in allergens
WHERE not((product)-[:CONTAINS_ALLERGEN]->(:Allergen {name: allergen})))
WITH product WHERE split(product.url, "/")[-3] = "hot"
RETURN product.name AS product, product.url AS url,
[(product)-[:CONTAINS_ALLERGEN]->(allergen) | allergen.name] AS allergens
----
.Which hot things can I eat in Itsu?
[opts="header", cols="1,2,3"]
|===
| product | url | allergens
| "veggie rice’bowl & quinoa burgers" | "https://www.itsu.com/menu/hot/quinoa-falafel-veg-ricebowl/" | ["sulphur dioxide", "sesame", "mustard", "celery", "soya", "gluten"]
| "winter wonderland" | "https://www.itsu.com/menu/hot/winter-wonderland/" | ["sesame", "mustard", "celery", "soya", "gluten"]
| "christmas cracker gyoza" | "https://www.itsu.com/menu/hot/christmas-cracker-gyoza/" | ["sesame", "soya", "gluten"]
| "detox miso’noodle soup" | "https://www.itsu.com/menu/hot/detox-noodles/" | ["soya", "sesame", "gluten"]
| "vegetable fusion gyoza" | "https://www.itsu.com/menu/hot/vegetable-fusion-gyoza/" | ["soya", "sesame", "gluten"]
| "chicken noodle soup" | "https://www.itsu.com/menu/hot/the-chicken-noodle-soup/" | ["mustard", "soya", "celery", "sulphur dioxide", "gluten", "sesame"]
| "miso soup" | "https://www.itsu.com/menu/hot/miso-soup/" | ["soya"]
| "coconut chicken soup" | "https://www.itsu.com/menu/hot/coconutchicken-greens/" | ["sulphur dioxide", "sesame", "soya", "mustard", "celery"]
| "thai chicken rice’bowl" | "https://www.itsu.com/menu/hot/chicken-thai-ricebowl/" | ["celery", "sulphur dioxide", "sesame", "mustard", "soya", "gluten"]
| "veggie’gyoza udon " | "https://www.itsu.com/menu/hot/veggie-gyoza-noodles/" | ["celery", "sesame", "sulphur dioxide", "mustard", "soya", "gluten"]
| "spicy korean chicken rice’bowl" | "https://www.itsu.com/menu/hot/korean-bbq-chicken-ricebowl/" | ["gluten", "sesame", "soya", "mustard", "celery", "sulphur dioxide"]
| "veggie thai soup" | "https://www.itsu.com/menu/hot/thai-coconut-veggierice/" | ["celery", "soya", "mustard", "sulphur dioxide", "sesame"]
| "i’thai udon [stir-fry style]" | "https://www.itsu.com/menu/hot/ithai-udon-noodles-yaki-udon/" | ["gluten", "sesame", "mustard", "celery", "soya", "sulphur dioxide"]
| "hoisin duck bao buns" | "https://www.itsu.com/menu/hot/hoisin-duck-bao-buns/" | ["sesame", "soya", "gluten", "mullusc"]
| "chilli’chicken udon" | "https://www.itsu.com/menu/hot/chilli-chicken-udon-2/" | ["sulphur dioxide", "celery", "soya", "sesame", "gluten", "mustard"]
| "teriyaki chicken rice’bowl" | "https://www.itsu.com/menu/hot/chicken-teriyaki-ricebowl/" | ["mustard", "gluten", "celery", "sesame", "soya", "sulphur dioxide"]
| "chargrilled chicken udon" | "https://www.itsu.com/menu/hot/chargrilled-chicken-noodles/" | ["sulphur dioxide", "celery", "sesame", "mustard", "soya", "gluten"]
|===
It occurs to me after writing this post that this dataset would be much easier to explore via a web app, so perhaps a GRANDstack allergen application is the next thing in my future. | Learn how to build a graph of Itsu allergens. | uploads/2019/12/GUIDE_LOGO_itsu.png | [
0.010160427540540695,
0.005184028763324022,
-0.013953995890915394,
0.029172061011195183,
0.062250517308712006,
0.01597532629966736,
0.01070527732372284,
0.059229325503110886,
0.022201789543032646,
-0.02563662640750408,
-0.022377921268343925,
-0.004953047726303339,
-0.054010119289159775,
0.026759300380945206,
-0.009786483831703663,
0.0670526847243309,
0.06230984628200531,
0.03750742971897125,
0.01550757884979248,
0.013742558658123016,
0.011440726928412914,
0.041884180158376694,
0.008707673288881779,
0.02623061090707779,
0.04897496476769447,
-0.0024383007548749447,
0.03312145546078682,
0.02115646004676819,
-0.05641043558716774,
0.01022103801369667,
0.0413682647049427,
-0.0006167489336803555,
0.008706051856279373,
-0.01496951375156641,
0.049089498817920685,
0.0026419495698064566,
-0.01679912582039833,
0.02070063166320324,
-0.022539300844073296,
0.01428916584700346,
-0.07920364290475845,
0.05961455777287483,
-0.011020475067198277,
0.007318708114326,
-0.03638690710067749,
0.01789114624261856,
-0.039380308240652084,
0.022427521646022797,
-0.00961644109338522,
-0.007187255192548037,
-0.0637667253613472,
0.014589316211640835,
-0.0351431779563427,
-0.0067284973338246346,
-0.03112635761499405,
0.042314909398555756,
-0.0022355003748089075,
-0.03607064485549927,
0.022354459390044212,
-0.02250627800822258,
-0.0013342230813577771,
0.0010480829514563084,
0.0136400843039155,
0.02343323640525341,
0.028508827090263367,
-0.018756596371531487,
-0.021667608991265297,
0.03892401605844498,
-0.04162268713116646,
0.0060545033775269985,
0.008241823874413967,
0.007347267586737871,
-0.04079793021082878,
0.017245154827833176,
0.011672759428620338,
-0.04851759597659111,
-0.034497346729040146,
0.05317191407084465,
-0.010457001626491547,
0.042308684438467026,
-0.032096222043037415,
0.0142666669562459,
0.003950690384954214,
0.015101908706128597,
-0.017792895436286926,
-0.05964946001768112,
-0.03606440871953964,
0.0000531035584572237,
-0.05458527430891991,
0.048709724098443985,
0.039682526141405106,
-0.04335353896021843,
0.026715006679296494,
0.009957029484212399,
-0.023264804854989052,
-0.006252887658774853,
0.025582250207662582,
-0.013613646849989891,
-0.010728644207119942,
-0.01620841585099697,
-0.05798425152897835,
-0.016488799825310707,
0.026908136904239655,
0.018455831333994865,
-0.10475638508796692,
-0.02934226579964161,
-0.00544683588668704,
-0.002432611072435975,
-0.004207043908536434,
-0.010295187123119831,
-0.00750249158591032,
0.016846509650349617,
-0.04953344538807869,
0.006665172055363655,
-0.10611961036920547,
0.09233413636684418,
0.03859161585569382,
-0.033511143177747726,
-0.005316390655934811,
-0.01627524383366108,
0.07003682851791382,
-0.007530995178967714,
-0.021785367280244827,
0.07154402136802673,
0.01331246830523014,
0.02317122556269169,
-0.01347221527248621,
0.04103805124759674,
0.0056894016452133656,
-0.04549742490053177,
-0.02186305820941925,
0.07434723526239395,
-0.02126951329410076,
-0.0039032972417771816,
0.00003635659959400073,
-0.0005780413630418479,
0.007092257495969534,
-0.005473626311868429,
0.07646249234676361,
0.021269159391522408,
0.0055941990576684475,
-0.025420021265745163,
-0.0017697506118565798,
0.012316092848777771,
0.0318753607571125,
-0.007259654346853495,
0.0077135819010436535,
-0.0347399041056633,
-0.03181954100728035,
-0.008818506263196468,
0.031428515911102295,
-0.004087510053068399,
0.0476594939827919,
-0.019369205459952354,
0.015766849741339684,
0.09995336085557938,
0.039122845977544785,
0.013400590978562832,
-0.02999746799468994,
-0.0012533011613413692,
0.047588735818862915,
0.04776971414685249,
0.011040209792554379,
0.03173091635107994,
-0.008596178144216537,
-0.028171764686703682,
-0.032806217670440674,
0.07179700583219528,
-0.018411753699183464,
-0.0022038379684090614,
-0.050427183508872986,
-0.07438589632511139,
0.04951178655028343,
-0.032270390540361404,
-0.007848512381315231,
0.05671462044119835,
0.07845989614725113,
0.014070612378418446,
0.024703139439225197,
0.01978912390768528,
-0.08202843368053436,
0.02972390502691269,
0.031222965568304062,
0.032929927110672,
0.0267094224691391,
-0.001257574767805636,
0.07383236289024353,
0.026867663487792015,
0.020227482542395592,
0.04231173172593117,
-0.07382749021053314,
-0.09072156250476837,
-0.024239806458353996,
0.009115977212786674,
0.04172073304653168,
-0.026851167902350426,
0.006868594791740179,
0.08538481593132019,
0.009308239445090294,
0.02955584228038788,
0.0023112234193831682,
-0.004220928996801376,
0.011080535128712654,
-0.05522868037223816,
-0.09287586063146591,
0.03567115217447281,
0.020965391770005226,
-0.016154315322637558,
-0.03782263398170471,
-0.0017711938126012683,
-0.01841355860233307,
-0.003030800726264715,
0.044525835663080215,
-0.034737054258584976,
0.029813533648848534,
0.012949537485837936,
0.0772692933678627,
-0.00635202182456851,
0.05511268228292465,
-0.05779058113694191,
0.025820991024374962,
0.021929722279310226,
-0.02042960748076439,
-0.019458895549178123,
-0.008666382171213627,
0.11195652186870575,
0.08345343917608261,
-0.021189766004681587,
-0.04940906912088394,
0.03000096045434475,
0.02322033792734146,
-0.05285048857331276,
0.004114699549973011,
-0.02979900874197483,
-0.028924275189638138,
-0.012518136762082577,
-0.01998237706720829,
-0.02976498194038868,
0.01774999313056469,
-0.05087793245911598,
-0.017135603353381157,
0.06232340261340141,
-0.012558073736727238,
0.06646464765071869,
0.0044104065746068954,
-0.026651401072740555,
-0.03588302433490753,
0.008187726140022278,
-0.04197428375482559,
0.0022881824988871813,
0.02001991868019104,
0.005952820181846619,
0.026488948613405228,
-0.01937517710030079,
-0.03040505200624466,
-0.02399149350821972,
-0.036035820841789246,
0.05617450550198555,
0.06774716824293137,
0.07908451557159424,
-0.02127617783844471,
0.05409127101302147,
-0.009476653300225735,
0.03661417216062546,
-0.013872366398572922,
-0.04990629851818085,
-0.058353956788778305,
-0.01926543191075325,
-0.012821388430893421,
0.02125772461295128,
0.04360734298825264,
0.02537340670824051,
-0.008419890888035297,
0.010172066278755665,
0.01648728735744953,
-0.0017755258595570922,
0.030051158741116524,
0.04329605773091316,
-0.0025667031295597553,
-0.006506456062197685,
-0.010051093995571136,
0.08458249270915985,
-0.03890832141041756,
-0.01955287531018257,
-0.0021438056137412786,
-0.07689457386732101,
0.037385981529951096,
-0.07172396779060364,
-0.05439428985118866,
0.004311108961701393,
0.009412792511284351,
0.042485542595386505,
0.006231967359781265,
-0.018396148458123207,
0.02303529530763626,
-0.01197344996035099,
-0.0014650742523372173,
0.02163543365895748,
0.009636028669774532,
0.03610707446932793,
-0.006513355765491724,
0.003150005592033267,
0.025403277948498726,
0.013261516578495502,
0.0059808422811329365,
-0.0610085092484951,
0.04744927957653999,
-0.04477498307824135,
-0.30244484543800354,
0.02667354792356491,
0.018031883984804153,
-0.03470960631966591,
0.01699233055114746,
-0.01781345158815384,
0.007655307650566101,
-0.046199798583984375,
-0.005399706773459911,
0.031779695302248,
0.00026272761169821024,
-0.04210434481501579,
0.003699920605868101,
0.038012534379959106,
0.013799449428915977,
0.03192080184817314,
0.017828740179538727,
-0.05227544903755188,
0.002224119147285819,
0.03595441207289696,
0.00541933998465538,
-0.07215367257595062,
-0.020666582509875298,
0.06318116933107376,
0.004784524440765381,
0.03820767253637314,
-0.05015262961387634,
0.01962670497596264,
-0.06523715704679489,
-0.01740715466439724,
0.024116666987538338,
-0.013974273577332497,
0.012721567414700985,
-0.019593138247728348,
-0.009214301593601704,
-0.03462623804807663,
0.03216929733753204,
-0.009376578964293003,
-0.00671328604221344,
-0.0023747074883431196,
-0.010025173425674438,
-0.020238397642970085,
-0.004532943479716778,
-0.0010699776466935873,
0.08587073534727097,
-0.02377782203257084,
-0.07447550445795059,
-0.021454645320773125,
-0.024000918492674828,
0.07724805176258087,
-0.0012949571246281266,
-0.02776547335088253,
-0.041275180876255035,
0.047744810581207275,
-0.014239411801099777,
0.015586230903863907,
-0.020077159628272057,
-0.007418402470648289,
-0.05102592334151268,
-0.03822652995586395,
-0.03288565203547478,
-0.02304629608988762,
-0.036839473992586136,
-0.031351398676633835,
-0.011589650996029377,
-0.05079410970211029,
-0.05278873071074486,
-0.027332790195941925,
0.06582958251237869,
0.0175790898501873,
-0.040668267756700516,
-0.003067450597882271,
-0.0017785498639568686,
-0.10656347870826721,
-0.002029750496149063,
-0.01380175817757845,
-0.029843319207429886,
0.022729061543941498,
0.014073741622269154,
0.04171246662735939,
-0.04464343190193176,
-0.0790114626288414,
0.03141007944941521,
0.004050279967486858,
-0.000318435748340562,
-0.030518528074026108,
0.037933528423309326,
0.010715260170400143,
-0.014443319290876389,
0.004353948403149843,
0.06697818636894226,
0.01188366673886776,
-0.028270289301872253,
-0.028424523770809174,
-0.011624320410192013,
0.036754388362169266,
0.0021150633692741394,
-0.015184219926595688,
0.01321406289935112,
0.04954087734222412,
0.014926713891327381,
-0.055028434842824936,
0.009875385090708733,
-0.008922458626329899,
-0.017655545845627785,
-0.012452669441699982,
-0.03329384699463844,
-0.01631798781454563,
0.027297386899590492,
-0.014449435286223888,
-0.002139718271791935,
-0.02960243634879589,
0.01202322170138359,
-0.053311195224523544,
-0.03294960781931877,
0.0007115341140888631,
0.03278595209121704,
0.02872421219944954,
0.023014739155769348,
-0.022706376388669014,
-0.02917277067899704,
0.022006191313266754,
-0.009451599791646004,
-0.03114401362836361,
-0.037130311131477356,
-0.039973944425582886,
-0.0032469602301716805,
-0.01461879163980484,
0.020124686881899834,
0.03878452628850937,
-0.007675779517740011,
0.01625036634504795,
0.03360690176486969,
-0.023820951581001282,
0.03587697446346283,
-0.007635974325239658,
-0.06048165261745453,
-0.04220128804445267,
-0.0022084673400968313,
-0.005222166422754526,
-0.014512079767882824,
0.03398967161774635,
0.009191294200718403,
0.012227839790284634,
0.0447530597448349,
0.016331590712070465,
0.028960946947336197,
-0.006668079644441605,
0.013499426655471325,
0.020431259647011757,
-0.026563767343759537,
-0.01157376728951931,
0.022458577528595924,
-0.010685601271688938,
-0.01789730414748192,
0.0006491185049526393,
0.06726035475730896,
0.010581783019006252,
-0.054366085678339005,
-0.042959120124578476,
-0.00675959512591362,
-0.06900520622730255,
-0.019440727308392525,
-0.0017390877474099398,
0.0005730457487516105,
0.05969914793968201,
0.019867580384016037,
-0.0005255274008959532,
0.000006950399438210297,
0.009048166684806347,
0.036095306277275085,
0.020520944148302078,
-0.022858459502458572,
0.024737803265452385,
-0.009223602712154388,
-0.011205385439097881,
-0.0013534048339352012,
0.028632162138819695,
0.02144368179142475,
0.014898301102221012,
-0.019426967948675156,
-0.012183739803731441,
0.010194581001996994,
0.012446802109479904,
0.051375988870859146,
0.026150505989789963,
-0.04673095420002937,
-0.01653571054339409,
0.003808659501373768,
-0.013517357409000397,
-0.023344840854406357,
-0.011413278058171272,
-0.012234860099852085,
0.01082494854927063,
-0.016833147034049034,
-0.08016129583120346,
0.03787674009799957,
-0.0018499158322811127,
0.006180915515869856,
0.02698838897049427,
-0.01924188807606697,
0.0031008401419967413,
-0.0286234300583601,
0.036849625408649445,
0.025011755526065826,
-0.069624163210392,
-0.003157004015520215,
-0.0031389635987579823,
0.008059036917984486,
0.011596516706049442,
0.005298998672515154,
-0.047707512974739075,
0.009794921614229679,
-0.011837095953524113,
0.0143224922940135,
-0.04206095635890961,
-0.040621254593133926,
-0.008629201911389828,
0.02704305201768875,
-0.008670525625348091,
-0.025958329439163208,
-0.003194693708792329,
-0.008037708699703217,
-0.008407884277403355,
-0.030247056856751442,
0.046723734587430954,
-0.027682937681674957,
-0.023994343355298042,
0.015022465027868748,
-0.041420381516218185,
0.016642626374959946,
-0.02504926547408104,
0.025496451184153557,
0.02393803372979164,
-0.02334786206483841,
0.03160473331809044,
-0.02646406553685665,
-0.011857512407004833,
0.015354352071881294,
0.04470721259713173,
-0.01657078042626381,
-0.031424373388290405,
-0.04669596627354622,
0.00694959657266736,
-0.015029327012598515,
0.019348034635186195,
0.011710572987794876,
-0.019471904262900352,
0.013012029230594635,
0.04339656978845596,
0.006249046418815851,
0.01868995651602745,
0.00516867870464921,
-0.044433943927288055,
0.04873558133840561,
-0.07685095071792603,
-0.03476417809724808,
-0.006665539927780628,
-0.0669076219201088,
0.01734638400375843,
0.01168960053473711,
0.061614833772182465,
-0.014713739976286888,
0.06731870025396347,
0.027518173679709435,
0.023551328107714653,
0.01891777291893959,
-0.001903003896586597,
0.012781909666955471,
-0.04895775392651558,
-0.014984271489083767,
-0.08066011220216751,
0.0075751058757305145,
0.03203114867210388,
-0.0012369699543341994,
-0.017518963664770126,
0.0007112537859939039,
-0.05801975354552269,
0.03201838582754135,
-0.06363551318645477,
-0.01687701791524887,
0.013269140385091305,
-0.003402027999982238,
-0.005796897690743208,
0.006037203129380941,
-0.051854208111763,
0.007263371720910072,
0.04417981579899788,
-0.051974620670080185,
-0.005721881985664368,
-0.0014841672964394093,
0.06302782893180847,
-0.013171748258173466,
0.02333003468811512,
-0.0326710119843483,
-0.006341757718473673,
0.07600124925374985,
0.014462141320109367,
0.003277179319411516,
0.03443381190299988,
-0.03119940683245659,
0.030848288908600807,
0.019874274730682373,
0.015240868553519249,
0.012804466299712658,
0.025812190026044846,
0.002741486532613635,
-0.05625500530004501,
0.019002702087163925,
-0.002148058731108904,
-0.029000727459788322,
-0.05896928161382675,
0.06197489798069,
0.019003313034772873,
-0.029518429189920425,
-0.0334632508456707,
0.02351381815969944,
-0.06480905413627625,
0.008785308338701725,
-0.0137569485232234,
-0.007964392192661762,
-0.06498723477125168,
0.04342598468065262,
-0.01514822244644165,
0.01530207134783268,
0.056298933923244476,
-0.01151391863822937,
0.024983001872897148,
-0.0010538945207372308,
0.09556813538074493,
0.0663074254989624,
0.04381229728460312,
0.008532727137207985,
0.07272326201200485,
-0.01388255599886179,
-0.04028112441301346,
0.004878037143498659,
-0.024250125512480736,
-0.020678287371993065,
-0.016146788373589516,
0.004193978384137154,
0.044594261795282364,
-0.007571344263851643,
0.05050141364336014,
-0.0035890168510377407,
-0.013278868049383163,
-0.0162994172424078,
0.019166097044944763,
0.03273831680417061,
0.0569629929959774,
-0.022341350093483925,
0.03667505085468292,
-0.02749156951904297,
-0.05107619985938072,
0.03928159177303314,
-0.027496827766299248,
-0.041811104863882065,
-0.005671241786330938,
-0.03650032356381416,
0.041680581867694855,
0.009554600343108177,
0.054768070578575134,
0.07557878643274307,
-0.03890053555369377,
0.006438361946493387,
-0.0037568474654108286,
0.01757539063692093,
-0.002383130369707942,
0.023192385211586952,
0.0049463375471532345,
-0.023928511887788773,
-0.015083842910826206,
-0.03789077699184418,
-0.0011855891207233071,
-0.015172205865383148,
-0.0018183630891144276,
0.03344793617725372,
-0.023636698722839355,
-0.013270196504890919,
0.04864909127354622,
0.0014691349351778626,
-0.03115799091756344,
-0.05011722072958946,
-0.05226292088627815,
-0.022506825625896454,
-0.04765654727816582,
-0.022210851311683655,
0.007155788131058216,
-0.010287411510944366,
-0.03194230794906616,
-0.006736105307936668,
0.015218265354633331,
-0.016703831031918526,
0.03606538847088814,
-0.062107399106025696,
-0.01153844129294157,
0.0013122140662744641,
0.013005095534026623,
0.007293811999261379,
-0.025376392528414726,
0.06183870881795883,
0.009097820147871971,
-0.008978353813290596,
-0.019570279866456985,
0.020586136728525162,
0.06751445680856705,
0.013243494555354118,
0.028311261907219887,
-0.09180036932229996,
0.01137307658791542,
-0.002965662395581603,
-0.014789767563343048,
-0.06716205179691315,
0.013416450470685959,
0.01026612613350153,
-0.020783666521310806,
0.041871629655361176,
-0.015419985167682171,
-0.01560292486101389,
-0.05982736870646477,
-0.019895002245903015,
-0.009277855046093464,
-0.009053212590515614,
0.028612082824110985,
-0.025117861106991768,
0.0891285315155983,
0.022303802892565727,
-0.0004890511627309024,
-0.02738822251558304,
0.001933903549797833,
-0.0009392103529535234,
0.015281600877642632,
-0.03644949197769165,
-0.03444075211882591,
-0.04452988877892494,
-0.08073515444993973,
-0.027828967198729515,
0.020090295001864433,
-0.01029786467552185,
-0.018464230000972748,
0.025154685601592064,
-0.0028133222367614508,
-0.005524647422134876,
0.045149628072977066,
-0.03394639119505882,
0.027969269081950188,
-0.018593348562717438,
-0.006668558344244957,
-0.027502594515681267,
0.029421325773000717,
0.0048365467227995396,
0.018668940290808678,
0.023901965469121933,
-0.04431408643722534,
-0.003561322810128331,
-0.03465842828154564,
0.01861606352031231,
0.051644664257764816,
0.005170150194317102,
0.024329809471964836
] | [
-0.04112005978822708,
-0.01968858391046524,
-0.009316309355199337,
0.0024219690822064877,
0.06884928047657013,
-0.03103104792535305,
0.034773144870996475,
0.053772468119859695,
-0.058696627616882324,
-0.020171187818050385,
-0.03122871182858944,
-0.06855836510658264,
-0.009749554097652435,
-0.005711055360734463,
0.08722219616174698,
-0.019476458430290222,
0.030498404055833817,
-0.09813042730093002,
-0.03634452074766159,
0.04129572585225105,
-0.008299745619297028,
-0.004056899342685938,
-0.03861421346664429,
-0.03235834464430809,
0.026785530149936676,
0.005059333052486181,
0.06683729588985443,
0.015232757665216923,
-0.0060404036194086075,
-0.1679726243019104,
0.02114490419626236,
-0.009525517001748085,
0.05352545529603958,
-0.008572980761528015,
-0.030007781460881233,
0.035404354333877563,
0.05055595934391022,
-0.0043822526931762695,
0.026747943833470345,
0.03243379667401314,
0.04180988296866417,
0.0179534200578928,
-0.0372755229473114,
-0.008562871254980564,
0.04523535072803497,
0.023210570216178894,
-0.01632622443139553,
-0.010946863330900669,
0.029870327562093735,
0.009616291150450706,
-0.047731999307870865,
0.014335074461996555,
0.021088862791657448,
0.008996847085654736,
-0.007132262922823429,
0.0282128918915987,
0.0108239920809865,
0.005195846781134605,
-0.006026938557624817,
0.028791114687919617,
0.00032858119811862707,
-0.00898313894867897,
-0.1138739213347435,
0.1333625167608261,
0.0023721749894320965,
0.025149011984467506,
-0.04941130802035332,
0.005522954743355513,
-0.01644127629697323,
0.053731419146060944,
-0.0033689297270029783,
-0.025073228403925896,
-0.005550652276724577,
0.06495757400989532,
0.001809914130717516,
0.0009150273399427533,
-0.0006629389245063066,
0.02846105583012104,
0.009124734438955784,
-0.03192323446273804,
-0.030825860798358917,
0.028110206127166748,
-0.021123046055436134,
-0.04133155941963196,
-0.009745565243065357,
0.0020310773979872465,
-0.012094703502953053,
0.05078621953725815,
0.033255401998758316,
0.03392898291349411,
0.041795514523983,
-0.034077808260917664,
0.018468860536813736,
-0.018319353461265564,
-0.06521718204021454,
-0.030153900384902954,
-0.033150769770145416,
0.011378246359527111,
-0.04350055381655693,
0.436466246843338,
-0.032273512333631516,
-0.012677391991019249,
0.057651128619909286,
0.010214912705123425,
-0.01786598563194275,
-0.004971503745764494,
-0.0031246296130120754,
-0.07600414752960205,
0.022900415584445,
-0.009686253033578396,
0.01287014875560999,
0.01803794503211975,
0.09084740281105042,
-0.045816466212272644,
0.01727009378373623,
-0.006994493771344423,
0.06416630744934082,
-0.0037776660174131393,
0.030443435534834862,
0.004830009303987026,
-0.023189112544059753,
0.0038548402953892946,
0.014794131740927696,
0.0009116829023696482,
-0.00659354729577899,
-0.026381058618426323,
0.04647965729236603,
0.03067103959619999,
0.01384033914655447,
0.038805000483989716,
0.07704681903123856,
-0.060860760509967804,
-0.024491464719176292,
0.03595900535583496,
0.002899633254855871,
-0.007784975226968527,
0.06125441566109657,
-0.0077607291750609875,
0.029430830851197243,
0.057072628289461136,
-0.02696443721652031,
-0.05884641781449318,
0.008890408091247082,
-0.08070144057273865,
-0.025744620710611343,
0.12182767689228058,
0.031233932822942734,
-0.025488529354333878,
-0.02579837292432785,
-0.018392808735370636,
0.03038761019706726,
0.04146292060613632,
0.013749340549111366,
-0.030197152867913246,
0.0030177028384059668,
0.01955484040081501,
0.04842250049114227,
-0.024505754932761192,
0.00034461499308235943,
-0.009967162273824215,
0.02616691030561924,
-0.05574483424425125,
-0.011453813873231411,
0.015166723169386387,
0.04499014467000961,
-0.11659552156925201,
-0.04416021332144737,
0.00972669292241335,
0.042506396770477295,
-0.06356237083673477,
0.04233411327004433,
0.038915276527404785,
-0.04547972232103348,
0.007732222322374582,
0.05538208410143852,
0.017849918454885483,
-0.010017809458076954,
0.018200699239969254,
0.02401755563914776,
0.010153250768780708,
-0.0007732024532742798,
0.0011035905918106437,
-0.047408707439899445,
-0.027111798524856567,
-0.03435396030545235,
-0.0743848979473114,
-0.061269115656614304,
0.011707116849720478,
-0.020750924944877625,
0.0019291257485747337,
0.0018929168581962585,
-0.054753102362155914,
-0.09930659085512161,
0.07167534530162811,
-0.03076063096523285,
-0.025027770549058914,
-0.0361720509827137,
-0.014899605885148048,
0.024788230657577515,
-0.03219145908951759,
0.018587788566946983,
-0.03239786997437477,
-0.0373850092291832,
0.030634403228759766,
-0.011550680734217167,
0.06644468009471893,
0.06242755800485611,
-0.03827759623527527,
0.12805119156837463,
0.01583605632185936,
-0.011386459693312645,
0.014126948080956936,
-0.006437386851757765,
0.04314996302127838,
0.010006322525441647,
-0.0014216704294085503,
0.023232262581586838,
-0.025416012853384018,
0.02558792568743229,
0.015021102502942085,
0.040847789496183395,
-0.003317211987450719,
-0.08426646888256073,
-0.3421255052089691,
-0.02596348710358143,
-0.027161292731761932,
0.016848808154463768,
-0.0033206362277269363,
-0.039902571588754654,
-0.01655656471848488,
-0.028551500290632248,
0.021722925826907158,
0.02413048967719078,
0.10016196966171265,
0.02578638680279255,
0.034531451761722565,
-0.07177021354436874,
0.0022540476638823748,
0.03528948128223419,
0.029386844485998154,
-0.008011489175260067,
0.013325290754437447,
0.044715315103530884,
-0.0036303855013102293,
-0.014238587580621243,
-0.015869542956352234,
-0.022639291360974312,
-0.002648733789101243,
-0.04431098327040672,
0.14758415520191193,
0.026636434718966484,
0.021281475201249123,
-0.05852748826146126,
0.015806864947080612,
-0.009874233044683933,
-0.005446923431009054,
-0.08303245157003403,
0.0006218630005605519,
-0.022228410467505455,
-0.03696189075708389,
-0.029435183852910995,
-0.033314187079668045,
-0.04441509023308754,
-0.0589933767914772,
0.011698005720973015,
-0.06825769692659378,
-0.05822470039129257,
-0.05367434024810791,
0.006718521472066641,
0.015034121461212635,
-0.010085192508995533,
-0.030813399702310562,
0.07458163052797318,
0.020223034545779228,
0.01140252873301506,
0.010662533342838287,
0.019755378365516663,
-0.020065736025571823,
-0.0131988525390625,
-0.048934172838926315,
-0.018805881962180138,
-0.031728193163871765,
0.0007688070181757212,
-0.00972170289605856,
0.05739285796880722,
0.058425214141607285,
-0.05504784360527992,
-0.029677120968699455,
0.009369670413434505,
0.009023581631481647,
0.0033117092680186033,
0.027748387306928635,
0.01775754615664482,
-0.06102646514773369,
0.10490410029888153,
-0.009546556510031223,
-0.011585618369281292,
0.016705097630620003,
0.039298295974731445,
-0.012063471600413322,
0.011775868944823742,
-0.005047278944402933,
0.012100914493203163,
0.03378003463149071,
-0.014461496844887733,
0.015031913295388222,
-0.0025793605018407106,
-0.017199654132127762,
0.05656431242823601,
-0.024502385407686234,
-0.07024058699607849,
0.05553913116455078,
0.004929894581437111,
0.033263131976127625,
-0.00847537349909544,
-0.013602321036159992,
-0.053433857858181,
0.07103753089904785,
0.006216330919414759,
-0.2709403932094574,
0.03299117460846901,
0.03854529187083244,
0.07494068890810013,
0.00021347875008359551,
-0.0022741782013326883,
0.0005511387134902179,
-0.03758161887526512,
0.015820307657122612,
0.004577480256557465,
0.03819400444626808,
0.010255134664475918,
0.01697273924946785,
-0.03269107639789581,
0.02240169048309326,
-0.03956925868988037,
0.024982446804642677,
-0.001116273459047079,
0.011991438455879688,
-0.008423826657235622,
0.012426012195646763,
-0.026420867070555687,
0.15191684663295746,
0.0720895379781723,
-0.05455626919865608,
0.02904386632144451,
-0.022601185366511345,
0.018332239240407944,
0.016647081822156906,
0.036736924201250076,
0.01805250160396099,
-0.022572338581085205,
0.010537290945649147,
0.008058363571763039,
0.048233699053525925,
-0.08490462601184845,
-0.05572523921728134,
0.009444446302950382,
0.007773994468152523,
0.0036430535838007927,
-0.020184332504868507,
-0.00695877056568861,
-0.07927878201007843,
-0.009221969172358513,
0.0656689926981926,
-0.031241077929735184,
-0.012685440480709076,
-0.02838686667382717,
-0.04872249439358711,
0.004537448287010193,
-0.003243668470531702,
-0.07681436091661453,
-0.008337195962667465,
0.014583177864551544,
0.0011875047348439693,
0.04625586047768593,
0.0010746647603809834,
-0.03725866973400116,
-0.024702375754714012,
0.015683040022850037,
-0.005777386482805014,
-0.018446676433086395,
0.022963443771004677,
0.03966103866696358,
0.056932609528303146
] | [
-0.0010937805054709315,
0.04554375633597374,
-0.010583572089672089,
-0.0034707256127148867,
0.010300550609827042,
0.018457354977726936,
0.01843392848968506,
-0.0001812782429624349,
-0.04871654883027077,
-0.033147115260362625,
0.040143053978681564,
0.008644635789096355,
0.023221679031848907,
-0.02023298479616642,
0.03899180516600609,
-0.03854632377624512,
0.013559205457568169,
-0.04147615283727646,
0.01638628914952278,
-0.03885926306247711,
-0.01721465215086937,
0.013107426464557648,
0.025138704106211662,
0.00425337627530098,
-0.0433770976960659,
0.03235753998160362,
-0.035060182213783264,
0.013406217098236084,
0.02482527121901512,
-0.13565534353256226,
0.0009855797979980707,
-0.007405150216072798,
0.012393937446177006,
-0.005248271394520998,
0.0010530384024605155,
-0.029584571719169617,
0.020726975053548813,
-0.010864020325243473,
0.02614034339785576,
0.014855271205306053,
0.0036829800810664892,
-0.005010917782783508,
-0.03817564994096756,
-0.00756873982027173,
-0.009879511781036854,
-0.015888001769781113,
-0.029650907963514328,
-0.010300817899405956,
0.005150961689651012,
0.05173127353191376,
-0.03621227294206619,
0.01780409924685955,
0.00019728342886082828,
-0.00783013179898262,
0.01701425202190876,
-0.027255963534116745,
-0.03633108735084534,
-0.03643357381224632,
-0.020158734172582626,
-0.00769296009093523,
0.01695745252072811,
-0.028991641476750374,
-0.039948105812072754,
0.011480266228318214,
0.030965829268097878,
0.006668987683951855,
-0.050400976091623306,
0.006990302819758654,
-0.04250562936067581,
0.01166909746825695,
0.02228601463139057,
0.005398412700742483,
-0.03421395272016525,
-0.006579484324902296,
-0.003147025126963854,
-0.039066195487976074,
0.02679591067135334,
-0.021672522649168968,
-0.03829944506287575,
0.003075292566791177,
-0.05458479002118111,
0.030581599101424217,
-0.0005336760077625513,
-0.011372852139174938,
-0.017099779099225998,
-0.006225329823791981,
-0.0003317768278066069,
-0.014287464320659637,
0.03677266463637352,
0.0057443249970674515,
-0.0023090175818651915,
-0.029902826994657516,
0.000493358529638499,
-0.010655258782207966,
-0.08092531561851501,
0.0065550729632377625,
0.011061902157962322,
-0.037169232964515686,
-0.008372560143470764,
0.829865038394928,
-0.00362513680011034,
-0.017078785225749016,
0.04006213694810867,
-0.0019954112358391285,
0.015532548539340496,
-0.004192305728793144,
0.009318015538156033,
0.014810791239142418,
0.04092514514923096,
-0.0010061269858852029,
-0.020592350512742996,
0.042934440076351166,
0.007292250171303749,
0.038989000022411346,
-0.033643390983343124,
-0.01849694922566414,
0.03006613627076149,
-0.0679745003581047,
-0.011660020798444748,
0.01798606477677822,
-0.005805704277008772,
0.01814861409366131,
-0.009958136826753616,
0.040990013629198074,
0.010928143747150898,
-0.1310412734746933,
0.012345259077847004,
-7.271921029557577e-33,
0.00005041102122049779,
-0.02731364779174328,
0.029663527384400368,
-0.013385700061917305,
0.028239311650395393,
0.009956281632184982,
-0.006546226795762777,
0.008583667688071728,
-0.026825057342648506,
0.016035331413149834,
-0.008370132185518742,
0.02074948139488697,
-0.01539563573896885,
0.010605094023048878,
0.03554079681634903,
-0.011789953336119652,
0.033690664917230606,
0.023227591067552567,
0.018045637756586075,
-0.044593695551157,
0.007428931538015604,
0.02563653141260147,
0.025962812826037407,
0.05819844454526901,
0.006536852568387985,
0.05984187498688698,
0.014604298397898674,
0.04330635443329811,
-0.0014890509191900492,
-0.03894874453544617,
-0.007436749059706926,
-0.005566604435443878,
-0.0075760032050311565,
-0.025971317663788795,
-0.03282162919640541,
-0.050590403378009796,
-0.03603063151240349,
-0.01216248981654644,
-0.04173745959997177,
-0.058081116527318954,
-0.017189906910061836,
0.0011773305013775826,
-0.014609364792704582,
0.012307730503380299,
-0.06091706454753876,
-0.0010482334764674306,
-0.022567037492990494,
0.00886855274438858,
-0.012020105496048927,
0.007514412049204111,
-0.007874312810599804,
0.032662779092788696,
0.026988539844751358,
-0.007775138597935438,
-0.06330031156539917,
0.012809409759938717,
0.006957523990422487,
-0.017344079911708832,
-0.011638592928647995,
-0.02582237496972084,
0.019758159294724464,
-0.005965236574411392,
0.01393796131014824,
0.03596876189112663,
0.006269311998039484,
0.009526227600872517,
0.039768386632204056,
-0.004747235681861639,
-0.003722680965438485,
0.013970640487968922,
-0.0388631634414196,
0.0024602795019745827,
0.009758970700204372,
-0.02506173402070999,
0.04633387550711632,
-0.049267977476119995,
-0.0126003697514534,
-0.01410866342484951,
0.0153750479221344,
0.05078264698386192,
0.04217308759689331,
-0.027092333883047104,
0.02380981110036373,
-0.011293509043753147,
-0.05947977676987648,
0.025078605860471725,
0.03045826219022274,
0.01908523216843605,
0.030520442873239517,
0.030680987983942032,
0.004443277604877949,
0.042928941547870636,
-0.011332716792821884,
-0.01764090545475483,
-0.018234416842460632,
6.515204622739391e-33,
-0.008912100456655025,
-0.033223699778318405,
0.014683444052934647,
0.0187063068151474,
0.028095094487071037,
-0.013376048766076565,
-0.009992256760597229,
0.050893306732177734,
-0.023993412032723427,
0.034708794206380844,
-0.0039327568374574184,
-0.02365293726325035,
-0.034272048622369766,
-0.01543012447655201,
0.04877881333231926,
0.057576779276132584,
0.04048954322934151,
0.018492529168725014,
0.009284952655434608,
-0.01805606484413147,
-0.020022151991724968,
0.014590957202017307,
0.005515147931873798,
0.045783232897520065,
-0.018007438629865646,
0.03383944556117058,
0.010279471054673195,
0.031246306374669075,
-0.015520433895289898,
-0.010302507318556309,
-0.001897901762276888,
-0.022414973005652428,
-0.0031937293242663145,
-0.009894505143165588,
0.004553868900984526,
0.020259281620383263,
-0.014860994182527065,
0.014462328515946865,
0.006039127707481384,
-0.005367264151573181,
0.05332363024353981,
-0.014912363141775131,
-0.027542749419808388,
0.03959624841809273,
0.02801189385354519,
0.009580838494002819,
-0.011775337159633636,
-0.0011383171658962965,
-0.01125890389084816,
0.02300577238202095,
0.0031731638591736555,
0.045741066336631775,
0.03639938309788704,
0.02355232648551464,
0.03551790118217468,
-0.02425173483788967,
-0.0002522041031625122,
-0.022866856306791306,
-0.04302014037966728,
-0.028580104932188988,
-0.016959305852651596,
-0.0024037982802838087,
-0.030342964455485344,
0.028034036979079247,
-0.01982302963733673,
-0.02654273621737957,
-0.03815436363220215,
-0.04553702846169472,
-0.0036720510106533766,
-0.009966003708541393,
-0.002206798642873764,
-0.014557315967977047,
-0.018789220601320267,
0.009554669260978699,
-0.01151815615594387,
0.009402884170413017,
0.003217998892068863,
0.01176995038986206,
-0.04648984968662262,
-0.004031623248010874,
0.027515701949596405,
-0.018793679773807526,
0.04768422245979309,
0.02275068312883377,
0.004574090242385864,
-0.004423175938427448,
-0.041759900748729706,
-0.003101626643911004,
0.03726791590452194,
0.02229352854192257,
0.007834099233150482,
-0.033878639340400696,
-0.0061479974538087845,
0.026065073907375336,
0.006188528146594763,
-1.2790811076968112e-8,
-0.027229705825448036,
-0.027874203398823738,
0.014256641268730164,
0.038330141454935074,
0.02023591659963131,
0.025943834334611893,
0.0008403425454162061,
-0.008614102378487587,
-0.00598426116630435,
0.0246878694742918,
0.03984749689698219,
-0.00914779957383871,
-0.029567310586571693,
0.03378934785723686,
-0.0011224336922168732,
-0.04149521514773369,
0.0073516154661774635,
-0.0030474215745925903,
0.03471772372722626,
0.014863160438835621,
0.02064577303826809,
0.051840394735336304,
0.045970551669597626,
-0.03682994097471237,
0.016178172081708908,
0.01365131139755249,
-0.008732679300010204,
-0.07804429531097412,
-0.021735018119215965,
-0.021049881353974342,
-0.011434236541390419,
-0.03814641013741493,
-0.04429754614830017,
0.014796605333685875,
-0.01810716837644577,
-0.054526057094335556,
0.022639058530330658,
0.027593230828642845,
-0.024720458313822746,
0.006188882980495691,
-0.01926915906369686,
0.006929070223122835,
-0.050121113657951355,
-0.03023393265902996,
-0.04496254771947861,
0.022851459681987762,
-0.04530135914683342,
0.017248492687940598,
0.050839681178331375,
-0.0156724713742733,
-0.01122950203716755,
-0.027767376974225044,
0.04433051124215126,
-0.01756276935338974,
-0.01693187654018402,
-0.023981427773833275,
0.04918243736028671,
-0.03922216221690178,
0.0019836220890283585,
-0.009902220219373703,
0.056814249604940414,
-0.005758392624557018,
-0.04295286536216736,
-0.017141781747341156
] | quick-graph-itsu-allergens | https://markhneedham.com/blog/2019/12/23/quick-graph-itsu-allergens |
false | 2019-12-22 00:21:00 | QuickGraph #2: Guardian Top 100 Male Footballers | [
"quickgraph",
"neo4j"
] | [
"QuickGraph"
] | Over the last week the Guardian have been counting down their https://www.theguardian.com/global/ng-interactive/2019/dec/17/the-100-best-male-footballers-in-the-world-2019[top 100 male footballers of 2019^], and on Friday they also published a https://docs.google.com/spreadsheets/d/1f4nc8vehOiZhEB2_3L2bvXTpag29VcEKJ0PJeo5Runc/edit#gid=3[Google sheet containing all the votes^], which seemed like a perfect candidate for a https://markhneedham.com/blog/tag/quickgraph/[QuickGraph^].
image::{{<siteurl>}}/uploads/2019/12/top-100-header.png[]
We can see a preview of the Google sheet in the printscreen below:
image::{{<siteurl>}}/uploads/2019/12/spreadsheet.png[]
We can also download Google Sheets in CSV format based on the following URI template:
[source, text]
----
https://docs.google.com/spreadsheets/d/KEY/export?format=csv&id=KEY&gid=SHEET_ID
----
where:
* `KEY` is the spreadsheet id, in our case `1f4nc8vehOiZhEB2_3L2bvXTpag29VcEKJ0PJeo5Runc`
* `SHEET_ID` is the sheet, in our case `3`
== Exploring the data
We can use Neo4j's `LOAD CSV` tool to explore the data.
The following query returns the 1st player on the list:
[source,cypher]
----
WITH "1f4nc8vehOiZhEB2_3L2bvXTpag29VcEKJ0PJeo5Runc" AS id
WITH "https://docs.google.com/spreadsheets/d/" + id + "/export?format=csv&id=" + id + "&gid=3" AS uri
LOAD CSV FROM uri AS row
WITH row SKIP 4 LIMIT 1
RETURN row
----
If we run that query, we'll see the following output:
.Results
[opts="header",cols="1"]
|===
| row
| ["1", "2", "3", "1", "2", "1", "2", "1", "Lionel Messi", "Argentina", "Barcelona", "Spain", "32", "31", "9198", "40", "9158", "239", "108", "40", "36", "38", "38", "32", "40", "13", "39", "40", "40", "39", "30", "40", "40", "39", "37", "40", "38", "39", "39", "40", "39", "38", "38", "40", "38", "40", "40", "40", "39", "39", "38", "38", "39", "40", "40", "40", "40", "38", "40", "40", "40", "39", "40", "40", "39", "40", "39", "37", "39", "40", "40", "39", "40", "39", "37", "36", "40", "39", "38", "40", "39", "39", "40", "40", "34", "40", "40", "40", "40", "39", "38", "40", "40", "39", "40", "38", "40", "40", "39", "39", "35", "40", "40", "39", "39", "39", "38", "40", "39", "39", "36", "39", "40", "24", "40", "39", "30", "39", "39", "40", "40", "39", "39", "39", "37", "40", "35", "40", "35", "39", "39", "39", "37", "40", "39", "40", "38", "40", "40", "39", "40", "39", "39", "40", "37", "40", "36", "39", "40", "39", "38", "39", "40", "40", "40", "38", "22", "38", "39", "40", "39", "37", "40", "40", "40", "40", "40", "38", "40", "38", "40", "39", "40", "40", "39", "40", "40", "22", "39", "40", "40", "40", "40", "38", "39", "39", "38", "39", "39", "19", "40", "32", "40", "40", "40", "30", "39", "40", "40", "40", "38", "40", "40", "40", "39", "40", "40", "37", "40", "36", "37", "38", "39", "40", "39", "40", "40", "40", "38", "39", "40", "40", "40", "38", "39", "36", "39", "30", "38", "40", "40", "39", "39", "40", "39", "40", "40", "37", "40", "40", "39", "40", "39", "38", "40", "38", "39", "39", "38", "38", "40", "40", "39", "40", "40", "39", "38", "40"]
|===
We're not interested in the first 8 columns, but we do want to capture the next 4 columns, which contain the player's name, nationality, club, and the country where that club competes.
We'll then skip the next 7 columns until we get to the votes given by each of the judges.
== Importing the data
We're going to import the data into the following graph model:
image::{{<siteurl>}}/uploads/2019/12/guardian-graph-model.svg[]
Before we run any import statements, we'll make sure we don't accidentally import any duplicates by creating unique constraints on each of the node labels:
[source,cypher]
----
CALL apoc.schema.assert(null,{Judge:['id'], Player:["name"], Country:["name"], Club:["name"]});
----
We can run the following query to check that they've been created:
.Results
[opts="header"]
|===
| description | indexName | tokenNames | properties | state | type | progress | provider | id | failureMessage
| "INDEX ON :Club(name)" | "index_7" | ["Club"] | ["name"] | "ONLINE" | "node_unique_property" | 100.0 | {version: "1.0", key: "native-btree"} | 7 | ""
| "INDEX ON :Country(name)" | "index_1" | ["Country"] | ["name"] | "ONLINE" | "node_unique_property" | 100.0 | {version: "1.0", key: "native-btree"} | 1 | ""
| "INDEX ON :Judge(id)" | "index_10" | ["Judge"] | ["id"] | "ONLINE" | "node_unique_property" | 100.0 | {version: "1.0", key: "native-btree"} | 10 | ""
| "INDEX ON :Player(name)" | "index_4" | ["Player"] | ["name"] | "ONLINE" | "node_unique_property" | 100.0 | {version: "1.0", key: "native-btree"} | 4 | ""
|===
All good so far.
Now let's import the votes.
We're going to use the same `LOAD CSV` tool that we used to explore the data.
Importing the data is a bit fiddly because rows 105 and 186 don't contain players, so we need to skip those rows.
The following `LOAD CSV` statement imports the top 100 players, along with their club, country, and votes:
[source,cypher]
----
WITH "1f4nc8vehOiZhEB2_3L2bvXTpag29VcEKJ0PJeo5Runc" AS id
WITH "https://docs.google.com/spreadsheets/d/" + id + "/export?format=csv&id=" + id + "&gid=3" AS uri
LOAD CSV FROM uri AS row
WITH row SKIP 4 LIMIT 100
MERGE (player:Player {name: row[8]})
SET player.rawScore = toInteger(row[14]), player.score = toInteger(row[16])
MERGE (country:Country {name: row[9]})
MERGE (club:Club {name: row[10]})
MERGE (clubCountry:Country {name: row[11]})
MERGE (player)-[:NATIONALITY]->(country)
MERGE (player)-[:PLAYS_FOR]->(club)
MERGE (club)-[:PLAY_IN]->(clubCountry)
FOREACH(index in range(19, size(row)-1) |
MERGE (judge:Judge {id: index-18})
FOREACH(ignoreMe IN CASE WHEN row[index] is null THEN [] ELSE [1] END |
MERGE (judge)-[voted:VOTED]->(player)
SET voted.score = toInteger(row[index])
));
----
To import the rest of the players we'll have to vary the `SKIP` and `LIMIT` values on the 4th line of the query
The GitHub gist below includes statements that import the votes for all players:
++++
<script src="https://gist.github.com/mneedham/1ad3733452f90730fd3de7595121e637.js"></script>
++++
We can see a sample of the imported graph in the Neo4j Browser visualisation below:
image::{{<siteurl>}}/uploads/2019/12/sample-graph.svg[]
== Querying the graph
Now that we've imported the data, it's time to start querying it.
The Google sheet already contains the answers to the following questions:
* How many judges included each player in their top 40?
* How many judges voted for a player as their number 1?
* What's the top ranking that a player received?
Let's see what else we can learn.
The queries that follow use Neo4j's https://neo4j.com/developer/cypher-basics-i/[Cypher^] query language.
== How many judges included the top 5 in their top 5?
[source,cypher]
----
MATCH (player:Player)
WHERE exists(player.score)
WITH player ORDER BY player.score DESC LIMIT 5
MATCH (player)<-[voted:VOTED]-()
WHERE voted.score >= 36
WITH player, 41-voted.score AS rank, count(*) AS count
RETURN player.name AS player,
apoc.map.fromPairs(collect([rank, count])) AS votes,
player.score AS score;
----
.How many judges included the top 5 in their top 5?
[opts="header", cols="1,3,1"]
|===
| player | votes | score
| "Lionel Messi" | {`1`: 108, `2`: 69, `3`: 31, `4`: 10, `5`: 6} | 9158
| "Virgil van Dijk" | {`1`: 77, `2`: 59, `3`: 30, `4`: 30, `5`: 8} | 8849
| "Sadio Mané" | {`1`: 22, `2`: 34, `3`: 46, `4`: 36, `5`: 28} | 8383
| "Cristiano Ronaldo" | {`1`: 11, `2`: 29, `3`: 53, `4`: 31, `5`: 28} | 8172
| "Mohamed Salah" | {`1`: 5, `2`: 8, `3`: 16, `4`: 24, `5`: 29} | 7421
|===
We can see that the judges overwhelmingly have Messi and van Dijk in their top 2.
This is not that surprising given that they finished 1st and 2nd in the https://en.wikipedia.org/wiki/The_Best_FIFA_Football_Awards_2019[The Best FIFA Football Awards 2019^] and https://en.wikipedia.org/wiki/2019_Ballon_d%27Or[2019 Ballon d'Or^].
Did any judges get the top 3 exactly right?
== Which judges got the top 3 exactly correct?
[source,cypher]
----
MATCH (player1:Player {name: "Lionel Messi"})<-[:VOTED {score: 40}]-(judge)
MATCH (player2:Player {name: "Virgil van Dijk"})<-[:VOTED {score: 39}]-(judge)
MATCH (player3:Player {name: "Sadio Mané"})<-[:VOTED {score: 38}]-(judge)
WITH collect(judge.id) AS judges
RETURN size(judges) AS count, judges
----
.Which judges got the top 3 exactly correct?
[opts="header", cols="1,3"]
|===
| count | judges
| 14 | [179, 145, 102, 239, 187, 204, 220, 215, 144, 51, 202, 42, 79, 218]
|===
Only 14 out of 239 (or 6% of the) judges got the top 3 exactly right.
Football is clearly a game of different opinions!
Next let's see which clubs have fared best.
== Which club has the most players on the list?
[source,cypher]
----
MATCH (club:Club)<-[:PLAYS_FOR]-(:Player)
RETURN club.name AS club, count(*) AS count
ORDER BY count DESC
LIMIT 10
----
.Which club has the most players on the list?
[opts="header"]
|===
| club | count
| "Real Madrid" | 19
| "Manchester City" | 17
| "Liverpool" | 15
| "Juventus" | 14
| "Bayern Munich" | 14
| "Barcelona" | 14
| "Paris St-Germain" | 12
| "Chelsea" | 11
| "Atlético Madrid" | 10
| "Tottenham Hotspur" | 9
|===
Manchester City and Liverpool had very strong years, so it's not surprising to see that they have a lot of players on the list.
Real Madrid having the most players is a strange one given their relatively poor year.
Perhaps the players that they have on the list didn't receive many votes.
Let's tweak the query to sum the voting scores given to the players that play for those clubs
== Which clubs have the highest ranking players on the list?
[source,cypher]
----
MATCH (club:Club)<-[:PLAYS_FOR]-(player:Player)
OPTIONAL MATCH (player)<-[voted:VOTED]-()
RETURN club.name, count(DISTINCT player) AS count, sum(voted.score) AS totalScore
ORDER BY totalScore DESC
LIMIT 10
----
.Which clubs have the highest ranking players on the list?
[opts="header"]
|===
| club | count | totalScore
| "Liverpool" | 15 | 46803
| "Manchester City" | 17 | 25915
| "Barcelona" | 14 | 19154
| "Juventus" | 14 | 15265
| "Real Madrid" | 19 | 13078
| "Paris St-Germain" | 12 | 12500
| "Ajax" | 9 | 11608
| "Tottenham Hotspur" | 9 | 10956
| "Bayern Munich" | 14 | 10255
| "Atlético Madrid" | 10 | 4950
|===
That's more like it.
Liverpool are way clear at the top, which makes sense given they won the Champions League and have a big lead in this year's Premier League season.
After them come the 2018/2019 winners of the Premier League, La Liga, and Serie A, before we find Real Madrid in 5th place.
The top 10 contains 3 clubs that play in England, 3 clubs that play in Spain, and 1 each from the Netherlands, Germany, France, and Italy.
Let's next see which countries have the highest ranking players on the whole list.
== Which countries have the highest ranking players on the list?
[source,cypher]
----
MATCH (club:Club)<-[:PLAYS_FOR]-(player:Player)
OPTIONAL MATCH (player)<-[voted:VOTED]-()
WITH club, count(DISTINCT player) AS count, sum(voted.score) AS totalScore
ORDER BY club, totalScore DESC
MATCH (club)-[:PLAY_IN]->(country)
RETURN country.name, sum(count) AS count, sum(totalScore) AS totalScore,
collect([club.name, totalScore])[..5] AS clubs
ORDER BY totalScore DESC
LIMIT 5
----
.Which clubs have the highest ranking players on the list?
[opts="header", cols="1,1,1,6"]
|===
| club | count | totalScore | clubs
| "England" | 85 | 94221 | [["Liverpool", 46803], ["Manchester City", 25915], ["Tottenham Hotspur", 10956], ["Chelsea", 4273], ["Arsenal", 2635]]
| "Spain" | 62 | 37926 | [["Barcelona", 19154], ["Real Madrid", 13078], ["Atlético Madrid", 4950], ["Villarreal", 206], ["Valencia", 210]]
| "Italy" | 49 | 21167 | [["Juventus", 15269], ["Napoli", 2638], ["Internazionale", 1174], ["Lazio", 491], ["Atalanta", 504]]
| "Germany" | 33 | 13882 | [["Bayern Munich", 10255], ["Borussia Dortmund", 2655], ["RB Leipzig", 576], ["Bayer Leverkusen", 279], ["Borussia Mönchengladbach", 72]]
| "France" | 26 | 13170 | [["Paris St-Germain", 12500], ["Lyon", 368], ["Lille", 108], ["Monaco", 52], ["Nice", 71]]
|===
Although both England and Spain had 3 players each in the top 10, the total score of those playing in England is almost twice as high as for those in Spain.
This is mostly due to the high ranking of Manchester City and Liverpool players.
Looking at the rest of the list, we can see that the top 5 countries are the big 5 European leagues, which is also where the majority of football's money lives.
That's all I can think of for now, but if you can think of any other analysis we can do on this data, let me know in the comments! | Learn how to build a graph of the Guardian's Top 100 Male Footballers | uploads/2019/12/top-100-header.png | [
0.003568843938410282,
-0.026625070720911026,
0.030491603538393974,
0.024867447093129158,
0.07124467194080353,
-0.017158804461359978,
0.02141549251973629,
0.026461083441972733,
0.028101105242967606,
-0.012023462913930416,
-0.012854364700615406,
-0.017475226894021034,
-0.06901626288890839,
0.017342938110232353,
0.0230224821716547,
0.078466035425663,
0.047524601221084595,
0.05127274617552757,
0.023854976519942284,
-0.048035718500614166,
0.04331173002719879,
0.059892185032367706,
0.0027030264027416706,
0.023297220468521118,
0.038113344460725784,
-0.012397430837154388,
0.01452312245965004,
0.020092492923140526,
-0.044075995683670044,
-0.0025723143480718136,
0.04839979484677315,
-0.015349261462688446,
0.013544063083827496,
0.0030331492889672518,
0.01504075713455677,
-0.04474079981446266,
-0.017024889588356018,
0.01609359122812748,
-0.00911963265389204,
0.001198250218294561,
-0.06670213490724564,
0.012370948679745197,
-0.04075465351343155,
0.019026223570108414,
-0.048299554735422134,
0.002567082177847624,
-0.00792843196541071,
0.043748412281274796,
-0.0174265094101429,
-0.009634025394916534,
-0.044289566576480865,
0.04895515367388725,
-0.018050333485007286,
-0.01041057612746954,
-0.009138141758739948,
0.055620674043893814,
-0.0014677034923806787,
-0.034990422427654266,
-0.005022186785936356,
-0.04227857291698456,
-0.028387757018208504,
-0.0018534149276092649,
0.014431709423661232,
0.014166450127959251,
0.0121042151004076,
-0.025780536234378815,
-0.006088978610932827,
0.04609717056155205,
-0.03205011785030365,
-0.011597310192883015,
-0.021194718778133392,
0.0058458419516682625,
0.00576211791485548,
0.006321799010038376,
0.007869163528084755,
-0.04916468262672424,
0.004752034321427345,
0.08081655204296112,
0.00664520263671875,
0.02986823208630085,
-0.015692485496401787,
0.007795168086886406,
-0.005928199738264084,
0.04115848243236542,
-0.036668069660663605,
-0.03220217674970627,
-0.021953456103801727,
-0.02154724858701229,
-0.04649652913212776,
0.0789579376578331,
0.01609306037425995,
-0.05116287246346474,
0.020669054239988327,
0.03997425362467766,
-0.0009446024778299034,
-0.0067078168503940105,
0.046552624553442,
0.0031214694026857615,
-0.02050682157278061,
-0.06746140122413635,
-0.03476787731051445,
-0.024516601115465164,
0.022388797253370285,
-0.012192237190902233,
-0.07576604932546616,
-0.009943105280399323,
-0.026370728388428688,
-0.0024437736719846725,
0.026634929701685905,
-0.0012284955009818077,
0.00335711264051497,
0.02695649117231369,
-0.002287074690684676,
0.001442337641492486,
-0.0770234689116478,
0.05140281841158867,
0.040539130568504333,
-0.033722493797540665,
-0.015256880782544613,
0.024336738511919975,
0.02745271846652031,
0.02421923540532589,
-0.025225840508937836,
0.07329466193914413,
0.004255455452948809,
0.017545748502016068,
0.025638790801167488,
0.047707851976156235,
-0.017912236973643303,
-0.053546056151390076,
-0.01043734047561884,
0.07179039716720581,
-0.03729096055030823,
0.007575850002467632,
-0.0005474880454130471,
-0.03927075117826462,
-0.03181397169828415,
-0.02098103240132332,
0.07619350403547287,
0.05796612799167633,
0.022877460345625877,
-0.03771187737584114,
-0.0003510371025186032,
0.03236314281821251,
0.03559602424502373,
-0.007956065237522125,
-0.0001638031390029937,
-0.012462262064218521,
-0.018637381494045258,
-0.00755959702655673,
0.015664825215935707,
-0.01762530393898487,
0.05443638190627098,
-0.04015522450208664,
-0.01815612055361271,
0.08577236533164978,
0.05125992000102997,
-0.00330430269241333,
-0.021485324949026108,
0.022386228665709496,
0.055252887308597565,
0.0382438562810421,
-0.004862127359956503,
0.029356375336647034,
-0.021626872941851616,
-0.02664642035961151,
0.01076239999383688,
0.06932323426008224,
-0.021352002397179604,
-0.0013258465332910419,
-0.03712831810116768,
-0.049813952296972275,
0.06743171811103821,
-0.02651818096637726,
-0.03647158294916153,
0.06729044765233994,
0.07428200542926788,
0.025759732350707054,
0.049394071102142334,
-0.005203963257372379,
-0.08306944370269775,
0.024278655648231506,
0.01788589358329773,
0.02435171604156494,
0.020654242485761642,
-0.01834256760776043,
0.09352224320173264,
0.029082413762807846,
0.006611105054616928,
0.03697434812784195,
-0.06879854947328568,
-0.07518275082111359,
-0.02017912268638611,
-0.00033986393827944994,
0.036795929074287415,
-0.025835856795310974,
0.05317825824022293,
0.06535942852497101,
0.014257275499403477,
0.02622300013899803,
0.009125053882598877,
0.018270691856741905,
0.021830055862665176,
-0.029114171862602234,
-0.07048331201076508,
0.04991927370429039,
0.017552586272358894,
-0.0198987890034914,
-0.017669029533863068,
0.022000016644597054,
-0.03681947663426399,
0.02487603947520256,
0.02685113064944744,
-0.018645429983735085,
-0.009280276484787464,
0.010067836381494999,
0.07429365813732147,
-0.00689895311370492,
0.04725709557533264,
-0.060269590467214584,
0.046720150858163834,
0.048707082867622375,
-0.009439024142920971,
0.007274949457496405,
0.006404309533536434,
0.12608620524406433,
0.04467279836535454,
-0.03366861492395401,
-0.07345014810562134,
-0.007583986967802048,
0.007029208820313215,
-0.017912834882736206,
0.007376344874501228,
0.005293750669807196,
-0.03197009488940239,
-0.01777440868318081,
-0.03807364031672478,
-0.0393117293715477,
0.008629304356873035,
-0.04568963125348091,
0.03436409309506416,
0.05345778539776802,
0.04834655672311783,
0.05137680843472481,
-0.008009626530110836,
0.002175525762140751,
-0.03306997939944267,
-0.009171782061457634,
-0.03346281871199608,
0.004332472570240498,
0.018501874059438705,
-0.015582464635372162,
0.0018961485475301743,
-0.013119196519255638,
-0.008254105225205421,
-0.030290717259049416,
-0.0448567233979702,
0.03439568728208542,
0.058807697147130966,
0.07316658645868301,
0.01833188906311989,
0.021644609048962593,
-0.00642748037353158,
0.023714661598205566,
-0.031238608062267303,
-0.03165233135223389,
-0.06708736717700958,
-0.046810973435640335,
-0.005703985691070557,
-0.009684794582426548,
0.03145250678062439,
0.015815354883670807,
-0.0017759258626028895,
0.03079773113131523,
0.0037514229770749807,
0.011228600516915321,
0.038192037492990494,
0.006630731746554375,
0.004313464276492596,
-0.027714628726243973,
-0.007787800393998623,
0.05739372596144676,
-0.027369437739253044,
-0.01744876615703106,
0.017969921231269836,
-0.08398137986660004,
0.043503936380147934,
-0.04937126114964485,
0.0009696151246316731,
0.01022030133754015,
-0.030199550092220306,
0.03685072436928749,
0.05388863384723663,
0.008588336408138275,
0.04034021496772766,
-0.013944371603429317,
0.018066368997097015,
0.015926379710435867,
-0.0014672114048153162,
0.036124337464571,
-0.0032435404136776924,
0.029743172228336334,
0.06349485367536545,
-0.04622441530227661,
0.029921038076281548,
-0.05563849210739136,
0.02209571562707424,
-0.03147860988974571,
-0.2730676233768463,
0.04021976888179779,
0.010425097309052944,
-0.010220746509730816,
0.03358897566795349,
-0.010680110193789005,
-0.006419684272259474,
-0.046923767775297165,
-0.040556710213422775,
0.028790777549147606,
-0.029495328664779663,
-0.029401089996099472,
-0.030140114948153496,
0.019932914525270462,
0.04500352963805199,
0.013771327212452888,
-0.002537073567509651,
-0.03608981519937515,
-0.00005027385850553401,
0.053822651505470276,
-0.0017938140081241727,
-0.05654057487845421,
-0.006805968936532736,
0.03972587734460831,
0.030557727441191673,
0.07661490887403488,
-0.05460923910140991,
-0.03632405027747154,
-0.05671495571732521,
-0.027523020282387733,
0.016712838783860207,
-0.019201627001166344,
0.027433093637228012,
0.005314958747476339,
-0.030171707272529602,
-0.01989307999610901,
0.04401703178882599,
-0.004757491871714592,
-0.03985092416405678,
-0.01733742281794548,
-0.026648160070180893,
-0.017027540132403374,
-0.020762167870998383,
-0.003388339187949896,
0.09007900953292847,
0.020742014050483704,
-0.07038179785013199,
-0.0008310839184559882,
-0.04273635149002075,
0.07404123246669769,
-0.021109864115715027,
-0.02310306951403618,
-0.030983194708824158,
0.03484349325299263,
-0.027127038687467575,
0.020157845690846443,
-0.011687199585139751,
-0.023056617006659508,
-0.03892466798424721,
-0.03958386555314064,
-0.024833668023347855,
-0.027040941640734673,
0.001092785270884633,
-0.018007826060056686,
-0.030932722613215446,
-0.05597066506743431,
-0.039305076003074646,
-0.0033485107123851776,
0.06742233783006668,
0.019349491223692894,
-0.04242508485913277,
0.005013942718505859,
0.0031911698170006275,
-0.07983936369419098,
-0.04379788041114807,
-0.017060568556189537,
0.0035359684843569994,
0.028872458264231682,
0.001650407095439732,
0.03233793005347252,
-0.06377024203538895,
-0.07253456860780716,
0.03215250000357628,
0.012405170127749443,
0.029423553496599197,
-0.03773647919297218,
0.03134618327021599,
0.01280850451439619,
-0.018878674134612083,
0.010272962041199207,
0.07563707232475281,
-0.04702292010188103,
-0.00489356042817235,
0.030966075137257576,
-0.012073745019733906,
0.028272442519664764,
-0.028436284512281418,
0.017509790137410164,
0.0019320388091728091,
0.06634801626205444,
0.011885596439242363,
-0.04427911341190338,
-0.0009927279315888882,
-0.03150351718068123,
-0.02308662422001362,
0.0012662452645599842,
-0.03499928489327431,
0.018533270806074142,
0.01931123621761799,
0.001323521719314158,
0.036822736263275146,
-0.02732369676232338,
0.009572109207510948,
-0.02928818017244339,
-0.026710914447903633,
-0.02365354634821415,
0.037819214165210724,
0.02194279432296753,
0.0016230589244514704,
-0.027781369164586067,
-0.053162407130002975,
0.004416942596435547,
-0.01931098848581314,
-0.01834406703710556,
-0.08006974309682846,
-0.018337100744247437,
-0.0057179881259799,
-0.02473451755940914,
0.025063594803214073,
-0.01920076087117195,
-0.031046513468027115,
0.002555625047534704,
0.009344277903437614,
-0.06149745360016823,
0.031192608177661896,
-0.037140414118766785,
-0.0426814965903759,
-0.06313543766736984,
0.014904957264661789,
0.0025106752291321754,
0.0005907304002903402,
0.011216995306313038,
0.00627862149849534,
0.017753973603248596,
0.048091012984514236,
-0.011955512687563896,
0.020923519507050514,
0.021322183310985565,
-0.00027571129612624645,
0.04118318483233452,
-0.00019612512551248074,
-0.027878766879439354,
0.038363195955753326,
-0.04873107001185417,
-0.02956191822886467,
0.013199766166508198,
0.029307985678315163,
0.00488299923017621,
-0.0254362802952528,
-0.0406314879655838,
-0.0045017884112894535,
-0.05264807865023613,
-0.04148181900382042,
-0.0071952142752707005,
0.030714528635144234,
0.0662308931350708,
-0.00528082437813282,
0.00794414896517992,
0.0026784148067235947,
0.023647669702768326,
0.0008727545500732958,
-0.013750207610428333,
-0.03989209234714508,
-0.013058295473456383,
-0.03174642100930214,
0.005494218785315752,
0.0025624793488532305,
0.03243214264512062,
0.018486494198441505,
0.02762618474662304,
-0.008588436990976334,
-0.013816495425999165,
0.021111689507961273,
0.012205410748720169,
0.04796899855136871,
0.05601523071527481,
-0.025715254247188568,
-0.01899098791182041,
-0.007500011939555407,
-0.021799152716994286,
-0.032939158380031586,
0.00869833119213581,
-0.03197424113750458,
-0.018104171380400658,
-0.0338316336274147,
-0.07168585807085037,
0.03111037239432335,
0.002650211798027158,
0.018165400251746178,
0.01909448951482773,
-0.01150230597704649,
-0.015072595328092575,
-0.0321202278137207,
0.029825350269675255,
0.040333036333322525,
-0.055885493755340576,
0.011864830739796162,
-0.010818609967827797,
-0.001665543531998992,
-0.012300081551074982,
-0.005177193321287632,
-0.0536850206553936,
-0.03040904551744461,
-0.01962551660835743,
0.03781503066420555,
-0.05257880315184593,
-0.013157068751752377,
-0.03892095759510994,
-0.026180746033787727,
-0.02835667133331299,
0.00427212892100215,
-0.013713681139051914,
-0.002578613581135869,
0.00924951396882534,
-0.014258068986237049,
0.01649930514395237,
-0.006187775172293186,
-0.011150781996548176,
0.026838598772883415,
-0.03180255368351936,
0.003807910019531846,
-0.02105976827442646,
0.01256387960165739,
0.0372370220720768,
-0.020413875579833984,
0.033559005707502365,
-0.00692865950986743,
-0.011820139363408089,
-0.0004626864392776042,
0.05500688776373863,
-0.014110775664448738,
-0.03545711562037468,
-0.0241790059953928,
-0.002999700605869293,
-0.03634526580572128,
0.030825959518551826,
0.011695142835378647,
-0.00370123446919024,
0.030884573236107826,
0.053670305758714676,
0.01780742034316063,
0.02239195443689823,
0.003214417491108179,
-0.030719241127371788,
0.035944078117609024,
-0.036956701427698135,
-0.004932598676532507,
-0.018133221194148064,
-0.030675429850816727,
0.020326415076851845,
0.008688200265169144,
0.004394968971610069,
-0.041387759149074554,
0.04899684712290764,
0.03563883900642395,
0.015381541103124619,
0.058265455067157745,
0.023322399705648422,
0.01989392377436161,
-0.03608158230781555,
-0.01686171628534794,
-0.07910429686307907,
0.013672791421413422,
0.030176345258951187,
0.011665229685604572,
-0.00479294965043664,
0.008600303903222084,
-0.024988407269120216,
0.019022107124328613,
-0.0625988021492958,
-0.0458793006837368,
0.02532266452908516,
-0.01620580069720745,
0.004551651421934366,
0.03059357777237892,
-0.061630964279174805,
0.011969054117798805,
0.051913559436798096,
-0.04165393114089966,
-0.026750104501843452,
-0.014769497327506542,
0.05711051821708679,
-0.039241477847099304,
0.021007757633924484,
-0.009413997642695904,
-0.026467667892575264,
0.0640692487359047,
0.024857668206095695,
0.032780006527900696,
0.028259452432394028,
0.001990347169339657,
0.030070042237639427,
0.014630875550210476,
0.00741904741153121,
0.008596329018473625,
0.022411106154322624,
-0.027904074639081955,
-0.0679025799036026,
-0.0008263489580713212,
0.0030718850903213024,
0.006830486003309488,
-0.04439045116305351,
0.06566040217876434,
-0.0039066048339009285,
-0.0416484996676445,
-0.033148251473903656,
0.002013474004343152,
-0.03275671601295471,
-0.017534246668219566,
-0.00849646981805563,
0.008066379465162754,
-0.02521352283656597,
0.05198119580745697,
-0.0006586159579455853,
0.0062277973629534245,
0.0749220997095108,
-0.0348798930644989,
-0.002365671331062913,
0.009027685970067978,
0.0985141173005104,
0.06749039888381958,
0.03023904375731945,
-0.015314907766878605,
0.09254956245422363,
-0.003502926556393504,
-0.06473057717084885,
0.017193220555782318,
-0.0016091064317151904,
-0.013999652117490768,
0.012556778267025948,
-0.013720137067139149,
0.046044692397117615,
-0.04973664507269859,
0.06286763399839401,
-0.0007079483475536108,
-0.04272599518299103,
-0.005416971631348133,
-0.0012726075947284698,
0.03653593361377716,
0.07870828360319138,
-0.011149759404361248,
0.039130326360464096,
-0.03905641660094261,
-0.017162121832370758,
0.04934203252196312,
-0.0003096810251008719,
-0.024866729974746704,
0.008738328702747822,
-0.05437735095620155,
0.021810807287693024,
-0.025057924911379814,
0.04538378864526749,
0.0658981055021286,
-0.025576207786798477,
0.0317985974252224,
-0.0224345363676548,
0.0024766260758042336,
0.0061354245990514755,
0.021373597905039787,
-0.014396264217793941,
0.014299429021775723,
-0.03471947833895683,
-0.03713535517454147,
-0.04187147319316864,
-0.026476925238966942,
-0.050145458430051804,
0.02028406597673893,
-0.017546694725751877,
0.005249283742159605,
0.015187668614089489,
-0.009413761086761951,
-0.043316103518009186,
-0.03878990188241005,
-0.05077088996767998,
-0.060447629541158676,
-0.0797957256436348,
-0.029999565333127975,
0.052165497094392776,
0.013972913846373558,
-0.028860140591859818,
-0.003943323623389006,
-0.013704577460885048,
-0.041280314326286316,
0.022973066195845604,
-0.04308537393808365,
-0.0160699263215065,
0.027287568897008896,
0.04316900297999382,
0.006296111270785332,
-0.003807544708251953,
0.05865883454680443,
-0.02354266867041588,
-0.03774475306272507,
-0.020805982872843742,
0.026092324405908585,
0.03120586834847927,
0.019934717565774918,
-0.006832387764006853,
-0.09631606936454773,
0.0010989457368850708,
0.010706762783229351,
-0.04825783148407936,
-0.08162685483694077,
0.03383689373731613,
0.035769861191511154,
0.010701071470975876,
0.046139173209667206,
-0.018093733116984367,
0.005027883220463991,
-0.053586140275001526,
0.002346544526517391,
0.015002166852355003,
-0.004004545044153929,
0.04619469493627548,
-0.023584997281432152,
0.09621516615152359,
0.04687304049730301,
-0.00032146196463145316,
-0.05130491778254509,
-0.0013425289653241634,
-0.015141426585614681,
0.02021806500852108,
-0.040573086589574814,
-0.026745252311229706,
-0.0762399435043335,
-0.0660908967256546,
-0.034521110355854034,
0.029152316972613335,
-0.046767331659793854,
-0.02416091226041317,
0.0021288690622895956,
0.02045418880879879,
0.015853172168135643,
0.014688458293676376,
-0.0312739834189415,
0.008453110232949257,
-0.031277213245630264,
0.0006129305111244321,
-0.0317755863070488,
0.03447912633419037,
0.029149483889341354,
0.0343649797141552,
0.02220406010746956,
-0.0650181695818901,
0.022239219397306442,
-0.02191022038459778,
-0.03231079876422882,
0.029584020376205444,
0.008790608495473862,
0.013651854358613491
] | [
-0.045729875564575195,
0.017092017456889153,
-0.04373333603143692,
-0.04795176535844803,
0.0840768963098526,
-0.006364793982356787,
0.01923430524766445,
0.02808401733636856,
0.034326598048210144,
0.008100400678813457,
-0.006577174179255962,
-0.06761078536510468,
-0.018753843382000923,
-0.005139883607625961,
0.06092102453112602,
-0.0190990399569273,
-0.02024800330400467,
-0.10643874108791351,
-0.05431777611374855,
0.03292826935648918,
0.012713675387203693,
-0.007889860309660435,
-0.024770360440015793,
-0.03913465514779091,
0.024706602096557617,
-0.03352683410048485,
0.05839550122618675,
-0.01773238740861416,
-0.041059765964746475,
-0.17981399595737457,
0.0163591168820858,
-0.020389370620250702,
0.018488354980945587,
-0.012566393241286278,
0.02119707688689232,
0.0005639701848849654,
0.016997624188661575,
0.008554382249712944,
0.06264127045869827,
0.05122442916035652,
0.022698763757944107,
-0.006268216297030449,
-0.04009285196661949,
-0.0221975427120924,
0.07201147824525833,
0.051945921033620834,
-0.014976738020777702,
0.0006117122829891741,
0.021838007494807243,
0.03434719145298004,
-0.05989877134561539,
0.02285005711019039,
-0.0004265787429176271,
-0.048862557858228683,
-0.021003419533371925,
0.028447864577174187,
0.05263868346810341,
0.03983527794480324,
0.018184253945946693,
0.07511301338672638,
0.03569991886615753,
0.018691040575504303,
-0.14239045977592468,
0.06487228721380234,
-0.012707456015050411,
0.00538471806794405,
-0.0350957065820694,
-0.014981627464294434,
-0.020359117537736893,
0.07344827055931091,
0.012406052090227604,
-0.04958692938089371,
0.013287839479744434,
0.005720209795981646,
0.0170490350574255,
-0.02839585579931736,
-0.004714224021881819,
0.02325887233018875,
-0.004494525492191315,
-0.001506987726315856,
-0.023072082549333572,
0.036317307502031326,
-0.03489384800195694,
-0.051331356167793274,
-0.060391705483198166,
0.001424281159415841,
-0.011065948754549026,
0.05796389281749725,
-0.0282332431524992,
0.031345874071121216,
0.06309418380260468,
0.017641713842749596,
0.040862299501895905,
0.025544842705130577,
-0.11196056008338928,
-0.03920060396194458,
-0.01597798429429531,
0.014283631928265095,
-0.046057093888521194,
0.4649471938610077,
0.0019334129756316543,
-0.0008217590511776507,
0.07641056180000305,
0.03347714617848396,
0.011260520666837692,
0.005435972008854151,
0.02282378077507019,
-0.04629692807793617,
-0.003419435117393732,
-0.016447335481643677,
0.002247781492769718,
-0.0138095086440444,
0.06737415492534637,
-0.03819255530834198,
0.004493069369345903,
0.03741873428225517,
0.030599402263760567,
-0.0031269527971744537,
-0.013494908809661865,
0.0039976476691663265,
-0.02051479183137417,
0.015105604194104671,
-0.012329468503594398,
-0.0020985498558729887,
-0.008573271334171295,
0.04378082975745201,
0.024329975247383118,
0.04547242075204849,
0.04342764616012573,
0.018877457827329636,
0.03499714657664299,
-0.04225713759660721,
-0.06875361502170563,
0.009786810725927353,
-0.020158370956778526,
-0.0083893658593297,
0.021740777418017387,
-0.01931263878941536,
0.011118084192276001,
0.027307020500302315,
0.002582605928182602,
-0.061658479273319244,
0.008502156473696232,
-0.028316548094153404,
-0.022474108263850212,
0.11445260792970657,
-0.001665957155637443,
-0.060653213411569595,
0.004934665746986866,
-0.027192609384655952,
0.008468933403491974,
0.026676347479224205,
0.02976040169596672,
-0.07058872282505035,
-0.006012889556586742,
0.008529708720743656,
0.06164728105068207,
-0.03543505445122719,
-0.06319764256477356,
0.00343753001652658,
-0.005915777292102575,
-0.03021353855729103,
-0.04749281331896782,
0.03093377687036991,
0.04616336524486542,
-0.13530829548835754,
-0.033931247889995575,
-0.023617839440703392,
-0.009966906160116196,
-0.07300116121768951,
0.006368178408592939,
-0.001574452966451645,
-0.05654950439929962,
0.015659132972359657,
0.05586453154683113,
0.005194390192627907,
-0.008074323646724224,
-0.024685997515916824,
0.06318052113056183,
-0.0071234493516385555,
-0.00838890764862299,
-0.03301165625452995,
-0.08455851674079895,
-0.009305186569690704,
-0.07087137550115585,
-0.023415695875883102,
-0.06367940455675125,
-0.02568277344107628,
-0.002320413012057543,
-0.002496714238077402,
-0.02103431150317192,
0.018830981105566025,
-0.062191713601350784,
0.032923102378845215,
-0.037024788558483124,
-0.002803881885483861,
-0.02594524808228016,
-0.026961032301187515,
-0.010028899647295475,
-0.03257480636239052,
-0.055685486644506454,
-0.025486446917057037,
-0.01807374507188797,
0.003576408140361309,
-0.026304977014660835,
0.05278540402650833,
0.024181317538022995,
-0.0016730368370190263,
0.09787097573280334,
0.02345634624361992,
0.0013371941167861223,
-0.036159638315439224,
-0.04414699226617813,
0.010085785761475563,
-0.02162681147456169,
-0.03059317171573639,
-0.02067924290895462,
-0.007973268628120422,
0.03645889461040497,
0.02704237587749958,
-0.01944054290652275,
0.0019671772606670856,
-0.005272341426461935,
-0.3263744115829468,
-0.041506797075271606,
-0.03496767207980156,
-0.0031420965678989887,
0.010057209990918636,
-0.032265033572912216,
0.017406702041625977,
-0.03871477022767067,
0.03906167671084404,
0.0847010537981987,
0.04337399825453758,
0.0059996796771883965,
-0.0015866317553445697,
-0.06830638647079468,
-0.03331173211336136,
0.0008437301148660481,
-0.04196198657155037,
-0.022560441866517067,
0.024590836837887764,
0.05266004800796509,
0.0649975836277008,
0.009215602651238441,
-0.08357235044240952,
0.007562979124486446,
-0.017660241574048996,
-0.07481658458709717,
0.11008210480213165,
0.11943042278289795,
0.0218496136367321,
-0.0543825663626194,
0.028949227184057236,
0.008214340545237064,
0.013541569001972675,
-0.1007283478975296,
0.03018929436802864,
-0.010056094266474247,
0.012493858113884926,
-0.05888959765434265,
0.01503276638686657,
-0.05867687612771988,
-0.022575411945581436,
0.03969600051641464,
-0.01267333049327135,
-0.04342751204967499,
-0.08807886391878128,
0.04460883513092995,
-0.006956709083169699,
-0.03897140920162201,
-0.028071140870451927,
0.0874253585934639,
0.029402345418930054,
0.011140415444970131,
0.07308021187782288,
-0.02390209212899208,
0.018653178587555885,
-0.04666905105113983,
-0.06694001704454422,
0.011747892014682293,
-0.01123547088354826,
0.008581416681408882,
0.020841315388679504,
0.02357545495033264,
0.06478295475244522,
-0.04682827368378639,
-0.03531371057033539,
0.0012997036101296544,
0.008685716427862644,
0.023916397243738174,
0.016580861061811447,
-0.0038871101569384336,
0.009298250079154968,
0.03864789009094238,
-0.013857638463377953,
0.044340506196022034,
0.026739101856946945,
0.030480550602078438,
0.050486333668231964,
0.02494967170059681,
0.02451968565583229,
0.018520480021834373,
0.036326952278614044,
0.0052792285569012165,
0.03093877248466015,
-0.06527942419052124,
0.011195275001227856,
0.024048788473010063,
0.003233907278627157,
0.002667642431333661,
0.03228404372930527,
0.02574017085134983,
0.003768365364521742,
0.02034427784383297,
-0.04061521962285042,
-0.04057210311293602,
0.022172793745994568,
-0.036732472479343414,
-0.21634899079799652,
0.0068450551480054855,
0.050939057022333145,
0.056098829954862595,
0.03401545062661171,
0.008974220603704453,
0.014542899094522,
-0.01394205167889595,
-0.0052294423803687096,
0.06606153398752213,
0.03712286055088043,
0.02719058468937874,
-0.011414511129260063,
-0.007785634137690067,
-0.02330934628844261,
-0.04007425904273987,
0.015946784988045692,
0.010537030175328255,
0.015828188508749008,
0.03209906071424484,
0.04257786273956299,
-0.023914169520139694,
0.13880327343940735,
0.005952927749603987,
0.047891661524772644,
0.07199933379888535,
-0.0009524602210149169,
-0.010211179964244366,
-0.002121357247233391,
-0.003916371148079634,
0.008625808171927929,
0.008749530650675297,
0.022909527644515038,
0.043699998408555984,
-0.00815647467970848,
-0.027531109750270844,
-0.036110199987888336,
0.05940740555524826,
0.003580057295039296,
-0.05261124297976494,
0.008234436623752117,
0.04294580593705177,
-0.03842303529381752,
0.040009889751672745,
0.049473635852336884,
0.014610416255891323,
-0.007293470203876495,
0.008052759803831577,
-0.04460105672478676,
-0.035972196608781815,
-0.02583276480436325,
-0.055972225964069366,
-0.014504234306514263,
0.008374976925551891,
0.020483214408159256,
0.07283219695091248,
0.037390828132629395,
-0.04937497526407242,
0.05705729126930237,
0.007986552082002163,
-0.024728378280997276,
-0.0057766009122133255,
0.06787094473838806,
0.032437779009342194,
0.0355583131313324
] | [
-0.015919113531708717,
0.03000943548977375,
-0.007232419680804014,
-0.012817573733627796,
0.023577531799674034,
0.042343009263277054,
0.020004477351903915,
0.0181440357118845,
-0.02799486555159092,
-0.0008796043694019318,
-0.025207148864865303,
0.009365448728203773,
0.0584925152361393,
-0.034070130437612534,
0.022733327001333237,
-0.027233246713876724,
-0.034411292523145676,
0.0121266208589077,
0.03045009821653366,
0.005765615496784449,
-0.02972528338432312,
-0.002864101668819785,
0.00609085476025939,
-0.02674134634435177,
-0.04099017754197121,
-0.01884336955845356,
-0.03361428156495094,
0.00563252717256546,
-0.004268295131623745,
-0.10986386984586716,
-0.016626577824354172,
-0.03523621708154678,
-0.0018747231224551797,
0.006329103838652372,
-0.0535142682492733,
-0.027417637407779694,
-0.02784084901213646,
-0.008756068535149097,
0.014894898049533367,
0.037335336208343506,
0.018455851823091507,
-0.0445755273103714,
-0.05483032017946243,
0.0020293225534260273,
-0.0037505757063627243,
0.013033539056777954,
-0.04722334071993828,
0.022383715957403183,
0.0009590598638169467,
0.03340250626206398,
-0.07774985581636429,
-0.019655169919133186,
-0.024022066965699196,
-0.0014976778766140342,
0.03623399883508682,
-0.024417787790298462,
-0.058824993669986725,
0.01226760447025299,
0.03471514210104942,
0.015043161809444427,
0.008471337147057056,
0.018742360174655914,
-0.04321042075753212,
-0.025204196572303772,
-0.007573432754725218,
-0.006505757570266724,
-0.021238673478364944,
-0.011021426878869534,
0.005973557010293007,
0.021396007388830185,
0.031525202095508575,
0.0655829906463623,
-0.04439130425453186,
-0.018955038860440254,
-0.036106403917074203,
-0.022295156493782997,
-0.026223573833703995,
0.0034819068387150764,
-0.010961418971419334,
-0.03211097791790962,
-0.030937381088733673,
-0.00757585046812892,
0.011410227976739407,
0.029574718326330185,
-0.017959745600819588,
-0.06467631459236145,
0.001991580007597804,
-0.014963974244892597,
-0.0218629352748394,
0.024454113095998764,
-0.0016145346453413367,
0.0023031276650726795,
0.02955349162220955,
0.04994833841919899,
-0.08105974644422531,
0.04212776944041252,
0.03536698967218399,
-0.005182893015444279,
-0.018773425370454788,
0.8089157342910767,
-0.00259207421913743,
-0.0019255541265010834,
0.015724418684840202,
-0.00582811189815402,
0.003296717070043087,
-0.012520681135356426,
-0.00002466519254085142,
-0.017261888831853867,
-0.021819839254021645,
-0.04357939586043358,
0.013366050086915493,
0.059192512184381485,
0.009730408899486065,
0.02167389914393425,
-0.0049063717015087605,
0.011911662295460701,
0.02299089916050434,
-0.005212554708123207,
0.007442940026521683,
0.03913472220301628,
0.007497754413634539,
0.00029381108470261097,
-0.007635851390659809,
0.011574512347579002,
0.021429404616355896,
-0.13920696079730988,
0.019623668864369392,
-6.985331833407257e-33,
0.01517022866755724,
-0.05270800739526749,
0.009934354573488235,
-0.006068500690162182,
-0.03224843740463257,
0.025029022246599197,
-0.027102762833237648,
-0.02280115894973278,
-0.05092077702283859,
-0.03339641913771629,
0.013024913147091866,
0.03246520459651947,
-0.01119873858988285,
0.010560445487499237,
0.018014943227171898,
-0.0016913003055378795,
-0.01569594256579876,
0.03734218329191208,
-0.011454449035227299,
-0.01744106225669384,
0.004271165933459997,
0.033587414771318436,
0.061856500804424286,
0.027401898056268692,
0.028362203389406204,
0.05973672494292259,
-0.012680631130933762,
-0.04663759469985962,
-0.02156897820532322,
-0.04503790661692619,
-0.039467763155698776,
-0.018341921269893646,
-0.01110708899796009,
-0.04551807790994644,
-0.0005617080605588853,
-0.020606093108654022,
-0.023532824590802193,
0.0013356987619772553,
-0.06349632889032364,
-0.020186465233564377,
-0.02640475705265999,
-0.010472683236002922,
-0.018704062327742577,
-0.01890072226524353,
-0.053456664085388184,
0.019541509449481964,
-0.00477671017870307,
-0.0023840097710490227,
-0.010503786616027355,
0.0031172249000519514,
0.016318699344992638,
0.0000036982214624003973,
-0.015015443786978722,
-0.028135405853390694,
-0.02838788740336895,
0.00447594141587615,
0.0004606367729138583,
0.002070832997560501,
-0.022466598078608513,
-0.01636889949440956,
0.07851449400186539,
-0.005345464218407869,
0.009737786836922169,
0.035510461777448654,
-0.038594167679548264,
-0.0060081942938268185,
0.03766446188092232,
-0.009951126761734486,
0.01788451336324215,
-0.011048585176467896,
-0.030967673286795616,
0.022622978314757347,
0.0276478324085474,
-0.03029734455049038,
0.03596092388033867,
-0.017911648377776146,
0.009379916824400425,
-0.002377450233325362,
0.01063680648803711,
0.011584445834159851,
0.02219705656170845,
-0.022911541163921356,
-0.013167514465749264,
-0.022219892591238022,
-0.04391885921359062,
0.011659836396574974,
0.04449804499745369,
-0.00924192275851965,
-0.008777309209108353,
0.02324317768216133,
0.021109439432621002,
0.04182782024145126,
-0.03074384294450283,
-0.011235533282160759,
-0.02367303892970085,
6.584184835297551e-33,
0.004470992833375931,
-0.026118338108062744,
0.04526076838374138,
-0.009414156898856163,
0.10533030331134796,
-0.004495375324040651,
0.06766195595264435,
0.03168059512972832,
-0.018128039315342903,
0.058148764073848724,
0.0029645049944519997,
0.0007785094785504043,
-0.013160541653633118,
0.0023666645865887403,
0.0791197121143341,
-0.04881986603140831,
0.00879002083092928,
-0.017215436324477196,
-0.03296348825097084,
-0.0008769796695560217,
0.006784146651625633,
0.003700731787830591,
0.02667732909321785,
0.02993934229016304,
0.017781391739845276,
0.029813192784786224,
0.024728257209062576,
0.00554589182138443,
-0.024294573813676834,
0.03328040614724159,
0.0275377556681633,
-0.01177210547029972,
-0.011073716916143894,
-0.003102431073784828,
0.020981017500162125,
0.039297837764024734,
-0.015628233551979065,
0.0009434421663172543,
0.026787016540765762,
0.040426529943943024,
0.01801370084285736,
0.015578470192849636,
0.004391445312649012,
0.022908153012394905,
0.02199031226336956,
0.04207541421055794,
0.011190740391612053,
0.028342992067337036,
-0.010739420540630817,
0.033710528165102005,
0.020040437579154968,
0.038481809198856354,
-0.04113322123885155,
0.01666325144469738,
0.02652592398226261,
-0.04087706655263901,
-0.03636536747217178,
-0.00506706815212965,
-0.04180348664522171,
0.011307284235954285,
-0.04183699190616608,
0.013626540079712868,
-0.05412529408931732,
0.017070407047867775,
-0.016906071454286575,
0.005216425750404596,
-0.06366198509931564,
-0.03475549444556236,
0.0012593944557011127,
0.034669600427150726,
0.003727331757545471,
-0.034425556659698486,
0.03802745044231415,
0.011563408188521862,
0.001419457490555942,
0.004699832294136286,
-0.04161451384425163,
0.0597698837518692,
-0.007288044784218073,
0.02058454416692257,
0.0428006686270237,
0.01010986976325512,
0.03143908083438873,
-0.018318314105272293,
0.002945623127743602,
0.016808200627565384,
-0.025585701689124107,
0.020184576511383057,
0.0037454059347510338,
0.016983449459075928,
0.02254723198711872,
-0.0670296922326088,
0.015123155899345875,
0.02876904420554638,
0.02259889990091324,
-1.2360297674263165e-8,
-0.06444692611694336,
0.02532334066927433,
-0.018251776695251465,
0.011408102698624134,
-0.0006835306994616985,
0.02168090268969536,
-0.032973434776067734,
-0.0022779195569455624,
0.03649364039301872,
0.020343706011772156,
0.07264230400323868,
-0.04783114418387413,
0.029670758172869682,
0.019560834392905235,
0.0006550971884280443,
-0.05178362503647804,
-0.018406515941023827,
-0.034778084605932236,
0.0229855477809906,
0.013512194156646729,
0.02661152370274067,
0.021861311048269272,
-0.02217811532318592,
0.010582945309579372,
0.034228965640068054,
-0.020338967442512512,
-0.011037012562155724,
-0.08343882858753204,
-0.05392857640981674,
-0.012448221445083618,
0.012874305248260498,
-0.018531937152147293,
-0.026321373879909515,
0.008997739292681217,
0.02946457825601101,
-0.009660639800131321,
0.039448585361242294,
0.00448444951325655,
0.014284025877714157,
-0.015095604583621025,
0.002287072828039527,
0.0014953057980164886,
-0.03915662318468094,
-0.03034364990890026,
-0.01811946928501129,
0.0024723790120333433,
-0.03547932580113411,
0.02071165107190609,
0.01819300837814808,
-0.0017372813308611512,
-0.01831449754536152,
-0.030799444764852524,
0.043976373970508575,
0.02442399226129055,
0.04844978079199791,
-0.019580267369747162,
0.011633435264229774,
0.021445702761411667,
-0.0230413768440485,
-0.011302844621241093,
0.016274139285087585,
0.013078710064291954,
0.005243600811809301,
-0.011940231546759605
] | quick-graph-guardian-top-100-male-footballers | https://markhneedham.com/blog/2019/12/22/quick-graph-guardian-top-100-male-footballers |
false | 2021-03-28 00:44:37 | Pandas: Filter column value in array/list - ValueError: The truth value of a Series is ambiguous | [
"python",
"pandas",
"covid-vaccines"
] | [
"python"
] | The UK government publishes Coronavirus vaccinations data on https://coronavirus.data.gov.uk/details/vaccinations[coronavirus.data.gov.uk^], but I wanted to create some different visualisations so I downloaded the data and have been playing with it in the https://github.com/mneedham/covid-vaccines[mneedham/covid-vaccines^] GitHub repository.
I massaged the data so that I have rows in a Pandas DataFrame representing the numbers of first doses, second doses, and total doses done each day.
I then wanted to filter this DataFrame based on the type of dose, but initially got a bit stuck.
In this blog post we'll explore how I got around this problem.
The DataFrame that we're working with looks like the one below:
[source, python]
----
df = pd.DataFrame({
"date": ["2021-03-25", "2021-03-25", "2021-03-25"],
"dose": ["firstDose", "secondDose", "totalDoses"],
"vaccinations": [324942, 234382, 559324]
})
----
.Results
[opts="header", cols="1,30,30,30"]
|===
| | date |dose | vaccinations
|0 |2021-03-25 |firstDose | 324942
|1 |2021-03-25 |secondDose | 234382
|2 | 2021-03-25 |totalDoses | 559324
|===
I wanted to filter the DataFrame to return only the rows with a `dose` value of `firstDose` or `secondDose`.
One way of doing this would be to combine filters for `firstDose` or `secondDose`.
I initially tried to do that using the Python `or` clause:
[source, python]
----
df[(df.dose == "firstDose") or (df.dose == "secondDose")]
----
But that throws the following error:
.Error
[source, text]
----
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/generic.py", line 1442, in __nonzero__
raise ValueError(
ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
----
Instead we have to use the `|` operator, as shown below:
[source, python]
----
df[(df.dose == "firstDose") | (df.dose == "secondDose")]
----
.Results
[opts="header", cols="1,30,30,30"]
|===
| | date |dose | vaccinations
|0 |2021-03-25 |firstDose | 324942
|1 |2021-03-25 |secondDose | 234382
|===
That works fine if we're filtering on two values, but if we wanted to add a 3rd or 4th filter, our expression would get more complicated.
Instead it would be cool if we could filter on a list of values.
I initially tried to do this using the following code:
[source, python]
----
df[df.dose in ["firstDose", "secondDose"]]
----
But that takes us back to the same error that we had before:
.Error
[source, text]
----
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/generic.py", line 1442, in __nonzero__
raise ValueError(
ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
----
This time we can use Pandas' https://pandas.pydata.org/docs/reference/api/pandas.Series.isin.html[`isin`^] function to solve the problem, as shown below:
[source, python]
----
df[df.dose.isin(["firstDose", "secondDose"])]
----
.Results
[opts="header", cols="1,30,30,30"]
|===
| | date |dose | vaccinations
|0 |2021-03-25 |firstDose | 324942
|1 |2021-03-25 |secondDose | 234382
|=== | In this post we'll learn how to filter a Pandas DataFrame based on a column value existing in an array/list. | null | [
0.03463471308350563,
0.02272835373878479,
-0.019760118797421455,
-0.002713228575885296,
0.05645468086004257,
0.03119729831814766,
0.0008150769281201065,
0.01945384591817856,
0.028295258060097694,
0.0006629311828874052,
0.014986767433583736,
-0.024011122062802315,
-0.08704902976751328,
0.02310056798160076,
-0.0015958090079948306,
0.05858277529478073,
0.0745614767074585,
0.03353211656212807,
0.018455253913998604,
0.013516406528651714,
0.027678363025188446,
0.0445086807012558,
-0.04985860735177994,
0.06923063099384308,
0.012985183857381344,
-0.007086081430315971,
0.05320323258638382,
-0.00969415158033371,
-0.03760456666350365,
0.00396962184458971,
0.00823311135172844,
0.04012366384267807,
-0.023349551483988762,
0.03327114135026932,
0.03395714610815048,
0.013528591021895409,
-0.022069450467824936,
0.01131631899625063,
0.00009983892960008234,
0.009102454409003258,
-0.09580441564321518,
-0.01401709858328104,
-0.03424404188990593,
-0.008723056875169277,
-0.045268576592206955,
0.003415145445615053,
0.0033232844434678555,
0.01796589605510235,
-0.008164451457560062,
0.007758119609206915,
-0.06378203630447388,
0.0177769735455513,
0.024536481127142906,
-0.025587081909179688,
-0.013348657637834549,
0.06148867681622505,
0.021612226963043213,
-0.05529423803091049,
-0.009877516888082027,
-0.05418498441576958,
-0.0015385271981358528,
-0.006402886006981134,
0.000886322115547955,
0.041706401854753494,
0.034699585288763046,
0.019037101417779922,
-0.020840108394622803,
0.08839422464370728,
-0.009687051177024841,
-0.028597572818398476,
-0.027031611651182175,
0.012717482633888721,
-0.03579498082399368,
0.010408318601548672,
-0.014350125566124916,
-0.02271716482937336,
-0.014778762124478817,
0.02032969333231449,
0.033637359738349915,
0.0035890680737793446,
0.010697836056351662,
-0.016676954925060272,
0.010938938707113266,
0.02181248366832733,
0.014781814068555832,
-0.015617591328918934,
-0.038173750042915344,
-0.035243093967437744,
-0.07272583246231079,
0.0565681979060173,
0.012253092601895332,
-0.022828249260783195,
0.02326919510960579,
-0.010415862314403057,
-0.044581349939107895,
-0.013204776681959629,
0.01890944503247738,
-0.02135462686419487,
-0.010861096903681755,
-0.028110597282648087,
-0.033813465386629105,
-0.009971077553927898,
0.03432590514421463,
0.0012255174806341529,
-0.05552804470062256,
0.0053579737432301044,
-0.05008295923471451,
-0.020957639440894127,
0.003242377657443285,
0.026221496984362602,
-0.022782525047659874,
0.011442044749855995,
-0.03565595671534538,
-0.002398580079898238,
-0.11034742742776871,
0.05059390515089035,
0.021727144718170166,
-0.02226216346025467,
-0.006441647652536631,
0.016911668702960014,
0.025546003133058548,
0.03161144629120827,
-0.021308336406946182,
0.0510551892220974,
0.033470701426267624,
0.06460856646299362,
-0.014143416658043861,
0.04372379183769226,
0.021635090932250023,
-0.040056101977825165,
-0.012889464385807514,
0.05829835310578346,
-0.035276710987091064,
-0.01162728201597929,
0.009684620425105095,
-0.010920592583715916,
-0.028134524822235107,
0.022940397262573242,
0.04930201545357704,
0.011395466513931751,
0.03722180053591728,
-0.031934451311826706,
0.0017371479189023376,
0.022668354213237762,
0.029739394783973694,
0.04188627004623413,
-0.005574837327003479,
-0.0636342465877533,
-0.05658138170838356,
0.0086205480620265,
0.01951749064028263,
0.017097126692533493,
0.08257496356964111,
-0.011251851916313171,
0.004045344889163971,
0.06532353907823563,
0.05889347568154335,
0.00989204365760088,
-0.022420041263103485,
-0.005413691513240337,
0.07289478927850723,
0.035857994109392166,
0.008981437422335148,
0.040001168847084045,
-0.017991025000810623,
-0.0389782078564167,
-0.000012839403098041657,
0.0373992994427681,
-0.01802966371178627,
-0.025848448276519775,
-0.08006728440523148,
-0.05784306302666664,
0.05886509642004967,
-0.07185689359903336,
0.01891789585351944,
0.03200599551200867,
0.05389793962240219,
0.0053120763041079044,
0.030576415359973907,
0.012281160801649094,
-0.07051047682762146,
0.04343414306640625,
0.006504604127258062,
0.04000219330191612,
0.05613461136817932,
-0.0302120391279459,
0.09164871275424957,
0.022407853975892067,
0.026475252583622932,
0.08356691151857376,
-0.06692339479923248,
-0.03212976083159447,
0.00847085751593113,
0.009639563970267773,
0.004752368666231632,
-0.03569692745804787,
-0.008360130712389946,
0.0939006358385086,
0.02303108014166355,
0.024349788203835487,
-0.024388521909713745,
0.014776554889976978,
0.028804412111639977,
-0.026322877034544945,
-0.044774264097213745,
0.006753288209438324,
0.04888482391834259,
-0.004999823402613401,
-0.004326405003666878,
0.05420386418700218,
-0.020435165613889694,
0.015576894395053387,
0.003527800552546978,
-0.016659969463944435,
0.01839275099337101,
0.02747879922389984,
0.03305615112185478,
0.0238663163036108,
0.005721538793295622,
-0.0664982870221138,
0.043223537504673004,
0.00392065430060029,
0.004161219112575054,
-0.027661791071295738,
-0.005601453594863415,
0.13743750751018524,
0.06270719319581985,
0.004809276666492224,
-0.03917135298252106,
-0.016628427430987358,
0.001202656771056354,
0.010496140457689762,
0.0180241446942091,
0.005885224789381027,
0.015088612213730812,
0.0028476647567003965,
-0.02176113799214363,
0.01060118991881609,
0.015284334309399128,
-0.07097622752189636,
0.018530234694480896,
0.04185059294104576,
0.02130497246980667,
0.038794778287410736,
-0.017351696267724037,
-0.014583234675228596,
-0.030104894191026688,
-0.03339933976531029,
-0.07490762323141098,
-0.012743383646011353,
0.027059990912675858,
0.01972924917936325,
0.04147683084011078,
0.035332512110471725,
0.010110381990671158,
-0.0032834154553711414,
-0.038242969661951065,
0.04658640921115875,
0.055318061262369156,
0.041150905191898346,
-0.018458889797329903,
0.05478622019290924,
0.011444831266999245,
0.02109704725444317,
-0.004543834365904331,
-0.037629369646310806,
-0.05820414423942566,
-0.028175951912999153,
-0.009056643582880497,
0.005742392037063837,
0.035716913640499115,
0.0024282103404402733,
-0.012496563605964184,
-0.012945357710123062,
0.005717059597373009,
-0.005889229476451874,
0.02578400820493698,
0.010396063327789307,
-0.0029356833547353745,
-0.013479745015501976,
0.009488570503890514,
0.06661384552717209,
-0.0032406870741397142,
-0.03703027963638306,
-0.0019534125458449125,
-0.06791313737630844,
0.015110827051103115,
-0.06466270983219147,
-0.035710129886865616,
0.013496908359229565,
0.0008412418537773192,
0.04896203428506851,
0.02784978225827217,
-0.04404951632022858,
0.020084716379642487,
-0.01796330139040947,
-0.0027844782453030348,
0.03681383281946182,
0.013368429616093636,
0.01817380078136921,
0.00858087558299303,
0.01414763554930687,
0.05907176062464714,
0.03501352295279503,
-0.010250064544379711,
-0.07506589591503143,
0.020507020875811577,
-0.03654012829065323,
-0.265550434589386,
0.032907821238040924,
0.00816849060356617,
-0.03559582680463791,
0.0203024223446846,
-0.03302351385354996,
0.030412517488002777,
-0.05159917101264,
-0.034587230533361435,
-0.034892141819000244,
0.03647157549858093,
-0.05086948350071907,
0.005168603733181953,
0.029034238308668137,
0.04192312806844711,
0.011134246364235878,
-0.0239771269261837,
-0.042471274733543396,
0.01867319829761982,
0.03528544306755066,
0.0384707935154438,
-0.04064997658133507,
-0.031426697969436646,
0.062046948820352554,
0.027179671451449394,
-0.0026069539599120617,
-0.023292429745197296,
0.029122984036803246,
-0.08124525099992752,
-0.018355760723352432,
0.003867650404572487,
-0.0083151338621974,
0.00923821423202753,
-0.02466055564582348,
-0.043492622673511505,
-0.007084808778017759,
0.028616808354854584,
-0.001168958842754364,
-0.011235424317419529,
-0.027152666822075844,
-0.04680800065398216,
-0.04797380417585373,
-0.023793142288923264,
-0.010593238286674023,
0.060517970472574234,
0.016508029773831367,
-0.05324108526110649,
0.02923201210796833,
-0.04265253618359566,
0.06072210147976875,
-0.001583815785124898,
-0.01182907447218895,
-0.06457274407148361,
0.026586059480905533,
-0.03673837333917618,
0.01615607924759388,
-0.05892283469438553,
0.022678958252072334,
-0.02670610137283802,
-0.042270906269550323,
-0.02190115861594677,
-0.013187237083911896,
-0.04360073804855347,
-0.04052842780947685,
0.014765499159693718,
-0.06321553140878677,
-0.0626356229186058,
-0.05430053174495697,
0.03202719986438751,
0.039104003459215164,
-0.0558774396777153,
-0.03581714630126953,
-0.02554936707019806,
-0.10913056135177612,
0.027222592383623123,
-0.049256689846515656,
-0.00038872502045705914,
0.01894599385559559,
0.01748167909681797,
0.04182422161102295,
-0.03295433893799782,
-0.061822861433029175,
0.0358341708779335,
0.024617580696940422,
0.02122684381902218,
-0.03521062061190605,
0.03596799075603485,
-0.005842333659529686,
-0.010195687413215637,
-0.04763796925544739,
0.0510309673845768,
-0.04057394713163376,
-0.009244747459888458,
0.013859367929399014,
-0.040548332035541534,
0.05739901587367058,
-0.024051042273640633,
0.009466219693422318,
-0.019188465550541878,
0.03544172644615173,
0.03533806651830673,
-0.03894064947962761,
-0.06002943590283394,
-0.08571530878543854,
-0.04730307310819626,
-0.033296409994363785,
-0.06820424646139145,
0.024472281336784363,
-0.02541707269847393,
-0.017308911308646202,
0.0017793094739317894,
-0.036109138280153275,
0.018833475187420845,
-0.04797669127583504,
-0.029810234904289246,
-0.022022925317287445,
0.04635497182607651,
-0.007156927138566971,
-0.011736255139112473,
-0.002147454069927335,
-0.037122152745723724,
0.03423624485731125,
-0.009778599254786968,
0.004225820302963257,
-0.03550717234611511,
-0.03346840292215347,
0.026359181851148605,
-0.00790659710764885,
-0.007154748309403658,
0.01828947849571705,
-0.006053433753550053,
0.03897450491786003,
0.02574598230421543,
-0.021618055179715157,
0.005382295232266188,
-0.016413366422057152,
-0.04890359565615654,
-0.025537701323628426,
0.02484484203159809,
0.05003191903233528,
0.0031483075581490993,
0.010395935736596584,
-0.0012542357435449958,
0.021421100944280624,
0.029642466455698013,
0.0010077168699353933,
-0.0060318210162222385,
0.03989782929420471,
0.004284024704247713,
0.028140872716903687,
0.00604720413684845,
-0.02085663005709648,
-0.03125632926821709,
-0.03534918650984764,
-0.0228971429169178,
0.014844469726085663,
0.04961339384317398,
-0.008097697980701923,
0.007880712859332561,
-0.03413528949022293,
-0.020237162709236145,
-0.04424385726451874,
-0.01822020299732685,
-0.0224973876029253,
0.005443338304758072,
0.03441421687602997,
-0.0015721687814220786,
0.014837861061096191,
0.0299899373203516,
-0.013753579929471016,
0.013732826337218285,
0.025416433811187744,
-0.013350059278309345,
0.010241114534437656,
-0.015043065883219242,
-0.010069110430777073,
0.0067593990825116634,
0.01736678183078766,
-0.0047206091694533825,
0.004405215848237276,
-0.03054044209420681,
0.000212550483411178,
0.024247633293271065,
0.005760008003562689,
0.03901933506131172,
0.057233620434999466,
-0.01780311018228531,
-0.03569147735834122,
-0.01486984733492136,
-0.03055858425796032,
-0.021106308326125145,
-0.029605474323034286,
-0.008886530064046383,
-0.01576871983706951,
-0.011519667692482471,
-0.055710405111312866,
0.01644245535135269,
0.023121848702430725,
-0.007941043004393578,
0.0291848573833704,
-0.03790420666337013,
0.017477206885814667,
-0.02151627652347088,
0.03258879482746124,
0.00845172069966793,
-0.03495205193758011,
-0.017220642417669296,
0.009356239810585976,
0.005908564198762178,
0.034111179411411285,
0.00874467846006155,
-0.07247811555862427,
-0.02107452042400837,
-0.025775760412216187,
0.010661758482456207,
-0.02645774930715561,
-0.0634608343243599,
-0.05755148082971573,
0.03917158395051956,
-0.004666066728532314,
0.02708176150918007,
-0.008725140243768692,
-0.024467863142490387,
-0.03502005711197853,
0.005779658909887075,
0.01976385898888111,
-0.03304840624332428,
-0.015055949799716473,
0.048522304743528366,
0.0036901605781167746,
-0.030239969491958618,
0.003214739728718996,
0.030663184821605682,
0.020029257982969284,
-0.02229212410748005,
0.00010405183274997398,
-0.014412895776331425,
0.004991552326828241,
0.0022457267623394728,
0.031085316091775894,
-0.027960829436779022,
0.029304876923561096,
-0.0453130342066288,
-0.014339946210384369,
0.009541640058159828,
0.034979261457920074,
0.01418261043727398,
0.008886619471013546,
0.004221581853926182,
0.04809927940368652,
-0.0031248233281075954,
0.0021967089269310236,
0.006925814785063267,
-0.02883243001997471,
0.039548277854919434,
-0.012285765260457993,
-0.015985723584890366,
-0.046685706824064255,
-0.05287707597017288,
0.020520225167274475,
0.008343995548784733,
0.026025500148534775,
-0.023916911333799362,
0.020283546298742294,
0.04310675710439682,
0.01955091767013073,
0.05649197846651077,
0.0013501053908839822,
0.016953948885202408,
-0.04367167130112648,
-0.006532922387123108,
-0.09165076166391373,
-0.011951624415814877,
0.050592850893735886,
-0.0075985463336110115,
-0.0009510702220723033,
0.019306551665067673,
-0.014530720189213753,
0.037079375237226486,
-0.05330319330096245,
-0.018174992874264717,
0.038041677325963974,
-0.0017973037902265787,
0.02034347504377365,
0.015255670994520187,
-0.04756617173552513,
0.0006524851196445525,
0.023577624931931496,
-0.04349615424871445,
-0.03693209961056709,
-0.010493255220353603,
0.06425651907920837,
-0.03544499725103378,
0.0034207759890705347,
-0.03462880849838257,
0.009219879284501076,
0.07157117873430252,
0.03211135044693947,
0.00701153976842761,
0.008408572524785995,
-0.02908078208565712,
0.04001248627901077,
0.009464900009334087,
0.008788355626165867,
0.001676115207374096,
0.03770926594734192,
0.02188034914433956,
-0.05020085349678993,
0.006793594919145107,
0.01783055067062378,
0.03637460991740227,
-0.06488902121782303,
0.0798187106847763,
-0.020881975069642067,
-0.04856736958026886,
-0.028375793248414993,
-0.012062948197126389,
-0.053271349519491196,
-0.016546454280614853,
-0.03320032358169556,
-0.0005946811870671809,
-0.029078783467411995,
0.06331121921539307,
-0.007995505817234516,
0.0008455439237877727,
0.033100925385951996,
-0.012678960338234901,
0.013330433517694473,
0.02913638763129711,
0.06435403972864151,
0.046345800161361694,
0.04286593198776245,
0.012144665233790874,
0.07239804416894913,
-0.019017651677131653,
-0.05185140669345856,
0.019572654739022255,
-0.06504454463720322,
-0.02926531247794628,
-0.02967362105846405,
0.012081947177648544,
0.05419251322746277,
0.026360411196947098,
0.06074517220258713,
0.013014541007578373,
0.010124013759195805,
-0.012886582873761654,
0.020895255729556084,
0.05751906707882881,
0.008434265851974487,
0.03839407116174698,
0.02410738915205002,
-0.004321213345974684,
-0.016965433955192566,
0.021120361983776093,
-0.015510240569710732,
-0.02486538328230381,
0.013130146078765392,
-0.03780238702893257,
0.010321041569113731,
-0.009256675839424133,
0.014068585820496082,
0.07101567834615707,
-0.00924810953438282,
-0.003320845542475581,
-0.01400887593626976,
0.026693573221564293,
-0.021563563495874405,
0.04116624966263771,
0.04140205308794975,
-0.008597656153142452,
-0.07586221396923065,
-0.0609828382730484,
-0.005822475533932447,
-0.03704284131526947,
-0.060688335448503494,
-0.0029170524794608355,
-0.030497683212161064,
0.0046547409147024155,
0.05622265115380287,
-0.035066213458776474,
-0.023410143330693245,
-0.02273421175777912,
-0.064263254404068,
-0.02888992242515087,
-0.050035975873470306,
-0.036567773669958115,
0.05325663089752197,
-0.005911572836339474,
-0.00024829464382492006,
-0.02860034443438053,
0.027690524235367775,
-0.00604915339499712,
0.014371909201145172,
-0.029208702966570854,
-0.022748369723558426,
0.0631754919886589,
0.011485598981380463,
0.010923649184405804,
0.01911281980574131,
0.033839549869298935,
0.006621953099966049,
-0.04047736898064613,
-0.027347413823008537,
0.03539878502488136,
0.05960052087903023,
0.009806598536670208,
0.05308964103460312,
-0.0940941795706749,
-0.02195683680474758,
-0.004416249692440033,
-0.002626183209940791,
-0.06624031066894531,
0.027535682544112206,
0.03806425631046295,
0.028420357033610344,
0.04827504605054855,
0.002674526534974575,
-0.01538429968059063,
-0.019621435552835464,
-0.04276331886649132,
0.023529546335339546,
0.008099419996142387,
0.04699758067727089,
-0.024564063176512718,
0.07746029645204544,
0.049603160470724106,
-0.009767222218215466,
-0.006102645769715309,
0.00037464272463694215,
-0.05138128623366356,
-0.0008408736321143806,
-0.010279268026351929,
-0.051252350211143494,
-0.11312434077262878,
-0.06474117189645767,
-0.009591861627995968,
0.04052727296948433,
-0.05445537343621254,
-0.0068186367861926556,
0.01482462789863348,
-0.005222140345722437,
-0.004432135261595249,
0.0343792587518692,
-0.024724699556827545,
-0.006577199324965477,
-0.007416481152176857,
-0.013439499773085117,
-0.016840077936649323,
0.030596531927585602,
0.012280548922717571,
0.012544224038720131,
-0.002863137749955058,
-0.05656855180859566,
0.009832892566919327,
-0.04277177155017853,
0.030865810811519623,
0.09279109537601471,
-0.01644711196422577,
0.015434165485203266
] | [
-0.05485529452562332,
-0.01862994208931923,
-0.015023216605186462,
0.01320888102054596,
0.10079796612262726,
-0.03468647599220276,
0.015304550528526306,
0.02922576107084751,
-0.002987178275361657,
0.01642080582678318,
0.006078473292291164,
-0.11636949330568314,
0.011018476448953152,
0.010484539903700352,
0.022341949865221977,
-0.005080684088170528,
-0.005060192663222551,
-0.14113304018974304,
-0.02043786272406578,
0.07391355186700821,
-0.019242817535996437,
-0.012745613232254982,
-0.04737182334065437,
-0.05895136669278145,
0.03444865345954895,
0.03414356708526611,
0.0593331940472126,
-0.02559100091457367,
-0.023212138563394547,
-0.18812836706638336,
-0.005623886361718178,
-0.035831816494464874,
-0.00851564109325409,
-0.04721484333276749,
-0.011898133903741837,
0.024949008598923683,
0.04894914850592613,
0.036925435066223145,
0.012503869831562042,
0.05876464396715164,
0.0096198208630085,
-0.0025924325454980135,
-0.01739802025258541,
-0.03549967333674431,
0.016719622537493706,
-0.0026102943811565638,
-0.07008066028356552,
-0.01068503875285387,
0.04740377143025398,
0.016438404098153114,
-0.04588286578655243,
0.022066621109843254,
-0.01585794799029827,
0.023784292861819267,
-0.01811542548239231,
-0.0034424650948494673,
0.024635666981339455,
0.039541926234960556,
-0.0030942384619265795,
0.023305490612983704,
-0.0075707947835326195,
0.013145300559699535,
-0.15835247933864594,
0.11060305684804916,
-0.013485713861882687,
0.04539311304688454,
-0.036331769078969955,
-0.011089797131717205,
0.034242767840623856,
0.08712536841630936,
-0.016586599871516228,
-0.01146775670349598,
-0.03728290647268295,
0.07068806886672974,
0.019711732864379883,
-0.008478029631078243,
0.00007805549103068188,
0.033154189586639404,
0.04340970143675804,
-0.03224422037601471,
-0.033896304666996,
0.05220134183764458,
0.021140731871128082,
-0.02551601640880108,
0.04306561127305031,
-0.023793276399374008,
-0.028339723125100136,
0.008766514249145985,
0.013692132197320461,
0.02457963302731514,
0.0244042556732893,
0.0015388551400974393,
0.04319876804947853,
0.029546895995736122,
-0.09860445559024811,
-0.025707758963108063,
0.02367963269352913,
0.0134311243891716,
-0.024403825402259827,
0.410370796918869,
-0.027654187753796577,
-0.04896833002567291,
-0.01478868443518877,
0.04891391843557358,
0.013571670278906822,
-0.016714738681912422,
0.014885115437209606,
-0.05945156142115593,
0.03036457486450672,
-0.02666485495865345,
-0.002147356513887644,
-0.01762767881155014,
0.08148805052042007,
-0.06380675733089447,
0.00008459608216071501,
0.03475375846028328,
0.030667198821902275,
0.012602481059730053,
0.001980578526854515,
0.026793545112013817,
-0.0001172092670458369,
-0.03313148021697998,
0.04058269038796425,
-0.021535370498895645,
0.034997254610061646,
0.048229705542325974,
0.03802698105573654,
0.0823637992143631,
0.03586479276418686,
0.014583490788936615,
0.06401398032903671,
-0.0416027270257473,
-0.0588127076625824,
0.011779170483350754,
-0.00867578387260437,
-0.012309206649661064,
0.027722038328647614,
-0.02912903018295765,
0.011531375348567963,
0.02923809550702572,
-0.017292750999331474,
-0.05763249471783638,
-0.013080754317343235,
-0.03629868105053902,
-0.04389181360602379,
0.11889845877885818,
-0.025729728862643242,
0.0007275412790477276,
-0.05856092646718025,
-0.07115191221237183,
0.022065121680498123,
0.06019219756126404,
0.013093503192067146,
-0.022805549204349518,
0.019623054191470146,
0.03056482784450054,
0.07847684621810913,
-0.018459856510162354,
-0.04733462259173393,
-0.03633401542901993,
0.013263260945677757,
-0.0711900070309639,
-0.050333283841609955,
0.04113450273871422,
0.017386166378855705,
-0.06394411623477936,
-0.03413847088813782,
0.02319406531751156,
0.022442316636443138,
-0.04465227201581001,
0.0208921879529953,
0.025563595816493034,
-0.02571839652955532,
0.00017987281898967922,
0.06573130190372467,
-0.014108525589108467,
-0.05009306222200394,
0.031506117433309555,
0.035069432109594345,
0.01107383705675602,
-0.025224914774298668,
0.0063557312823832035,
-0.03642842173576355,
0.004922728054225445,
-0.057800520211458206,
-0.06138095632195473,
-0.04520735144615173,
0.00044782523764297366,
0.011431174352765083,
-0.052061814814805984,
-0.0013426345540210605,
-0.04216143488883972,
-0.07591181248426437,
0.05042621120810509,
-0.027409430593252182,
-0.03500581160187721,
0.011918943375349045,
-0.0021565514616668224,
0.021528426557779312,
-0.0293685682117939,
0.014617360197007656,
-0.005396442953497171,
-0.006169043015688658,
0.07070425897836685,
-0.03935080021619797,
0.006477313116192818,
0.021916765719652176,
-0.03962276130914688,
0.07777697592973709,
0.01223957072943449,
0.035418372601270676,
0.01856289617717266,
-0.021370796486735344,
0.0009182040230371058,
-0.03948810696601868,
0.013320472091436386,
-0.01162690483033657,
-0.01925777643918991,
-0.0031388546340167522,
0.032932452857494354,
0.014349334873259068,
-0.020564556121826172,
-0.0011015583295375109,
-0.35893866419792175,
-0.05000438168644905,
-0.012003897689282894,
-0.02032872475683689,
-0.0035842182114720345,
-0.03382040560245514,
0.004756645765155554,
0.0026594954542815685,
-0.038472313433885574,
0.06912286579608917,
0.09751646220684052,
0.029009325429797173,
-0.01703716069459915,
-0.07944793999195099,
-0.04246329143643379,
0.022506769746541977,
-0.011609451845288277,
-0.03110658936202526,
-0.033278439193964005,
0.0011142465518787503,
0.013131753541529179,
-0.04542334005236626,
0.0040089902468025684,
-0.0032267943024635315,
0.04208269715309143,
-0.034757815301418304,
0.15420421957969666,
0.02650388702750206,
0.01737998053431511,
-0.01610575057566166,
0.03223766013979912,
0.0001237295800819993,
0.028371870517730713,
-0.07213914394378662,
0.000849664444103837,
-0.06351219117641449,
-0.04043249040842056,
0.054372284561395645,
-0.05432281643152237,
-0.021365443244576454,
-0.030889274552464485,
0.02283221110701561,
-0.01278708130121231,
-0.01892680674791336,
-0.03293595835566521,
0.025008749216794968,
-0.006232449784874916,
0.04560226947069168,
-0.05887842923402786,
0.043003473430871964,
0.031333014369010925,
0.004020582418888807,
0.013336298987269402,
0.02057083509862423,
0.04558413103222847,
-0.006188129540532827,
-0.08407019078731537,
0.018920613452792168,
-0.0393897220492363,
-0.004714935552328825,
-0.0007994313491508365,
0.019052153453230858,
0.04674697294831276,
-0.05025070533156395,
-0.0562189556658268,
-0.01524503342807293,
0.04178817942738533,
-0.0034713700879365206,
0.027547696605324745,
0.01499806996434927,
-0.028171276673674583,
0.13650260865688324,
-0.0482986755669117,
0.015687892213463783,
0.025540973991155624,
0.058038998395204544,
-0.03501681610941887,
0.016718432307243347,
-0.02068345621228218,
-0.007244800217449665,
0.06294913589954376,
-0.023195454850792885,
-0.0009213034645654261,
0.017953775823116302,
0.021557025611400604,
-0.0047163874842226505,
-0.027795210480690002,
0.010883920826017857,
0.04289918392896652,
-0.0047531272284686565,
0.009459148161113262,
-0.04350922629237175,
-0.020497197285294533,
-0.026209067553281784,
0.026756862178444862,
0.01652701199054718,
-0.2558547258377075,
0.022605370730161667,
0.04236793518066406,
0.05996381491422653,
-0.004361450672149658,
-0.04678768664598465,
0.0034145740792155266,
-0.04860888421535492,
-0.008026660420000553,
-0.030412113294005394,
-0.0017824965761974454,
0.037231478840112686,
0.04158497601747513,
0.012236415408551693,
-0.035757988691329956,
-0.009817574173212051,
0.003538668854162097,
-0.012855232693254948,
0.024087252095341682,
0.011649868451058865,
0.05277690291404724,
-0.05336500704288483,
0.13166265189647675,
0.035925332456827164,
-0.020685572177171707,
-0.005437837447971106,
-0.02438081055879593,
0.009342153556644917,
0.05180586874485016,
0.05254441499710083,
0.010720787569880486,
-0.027646293863654137,
0.03606786951422691,
0.008344005793333054,
0.044454433023929596,
-0.024449791759252548,
-0.026229849085211754,
0.03237930312752724,
0.029107004404067993,
-0.018211327493190765,
-0.008075905963778496,
0.03306646645069122,
0.01798928715288639,
0.0139691811054945,
0.05716361105442047,
-0.026266897097229958,
0.003970136865973473,
-0.07980768382549286,
-0.01104313600808382,
-0.013241623528301716,
-0.012603319250047207,
-0.0038949502632021904,
0.019026711583137512,
0.01682353764772415,
0.02940862625837326,
0.03339606896042824,
0.07250432670116425,
-0.03244219347834587,
0.030136946588754654,
-0.00016334028623532504,
0.006132625509053469,
-0.034329675137996674,
0.05021345987915993,
0.034233272075653076,
0.02482927218079567
] | [
0.025992175564169884,
0.02909955009818077,
0.015458954498171806,
0.009217486716806889,
0.010903050191700459,
-0.03405328467488289,
0.020913254469633102,
0.02797936089336872,
-0.014145050197839737,
-0.012820682488381863,
0.0037535184528678656,
-0.020564718171954155,
0.014945882372558117,
0.019544146955013275,
-0.0007966812117956579,
-0.021827757358551025,
0.018098322674632072,
-0.0014656997518613935,
0.06014484167098999,
0.030282428488135338,
-0.021063724532723427,
0.07860273122787476,
0.013171480037271976,
-0.0024755364283919334,
-0.03896443545818329,
0.06277354806661606,
-0.07242179661989212,
-0.0002774734457489103,
0.0367492251098156,
-0.10093030333518982,
-0.0177148524671793,
-0.06742305308580399,
-0.014730551280081272,
0.010641580447554588,
-0.05900692194700241,
-0.034921929240226746,
-0.01931721717119217,
0.06433633714914322,
-0.00551264313980937,
0.053344469517469406,
-0.018604595214128494,
-0.00203455938026309,
0.02572254091501236,
0.019950302317738533,
0.017550554126501083,
0.002536794636398554,
-0.05171845108270645,
0.004071871750056744,
0.030071409419178963,
0.006648826878517866,
-0.03098839335143566,
-0.055790405720472336,
-0.015398211777210236,
0.007752606645226479,
0.014408406801521778,
-0.03013368509709835,
-0.03276677429676056,
-0.006534495856612921,
-0.025196092203259468,
-0.010411175899207592,
-0.045457929372787476,
0.030544279143214226,
-0.02646806463599205,
0.0023663414176553488,
0.022302649915218353,
-0.025785403326153755,
-0.04112084582448006,
0.010271068662405014,
-0.004465680569410324,
0.028642844408750534,
-0.036829736083745956,
0.02242855168879032,
-0.05860089510679245,
0.01211455836892128,
-0.0381748229265213,
0.006735634990036488,
0.04502074047923088,
-0.004990346264094114,
0.027149194851517677,
-0.007412740960717201,
-0.018315179273486137,
0.015099341981112957,
0.03662566468119621,
0.058747779577970505,
-0.01555146649479866,
-0.058924008160829544,
0.017464525997638702,
0.008201315999031067,
0.030428629368543625,
-0.041244663298130035,
0.034998416900634766,
0.021534979343414307,
0.02715480700135231,
0.03551532328128815,
-0.07424777001142502,
-0.011357775889337063,
0.018841493874788284,
-0.029284190386533737,
-0.012505415827035904,
0.7849447727203369,
-0.024912197142839432,
-0.07071255147457123,
-0.0023751426488161087,
0.03966985270380974,
0.0021199879702180624,
-0.027440741658210754,
-0.0026188320480287075,
-0.028265153989195824,
0.007299674674868584,
-0.021445274353027344,
0.004543652758002281,
0.07044608145952225,
0.007923472672700882,
-0.004442564677447081,
0.03621657192707062,
0.06539638340473175,
-0.005311646964401007,
-0.016945617273449898,
-0.03588562086224556,
-0.025995487347245216,
-0.007632517721503973,
-0.037027742713689804,
0.012221844866871834,
-0.06979023665189743,
0.008902744390070438,
-0.1630239337682724,
0.08830119669437408,
-8.276995882817496e-33,
0.011305926367640495,
-0.033645980060100555,
0.08499178290367126,
-0.002154398476704955,
0.0300282035022974,
0.008460046723484993,
-0.0020222035236656666,
0.010946277529001236,
0.005327623803168535,
-0.015278782695531845,
-0.025643011555075645,
-0.019836030900478363,
-0.012454299256205559,
0.00783133041113615,
0.009340154007077217,
-0.036063600331544876,
-0.0037929757963865995,
0.05278009548783302,
-0.020237259566783905,
0.04005366563796997,
0.04359957575798035,
0.002825715346261859,
0.041618768125772476,
0.038047950714826584,
0.013131149113178253,
0.027407288551330566,
-0.008452191948890686,
0.006832665763795376,
0.017482241615653038,
-0.047347187995910645,
-0.039027851074934006,
0.03090650774538517,
-0.0177762508392334,
-0.03755291923880577,
-0.013849003240466118,
-0.06876563280820847,
-0.01658621057868004,
-0.008730658330023289,
-0.008557594381272793,
0.008713936433196068,
0.036120232194662094,
0.05438367277383804,
-0.0162692628800869,
-0.014981343410909176,
-0.006023876368999481,
0.006164685823023319,
0.013157286681234837,
0.02272430621087551,
-0.01142946258187294,
0.013077070005238056,
0.00575752928853035,
-0.017353910952806473,
-0.03408794850111008,
-0.03072090819478035,
0.0031986283138394356,
0.0332837775349617,
-0.015482212416827679,
0.025121740996837616,
0.006894344929605722,
-0.02576090395450592,
0.025839995592832565,
0.0012812567874789238,
0.040872443467378616,
0.029560327529907227,
-0.02847127616405487,
-0.006959211081266403,
0.03051266074180603,
-0.018943460658192635,
0.015224635601043701,
0.024934882298111916,
-0.063211590051651,
0.025135474279522896,
-0.019394099712371826,
-0.05159536749124527,
0.06253135204315186,
-0.050632625818252563,
0.023039385676383972,
-0.005939032882452011,
0.03960844874382019,
0.026895582675933838,
-0.004067854955792427,
-0.02422354556620121,
0.006533503998070955,
-0.000528688367921859,
-0.025326503440737724,
-0.005410308949649334,
-0.0006208076956681907,
0.032995134592056274,
-0.054658759385347366,
0.006190409883856773,
-0.012344353832304478,
0.039675820618867874,
0.04766292870044708,
-0.022021617740392685,
0.010603205300867558,
8.297713970750738e-33,
-0.006987085100263357,
-0.005522705148905516,
0.008802823722362518,
-0.013554061762988567,
0.0353415384888649,
0.014524880796670914,
0.03425070643424988,
0.01162770763039589,
-0.002533628838136792,
0.03354117274284363,
-0.014452075585722923,
0.013236181810498238,
-0.03365107253193855,
0.04667013883590698,
0.018090877681970596,
0.040229711681604385,
-0.006093433126807213,
0.02688191644847393,
-0.00952678918838501,
-0.009504967369139194,
-0.02488255873322487,
0.020881934091448784,
0.010993897914886475,
0.008629458956420422,
0.03398388624191284,
0.045267827808856964,
-0.004081246443092823,
-0.014045467600226402,
0.030762068927288055,
-0.03442191332578659,
-0.0195856224745512,
0.016357673332095146,
-0.008710062131285667,
0.013545039109885693,
-0.01903023198246956,
0.009395528584718704,
0.03878673166036606,
-0.025396816432476044,
0.011987068690359592,
-0.021802345290780067,
-0.009915139526128769,
0.012774101458489895,
-0.025981279090046883,
0.015479078516364098,
0.030799508094787598,
0.03855377063155174,
0.012371120043098927,
0.03511498123407364,
-0.00723161781206727,
-0.017943337559700012,
-0.023139020428061485,
-0.010540196672081947,
-0.03432854637503624,
0.0769541785120964,
-0.020762767642736435,
-0.038601234555244446,
-0.006501723546534777,
0.00534473592415452,
-0.032913677394390106,
-0.019173292443156242,
-0.03741771727800369,
-0.03226906433701515,
-0.0695008784532547,
0.002474917098879814,
-0.043290939182043076,
0.02635873295366764,
0.0007277825498022139,
-0.0035181031562387943,
0.015687551349401474,
-0.03876205533742905,
0.009315922856330872,
-0.042970169335603714,
0.028150692582130432,
-0.015197020955383778,
0.006166408304125071,
-0.017066020518541336,
-0.0002960121491923928,
-0.03396639600396156,
-0.030977103859186172,
0.023267604410648346,
0.028250951319932938,
-0.05576198175549507,
0.03832477331161499,
-0.014327459037303925,
-0.017631035298109055,
0.013108450919389725,
-0.034937240183353424,
-0.04287976399064064,
0.025739094242453575,
0.017649950459599495,
-0.037513501942157745,
-0.05496690422296524,
-0.012826263904571533,
0.0015105921775102615,
-0.0038721333257853985,
-1.3089294093049375e-8,
0.018443293869495392,
0.013548488728702068,
-0.0029893042519688606,
0.021552596241235733,
-0.01162959635257721,
0.01884916052222252,
-0.03685261309146881,
-0.01690475083887577,
0.021392103284597397,
0.04319727420806885,
0.048614803701639175,
0.038735609501600266,
0.02789941243827343,
0.01848968118429184,
0.004584836773574352,
0.008562388829886913,
-0.04315660148859024,
0.02167639695107937,
0.027448570355772972,
0.0030198844615370035,
-0.01633162796497345,
0.025074146687984467,
-0.0337190143764019,
-0.0256034005433321,
0.034569066017866135,
0.032279711216688156,
0.002003938890993595,
-0.09625579416751862,
0.016057675704360008,
-0.03129354491829872,
-0.008520066738128662,
-0.028629550710320473,
-0.012928059324622154,
0.03014732524752617,
-0.0455482080578804,
-0.04737752303481102,
0.04106638580560684,
0.00892583467066288,
0.037170346826314926,
-0.005843238439410925,
0.059121355414390564,
-0.041966620832681656,
-0.008793836459517479,
-0.020937642082571983,
-0.030681530013680458,
0.047261230647563934,
-0.034188732504844666,
0.007800952065736055,
0.016145993024110794,
-0.04131348058581352,
0.020991869270801544,
-0.012743921019136906,
0.04845438897609711,
0.009749946184456348,
-0.01856311596930027,
0.04101261496543884,
0.017751554027199745,
-0.0304096769541502,
-0.008477420546114445,
-0.048612579703330994,
0.016773240640759468,
0.005060356575995684,
0.007218030747026205,
-0.019959017634391785
] | pandas-column-value-in-array-list-truth-value-ambiguous | https://markhneedham.com/blog/2021/03/28/pandas-column-value-in-array-list-truth-value-ambiguous |
false | 2021-04-02 00:44:37 | Altair - Remove margin/padding on discrete X axis | [
"python",
"altair",
"pandas",
"covid-vaccines"
] | [
"python"
] | One of the Altair charts on https://share.streamlit.io/mneedham/covid-vaccines/main/app.py[my Covid Vaccine Dashboards Streamlit app^] shows the % of first doses, but when I first created it there was some padding on the X axis that I wanted to remove.
In this blog post we'll learn how to do that.
== Pre requisites
Let's start by installing the following libraries:
[source, bash]
----
pip install pandas altair altair_viewer
----
Next let's import them, as shown below:
[source, python]
----
import pandas as pd
import altair as alt
----
== Visualising % of first doses
Now we're going to create a DataFrame that contains two columns - one contains the year and week number, the other the percentage of 1st doses administered.
[source, python]
----
df = pd.DataFrame({
'dateWeek': ['2021-02', '2021-03', '2021-04', '2021-05', '2021-06', '2021-07', '2021-08', '2021-09', '2021-10', '2021-11', '2021-12', '2021-13'],
'percentageFirstDose': [95.53223579198118, 99.05357715009595, 99.29015227195728, 99.3040526396809, 99.17822125167659, 97.17701207004448, 93.13782375333588, 86.52577108509273, 80.75997640077365, 84.62332165884469, 67.53684465759456, 46.83433617577248]
})
df
----
.Results
[opts="header", cols="1,20,20"]
|===
| |dateWeek |percentageFirstDose
| 0 | 2021-02 | 95.532236
| 1 | 2021-03 | 99.053577
| 2 | 2021-04 | 99.290152
| 3 | 2021-05 | 99.304053
| 4 | 2021-06 | 99.178221
| 5 | 2021-07 | 97.177012
| 6 | 2021-08 | 93.137824
| 7 | 2021-09 | 86.525771
| 8 | 2021-10 | 80.759976
| 9 | 2021-11 | 84.623322
| 10 | 2021-12 | 67.536845
| 11 | 2021-13 | 46.834336
|===
Next we'll create a line chart using the Altair visualisation libray:
[source, python]
----
chart = (alt.Chart(df, padding={"left": 10, "top": 10, "right": 10, "bottom": 10})
.mark_line(point=True)
.encode(
x=alt.X("dateWeek"),
y=alt.Y('percentageFirstDose', axis=alt.Axis(title='% first dose')))
.properties(title="% of first doses by week"))
chart.show()
----
.Chart showing % of first doses by week
image::{{<siteurl>}}/uploads/2021/04/altair-padding.svg[]
As we can see, this diagram has a padding/margin on either side of the X axis that I wanted to remove.
After trying out a lot of things that didn't solve the problem, I came across https://github.com/altair-viz/altair/issues/558#issuecomment-371262131[a suggestion^] by Eitan Lees to set the `Scale` of the X axis.
We can remove all padding by setting that value to 0, as shown below:
[source, python]
----
chart = (alt.Chart(df, padding={"left": 10, "top": 10, "right": 10, "bottom": 10})
.mark_line(point=True)
.encode(
x=alt.X("dateWeek", scale=alt.Scale(padding=0)),
y=alt.Y('percentageFirstDose', axis=alt.Axis(title='% first dose')))
.properties(title="% of first doses by week"))
chart.show()
----
.Chart showing % of first doses by week
image::{{<siteurl>}}/uploads/2021/04/altair-no-padding.svg[]
Job done! | In this post we'll learn how to remove padding on the X axis of an Altair visualisation. | null | [
-0.001316655776463449,
0.014587724581360817,
-0.02208450436592102,
0.0016124943504109979,
0.061094824224710464,
0.020031658932566643,
0.005224723368883133,
0.04171384125947952,
0.03690831735730171,
-0.023982618004083633,
-0.01447782851755619,
-0.012337972410023212,
-0.07512393593788147,
0.024532390758395195,
0.016183601692318916,
0.08178192377090454,
0.07405828684568405,
0.02844744734466076,
0.00600236002355814,
0.021660618484020233,
0.05382804200053215,
0.011166738346219063,
-0.0376434288918972,
0.0400959737598896,
-0.00013166193093638867,
-0.03094995580613613,
0.036001596599817276,
-0.003087435383349657,
-0.030191900208592415,
-0.0002627949579618871,
0.019270068034529686,
-0.004543783143162727,
-0.02146526612341404,
0.009231979958713055,
0.04249368980526924,
0.04472271725535393,
-0.016885478049516678,
0.03635028749704361,
-0.019778341054916382,
0.0010381726315245032,
-0.09080013632774353,
-0.0055759320966899395,
-0.028848694637417793,
0.008374645374715328,
-0.04330097511410713,
-0.027614323422312737,
-0.02061791904270649,
0.03753332793712616,
-0.010943977162241936,
0.01024012640118599,
-0.05140521749854088,
0.0363110676407814,
0.0035877004265785217,
-0.04494903236627579,
-0.037126947194337845,
0.0609627440571785,
0.0309283509850502,
-0.05744783580303192,
-0.01451107021421194,
-0.02402157336473465,
0.01323277223855257,
0.02742866799235344,
-0.008272484876215458,
0.03791677579283714,
0.02873353101313114,
-0.008279492147266865,
-0.04215450584888458,
0.07555510848760605,
-0.025761155411601067,
-0.03065817803144455,
-0.02710297703742981,
0.034527916461229324,
-0.02840127795934677,
-0.02039465494453907,
-0.0066027264110744,
-0.030237393453717232,
-0.028209015727043152,
0.04739423468708992,
0.042253583669662476,
-0.005028946325182915,
0.027727758511900902,
-0.022195573896169662,
0.008761987090110779,
0.02426319196820259,
-0.0023548773024231195,
-0.006475613918155432,
-0.04526032879948616,
-0.05186331644654274,
-0.08217194676399231,
0.046754978597164154,
0.00021983632177580148,
-0.08134935051202774,
0.05854732170701027,
-0.005319666583091021,
-0.007450676057487726,
-0.002969680353999138,
0.017356110736727715,
0.0073234024457633495,
-0.000255559163633734,
-0.045550163835287094,
-0.026740282773971558,
-0.010638049803674221,
0.013032625429332256,
-0.004745400045067072,
-0.06016262620687485,
-0.02938132919371128,
-0.0345195010304451,
-0.0091531528159976,
-0.0030560370068997145,
0.01573387160897255,
-0.04225879907608032,
0.0008147481712512672,
-0.03418273851275444,
-0.009220167994499207,
-0.09735589474439621,
0.07432795315980911,
0.025301272049546242,
-0.03705737739801407,
0.033350296318531036,
-0.011344744823873043,
0.02376483753323555,
0.054834283888339996,
-0.01696341671049595,
0.08119527995586395,
-0.00010382365144323558,
0.08667418360710144,
-0.007168952841311693,
0.06255088746547699,
0.008010588586330414,
-0.028317470103502274,
-0.011554802767932415,
0.07088857144117355,
-0.037243105471134186,
-0.020081376656889915,
0.023974992334842682,
0.02414613775908947,
-0.01606275700032711,
-0.007190971169620752,
0.06905287504196167,
0.030095182359218597,
0.022926589474081993,
-0.04075020179152489,
0.013007940724492073,
0.020850643515586853,
0.00678201112896204,
0.014043452218174934,
-0.017116956412792206,
-0.059393271803855896,
-0.052747637033462524,
0.0016936099855229259,
0.010910801589488983,
0.007508309092372656,
0.10401539504528046,
-0.006941678002476692,
0.01669628731906414,
0.03231819346547127,
0.05469843000173569,
0.0008414994808845222,
-0.030827941372990608,
-0.011652850545942783,
0.053895432502031326,
0.03191006928682327,
0.019927868619561195,
0.03927571699023247,
-0.010702401399612427,
-0.022139498963952065,
-0.019715579226613045,
0.025348851457238197,
-0.01950845494866371,
-0.02468717098236084,
-0.04201222583651543,
-0.01794448122382164,
0.06368761509656906,
-0.0243549682199955,
0.025885658338665962,
0.05433880537748337,
0.04906724765896797,
0.021074766293168068,
0.043562132865190506,
-0.0010354177793487906,
-0.07115469872951508,
0.05669751390814781,
0.01631932146847248,
0.04775046929717064,
0.08056630194187164,
-0.02358677051961422,
0.06371282041072845,
0.022826114669442177,
0.05095314607024193,
0.05087888985872269,
-0.04285913705825806,
-0.013362639583647251,
-0.010912099853157997,
-0.016205307096242905,
0.033008452504873276,
-0.047709666192531586,
-0.009821462444961071,
0.10730795562267303,
0.03530130535364151,
0.02891690656542778,
-0.017287857830524445,
0.011008121073246002,
0.007344801910221577,
-0.04591502621769905,
-0.04965364933013916,
0.01574944704771042,
0.009476251900196075,
-0.01466308068484068,
-0.023396160453557968,
0.059149280190467834,
-0.02291962318122387,
0.02525954879820347,
0.015345850959420204,
0.013663497753441334,
0.03613375872373581,
0.014544151723384857,
0.041956283152103424,
0.007683854084461927,
-0.000021485770048457198,
-0.04290388152003288,
0.036573249846696854,
-0.021528197452425957,
-0.015919825062155724,
-0.020552990958094597,
-0.015162713825702667,
0.1171560138463974,
0.07162511348724365,
-0.03128700330853462,
-0.05989665165543556,
-0.020762424916028976,
-0.01790805347263813,
-0.04674781858921051,
0.02925826609134674,
-0.006682153325527906,
-0.005177769809961319,
-0.019691966474056244,
-0.02767411433160305,
-0.01881752908229828,
0.028772031888365746,
-0.0400608591735363,
0.009778864681720734,
0.06223691627383232,
0.04590316861867905,
0.04719674587249756,
0.0007022696663625538,
-0.028839513659477234,
-0.03136863559484482,
-0.013591558672487736,
-0.08125811070203781,
-0.021046699956059456,
-0.009200352244079113,
-0.0018482842715457082,
0.0015623753424733877,
-0.0003521129547152668,
-0.03548765182495117,
-0.007589681074023247,
-0.05031558498740196,
0.0362604595720768,
0.020041294395923615,
0.03786900267004967,
0.009252622723579407,
0.04676548019051552,
0.00013534979370888323,
0.017889056354761124,
-0.016141192987561226,
-0.03261875733733177,
-0.08045255392789841,
-0.012795452028512955,
-0.008725003339350224,
0.010540447197854519,
0.04170045256614685,
0.02293703705072403,
-0.0010086814872920513,
-0.009490713477134705,
0.001804568339139223,
-0.027433499693870544,
0.0116243502125144,
0.011346578598022461,
-0.004840604495257139,
0.008916910737752914,
0.02148628979921341,
0.045608039945364,
-0.018997326493263245,
-0.019960040226578712,
0.013709778897464275,
-0.059874508529901505,
0.03452204540371895,
-0.062063101679086685,
-0.03146034851670265,
0.008557537570595741,
0.019557572901248932,
0.049012765288352966,
0.033822014927864075,
-0.010004773736000061,
0.002725384896621108,
-0.021927576512098312,
0.017027130350470543,
0.03795771300792694,
0.0265823807567358,
0.03870944678783417,
0.005264415871351957,
0.014352885074913502,
0.04798521474003792,
0.00828688032925129,
-0.030917519703507423,
-0.05234350264072418,
0.01554490253329277,
-0.05707136169075966,
-0.25960850715637207,
0.06204339489340782,
-0.011705517768859863,
-0.04981216788291931,
0.009376846253871918,
-0.04553473740816116,
0.02199576236307621,
-0.04123261198401451,
-0.031547997146844864,
-0.030558524653315544,
0.018550990149378777,
-0.0458720363676548,
0.011506796814501286,
0.033413030207157135,
-0.002873412100598216,
0.028117196634411812,
-0.002113230526447296,
-0.03343762457370758,
0.01501110102981329,
0.029549304395914078,
0.028176359832286835,
-0.046027567237615585,
0.003367295954376459,
0.04663277417421341,
0.02604709193110466,
0.026684807613492012,
-0.03861722722649574,
0.04438608139753342,
-0.06362029165029526,
-0.037215352058410645,
0.04258387163281441,
-0.02293906733393669,
0.01982634887099266,
0.002087946282699704,
-0.033019859343767166,
-0.025651264935731888,
0.013217425905168056,
-0.01053314097225666,
-0.01009355578571558,
-0.012566926889121532,
-0.007714711129665375,
-0.032758213579654694,
0.013158168643712997,
-0.01465329248458147,
0.04092998430132866,
-0.021355587989091873,
-0.06672076135873795,
0.02368057891726494,
-0.00307576940394938,
0.06067711114883423,
0.01941833086311817,
-0.0143786845728755,
-0.05441935732960701,
0.031923018395900726,
-0.06519737094640732,
0.028343698009848595,
-0.0418010950088501,
0.009693238884210587,
-0.05836581066250801,
-0.020095670595765114,
-0.008883887901902199,
-0.010489439591765404,
-0.01878257654607296,
-0.07241835445165634,
0.028230611234903336,
-0.04248419776558876,
-0.02842874452471733,
-0.029317103326320648,
0.05115878954529762,
0.03862869367003441,
-0.08089365065097809,
-0.0344541072845459,
-0.021977288648486137,
-0.10109274089336395,
0.004009805619716644,
-0.054727744311094284,
-0.01531747542321682,
0.009570716880261898,
-0.024974163621664047,
-0.007401898968964815,
-0.053078457713127136,
-0.0705120638012886,
0.07325190305709839,
0.010075017809867859,
-0.0018634404987096786,
-0.014839038252830505,
0.043331123888492584,
-0.0012517556315287948,
-0.02766430377960205,
-0.024922706186771393,
0.036418113857507706,
-0.042474228888750076,
0.0006632892182096839,
0.006196334958076477,
-0.05823056399822235,
0.04198478162288666,
-0.008928203955292702,
0.005385862197726965,
0.008883067406713963,
0.027831267565488815,
0.02336854860186577,
-0.06522419303655624,
-0.038033224642276764,
-0.05460326373577118,
-0.04462839663028717,
-0.010610118508338928,
-0.05987221747636795,
0.011744283139705658,
0.03356008231639862,
-0.03186171129345894,
-0.011272728443145752,
-0.022308338433504105,
0.031030161306262016,
-0.06263593584299088,
-0.012370597571134567,
-0.02747180499136448,
0.042072270065546036,
0.003157261526212096,
-0.008907102048397064,
-0.003651987062767148,
-0.03228933364152908,
0.024589648470282555,
-0.015290451236069202,
0.008705049753189087,
-0.02594013139605522,
-0.021803217008709908,
0.02631944976747036,
0.022164180874824524,
0.04193611070513725,
0.0004931286675855517,
0.004520318005234003,
0.013291547074913979,
0.050493910908699036,
-0.018567970022559166,
0.018216650933027267,
-0.01741843670606613,
-0.012780818156898022,
-0.05809709429740906,
0.014896532520651817,
0.029870200902223587,
0.022113120183348656,
0.03110530972480774,
-0.012418920174241066,
-0.004135207738727331,
0.010233388282358646,
0.00522841839119792,
0.02841310016810894,
0.013221276924014091,
0.002851206110790372,
0.017953742295503616,
-0.007063186727464199,
0.0013343406608328223,
-0.013072216883301735,
-0.006152099464088678,
-0.02280515432357788,
0.030313855037093163,
0.062159713357686996,
-0.009410693310201168,
-0.02682446874678135,
-0.05605810508131981,
-0.003167602000758052,
-0.02781747840344906,
-0.061828892678022385,
-0.031069857999682426,
0.02460213378071785,
0.027231676504015923,
-0.008455177769064903,
0.0045608398504555225,
0.012888947501778603,
-0.018415115773677826,
-0.004746034275740385,
0.012486410327255726,
-0.0032855775207281113,
0.014664224348962307,
-0.02691020257771015,
-0.017663920298218727,
-0.010427294299006462,
0.01161107886582613,
0.01977270469069481,
0.024040447548031807,
0.006717480253428221,
0.02975389175117016,
-0.0038090869784355164,
0.02103775180876255,
0.017561374232172966,
0.06507916748523712,
-0.03544873371720314,
-0.01081173587590456,
-0.03981361538171768,
-0.010060322470963001,
-0.02781069278717041,
-0.01596386916935444,
-0.06564541161060333,
-0.011812829412519932,
-0.019978206604719162,
-0.0675673559308052,
-0.015257387422025204,
0.004497022368013859,
0.00482542160898447,
0.03834717348217964,
-0.039950139820575714,
0.01343583408743143,
-0.04152125120162964,
0.051935531198978424,
0.037385761737823486,
-0.04264616593718529,
0.006644757464528084,
0.012657723389565945,
0.002417531795799732,
0.008850695565342903,
0.030607309192419052,
-0.09128930419683456,
-0.012334752827882767,
-0.010206200182437897,
0.04614511877298355,
-0.02284395322203636,
-0.08637233823537827,
-0.06803994625806808,
0.021728895604610443,
0.005131588317453861,
0.025849176570773125,
0.007733387406915426,
-0.015395168215036392,
-0.03277802839875221,
0.010751974768936634,
0.007111935410648584,
-0.0056675937958061695,
-0.0020052012987434864,
0.054935913532972336,
-0.0024526389315724373,
0.0004907338880002499,
0.0015693522291257977,
0.021391060203313828,
0.029759380966424942,
-0.005262091755867004,
0.006703054998070002,
-0.049279388040304184,
-0.020723724737763405,
0.005201976280659437,
0.03737185150384903,
-0.02656654082238674,
0.019936662167310715,
-0.035994626581668854,
-0.0174238458275795,
0.01936778798699379,
0.0016452897107228637,
-0.016169121488928795,
-0.00997915305197239,
0.005350090097635984,
0.04818110540509224,
0.005728693678975105,
-0.0019246075535193086,
0.031821489334106445,
-0.04225120320916176,
0.03754263371229172,
-0.016085604205727577,
-0.019244033843278885,
-0.00314100319519639,
-0.05558958649635315,
0.026730746030807495,
0.003926335368305445,
0.034192364662885666,
-0.04000541567802429,
0.040584661066532135,
0.04143509641289711,
0.02610674872994423,
0.060362864285707474,
0.020510364323854446,
0.023534635081887245,
-0.0259341262280941,
-0.01409186888486147,
-0.09684260189533234,
0.0010903396178036928,
0.030144600197672844,
0.009349724277853966,
-0.02137501910328865,
0.023343384265899658,
-0.0012573180720210075,
0.051177021116018295,
-0.060679491609334946,
-0.032977085560560226,
0.043922021985054016,
-0.00003519954771036282,
0.017946619540452957,
0.002694889437407255,
-0.04759717360138893,
0.011010724119842052,
0.02773938700556755,
-0.06915496289730072,
0.008219979703426361,
0.006144959945231676,
0.07281100004911423,
-0.06413166970014572,
-0.001514818170107901,
-0.0030373441986739635,
-0.008638144470751286,
0.08027610927820206,
0.03912586346268654,
0.011074515990912914,
0.0037961092311888933,
-0.00815636571496725,
0.0652652308344841,
0.017554283142089844,
0.013827242888510227,
-0.006424390245229006,
0.019553592428565025,
0.04460848122835159,
-0.053225088864564896,
0.0035889153368771076,
0.026735447347164154,
0.03014492429792881,
-0.05798260495066643,
0.08242878317832947,
0.00041216344106942415,
-0.021771689876914024,
-0.021154455840587616,
-0.009497735649347305,
-0.01579240895807743,
-0.028903521597385406,
-0.007502998691052198,
-0.01912667416036129,
-0.0183260515332222,
0.03709704428911209,
-0.020599491894245148,
-0.0015882744919508696,
0.04047967121005058,
-0.011451817117631435,
0.03734750300645828,
0.02959797903895378,
0.08856965601444244,
0.062272556126117706,
0.05468727648258209,
0.0054913051426410675,
0.03749649226665497,
-0.06393462419509888,
-0.0588454008102417,
0.014650103636085987,
-0.04106587544083595,
-0.010843361727893353,
-0.047516386955976486,
0.005145309958606958,
0.0406351275742054,
-0.017170600593090057,
0.051361046731472015,
0.003467423841357231,
0.015431643463671207,
-0.03925997391343117,
0.042554691433906555,
0.031664542853832245,
0.005568947643041611,
0.024528197944164276,
0.03207480534911156,
-0.02640954963862896,
-0.01734362542629242,
0.017750246450304985,
-0.0035758037120103836,
-0.019886568188667297,
0.025453655049204826,
-0.007700201123952866,
-0.012657828629016876,
-0.0013496215688064694,
-0.03488219156861305,
0.0779193714261055,
-0.020344505086541176,
-0.02771049179136753,
-0.003858931828290224,
0.03628520667552948,
-0.007011587731540203,
0.033234573900699615,
-0.004071085248142481,
-0.0009110169485211372,
-0.05815712362527847,
-0.053094640374183655,
-0.002568498719483614,
-0.012918475084006786,
-0.009041724726557732,
0.021809367462992668,
-0.022284481674432755,
0.02024959772825241,
0.044670138508081436,
-0.02507147192955017,
-0.05814378336071968,
-0.03990338370203972,
-0.04391693323850632,
-0.035897936671972275,
-0.04375004768371582,
-0.02363123558461666,
0.03216473385691643,
0.006171712186187506,
-0.0063271960243582726,
-0.046872835606336594,
-0.002623044652864337,
-0.003486203495413065,
0.006566790398210287,
-0.018733007833361626,
-0.03295435011386871,
0.04791382700204849,
0.028308309614658356,
-0.006695986725389957,
0.019056741148233414,
0.054766301065683365,
-0.015024925582110882,
-0.045367952436208725,
-0.04324536398053169,
0.04366527497768402,
0.07189403474330902,
0.014706459827721119,
0.04417984187602997,
-0.07488910853862762,
-0.00492496183142066,
0.016797883436083794,
0.014914209023118019,
-0.07078158855438232,
0.03992918133735657,
0.043450456112623215,
-0.009370487183332443,
0.04125307872891426,
-0.015733134001493454,
-0.02931477129459381,
-0.03703366965055466,
-0.020199837163090706,
-0.013543912209570408,
0.01296862680464983,
0.037863899022340775,
-0.0408172607421875,
0.057956237345933914,
0.07193130999803543,
0.0032166303135454655,
-0.004295049235224724,
-0.010647938586771488,
-0.060337793081998825,
0.007492192555218935,
-0.02823849767446518,
-0.02211531065404415,
-0.08417686074972153,
-0.04929019510746002,
0.004355039447546005,
0.00669411476701498,
-0.03082301840186119,
-0.043538499623537064,
0.037105124443769455,
0.006351059302687645,
-0.001581248245202005,
0.026980692520737648,
-0.012532157823443413,
-0.007734376937150955,
-0.027699220925569534,
-0.024306640028953552,
0.00523851253092289,
0.05221446976065636,
0.0003471451345831156,
0.019273577257990837,
-0.00599328288808465,
-0.05451859161257744,
0.010115312412381172,
-0.03223259001970291,
0.018071504309773445,
0.05898430198431015,
0.012145045213401318,
0.01373676210641861
] | [
-0.06685621291399002,
-0.03437485545873642,
-0.0188735481351614,
0.024608787149190903,
0.08973128348588943,
-0.039585843682289124,
0.00822647288441658,
0.04513350501656532,
-0.006782646290957928,
0.021836090832948685,
-0.004635645542293787,
-0.10001564025878906,
0.008174005895853043,
0.019697412848472595,
0.00876010674983263,
-0.02425646036863327,
-0.03634750097990036,
-0.08498293906450272,
-0.0447624996304512,
0.062336817383766174,
-0.01534617505967617,
-0.016665875911712646,
-0.022974377498030663,
-0.05227428674697876,
0.0370938777923584,
0.04021965712308884,
0.025681737810373306,
-0.03464365750551224,
0.006865869741886854,
-0.20065335929393768,
0.00215674820356071,
-0.04654044657945633,
0.012764744460582733,
-0.030634701251983643,
-0.030547747388482094,
0.025737447664141655,
0.015674447640776634,
0.03403020277619362,
0.00861277338117361,
0.03959578275680542,
0.012812703847885132,
0.006605713628232479,
-0.054254669696092606,
-0.015527265146374702,
0.004712831228971481,
-0.011055015958845615,
-0.049132101237773895,
0.001694466802291572,
0.0601922869682312,
0.032287754118442535,
-0.02799474447965622,
0.006230748258531094,
0.007810080889612436,
0.006383208092302084,
0.011962461285293102,
-0.018831701949238777,
0.024368487298488617,
0.02967824786901474,
0.015195324085652828,
0.033062178641557693,
0.005669896025210619,
0.01052464172244072,
-0.15082886815071106,
0.11820797622203827,
-0.014667213894426823,
0.04301111027598381,
-0.03114894963800907,
-0.01144408155232668,
0.00048276333836838603,
0.08827856183052063,
-0.017632611095905304,
-0.008085516281425953,
-0.03385944291949272,
0.06304483860731125,
0.031603991985321045,
-0.0264357291162014,
0.005564889870584011,
0.032667286694049835,
0.047100894153118134,
-0.037040453404188156,
-0.022630248218774796,
0.04777059331536293,
0.007860468700528145,
-0.03335213288664818,
0.04541407898068428,
-0.018160508945584297,
0.00855733547359705,
0.01910916529595852,
0.017180845141410828,
0.013937046751379967,
0.015709994360804558,
-0.005934182088822126,
0.024802889674901962,
0.022168563678860664,
-0.07554403692483902,
-0.021128688007593155,
0.005346619989722967,
0.0512579083442688,
-0.03820417448878288,
0.4120444655418396,
-0.04005221277475357,
-0.03324563801288605,
-0.016061140224337578,
0.047638412564992905,
0.034570250660181046,
-0.03641095012426376,
0.03087225928902626,
-0.05811114236712456,
0.010983236134052277,
-0.015088883228600025,
0.011581039056181908,
-0.009832635521888733,
0.07017127424478531,
-0.0966661348938942,
0.010381576605141163,
0.01623578369617462,
0.01638961024582386,
0.03277038782835007,
0.01496921107172966,
0.0259470846503973,
-0.003893351648002863,
-0.027379486709833145,
0.035257354378700256,
0.0048196264542639256,
0.029911015182733536,
0.04779496788978577,
0.06116892397403717,
0.06506580859422684,
0.028893474489450455,
0.011861622333526611,
0.06580833345651627,
-0.05446537584066391,
-0.06834430992603302,
0.007535129319876432,
-0.0038491194136440754,
-0.006541849114000797,
0.007475728169083595,
-0.02957158163189888,
0.004157912451773882,
0.028063977137207985,
-0.03640627861022949,
-0.05396674945950508,
0.016688009724020958,
-0.02503122016787529,
-0.03764798119664192,
0.13427866995334625,
-0.02861763723194599,
-0.02903066948056221,
-0.018883077427744865,
-0.05405038967728615,
-0.0022792734671384096,
0.027555003762245178,
0.00964944064617157,
-0.03693264722824097,
0.031223412603139877,
0.028874117881059647,
0.06562776118516922,
-0.024674391373991966,
-0.0455460287630558,
-0.042296286672353745,
-0.001682020490989089,
-0.09347230941057205,
-0.04025547206401825,
0.041133813560009,
0.019434189423918724,
-0.08109157532453537,
-0.034811463207006454,
0.044752057641744614,
0.013253451324999332,
-0.0431910939514637,
0.01889745518565178,
0.00803071353584528,
-0.02590765617787838,
-0.0035243795718997717,
0.08327774703502655,
-0.017055951058864594,
-0.04230928048491478,
-0.0005824939580634236,
0.04760529100894928,
-0.006350161042064428,
-0.008894581347703934,
0.01283844280987978,
-0.04421522468328476,
0.019789408892393112,
-0.07213390618562698,
-0.06657643616199493,
-0.03809603303670883,
0.005647178273648024,
0.014225824736058712,
-0.04970227926969528,
0.029293309897184372,
-0.04872162640094757,
-0.0781468078494072,
0.042491912841796875,
-0.01950784958899021,
-0.010969683527946472,
-0.014376474544405937,
0.012141356244683266,
-0.0070116897113621235,
-0.022587304934859276,
0.0418911874294281,
-0.012254293076694012,
0.004318405874073505,
0.06450054794549942,
-0.02752353996038437,
0.036935850977897644,
0.0469326376914978,
-0.01982135884463787,
0.08311459422111511,
0.01405648048967123,
0.03885897994041443,
0.022341016680002213,
0.0009916725102812052,
-0.0021510960068553686,
-0.01116019207984209,
0.011724869720637798,
-0.01177291665226221,
-0.03236842155456543,
-0.009058074094355106,
0.0509505495429039,
0.03817819803953171,
-0.01736561954021454,
-0.02504511922597885,
-0.357089638710022,
-0.021811971440911293,
-0.002820383757352829,
-0.019348332658410072,
0.01704433746635914,
-0.04508724436163902,
0.0028290036134421825,
0.0039002036210149527,
0.0010462841019034386,
0.05375415459275246,
0.10181745886802673,
0.012473211623728275,
0.013761496171355247,
-0.08610787987709045,
-0.03849102556705475,
0.008388237096369267,
-0.011664094403386116,
-0.03991736099123955,
-0.015512191690504551,
-0.011786221526563168,
0.014812642708420753,
-0.023197703063488007,
-0.027625706046819687,
-0.007144269999116659,
0.018674936145544052,
-0.041323862969875336,
0.1519119292497635,
0.00922269094735384,
0.05106465891003609,
-0.041019391268491745,
0.021520163863897324,
-0.022333189845085144,
0.01775434985756874,
-0.042526599019765854,
0.0068526314571499825,
-0.04309098795056343,
-0.02051025815308094,
0.008486018516123295,
-0.04201267659664154,
-0.02286459505558014,
-0.04162514954805374,
0.032536640763282776,
-0.024242080748081207,
-0.03142600879073143,
-0.048669975250959396,
0.019841499626636505,
-0.019675251096487045,
0.003548963228240609,
-0.04776481166481972,
0.0894254595041275,
0.023857174441218376,
0.020844994112849236,
0.011286052875220776,
0.04463321715593338,
0.03422648087143898,
-0.013153158128261566,
-0.086766816675663,
0.005383250303566456,
-0.021995646879076958,
-0.03744347766041756,
0.0011383667588233948,
0.011930836364626884,
0.06489060074090958,
-0.07465915381908417,
-0.05864783003926277,
-0.002951454371213913,
0.00486238207668066,
0.002710802247747779,
0.03891035541892052,
0.02727380208671093,
-0.03318510204553604,
0.12107665091753006,
-0.03326893970370293,
0.014231003820896149,
0.008748230524361134,
0.05914902687072754,
-0.014356417581439018,
0.029382437467575073,
-0.021724745631217957,
0.02345336601138115,
0.0519820861518383,
-0.01961519941687584,
0.000047091081796679646,
-0.009606601670384407,
0.013594057410955429,
-0.009147241711616516,
-0.02076277695596218,
-0.023503633216023445,
0.03747706860303879,
0.019249701872467995,
-0.008962179534137249,
-0.040185097604990005,
-0.011791094206273556,
-0.023905225098133087,
0.052729640156030655,
-0.009525557979941368,
-0.28486117720603943,
0.012248802930116653,
0.05825935676693916,
0.022562088444828987,
0.006648448761552572,
-0.024853767827153206,
-0.005383721552789211,
-0.050794024020433426,
-0.006452512927353382,
-0.015360613353550434,
-0.024473829194903374,
0.04476384073495865,
0.03148850426077843,
-0.010136770084500313,
-0.02501130849123001,
-0.025678325444459915,
0.024868696928024292,
-0.023029938340187073,
0.023031510412693024,
0.008436991833150387,
0.045272987335920334,
-0.0715482234954834,
0.13417892158031464,
0.04628198221325874,
-0.015603533945977688,
0.014441294595599174,
-0.007464383728802204,
-0.00028051831759512424,
0.060270849615335464,
0.05246832221746445,
0.013312982395291328,
-0.02240223065018654,
-0.0028609558939933777,
0.023242942988872528,
0.046140242367982864,
-0.018329164013266563,
-0.049767155200242996,
0.03442159295082092,
0.01815527305006981,
-0.013398850336670876,
0.02461899258196354,
0.027733908966183662,
-0.018040403723716736,
0.03204835578799248,
0.07480096071958542,
-0.009892596863210201,
-0.007334081456065178,
-0.03555437922477722,
-0.006547270342707634,
-0.003926151432096958,
-0.007810527924448252,
-0.0029382340144366026,
-0.0023681730963289738,
0.021524718031287193,
0.03633692115545273,
0.05732433870434761,
0.05273318663239479,
0.009829976595938206,
0.027487074956297874,
-0.029574085026979446,
-0.022647881880402565,
-0.0702429711818695,
0.057712193578481674,
0.031055517494678497,
0.030258338898420334
] | [
0.031443264335393906,
0.011719132773578167,
-0.019425028935074806,
-0.016261864453554153,
0.028870439156889915,
-0.006754656322300434,
-0.007511486764997244,
0.04212787747383118,
-0.0010419759200885892,
0.0036469807382673025,
0.007346137892454863,
-0.013023746199905872,
0.018171560019254684,
0.009068281389772892,
0.014204636216163635,
-0.0461956150829792,
-0.02199886180460453,
-0.04697367921471596,
0.03731916472315788,
-0.003843918675556779,
-0.025479532778263092,
0.06142383813858032,
0.025368275120854378,
0.014968570321798325,
-0.0210199486464262,
0.020992642268538475,
-0.05404055491089821,
0.011787045747041702,
0.02350209280848503,
-0.1258787214756012,
-0.0016577017959207296,
-0.050501737743616104,
-0.0010114690521731973,
-0.027336830273270607,
-0.040865834802389145,
-0.020715361461043358,
0.0018831879133358598,
0.004391841124743223,
-0.01745225116610527,
0.04003700986504555,
-0.0015638958429917693,
-0.010439679026603699,
-0.016519008204340935,
-0.0006061900057829916,
0.03908006474375725,
0.017745617777109146,
-0.06986971199512482,
-0.002309230389073491,
0.026067286729812622,
0.03181494027376175,
-0.054969023913145065,
-0.007272383663803339,
-0.029104148969054222,
0.0030080738943070173,
0.012941468507051468,
-0.024320924654603004,
-0.040337126702070236,
-0.022701531648635864,
-0.014975287020206451,
-0.014291626401245594,
-0.05375879630446434,
0.025722768157720566,
-0.006587309297174215,
-0.003198506310582161,
0.012641248293220997,
-0.022163042798638344,
-0.024509672075510025,
0.0057427044957876205,
0.001703804126009345,
0.04453893378376961,
-0.027331359684467316,
0.02858690544962883,
-0.03698819875717163,
-0.006356267258524895,
-0.020820697769522667,
0.005768834613263607,
0.014720389619469643,
-0.002704682294279337,
-0.0004392607370391488,
-0.019006112590432167,
-0.026445651426911354,
0.018039781600236893,
0.03420792892575264,
0.04791957139968872,
-0.012440876103937626,
-0.052416834980249405,
0.03243245556950569,
0.006134899333119392,
0.00938565842807293,
-0.036141008138656616,
0.010700210928916931,
0.009931888431310654,
0.007662541698664427,
0.014311229810118675,
-0.09091649204492569,
0.012520422227680683,
-0.00351049960590899,
-0.010550116188824177,
-0.04362529143691063,
0.8161259293556213,
-0.027900710701942444,
-0.06898634135723114,
0.0005195729900151491,
0.026585254818201065,
0.011957746930420399,
-0.020020898431539536,
0.026280885562300682,
-0.012213721871376038,
-0.015076258219778538,
-0.0182696133852005,
0.0032805183436721563,
0.028311170637607574,
0.0303665604442358,
0.020339995622634888,
0.020417287945747375,
0.049128953367471695,
-0.010173007845878601,
0.004299800843000412,
-0.010550214909017086,
0.0009404532611370087,
0.0013007287634536624,
-0.008045632392168045,
-0.0273454487323761,
-0.02073271945118904,
0.0169181227684021,
-0.16583356261253357,
0.061767932027578354,
-7.15988980576849e-33,
0.03287428990006447,
-0.05588594079017639,
0.043803226202726364,
-0.0019034534925594926,
0.001378167886286974,
0.009515607729554176,
0.005002667661756277,
0.001665134564973414,
0.007390043698251247,
-0.011607012711465359,
0.012350913137197495,
0.005313180852681398,
-0.03326408937573433,
0.03804345428943634,
0.03735817223787308,
-0.03303957358002663,
-0.005359097383916378,
0.05728558078408241,
-0.03185754641890526,
0.01403842307627201,
0.0204039104282856,
0.015917548909783363,
0.03284832462668419,
0.024758050218224525,
-0.009242743253707886,
0.03279094770550728,
-0.02344514988362789,
-0.011217419058084488,
-0.01687641069293022,
-0.036312591284513474,
-0.046990878880023956,
0.02262634038925171,
-0.026954565197229385,
-0.0179025549441576,
0.008678874932229519,
-0.06125464290380478,
-0.0005358814378269017,
-0.0023892242461442947,
-0.0013844441855326295,
0.030945006757974625,
0.007375230081379414,
0.04794261232018471,
-0.011043445207178593,
-0.02737724781036377,
-0.047902002930641174,
0.023760603740811348,
0.006703281309455633,
0.02645353227853775,
0.01102364994585514,
-0.014489836990833282,
0.016448216512799263,
0.00359050533734262,
-0.005679677706211805,
-0.015218992717564106,
-0.004627465270459652,
0.026715774089097977,
-0.016024431213736534,
0.018901636824011803,
0.02273714728653431,
-0.044658876955509186,
0.03379660099744797,
-0.027662714943289757,
0.021671561524271965,
0.018146038055419922,
-0.016207385808229446,
-0.03392056003212929,
0.06818641722202301,
0.019605858251452446,
0.015064695850014687,
-0.005799488630145788,
-0.06327629834413528,
0.033138323575258255,
-0.022469324991106987,
-0.03606773167848587,
0.056616123765707016,
-0.0094587542116642,
0.030540507286787033,
0.005322634242475033,
0.04730229452252388,
0.016042478382587433,
-0.0050179120153188705,
-0.03423751890659332,
-0.01029792707413435,
-0.0015636746538802981,
-0.013078588992357254,
-0.02538132667541504,
0.029188303276896477,
0.049912769347429276,
-0.046529363840818405,
-0.009891794063150883,
-0.0014545181766152382,
0.0441565103828907,
0.0335315577685833,
-0.014124183915555477,
-0.02427828125655651,
7.555768385134604e-33,
0.0098399817943573,
0.012125026434659958,
0.011295771226286888,
0.001311201718635857,
0.018946921452879906,
0.02461141347885132,
0.04870825260877609,
0.016771061345934868,
0.015428904443979263,
0.029356136918067932,
0.006281896494328976,
0.004757178481668234,
-0.01779039204120636,
0.03356051817536354,
0.027211381122469902,
0.029066095128655434,
0.004903485532850027,
0.02913695015013218,
-0.03232470154762268,
-0.03489794582128525,
-0.03037313185632229,
-0.004263903480023146,
0.010398934595286846,
0.0015785960713401437,
0.06279256939888,
0.05211236700415611,
0.012036686763167381,
0.004800868220627308,
-0.016725454479455948,
-0.007333257235586643,
-0.029859688133001328,
-0.016104234382510185,
-0.010865319520235062,
-0.02249259687960148,
-0.014642231166362762,
0.040131621062755585,
0.035902656614780426,
-0.029038898646831512,
-0.028996990993618965,
-0.0210042055696249,
0.03939952701330185,
-0.0061026462353765965,
-0.02142789214849472,
-0.006651613395661116,
0.029625849798321724,
0.0393855907022953,
0.015861038118600845,
0.03401899337768555,
0.00020709019736386836,
0.007324809208512306,
-0.017883410677313805,
0.023717660456895828,
-0.014103617519140244,
0.040561649948358536,
-0.015127118676900864,
-0.023080123588442802,
-0.016981294378638268,
-0.003700779750943184,
-0.056918561458587646,
-0.0013174322666600347,
-0.01904565840959549,
0.0025807435158640146,
-0.0639662891626358,
0.013732808642089367,
-0.02905108965933323,
0.027932321652770042,
-0.01517041027545929,
-0.035856809467077255,
0.005451532080769539,
-0.01718379557132721,
0.04384433105587959,
-0.03890251740813255,
0.018237419426441193,
-0.000863488472532481,
0.009569130837917328,
0.006139572709798813,
-0.0012449071509763598,
-0.022574063390493393,
-0.0156962089240551,
0.022182578220963478,
0.012623011134564877,
-0.068696990609169,
0.022544246166944504,
-0.01313172560185194,
-0.018970929086208344,
0.033151037991046906,
-0.025093546137213707,
-0.04847371205687523,
0.03309166431427002,
-0.0013012064155191183,
-0.011787899769842625,
-0.04594511166214943,
-0.020054254680871964,
0.033321771770715714,
0.007460474502295256,
-1.262548554592513e-8,
0.006596701219677925,
0.01493967603892088,
-0.0020297046285122633,
0.052192095667123795,
-0.005197803024202585,
0.032136909663677216,
-0.032265033572912216,
-0.011223715730011463,
0.015248959884047508,
0.02389141544699669,
0.06187353655695915,
0.019605431705713272,
-0.004767486825585365,
0.007137534208595753,
0.000011386219739506487,
0.006827847100794315,
-0.016744697466492653,
0.023485060781240463,
0.01875024288892746,
-0.04151196777820587,
0.013923908583819866,
0.02374233677983284,
0.017549781128764153,
-0.02857767790555954,
0.014308387413620949,
-0.009717668406665325,
-0.005613064393401146,
-0.09342256933450699,
0.02923920936882496,
-0.04247697815299034,
0.0041330959647893906,
-0.03729076683521271,
-0.013286991976201534,
0.026941275224089622,
-0.009896280243992805,
-0.04574921727180481,
0.009799559600651264,
0.009147340431809425,
0.0284418985247612,
0.0050942800007760525,
0.017175795510411263,
0.009694239124655724,
-0.02004428580403328,
-0.035132262855768204,
-0.021283438429236412,
0.05818767100572586,
-0.01008326094597578,
0.014904114417731762,
0.013329888693988323,
-0.06039190664887428,
0.00996195338666439,
0.012876566499471664,
0.04438192769885063,
0.035390082746744156,
-0.008532661013305187,
0.020194873213768005,
0.024294886738061905,
-0.044618915766477585,
-0.012419795617461205,
-0.036290209740400314,
0.011070037260651588,
0.016155824065208435,
0.00785375852137804,
-0.0054726507514715195
] | altair-discrete-x-axis-margin-padding | https://markhneedham.com/blog/2021/04/02/altair-discrete-x-axis-margin-padding |
false | 2021-04-11 00:44:37 | Pandas - Format DataFrame numbers with commas and control decimal places | [
"python",
"pandas",
"covid-vaccines",
"video"
] | [
"python"
] | I'm still playing around with the UK's COVID-19 vaccination data and in this blog post we'll learn how to format a DataFrame that contains a mix of string and numeric values.
[NOTE]
====
On 10th November 2022 I created https://www.youtube.com/embed/m1FEHPz90oI[a video^] that covers the same content as this blog post.
Let me know if it's helpful 😊
====
++++
<iframe width="560" height="315" src="https://www.youtube.com/embed/m1FEHPz90oI" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
++++
We'll be using Pandas' styling functionality, which generates CSS and HTML, so if you want to follow along you'll need to install Pandas and Jupyter:
[source, bash]
----
pip install pandas jupyter
----
Next, launch Jupyter and create a notebook:
[source, bash]
----
jupyter notebook
----
Let's start by importing Pandas:
[source, python]
----
import pandas as pd
----
And now we'll create a DataFrame containing the data that we want to format:
[source, python]
----
df = pd.DataFrame({
"LTLA Name": ["Amber Valley", "Ashfield", "Bassetlaw"],
"Population": [72179, 77988, 70832],
"PercentageVaccinated": [0.228571, 0.223342, 0.184493]
})
----
.Results
[opts="header", cols="1,20,20,20"]
|===
|| LTLA Name | Population | PercentageVaccinated
|0 |Amber Valley | 72179 | 0.228571
|1 | Ashfield | 77988 | 0.223342
|2 | Bassetlaw | 70832 | 0.184493
|===
One way to do this is to format the values in place, as shown below:
[source, python]
----
df.loc[:, "Population"] = df["Population"].map('{:,d}'.format)
df.loc[:, "PercentageVaccinated"] = df["PercentageVaccinated"].map('{:.2f}'.format)
----
After this transformation, the DataFrame looks like this:
.Results
[opts="header", cols="1,20,20,20"]
|===
|| LTLA Name | Population | PercentageVaccinated
|0 |Amber Valley | 72,179 | 0.23
|1 | Ashfield | 77,988 | 0.22
|2 | Bassetlaw | 70,832 | 0.18
|===
This works, but it changes the underlying values in the DataFrame to be objects, which we can see by calling the `dtypes` function:
[source, python]
----
df.dtypes
----
.Output
[source, text]
----
LTLA Name object
Population object
PercentageVaccinated object
dtype: object
----
This means that we can't do any number based computations anymore.
For example, if we try to multiple the `Population` and `PercentageVaccinated` columns:
[source, python]
----
df.Population * df.PercentageVaccinated
----
.Output
[source, text]
----
Traceback (most recent call last):
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/ops/array_ops.py", line 142, in _na_arithmetic_op
result = expressions.evaluate(op, left, right)
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/computation/expressions.py", line 235, in evaluate
return _evaluate(op, op_str, a, b) # type: ignore[misc]
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/computation/expressions.py", line 69, in _evaluate_standard
return op(a, b)
TypeError: can't multiply sequence by non-int of type 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/ops/common.py", line 65, in new_method
return method(self, other)
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/arraylike.py", line 105, in __mul__
return self._arith_method(other, operator.mul)
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/series.py", line 4998, in _arith_method
result = ops.arithmetic_op(lvalues, rvalues, op)
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/ops/array_ops.py", line 189, in arithmetic_op
res_values = _na_arithmetic_op(lvalues, rvalues, op)
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/ops/array_ops.py", line 149, in _na_arithmetic_op
result = _masked_arith_op(left, right, op)
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/ops/array_ops.py", line 91, in _masked_arith_op
result[mask] = op(xrav[mask], yrav[mask])
TypeError: can't multiply sequence by non-int of type 'str'
----
So if we want to use the underlying data for anything else, formatting like this isn't a good solution.
Instead we can use Pandas styling functionality.
The documentation is a bit overwhelming, but Chris Moffitt https://pbpython.com/styling-pandas.html[has a great introductory article on the styling API^].
If we want to apply the same formatting to every column, we can pass a style to `style.format`.
e.g. we could restrict every column to 2 decimal places, as shown below:
[source, python]
----
df.style.format("{.2f")
----
[NOTE]
====
For a description of valid format values, see the https://docs.python.org/3/library/string.html#format-specification-mini-language[Format Specification Mini-Language^] documentation or https://mkaz.blog/code/python-string-format-cookbook/[Python String Format Cookbook^].
====
[source, output]
----
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
~/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/IPython/core/formatters.py in __call__(self, obj)
343 method = get_real_method(obj, self.print_method)
344 if method is not None:
--> 345 return method()
346 return None
347 else:
~/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/io/formats/style.py in _repr_html_(self)
203 Hooks into Jupyter notebook rich display system.
204 """
--> 205 return self.render()
206
207 @doc(
~/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/io/formats/style.py in render(self, **kwargs)
619 self._compute()
620 # TODO: namespace all the pandas keys
--> 621 d = self._translate()
622 # filter out empty styles, every cell will have a class
623 # but the list of props may just be [['', '']].
~/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/io/formats/style.py in _translate(self)
403 "value": value,
404 "class": " ".join(cs),
--> 405 "display_value": formatter(value),
406 "is_visible": (c not in hidden_columns),
407 }
~/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/io/formats/style.py in <lambda>(x)
1715 ) -> Callable:
1716 if isinstance(formatter, str):
-> 1717 formatter_func = lambda x: formatter.format(x)
1718 elif callable(formatter):
1719 formatter_func = formatter
ValueError: Unknown format code 'f' for object of type 'str'
----
That doesn't work because the `LTLA Name` column contains string values, which can't be formatted as a number.
We can work around that problem by dropping the `LTLA Name` column:
[source, python]
----
df.drop(["LTLA Name"], axis=1).style.format("{:.2f}")
----
.Results
[opts="header", cols="1,20,20"]
|===
| | Population | PercentageVaccinated
|0| 72179.00| 0.23
|1 |77988.00| 0.22
|2| 70832.00| 0.18
|===
This works, but we've lost the `LTLA Name` column and the `Population` column isn't formatted how we'd like.
Instead of passing a single style to `style.format`, we can instead pass a dictionary of `{"column: "style"}`.
So to style `Population` with a comma as thousands separator and `PercentageVaccinated` with two decimal places, we can do the following:
[source, python]
----
df.style.format({
"Population": "{:,d}",
"PercentageVaccinated": "{:.2f}"
})
----
.Results
[opts="header", cols="1,20,20,20"]
|===
|| LTLA Name | Population | PercentageVaccinated
|0 |Amber Valley | 72,179 | 0.23
|1 | Ashfield | 77,988 | 0.22
|2 | Bassetlaw | 70,832 | 0.18
|===
And if we go one step further, we can also use the `hide_index` function to get rid of the index column:
[source, python]
----
df.style.format({
"Population": "{:,d}",
"PercentageVaccinated": "{:.2f}"
}).hide_index()
----
.Results
[opts="header", cols="20,20,20"]
|===
| LTLA Name | Population | PercentageVaccinated
|Amber Valley | 72,179 | 0.23
| Ashfield | 77,988 | 0.22
| Bassetlaw | 70,832 | 0.18
|=== | In this post we'll learn how to format numbers in Pandas DataFrames. | uploads/2021/04/pandas-format-banner.png | [
0.04377736151218414,
-0.011768382973968983,
0.001407971023581922,
0.0226718969643116,
0.05891456827521324,
0.04265229031443596,
0.021709324792027473,
0.031706951558589935,
0.014349306002259254,
-0.02160320058465004,
-0.01087645348161459,
-0.025004638358950615,
-0.060050200670957565,
0.01946076937019825,
-0.022394239902496338,
0.06966996937990189,
0.07186423242092133,
0.014913555234670639,
0.031220633536577225,
0.024695927277207375,
0.014204292558133602,
0.024727873504161835,
-0.010674133896827698,
0.03824731707572937,
0.010368735529482365,
-0.019828153774142265,
0.03226841986179352,
0.0019633308984339237,
-0.05204913392663002,
-0.016343291848897934,
0.025427918881177902,
0.011913681402802467,
-0.019299689680337906,
0.01834735833108425,
0.052666936069726944,
0.0073748864233493805,
-0.02896006964147091,
0.024924132972955704,
0.002651805989444256,
0.014276070520281792,
-0.08272772282361984,
0.0023119854740798473,
-0.015856292098760605,
0.0004370837123133242,
-0.05041177570819855,
-0.019676800817251205,
-0.012139490805566311,
0.03203554451465607,
0.009231055155396461,
-0.0026104662101715803,
-0.04216828942298889,
0.04523833096027374,
0.017637105658650398,
-0.015478579327464104,
-0.00909182894974947,
0.040538374334573746,
0.043628815561532974,
-0.07260677218437195,
0.003698877291753888,
-0.040983349084854126,
0.0043177357874810696,
-0.0029331629630178213,
0.0011694743297994137,
-0.002989737316966057,
0.004648994188755751,
-0.008646788075566292,
-0.028906352818012238,
0.0712370052933693,
-0.04530857130885124,
-0.04029770568013191,
-0.022153813391923904,
-0.004797474946826696,
-0.03508854657411575,
-0.026362763717770576,
-0.008909352123737335,
-0.046672455966472626,
-0.028009098023176193,
0.06382349133491516,
0.021941006183624268,
0.01503609586507082,
0.016997914761304855,
-0.013856159523129463,
0.014127281494438648,
0.03487924113869667,
-0.004059582483023405,
-0.014199376106262207,
-0.039011064916849136,
-0.024826545268297195,
-0.058094773441553116,
0.06158788129687309,
-0.013722550123929977,
-0.03165362402796745,
0.03625614568591118,
0.015362869948148727,
-0.022467654198408127,
-0.004599074367433786,
0.022497624158859253,
-0.011102569289505482,
0.0018941168673336506,
-0.03126528859138489,
-0.05535469949245453,
-0.031530436128377914,
0.04435829073190689,
0.007218257524073124,
-0.07603469491004944,
-0.02160058729350567,
-0.030444681644439697,
-0.017383228987455368,
0.028632063418626785,
0.016928400844335556,
-0.015031936578452587,
-0.0009973564883694053,
-0.025372197851538658,
-0.013395478017628193,
-0.08810499310493469,
0.06190067157149315,
0.0231405571103096,
-0.04335092753171921,
-0.007188241928815842,
-0.0003987406089436263,
0.03266821801662445,
0.019645150750875473,
-0.020864730700850487,
0.07531531155109406,
0.013732257299125195,
0.06763096898794174,
-0.009601614437997341,
0.05851822718977928,
0.013149714097380638,
-0.03428974747657776,
-0.008326694369316101,
0.07338150590658188,
-0.01903131604194641,
-0.004332875367254019,
0.03385826200246811,
-0.004068097099661827,
-0.01220032013952732,
-0.00475520733743906,
0.06401503086090088,
0.013729841448366642,
0.033685438334941864,
-0.031333908438682556,
-0.010897716507315636,
0.017476368695497513,
0.02928270772099495,
0.02190566621720791,
-0.024509765207767487,
-0.05718420445919037,
-0.04625873267650604,
-0.00888862181454897,
-0.0011231187963858247,
-0.003602051641792059,
0.08061537146568298,
-0.011501331813633442,
-0.0025139176286756992,
0.06617745012044907,
0.05373074859380722,
-0.006093488074839115,
0.0012802457204088569,
0.006768235005438328,
0.06299357861280441,
0.039488229900598526,
0.019895296543836594,
0.03588663414120674,
-0.01824733056128025,
-0.00802580825984478,
0.0059089940041303635,
0.030915960669517517,
-0.023032519966363907,
-0.00986043456941843,
-0.0684342235326767,
-0.036527980118989944,
0.06920970976352692,
-0.03231490030884743,
-0.01032028067857027,
0.043717335909605026,
0.07325760275125504,
0.014029026962816715,
0.036613643169403076,
0.005917195230722427,
-0.07112565636634827,
0.04547156020998955,
0.022291116416454315,
0.04063037037849426,
0.06501863896846771,
-0.018491992726922035,
0.0782642588019371,
0.03341023251414299,
0.03489522263407707,
0.06966602802276611,
-0.049341831356287,
-0.052325841039419174,
-0.010686492547392845,
0.010486947372555733,
0.03839733824133873,
-0.061138421297073364,
0.016069576144218445,
0.09159579873085022,
0.014467855915427208,
0.023513711988925934,
-0.01643461175262928,
0.003930498845875263,
0.016818396747112274,
-0.02800276316702366,
-0.03171494975686073,
0.016359491273760796,
0.05204247310757637,
-0.024277713149785995,
-0.006893372628837824,
0.03445806726813316,
-0.016695067286491394,
0.0011530373012647033,
0.019070548936724663,
-0.014775373972952366,
0.010552243329584599,
0.029873214662075043,
0.049742262810468674,
0.002977621741592884,
0.016634518280625343,
-0.0401589497923851,
0.031340230256319046,
-0.026731275022029877,
-0.03329489752650261,
-0.0493791326880455,
-0.011356618255376816,
0.1354362815618515,
0.05873783305287361,
-0.02709805965423584,
-0.060793858021497726,
0.0002625507186166942,
-0.004145514685660601,
-0.014501001685857773,
0.01742488518357277,
0.018271176144480705,
-0.0003320565156172961,
0.008282527327537537,
-0.025512807071208954,
-0.020857244729995728,
0.020763972774147987,
-0.07004133611917496,
0.028178349137306213,
0.060365740209817886,
0.02042565681040287,
0.03166518360376358,
-0.03811759129166603,
0.002742811804637313,
-0.042010560631752014,
-0.036949001252651215,
-0.05257024988532066,
-0.006484485697001219,
0.012543917633593082,
0.00712970457971096,
0.04065215587615967,
0.01787159964442253,
-0.007467916700989008,
-0.023409388959407806,
-0.05655093118548393,
0.03509462624788284,
0.07802056521177292,
0.0491051971912384,
0.02551136538386345,
0.023708993569016457,
-0.016350507736206055,
0.02280328795313835,
-0.026378648355603218,
-0.03839102014899254,
-0.06292001157999039,
-0.058252155780792236,
0.0038123708218336105,
0.018284033983945847,
0.02153346687555313,
0.014753979630768299,
0.029890885576605797,
0.022188320755958557,
0.026763660833239555,
0.006407052744179964,
0.029236668720841408,
0.008776355534791946,
-0.0042342073284089565,
-0.014583391137421131,
0.00778303574770689,
0.06866320967674255,
0.005467747803777456,
-0.036976538598537445,
0.00014760406338609755,
-0.07690995186567307,
0.008281998336315155,
-0.04525316506624222,
-0.033470120280981064,
0.023437412455677986,
0.0005382316885516047,
0.05899751931428909,
0.03030838444828987,
-0.00101831229403615,
0.021950775757431984,
-0.008017300628125668,
0.007720621302723885,
0.013156705535948277,
-0.001752316253259778,
0.028381794691085815,
-0.014301787130534649,
0.022704584524035454,
0.038025595247745514,
0.006502525880932808,
-0.007761573884636164,
-0.05839252471923828,
0.03585577383637428,
-0.043224431574344635,
-0.2843187153339386,
0.03115764632821083,
0.00194955721963197,
-0.032058119773864746,
0.016640568152070045,
-0.031287696212530136,
0.010420477017760277,
-0.044951461255550385,
-0.04287620633840561,
-0.00800956692546606,
0.023141583427786827,
-0.0223542470484972,
-0.03329458087682724,
0.012673409655690193,
0.025308983400464058,
0.009016587398946285,
-0.01798722706735134,
-0.030624574050307274,
0.030561279505491257,
0.032911647111177444,
0.035877060145139694,
-0.0531180165708065,
-0.026228830218315125,
0.05634358152747154,
0.0361434705555439,
0.021722109988331795,
-0.046874772757291794,
0.03587697818875313,
-0.06299547106027603,
-0.021593207493424416,
0.021425370126962662,
-0.008637024089694023,
0.010893162339925766,
-0.0022310526110231876,
-0.03244060277938843,
-0.004241307266056538,
0.04336262866854668,
-0.0035944017581641674,
-0.004350350704044104,
-0.010595060884952545,
-0.04021843895316124,
-0.02993355505168438,
-0.0202178992331028,
-0.014897234737873077,
0.06328214704990387,
-0.002604721812531352,
-0.06549400836229324,
0.023709585890173912,
-0.05014687031507492,
0.07034063339233398,
-0.017212364822626114,
-0.0220057163387537,
-0.04652389883995056,
0.02995469607412815,
-0.03710775822401047,
0.028911257162690163,
-0.0502050407230854,
0.024706806987524033,
-0.04102417081594467,
-0.05575040727853775,
0.006066711153835058,
-0.0099193025380373,
-0.044473808258771896,
-0.03913602605462074,
0.013924486003816128,
-0.07033796608448029,
-0.057701386511325836,
-0.020164968445897102,
0.0688222199678421,
0.04501250013709068,
-0.06514043360948563,
-0.012274147942662239,
-0.0036788037978112698,
-0.1126825213432312,
0.013173501007258892,
-0.05066478252410889,
0.0053606703877449036,
0.007615901529788971,
-0.0015900718281045556,
0.05479538068175316,
-0.03256576508283615,
-0.056589581072330475,
0.05450742319226265,
0.016899891197681427,
0.02057034708559513,
-0.013649865984916687,
0.023675015196204185,
-0.0041964128613471985,
-0.002889955183491111,
-0.028769370168447495,
0.06564075499773026,
-0.05072314292192459,
-0.010499859228730202,
0.015208492986857891,
-0.03617924824357033,
0.05435151979327202,
-0.013680659234523773,
0.015716740861535072,
-0.0013889615656808019,
0.04191100597381592,
0.006177921779453754,
-0.06577354669570923,
-0.04041389003396034,
-0.07249058783054352,
-0.0032929126173257828,
-0.01321402844041586,
-0.059613849967718124,
0.016301224008202553,
0.0192569512873888,
-0.005358120892196894,
-0.026031747460365295,
-0.01906241662800312,
0.004032855853438377,
-0.06070376932621002,
-0.029073024168610573,
-0.02361663058400154,
0.023432819172739983,
0.0048497142270207405,
0.004847387317568064,
-0.015527679584920406,
-0.05048751458525658,
0.0006128127570264041,
-0.014431565999984741,
0.004405868239700794,
-0.0593913197517395,
-0.028871895745396614,
0.02150017023086548,
-0.004717620555311441,
0.007908492349088192,
0.000605190871283412,
-0.007061990909278393,
0.025726165622472763,
0.029261885210871696,
-0.009286663495004177,
0.030756140127778053,
-0.012082126922905445,
-0.03616851940751076,
-0.033520255237817764,
0.014934083446860313,
0.038265012204647064,
-0.0009431341895833611,
0.013783367350697517,
-0.017793891951441765,
0.01225367747247219,
0.03505325689911842,
0.0023324827197939157,
0.02357511594891548,
0.024333054199814796,
-0.01101519726216793,
0.03065894916653633,
0.01169974822551012,
-0.005120403598994017,
-0.020062923431396484,
-0.029859034344553947,
-0.0522158108651638,
-0.0017175126122310758,
0.04685066267848015,
-0.0069309622049331665,
0.003136595943942666,
-0.04555376246571541,
0.000195132932276465,
-0.03322053700685501,
-0.03714263439178467,
-0.01793636381626129,
0.02745932526886463,
0.045457623898983,
0.0020813909359276295,
0.024325409904122353,
0.04003881290555,
-0.010455967858433723,
0.013002704828977585,
0.006938885897397995,
-0.018663685768842697,
0.004125852137804031,
-0.009579888544976711,
-0.016939468681812286,
-0.019663915038108826,
0.024127056822180748,
-0.002509125741198659,
0.04470602795481682,
0.004925546236336231,
-0.0183881763368845,
0.021832235157489777,
0.008251828141510487,
0.04143531993031502,
0.06831317394971848,
-0.026252103969454765,
-0.03815082088112831,
0.006274206098169088,
-0.030614757910370827,
-0.03490785136818886,
-0.012437842786312103,
-0.006167874671518803,
0.0034714185167104006,
-0.035607773810625076,
-0.07092598080635071,
0.009750830940902233,
0.008173804730176926,
-0.010652860626578331,
0.0039280676282942295,
-0.03549177199602127,
0.02523462474346161,
-0.046210478991270065,
0.07084063440561295,
0.028248611837625504,
-0.052973661571741104,
-0.008877421729266644,
-0.006960318889468908,
0.01629006117582321,
-0.002679121447727084,
0.01566353254020214,
-0.07267839461565018,
-0.01995564065873623,
-0.015129992738366127,
0.023645272478461266,
-0.022587664425373077,
-0.03519880026578903,
-0.06387897580862045,
0.023401973769068718,
-0.003975726664066315,
0.035019900649785995,
-0.01729697361588478,
-0.021839136257767677,
-0.024061255156993866,
-0.005646593868732452,
0.019393254071474075,
-0.0494823232293129,
-0.013950001448392868,
0.037195414304733276,
-0.015234640799462795,
0.0034149170387536287,
-0.019004393368959427,
0.02621619775891304,
0.029496952891349792,
-0.026803359389305115,
0.008492916822433472,
-0.02972039021551609,
-0.0038473953027278185,
0.044797156006097794,
0.02898675575852394,
-0.002938882913440466,
0.012440485879778862,
-0.04975965619087219,
-0.01254651416093111,
-0.010167901404201984,
0.006319771055132151,
-0.00002716717244766187,
0.0053777568973600864,
0.02929265797138214,
0.05767042562365532,
-0.00012246196274645627,
-0.017754171043634415,
-0.014392082579433918,
-0.05394314229488373,
0.02087395079433918,
-0.035002417862415314,
-0.01785646378993988,
-0.030393673107028008,
-0.04099017009139061,
0.012110317125916481,
0.00020362110808491707,
0.022111352533102036,
-0.02308540977537632,
0.038731034845113754,
0.035117220133543015,
0.021769991144537926,
0.05258899927139282,
-0.004959081299602985,
0.027241598814725876,
-0.06899719685316086,
-0.010051446035504341,
-0.07037544995546341,
-0.022104647010564804,
0.037042684853076935,
0.03161941468715668,
-0.006196761503815651,
0.006805569864809513,
-0.024917108938097954,
0.035948365926742554,
-0.07064835727214813,
-0.030722077935934067,
0.04653957113623619,
-0.0031783387530595064,
0.03021678328514099,
0.0016587378922849894,
-0.04527508467435837,
0.006572849117219448,
0.035719309002161026,
-0.05145828798413277,
-0.013773098587989807,
-0.015528347343206406,
0.06964590400457382,
-0.028526727110147476,
0.01922120712697506,
-0.01246724370867014,
0.004024997819215059,
0.06010579317808151,
0.017845602706074715,
0.002485625445842743,
-0.009005160070955753,
-0.002346835797652602,
0.05499516427516937,
0.014002343639731407,
-0.0027123545296490192,
0.0015315880300477147,
-0.001692497287876904,
0.02260041981935501,
-0.06969558447599411,
0.02778570167720318,
0.024736709892749786,
0.016748880967497826,
-0.057363323867321014,
0.08981984108686447,
-0.002420308068394661,
-0.04454662650823593,
-0.009052804671227932,
-0.0037875166162848473,
-0.03808173909783363,
-0.029388483613729477,
-0.01777634397149086,
-0.018095040693879128,
-0.021577022969722748,
0.050643060356378555,
-0.019316550344228745,
0.006976134609431028,
0.05980304256081581,
-0.003096093190833926,
0.028165297582745552,
0.0067941597662866116,
0.06521043181419373,
0.046663761138916016,
0.048104748129844666,
-0.008523397147655487,
0.07921389490365982,
-0.024892481043934822,
-0.05532629042863846,
0.03874566778540611,
-0.024592561647295952,
-0.009787261486053467,
-0.033817779272794724,
0.028658168390393257,
0.05781346932053566,
-0.02141607366502285,
0.0722341313958168,
0.017932135611772537,
-0.030258135870099068,
-0.020045597106218338,
0.01845010556280613,
0.042139820754528046,
0.02711946703493595,
0.01602613553404808,
0.04177076369524002,
-0.028965655714273453,
-0.014393682591617107,
0.016435999423265457,
-0.031930193305015564,
-0.02297692932188511,
0.02503000572323799,
-0.004171893931925297,
0.012774430215358734,
-0.008913896046578884,
0.009404964745044708,
0.09865047037601471,
-0.03762149065732956,
-0.006653585471212864,
-0.016792945563793182,
0.019744431599974632,
-0.021125400438904762,
0.028008729219436646,
0.010653384029865265,
0.007120145484805107,
-0.03928554058074951,
-0.058471567928791046,
0.0032040653750300407,
-0.023527750745415688,
-0.051712777465581894,
0.006282325834035873,
-0.039678413420915604,
-0.0007297819247469306,
0.057491350919008255,
-0.0366075374186039,
-0.04089236631989479,
-0.039579037576913834,
-0.054903361946344376,
-0.03249557316303253,
-0.08292006701231003,
-0.02211749739944935,
0.02341747097671032,
-0.015345499850809574,
-0.028533369302749634,
-0.032233670353889465,
-0.009139874018728733,
0.015352216549217701,
-0.002493869047611952,
-0.037910472601652145,
-0.044271256774663925,
0.060898371040821075,
0.022073568776249886,
0.005681976675987244,
0.018698254600167274,
0.0621224045753479,
0.008142915554344654,
-0.028531111776828766,
-0.004966253414750099,
0.04710003361105919,
0.03768056258559227,
0.007456280291080475,
0.0341135710477829,
-0.09050942957401276,
-0.01246520597487688,
0.004538087639957666,
0.0022611645981669426,
-0.0691998079419136,
0.03241680562496185,
0.02641681768000126,
0.04488174989819527,
0.04743245989084244,
-0.02687532640993595,
0.0023817108012735844,
-0.044859740883111954,
-0.026409585028886795,
-0.003142845816910267,
0.014780281111598015,
0.05100754275918007,
-0.04727080836892128,
0.0837898999452591,
0.02324068360030651,
-0.010434415191411972,
-0.02767435647547245,
-0.010976490564644337,
-0.03471500426530838,
0.010744999162852764,
-0.03265436738729477,
-0.04936525970697403,
-0.07852303981781006,
-0.06994040310382843,
-0.0023086946457624435,
0.0402708537876606,
-0.054871827363967896,
-0.01525141578167677,
0.0023621986620128155,
0.016137557104229927,
0.009927524253726006,
0.03778801113367081,
-0.026637818664312363,
0.017982052639126778,
-0.01730749011039734,
-0.005047983955591917,
-0.010610594414174557,
0.03104601614177227,
-0.006891933269798756,
0.011782211251556873,
0.028487225994467735,
-0.059216395020484924,
0.02801923081278801,
-0.013695446774363518,
0.018073825165629387,
0.06781382858753204,
-0.010610586032271385,
0.018124675378203392
] | [
-0.07060188800096512,
-0.04217315837740898,
-0.03430221974849701,
-0.001947517041116953,
0.08469264209270477,
-0.030887288972735405,
-0.04046858847141266,
0.02318722940981388,
0.0009029926150105894,
0.023990321904420853,
-0.006132498383522034,
-0.0941041111946106,
0.0017203184543177485,
-0.0287687499076128,
0.04341902956366539,
0.00035525369457900524,
-0.005941311363130808,
-0.09182264655828476,
-0.057574402540922165,
0.07943645864725113,
-0.013598764315247536,
-0.009485037066042423,
-0.04832995682954788,
-0.05684826895594597,
0.018215402960777283,
0.02890077419579029,
0.05018218979239464,
-0.029161257669329643,
0.0031026266515254974,
-0.1852647215127945,
0.021864265203475952,
-0.019068511202931404,
0.02653208188712597,
-0.024005236104130745,
0.01668168604373932,
0.01915695145726204,
0.045245975255966187,
0.028668995946645737,
-0.009828129783272743,
0.044674139469861984,
0.016133686527609825,
-0.014920198358595371,
-0.03187064453959465,
-0.03200807794928551,
0.041165903210639954,
0.006364226806908846,
-0.05503200367093086,
0.005183902569115162,
0.003787966910749674,
0.017200278118252754,
-0.06876619905233383,
0.012580242939293385,
-0.040023211389780045,
-0.00023323021014221013,
0.017115125432610512,
0.01060898881405592,
0.04685505852103233,
0.043295081704854965,
0.0183780025690794,
0.026723818853497505,
0.018201731145381927,
-0.006910849362611771,
-0.12865899503231049,
0.12638352811336517,
0.010552712716162205,
0.04940852150321007,
-0.025810707360506058,
-0.010819174349308014,
0.015346108004450798,
0.08099215477705002,
-0.03245306387543678,
-0.019030718132853508,
-0.03256065398454666,
0.07507260888814926,
0.013839267194271088,
-0.003949049394577742,
0.011978545226156712,
0.014131327159702778,
0.03366727754473686,
-0.021993687376379967,
-0.050991129130125046,
0.03248884901404381,
0.006129490211606026,
-0.03553643822669983,
0.021223757416009903,
0.0011481335386633873,
-0.04224083200097084,
0.02142159827053547,
-0.01845456101000309,
0.017982501536607742,
0.02937730774283409,
-0.011711842380464077,
0.029518185183405876,
0.037799593061208725,
-0.08837951719760895,
-0.039570581167936325,
0.00526823615655303,
0.023255888372659683,
-0.016752196475863457,
0.4042700231075287,
-0.051947835832834244,
-0.03732385113835335,
0.03866792470216751,
0.033752232789993286,
0.021939845755696297,
-0.014002659358084202,
0.0063953404314816,
-0.043766506016254425,
0.02098638378083706,
-0.04387795180082321,
-0.00020682334434241056,
-0.018099887296557426,
0.06103561073541641,
-0.06544021517038345,
0.01642843894660473,
0.0026452578604221344,
-0.002112237736582756,
0.0002571434306446463,
0.015618041157722473,
0.025868933647871017,
0.003917096182703972,
-0.006033424753695726,
0.01326488982886076,
-0.0035837837494909763,
0.04218945652246475,
0.02437712997198105,
0.0595891997218132,
0.05942599102854729,
0.036249443888664246,
0.021322723478078842,
0.04876161739230156,
-0.02082127332687378,
-0.07425464689731598,
0.004855740815401077,
-0.014112119562923908,
-0.013449916616082191,
0.01580641232430935,
-0.018272224813699722,
0.02196178026497364,
0.04457429051399231,
-0.010306107811629772,
-0.06384020298719406,
0.009063082747161388,
-0.020851442590355873,
-0.019579734653234482,
0.13444682955741882,
-0.01612745225429535,
-0.006608663126826286,
-0.03648862615227699,
-0.029797442257404327,
0.0095759816467762,
0.05504874140024185,
-0.006250340025871992,
-0.06755381077528,
0.01373814046382904,
0.028486426919698715,
0.08161786943674088,
-0.038498781621456146,
-0.06215216964483261,
-0.04271940886974335,
-0.005649114493280649,
-0.0631820410490036,
-0.04655398800969124,
0.025016993284225464,
0.031922079622745514,
-0.11012649536132812,
-0.03334403038024902,
0.03885556757450104,
0.024432573467493057,
-0.06454481184482574,
0.018778862431645393,
0.015773635357618332,
-0.02613498643040657,
0.004509578924626112,
0.06480808556079865,
-0.012640218250453472,
-0.04540030658245087,
0.02766094170510769,
0.05900547653436661,
0.0040971036069095135,
-0.005791808012872934,
0.01731027290225029,
-0.030418451875448227,
0.012369430623948574,
-0.07291239500045776,
-0.08816062659025192,
-0.04586521163582802,
-0.0027750921435654163,
-0.0007191991899162531,
-0.06569226831197739,
0.0108060073107481,
-0.015363326296210289,
-0.07830845564603806,
0.05640672147274017,
-0.039304718375205994,
-0.028747141361236572,
0.03612392395734787,
0.008182221092283726,
0.011640533804893494,
-0.02527407929301262,
0.013379924930632114,
-0.0045888787135481834,
-0.0009702415554784238,
0.045586008578538895,
-0.027676766738295555,
0.0045090229250490665,
0.04897425323724747,
-0.03986106812953949,
0.0906626284122467,
0.031747277826070786,
0.01192370057106018,
-0.0005695453146472573,
0.008536404930055141,
0.012749195098876953,
-0.02591921016573906,
0.0032850047573447227,
-0.010983835905790329,
-0.008192887529730797,
0.025707067921757698,
0.04470251873135567,
0.0014541144482791424,
-0.05351833626627922,
-0.013975539244711399,
-0.3570180833339691,
-0.048657096922397614,
-0.006846477743238211,
-0.0075737470760941505,
-0.0027916319668293,
-0.043972961604595184,
0.0238412544131279,
0.013404016382992268,
-0.0183067936450243,
0.06190130114555359,
0.08921598643064499,
-0.001772877061739564,
0.014166970737278461,
-0.09042909741401672,
-0.03293934464454651,
0.011308287270367146,
-0.010085582733154297,
-0.0374002531170845,
-0.015621395781636238,
0.024404408410191536,
-0.004840946290642023,
-0.041634466499090195,
-0.015897754579782486,
-0.03547002747654915,
0.027587981894612312,
-0.050963226705789566,
0.1618209034204483,
0.02227093279361725,
0.048807594925165176,
-0.04277677461504936,
0.03832316771149635,
-0.02379908785223961,
-0.007932732813060284,
-0.07672599703073502,
0.013374305330216885,
-0.04165562242269516,
-0.011151372455060482,
0.028226014226675034,
-0.044851936399936676,
-0.02270771935582161,
-0.03608624264597893,
0.03268579766154289,
-0.032132674008607864,
-0.04060415178537369,
-0.05173372104763985,
0.02676280587911606,
-0.010185107588768005,
0.0018055009422823787,
-0.05298839136958122,
0.08183727413415909,
0.015946978703141212,
0.005527766887098551,
0.042175814509391785,
0.0386759452521801,
0.004855342675000429,
-0.014146897941827774,
-0.07774712890386581,
0.013872564770281315,
-0.030079271644353867,
-0.023780113086104393,
0.014143891632556915,
0.012682177126407623,
0.04016466066241264,
-0.04730718582868576,
-0.04620017111301422,
0.0012830185005441308,
0.019715171307325363,
-0.006415626499801874,
0.030239522457122803,
-0.011279100552201271,
-0.03344905003905296,
0.11376618593931198,
-0.012590349651873112,
0.02065916173160076,
0.04143177717924118,
0.06753765046596527,
-0.02315969206392765,
0.023356417194008827,
0.01055952999740839,
0.007679179776459932,
0.05997125804424286,
-0.016952136531472206,
0.008848223835229874,
-0.0022623655386269093,
0.03231991454958916,
0.006934761069715023,
-0.001701180706731975,
-0.005155093502253294,
0.05276431143283844,
0.011374343186616898,
-0.01112577598541975,
-0.03391355648636818,
-0.02393040992319584,
-0.028824351727962494,
0.037168290466070175,
-0.009651858359575272,
-0.28601956367492676,
0.02516983449459076,
0.014571055769920349,
0.06057951971888542,
0.0004939574282616377,
-0.035775598138570786,
0.015188055112957954,
-0.04238075390458107,
-0.010450252331793308,
0.010702249594032764,
-0.016361767426133156,
0.03416316956281662,
0.03466591238975525,
-0.0055687748827040195,
-0.010252699255943298,
-0.012558987364172935,
0.03265415132045746,
0.005892946384847164,
0.009665539488196373,
-0.008559100329875946,
0.02330649457871914,
-0.05322840064764023,
0.14490793645381927,
0.02700304612517357,
0.0047365170903503895,
-0.0010294396197423339,
-0.005810492672026157,
0.01361574325710535,
0.0984424576163292,
0.04116132855415344,
-0.001549745793454349,
-0.012331346049904823,
0.018562346696853638,
0.020036576315760612,
0.03371824324131012,
-0.053631119430065155,
-0.04876473918557167,
0.038374245166778564,
0.032124537974596024,
-0.008281221613287926,
0.015711214393377304,
0.019762132316827774,
-0.03085605800151825,
0.03227235749363899,
0.03845673426985741,
-0.006832696497440338,
0.0065364595502614975,
-0.03932732716202736,
-0.033922310918569565,
0.004377495031803846,
0.012258092872798443,
0.005856703035533428,
0.005616278387606144,
0.008704282343387604,
0.013857207261025906,
0.07146457582712173,
0.06608986109495163,
-0.0009506527567282319,
0.04368576779961586,
-0.0012783017009496689,
-0.016196509823203087,
-0.06997745484113693,
0.06586506217718124,
0.0458553284406662,
0.009146658703684807
] | [
0.030124017968773842,
-0.002112798858433962,
-0.005544302519410849,
-0.018465556204319,
0.005396837834268808,
0.016458000987768173,
0.010682815685868263,
-0.004888307768851519,
-0.010421531274914742,
0.005978900007903576,
0.02412801794707775,
-0.006804428994655609,
-0.010991866700351238,
0.010107619687914848,
0.006437565665692091,
-0.026501838117837906,
0.02990271896123886,
-0.015024498105049133,
0.013727894984185696,
-0.0020793266594409943,
-0.024892346933484077,
0.04634873941540718,
0.03588952496647835,
0.014898784458637238,
-0.028987562283873558,
0.027927877381443977,
-0.068919837474823,
0.024541467428207397,
0.03924642875790596,
-0.12315455824136734,
0.019251514226198196,
-0.044247936457395554,
0.0021311664022505283,
0.0000737338705221191,
-0.04172353446483612,
-0.03879215568304062,
-0.03807995095849037,
0.010328078642487526,
-0.021125541999936104,
0.0192266833037138,
-0.0124879851937294,
-0.02864617481827736,
0.011538917198777199,
0.016564378514885902,
-0.005217869766056538,
-0.019124086946249008,
-0.04368894174695015,
0.011094402521848679,
0.00930478423833847,
-0.008167630061507225,
-0.058195680379867554,
-0.008272724226117134,
-0.0141757782548666,
0.00009167460666503757,
-0.03894946724176407,
-0.01764226146042347,
-0.029245104640722275,
0.00914589874446392,
0.006637148093432188,
-0.023021642118692398,
-0.014648674987256527,
0.014093412086367607,
-0.025180954486131668,
0.0015827189199626446,
0.03769277036190033,
-0.012795143760740757,
-0.03220444172620773,
-0.02200869657099247,
-0.007717096246778965,
0.006682246457785368,
-0.0011605918407440186,
0.0115360077470541,
-0.020975908264517784,
0.006948098540306091,
-0.04404476284980774,
-0.005854611285030842,
-0.003882954129949212,
-0.01057101134210825,
0.022812120616436005,
0.0035911749582737684,
0.006094464100897312,
-0.004318942781537771,
0.03052632138133049,
0.028830675408244133,
0.00830010510981083,
-0.023491911590099335,
0.014988751150667667,
0.04198867082595825,
-0.01370985060930252,
-0.007629807107150555,
-0.03270783647894859,
0.021441085264086723,
0.0456976480782032,
0.012182250618934631,
-0.09313594549894333,
0.009118108078837395,
-0.0163089781999588,
-0.04121950641274452,
-0.01609186828136444,
0.8395177125930786,
-0.013663765974342823,
-0.01996852457523346,
0.03529248386621475,
0.018367376178503036,
-0.01886606402695179,
-0.03585170581936836,
0.003644681768491864,
0.030332332476973534,
0.015452137216925621,
-0.02176832966506481,
0.006583964917808771,
0.04321916401386261,
0.01563524268567562,
0.03139551728963852,
0.018223002552986145,
0.006744914222508669,
0.0042677344754338264,
0.0020835348404943943,
0.0026404419913887978,
0.014006298035383224,
0.010318990796804428,
-0.01624789834022522,
-0.015073345974087715,
-0.007208855822682381,
0.02952033281326294,
-0.16235096752643585,
0.013085966929793358,
-6.959570874708987e-33,
0.018009530380368233,
-0.049591902643442154,
0.007824743166565895,
0.015839319676160812,
0.04035487025976181,
0.020246228203177452,
-0.008628052659332752,
0.04077896848320961,
0.010957106947898865,
-0.017288729548454285,
0.015316012315452099,
-0.019267749041318893,
-0.006601137574762106,
-0.01425537746399641,
0.019753796979784966,
-0.01594301499426365,
-0.017888087779283524,
0.028716886416077614,
-0.015464575961232185,
0.014592397958040237,
0.04803690314292908,
0.04235908016562462,
0.039932072162628174,
0.05439169332385063,
-0.018260179087519646,
0.01981828361749649,
-0.016346435993909836,
0.007215580902993679,
-0.0058675603941082954,
-0.04132361337542534,
-0.03693297877907753,
-0.0016932685393840075,
-0.01478365808725357,
-0.06168892979621887,
0.014381259679794312,
-0.040717486292123795,
-0.029333364218473434,
-0.009791294112801552,
-0.020767392590641975,
0.032519470900297165,
-0.020640548318624496,
0.03461542725563049,
-0.029204457998275757,
-0.02630465105175972,
-0.03537089005112648,
0.01806098222732544,
0.014399344101548195,
0.03304217755794525,
-0.023849256336688995,
0.03852330520749092,
0.0071481321938335896,
0.008820690214633942,
-0.014764905907213688,
-0.043743811547756195,
-0.010550152510404587,
0.05717477947473526,
0.00827118381857872,
0.010572223924100399,
-0.00718139810487628,
-0.04175371676683426,
0.0038250063080340624,
0.00587404565885663,
0.04190210625529289,
0.005926127545535564,
-0.017947839573025703,
-0.016424957662820816,
0.07050076127052307,
-0.005857379175722599,
0.04350312054157257,
-0.005934476852416992,
-0.03553361818194389,
0.033799927681684494,
-0.025531325489282608,
-0.039581943303346634,
0.02153753489255905,
-0.044898658990859985,
0.015259208157658577,
-0.009283863008022308,
0.029461534693837166,
0.020991552621126175,
0.004133440088480711,
0.0019804020412266254,
-0.001029241131618619,
-0.02549089677631855,
-0.001923779840581119,
-0.04728854447603226,
0.03220803663134575,
0.020026998594403267,
-0.044671300798654556,
0.00167268724180758,
0.020011696964502335,
0.05014430731534958,
0.002384039806202054,
-0.023574352264404297,
0.01695561408996582,
7.091539217371989e-33,
-0.004679427482187748,
0.01828615367412567,
-0.012195752933621407,
-0.014308125711977482,
0.043986644595861435,
0.004984600003808737,
0.06034349277615547,
0.018633849918842316,
0.004161502700299025,
0.015173200517892838,
-0.02770167589187622,
-0.005604846868664026,
-0.02478991448879242,
0.015595690347254276,
0.03402193635702133,
-0.015452715568244457,
-0.005181553773581982,
-0.004976318683475256,
-0.011320414952933788,
0.010324493050575256,
-0.04501143842935562,
0.03114849142730236,
0.012526365928351879,
0.026343366131186485,
0.03464331850409508,
0.046283941715955734,
-0.004394704941660166,
0.0012685453984886408,
0.01723678968846798,
0.01280983816832304,
0.01562735065817833,
-0.0005438044900074601,
-0.013527900911867619,
-0.013269560411572456,
-0.005824936553835869,
0.021597452461719513,
0.05712759122252464,
0.00021886086324229836,
-0.01238134317100048,
-0.010256333276629448,
0.03093700110912323,
0.020137427374720573,
-0.012485060840845108,
0.010038170032203197,
-0.0026828828267753124,
0.03630834072828293,
0.007766915950924158,
0.009013905189931393,
-0.02946263737976551,
-0.016774531453847885,
0.006805154960602522,
0.009784618392586708,
-0.017885485664010048,
0.06638450920581818,
0.01453403290361166,
-0.008324959315359592,
-0.03644087538123131,
0.006712945643812418,
-0.04597270116209984,
-0.0023516237270087004,
-0.04324823245406151,
0.0047098323702812195,
-0.06386511027812958,
0.009908185340464115,
-0.004303026013076305,
-0.014651126228272915,
-0.04414808750152588,
-0.008759632706642151,
-0.020447857677936554,
-0.016706379130482674,
0.016020985320210457,
-0.05058271810412407,
0.0321693941950798,
0.01707897149026394,
-0.012618937529623508,
-0.0015047242632135749,
0.007819992490112782,
0.008273288607597351,
0.0042647127993404865,
0.01623525284230709,
0.030059482902288437,
-0.039797913283109665,
0.027377350255846977,
-0.02145320735871792,
0.005601524841040373,
0.007990751415491104,
-0.022659404203295708,
-0.021980738267302513,
0.02245027758181095,
0.005777159705758095,
-0.010487787425518036,
-0.029201708734035492,
0.007574134040623903,
-0.0019956461619585752,
0.026896487921476364,
-1.2518981407083629e-8,
-0.012899596244096756,
0.014097812585532665,
-0.01696055196225643,
0.057812005281448364,
-0.014268108643591404,
0.014101213775575161,
-0.01685059256851673,
-0.029551837593317032,
0.022433970123529434,
0.02234770357608795,
0.05221068859100342,
0.0047962842509150505,
0.024232877418398857,
0.04430312663316727,
-0.0069520906545221806,
-0.012278991751372814,
-0.022543828934431076,
0.00020717977895401418,
0.024517931044101715,
0.008026125840842724,
-0.002962428145110607,
0.03803941607475281,
0.013283010572195053,
-0.029805872589349747,
0.022213885560631752,
-0.006989144254475832,
-0.0284808911383152,
-0.1032959446310997,
-0.029833491891622543,
-0.0012251405278220773,
-0.013916101306676865,
-0.03629321977496147,
-0.031670425087213516,
-0.0221658106893301,
-0.0014100370462983847,
-0.046020567417144775,
0.02721840888261795,
-0.003946676850318909,
0.030340490862727165,
-0.008973420597612858,
0.0173802487552166,
-0.007715701591223478,
-0.01980089582502842,
-0.023467199876904488,
0.003401949303224683,
0.001982836052775383,
0.013292727060616016,
-0.006245230324566364,
0.004730404354631901,
-0.03913714364171028,
-0.010295907966792583,
-0.009183657355606556,
-0.00644746795296669,
0.03140656277537346,
0.026250604540109634,
-0.004669880494475365,
0.03967156261205673,
0.006988700944930315,
-0.01656532660126686,
-0.005659152753651142,
0.046765416860580444,
0.021964076906442642,
0.007157283369451761,
-0.04979295656085014
] | pandas-format-dataframe-numbers-commas-decimals | https://markhneedham.com/blog/2021/04/11/pandas-format-dataframe-numbers-commas-decimals |
false | 2021-04-28 00:44:37 | Altair/Pandas: TypeError: Cannot interpret 'Float64Dtype()' as a data type | [
"python",
"pandas",
"altair"
] | [
"python"
] | I ran into an interesting problem when trying to use Altair to visualise a Pandas DataFrame containing vaccination rates of different parts of England.
In this blog post we'll look at how to work around this issue.
First, let's install Pandas, numpy, and altair:
[source, bash]
----
pip install pandas altair numpy
----
And now we'll import those modules into a Python script or Jupyter notebook:
[source,python]
----
import pandas as pd
import altair as alt
import numpy as np
----
Next, we'll create a DataFrame containing the vaccinations rates of a couple of regions:
[source,python]
----
vaccination_rates_by_region = pd.DataFrame([
{"Region": "East Midlands", "Overall": 48.877331},
{"Region": "London", "Overall": 32.58}
])
vaccination_rates_by_region = vaccination_rates_by_region.convert_dtypes()
----
.vaccination_rates_by_region DataFrame
[format="csv", options="header"]
|===
include::content/2021/04/28/data/vaccination_rates_by_region.csv[]
|===
Let's now try to create a bar chart based on this data:
[source,python]
----
(alt.Chart(vaccination_rates_by_region).mark_bar().encode(
x=alt.X('Region'),
y=alt.Y('Overall', axis=alt.Axis(title='Vaccinations')),
tooltip=[alt.Tooltip('Overall', format=",")])
.properties(width=600))
----
If we run this code, we'll see the following error:
.Output
[source, text]
----
TypeError Traceback (most recent call last)
~/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/altair/vegalite/v4/api.py in to_dict(self, *args, **kwargs)
361 copy = self.copy(deep=False)
362 original_data = getattr(copy, "data", Undefined)
--> 363 copy.data = _prepare_data(original_data, context)
364
365 if original_data is not Undefined:
~/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/altair/vegalite/v4/api.py in _prepare_data(data, context)
82 # convert dataframes or objects with __geo_interface__ to dict
83 if isinstance(data, pd.DataFrame) or hasattr(data, "__geo_interface__"):
---> 84 data = _pipe(data, data_transformers.get())
85
86 # convert string input to a URLData
~/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/toolz/functoolz.py in pipe(data, *funcs)
625 """
626 for func in funcs:
--> 627 data = func(data)
628 return data
629
~/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/toolz/functoolz.py in __call__(self, *args, **kwargs)
301 def __call__(self, *args, **kwargs):
302 try:
--> 303 return self._partial(*args, **kwargs)
304 except TypeError as exc:
305 if self._should_curry(args, kwargs, exc):
~/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/altair/vegalite/data.py in default_data_transformer(data, max_rows)
17 @curried.curry
18 def default_data_transformer(data, max_rows=5000):
---> 19 return curried.pipe(data, limit_rows(max_rows=max_rows), to_values)
20
21
~/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/toolz/functoolz.py in pipe(data, *funcs)
625 """
626 for func in funcs:
--> 627 data = func(data)
628 return data
629
~/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/toolz/functoolz.py in __call__(self, *args, **kwargs)
301 def __call__(self, *args, **kwargs):
302 try:
--> 303 return self._partial(*args, **kwargs)
304 except TypeError as exc:
305 if self._should_curry(args, kwargs, exc):
~/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/altair/utils/data.py in to_values(data)
147 return {"values": data}
148 elif isinstance(data, pd.DataFrame):
--> 149 data = sanitize_dataframe(data)
150 return {"values": data.to_dict(orient="records")}
151 elif isinstance(data, dict):
~/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/altair/utils/core.py in sanitize_dataframe(df)
334 col = df[col_name].astype(object)
335 df[col_name] = col.where(col.notnull(), None)
--> 336 elif np.issubdtype(dtype, np.integer):
337 # convert integers to objects; np.int is not JSON serializable
338 df[col_name] = df[col_name].astype(object)
~/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/numpy/core/numerictypes.py in issubdtype(arg1, arg2)
417 """
418 if not issubclass_(arg1, generic):
--> 419 arg1 = dtype(arg1).type
420 if not issubclass_(arg2, generic):
421 arg2 = dtype(arg2).type
TypeError: Cannot interpret 'Float64Dtype()' as a data type
----
We can check the types used in our DataFrame by running the following code:
[source, python]
----
vaccination_rates_by_region.dtypes
----
.Output
[source, text]
----
Region string
Overall Float64
dtype: object
----
The problem is that altair https://github.com/altair-viz/altair/issues/2398[doesn't yet support the Float64Dtype^] type.
We can work around this problem by coercing the type of that column to `float32`:
[source, python]
----
vaccination_rates_by_region= vaccination_rates_by_region.astype({
column: np.float32
for column in vaccination_rates_by_region.drop(["Region"], axis=1).columns
})
----
And now if we create a chart:
[source, python]
----
chart = (alt.Chart(vaccination_rates_by_region).mark_bar().encode(
x=alt.X('Region'),
y=alt.Y('Overall', axis=alt.Axis(title='Vaccinations')),
tooltip=[alt.Tooltip('Overall', format=",")])
.properties(width=600))
----
image::{{<siteurl>}}/uploads/2021/04/vaccinations-by-region.png[title="Vaccinations by Region"]
Happy days! | In this post we'll learn how to work around an issue with Pandas new Float64Dtype when using the Altair visualisation library. | null | [
-0.00004077632911503315,
0.009660497307777405,
-0.03269265964627266,
0.013258169405162334,
0.05630413442850113,
0.04339725151658058,
0.010241342708468437,
0.0278522577136755,
0.03295234218239784,
-0.03426812216639519,
-0.0010711558861657977,
-0.023133855313062668,
-0.0687098503112793,
0.01032878365367651,
0.005349328275769949,
0.07624748349189758,
0.08007627725601196,
0.01816626265645027,
-0.006518900860100985,
0.02147049270570278,
0.014958877116441727,
0.002620452083647251,
-0.034213628619909286,
0.05324438586831093,
-0.012610898353159428,
-0.010732501745223999,
0.03263434022665024,
-0.0023365598171949387,
-0.06708211451768875,
-0.02211207151412964,
0.004825398791581392,
0.01956385187804699,
-0.02024700678884983,
0.008168150670826435,
0.03487267345190048,
0.006345916073769331,
-0.016462424769997597,
0.025162845849990845,
0.0005262480117380619,
0.004036502446979284,
-0.08169963210821152,
0.0151967853307724,
-0.013834924437105656,
0.010675289668142796,
-0.045326802879571915,
-0.01755206659436226,
-0.016710840165615082,
0.032362304627895355,
0.004286038689315319,
0.019979994744062424,
-0.05602453649044037,
0.04334038868546486,
-0.002131788758561015,
-0.0483575202524662,
0.0035595553927123547,
0.06173793971538544,
0.0368327870965004,
-0.08342025429010391,
0.005327565595507622,
-0.0478174164891243,
0.031059786677360535,
0.034918058663606644,
-0.003816259326413274,
0.014912819489836693,
0.05220462754368782,
0.00799719151109457,
-0.02585393376648426,
0.06574766337871552,
-0.05399259552359581,
-0.03504350781440735,
-0.040915098041296005,
0.009341610595583916,
-0.04223091900348663,
-0.01831243373453617,
0.0048678163439035416,
-0.045100968331098557,
-0.03228720277547836,
0.04722261801362038,
0.04624062031507492,
0.010728047229349613,
0.024218719452619553,
-0.009778582490980625,
0.009915107861161232,
0.011144199408590794,
0.016941644251346588,
-0.021577179431915283,
-0.04039997607469559,
-0.04426802322268486,
-0.06681536883115768,
0.04898069053888321,
-0.004916907753795385,
-0.0591341033577919,
0.036480873823165894,
0.009746845811605453,
-0.024613121524453163,
-0.022060493007302284,
0.009155881591141224,
-0.004082867875695229,
0.005624919198453426,
-0.02512560598552227,
-0.05483410879969597,
-0.015162637457251549,
0.03267841413617134,
0.0023508816957473755,
-0.07889993488788605,
-0.027245070785284042,
-0.01604386419057846,
-0.007909557782113552,
0.00951435137540102,
0.02615274488925934,
-0.042080625891685486,
0.0031469555106014013,
-0.03910618647933006,
-0.04667044058442116,
-0.0903431847691536,
0.07628406584262848,
0.03161381557583809,
-0.0482480488717556,
0.004692201502621174,
-0.015415098518133163,
0.041422635316848755,
0.05684778094291687,
-0.03283081576228142,
0.07614734023809433,
0.016970491036772728,
0.07643480598926544,
-0.029804090037941933,
0.056595075875520706,
-0.0005017807125113904,
-0.046117160469293594,
-0.012304438278079033,
0.07235755771398544,
-0.03931880369782448,
0.007584893610328436,
0.027433251962065697,
0.010718497447669506,
-0.019434556365013123,
0.006669144611805677,
0.06085081771016121,
0.0216497965157032,
0.022974302992224693,
-0.021808532997965813,
-0.00466053606942296,
0.033544085919857025,
0.012506363913416862,
0.02819850482046604,
-0.006363547872751951,
-0.06115259975194931,
-0.030541498214006424,
0.00036933034425601363,
0.009490719996392727,
0.035717763006687164,
0.08937010914087296,
-0.014704791828989983,
0.009989073500037193,
0.05129474028944969,
0.04865945130586624,
0.006644431967288256,
-0.044687289744615555,
0.001400201814249158,
0.06129107251763344,
0.024709690362215042,
0.01226009614765644,
0.05511150136590004,
-0.015808606520295143,
-0.03260108828544617,
0.0016450766706839204,
0.03434525057673454,
-0.0067472318187355995,
0.009923512116074562,
-0.05698857456445694,
-0.057024531066417694,
0.05972181633114815,
-0.04869566857814789,
0.028551319614052773,
0.03687212988734245,
0.06460566073656082,
0.03455331176519394,
0.06069266423583031,
0.002112455666065216,
-0.07630655169487,
0.04773690551519394,
-0.0034916375298053026,
0.041910529136657715,
0.06750912219285965,
-0.007962530478835106,
0.08966734260320663,
0.023690471425652504,
0.031181026250123978,
0.06239338591694832,
-0.03305653855204582,
-0.03118246980011463,
-0.022480104118585587,
-0.01881425827741623,
0.03903287649154663,
-0.06757918000221252,
-0.023848513141274452,
0.07738888263702393,
0.04620537906885147,
0.020688163116574287,
-0.025814229622483253,
0.00006504621705971658,
0.02055182307958603,
-0.024169107899069786,
-0.028895562514662743,
0.021013636142015457,
0.024604512378573418,
-0.0006775810034014285,
-0.016528477892279625,
0.05403921753168106,
-0.02280435897409916,
0.02159855142235756,
0.014833490364253521,
0.004308375529944897,
0.036867715418338776,
0.028519514948129654,
0.0542413629591465,
0.003489531110972166,
0.02011743001639843,
-0.05996951460838318,
0.03042227029800415,
-0.02513211779296398,
-0.005642846692353487,
-0.054622549563646317,
-0.005521617829799652,
0.12566445767879486,
0.061620231717824936,
-0.02291390858590603,
-0.06362837553024292,
-0.020262859761714935,
-0.004492683801800013,
-0.010935789905488491,
0.014519250951707363,
-0.014852868393063545,
-0.02005530707538128,
-0.004479850176721811,
-0.04001603275537491,
-0.016928832978010178,
0.020888149738311768,
-0.043843407183885574,
0.001132130273617804,
0.07308690249919891,
-0.012740107253193855,
0.048588190227746964,
-0.019946696236729622,
-0.022602835670113564,
-0.028556453064084053,
-0.02029324695467949,
-0.07675252109766006,
-0.019500354304909706,
0.00030826000147499144,
-0.011937192641198635,
0.0141373910009861,
0.011377287097275257,
-0.02291540987789631,
-0.015186812728643417,
-0.05054326355457306,
0.03549277409911156,
0.04914863407611847,
0.04389293119311333,
0.020718015730381012,
0.045153096318244934,
-0.0064278277568519115,
0.005967005621641874,
-0.024525370448827744,
-0.042315565049648285,
-0.06359094381332397,
-0.024020856246352196,
0.0025356451515108347,
-0.0029982689302414656,
0.039509162306785583,
0.03904837742447853,
-0.00756854098290205,
-0.015407776460051537,
0.015265648253262043,
-0.006152342539280653,
0.015015143901109695,
0.005334902089089155,
0.004442835226655006,
-0.012155544944107533,
0.009295825846493244,
0.04663097858428955,
-0.02356049045920372,
-0.03372640162706375,
0.016774799674749374,
-0.07274110615253448,
0.007884405553340912,
-0.0889129638671875,
-0.025196585804224014,
0.006998531054705381,
0.0312998928129673,
0.043716952204704285,
0.021783282980322838,
-0.005617896560579538,
-0.012908018194139004,
-0.02393941394984722,
0.011440696194767952,
0.024603530764579773,
0.006318663712590933,
0.030722850933670998,
-0.012962596490979195,
0.026450341567397118,
0.02302739955484867,
-0.007660343777388334,
-0.02295607514679432,
-0.04326286166906357,
0.0035957132931798697,
-0.062324922531843185,
-0.27928125858306885,
0.056163422763347626,
-0.0013778544962406158,
-0.05342928320169449,
0.001631270395591855,
-0.032850027084350586,
0.01630396582186222,
-0.043063934892416,
-0.0442187674343586,
-0.015915971249341965,
0.003075982676818967,
-0.04774721339344978,
-0.014061410911381245,
0.01956138014793396,
0.010648525319993496,
0.03324272856116295,
-0.00788882840424776,
-0.035004906356334686,
0.019876671954989433,
0.025043992325663567,
0.028332440182566643,
-0.03261759504675865,
-0.020886706188321114,
0.0531117245554924,
0.02072642371058464,
0.025499260053038597,
-0.04797283560037613,
0.03096316009759903,
-0.06992918252944946,
-0.038171056658029556,
0.028395142406225204,
-0.005203844513744116,
-0.004014329053461552,
-0.010318724438548088,
-0.022052261978387833,
-0.0184041578322649,
0.028349576517939568,
-0.02115659788250923,
-0.0022246569860726595,
-0.0147876450791955,
-0.036037616431713104,
-0.02593046799302101,
-0.0005506353918462992,
-0.019723573699593544,
0.057843394577503204,
-0.01374024897813797,
-0.06579198688268661,
0.018239112570881844,
-0.03925826773047447,
0.06809862703084946,
-0.0035855150781571865,
-0.015600746497511864,
-0.04170273244380951,
0.03947222977876663,
-0.048576414585113525,
0.035388343036174774,
-0.036595411598682404,
0.027408799156546593,
-0.04636470600962639,
-0.0377751924097538,
0.00760476803407073,
-0.011132249608635902,
-0.05658687278628349,
-0.05472838506102562,
0.0050867157988250256,
-0.043644145131111145,
-0.03140255808830261,
-0.03855159878730774,
0.038208093494176865,
0.046426597982645035,
-0.08908826857805252,
-0.01455760095268488,
-0.012645111419260502,
-0.09860250353813171,
0.018512748181819916,
-0.0474543459713459,
-0.024817947298288345,
-0.008603252470493317,
-0.02030603028833866,
0.036249104887247086,
-0.03271041810512543,
-0.07386374473571777,
0.054320160299539566,
0.02196507714688778,
-0.015265521593391895,
0.007225909270346165,
0.007390771061182022,
0.004195722751319408,
-0.004327620379626751,
-0.019335051998496056,
0.05738338083028793,
-0.03348608687520027,
0.002013821853324771,
0.005880728829652071,
-0.04803156480193138,
0.040797945111989975,
0.020201222971081734,
0.007295880001038313,
0.024477986618876457,
0.04059980809688568,
0.0010160544188693166,
-0.06704976409673691,
-0.03637393191456795,
-0.05042091757059097,
-0.02095433510839939,
0.003318856004625559,
-0.06798014789819717,
0.03622367978096008,
0.02839646115899086,
-0.0034141656942665577,
-0.002847716910764575,
-0.035713355988264084,
0.032890427857637405,
-0.050586726516485214,
-0.021276229992508888,
-0.017838481813669205,
0.023690389469265938,
0.015086274594068527,
-0.00017943829880096018,
0.0019348381320014596,
-0.05924346297979355,
0.025951474905014038,
-0.01171406265348196,
0.01311844028532505,
-0.04837843403220177,
-0.03836560621857643,
0.004446722101420164,
0.019585132598876953,
-0.004022149369120598,
0.015588678419589996,
-0.010157288052141666,
0.024571893736720085,
0.06552958488464355,
-0.020135555416345596,
0.007606896571815014,
-0.012078076601028442,
-0.035108782351017,
-0.03511757403612137,
0.0234653502702713,
0.039430197328329086,
0.014942346140742302,
0.031282100826501846,
-0.02757381834089756,
0.022812776267528534,
0.027843715623021126,
0.013136467896401882,
0.03874021768569946,
0.031105227768421173,
0.01391217764467001,
0.02379431203007698,
0.004462607204914093,
0.0002780120412353426,
-0.020698586478829384,
-0.008099449798464775,
-0.06171397119760513,
0.02127956598997116,
0.05294184759259224,
0.0018868627957999706,
0.007545386906713247,
-0.034460797905921936,
0.017092393711209297,
-0.049827009439468384,
-0.0351409837603569,
-0.010590952821075916,
0.034972790628671646,
0.04880062863230705,
0.020424913614988327,
-0.014404346235096455,
0.015084736980497837,
-0.005778715945780277,
0.008020137436687946,
0.03927742317318916,
-0.023175805807113647,
0.012537400238215923,
-0.021987779065966606,
-0.007543983869254589,
-0.0053818668238818645,
0.01674984209239483,
0.005390749778598547,
0.03219226747751236,
-0.008535617962479591,
-0.010901411063969135,
0.04136623069643974,
0.011825798079371452,
0.04084078222513199,
0.036796748638153076,
-0.05448400601744652,
-0.025420812889933586,
-0.01959601417183876,
-0.02328190766274929,
-0.034355465322732925,
-0.004366339650005102,
-0.02282104827463627,
0.01535508781671524,
-0.034098997712135315,
-0.06280967593193054,
-0.019648412242531776,
-0.0025936111342161894,
-0.0014178638812154531,
0.013788323849439621,
-0.04089271277189255,
-0.0000145418343890924,
-0.04496130347251892,
0.052285075187683105,
0.032423801720142365,
-0.04645320028066635,
-0.01951947808265686,
-0.011650510132312775,
0.019140087068080902,
0.020982198417186737,
0.02461695671081543,
-0.09202586859464645,
-0.025845590978860855,
0.007228332106024027,
0.02760256454348564,
-0.007444398012012243,
-0.06784892827272415,
-0.05632343888282776,
0.023835761472582817,
0.004071028437465429,
0.02781328186392784,
-0.010430525057017803,
-0.003372227307409048,
-0.03488396480679512,
-0.00015462079318240285,
0.01994340680539608,
0.007726958021521568,
-0.012565076351165771,
0.03639872372150421,
0.004154896829277277,
-0.0016560774529352784,
-0.00045011454494670033,
0.017551887780427933,
0.026649802923202515,
-0.003132150275632739,
0.013229182921350002,
-0.033972375094890594,
-0.020188158378005028,
0.0328061506152153,
0.03931104391813278,
-0.01701819896697998,
0.0480271615087986,
-0.01790616288781166,
-0.004418704658746719,
0.007845771498978138,
-0.00798836536705494,
-0.006319900508970022,
-0.005761224776506424,
-0.004317335318773985,
0.04604629799723625,
-0.008268647827208042,
0.005308625288307667,
0.032444749027490616,
-0.033181481063365936,
0.034429360181093216,
-0.038199231028556824,
-0.039710573852062225,
0.009578191675245762,
-0.055181484669446945,
0.028861338272690773,
0.02218013070523739,
0.03622608631849289,
-0.049409449100494385,
0.04688696935772896,
0.020639173686504364,
0.020243393257260323,
0.04377586767077446,
0.017096111550927162,
0.03296114131808281,
-0.03503565490245819,
0.0018372113117948174,
-0.09489405155181885,
-0.004095788579434156,
0.027952758595347404,
0.01015257928520441,
-0.02578880451619625,
0.012194307520985603,
-0.005603184923529625,
0.06845655292272568,
-0.06889162957668304,
-0.02594166249036789,
0.03872537612915039,
0.008375553414225578,
0.012107792310416698,
-0.0004959628568030894,
-0.0463743694126606,
0.011502670124173164,
0.030101047828793526,
-0.057910140603780746,
-0.019855070859193802,
0.008336098864674568,
0.054472580552101135,
-0.028383241966366768,
0.021286843344569206,
-0.02665472775697708,
-0.023776207119226456,
0.06000657379627228,
0.01786409690976143,
0.005041777156293392,
-0.014970879070460796,
-0.015769286081194878,
0.05221429839730263,
0.018774570897221565,
0.01806947961449623,
0.016972696408629417,
0.013766741380095482,
0.030475817620754242,
-0.06291540712118149,
0.02495677024126053,
0.012361395172774792,
0.014832839369773865,
-0.06702015548944473,
0.06654629111289978,
0.01310016680508852,
-0.026367271319031715,
-0.010076223872601986,
-0.014420224353671074,
-0.01209537498652935,
-0.013942503370344639,
-0.014265692792832851,
-0.014268334023654461,
-0.0036539877764880657,
0.02442270517349243,
-0.03985454514622688,
-0.005532987881451845,
0.04782473295927048,
-0.0041740452870726585,
0.030113639310002327,
0.015048515051603317,
0.07834802567958832,
0.0341670997440815,
0.04370138421654701,
0.009759999811649323,
0.05255516618490219,
-0.039130572229623795,
-0.0556771494448185,
0.02083926647901535,
-0.03956369683146477,
-0.01457479689270258,
-0.04773005098104477,
0.012298021465539932,
0.03854314237833023,
0.0091331135481596,
0.05132915824651718,
0.0012941894819959998,
0.012044343166053295,
-0.029906369745731354,
0.03285759314894676,
0.03664853051304817,
0.025001389905810356,
0.01820589229464531,
0.047365400940179825,
-0.021880388259887695,
-0.015709418803453445,
-0.0009881129954010248,
-0.019663890823721886,
-0.014205630868673325,
0.01680757664144039,
0.013378557749092579,
0.015491439960896969,
0.003767708083614707,
0.00018982433539349586,
0.08263690024614334,
-0.03332751989364624,
-0.027024120092391968,
0.017246223986148834,
0.06800995022058487,
-0.01366619486361742,
0.02441885881125927,
0.00468243844807148,
0.009130089543759823,
-0.0540287159383297,
-0.04305397719144821,
0.01462648157030344,
-0.016805820167064667,
-0.004304729402065277,
0.0316840223968029,
-0.039067912846803665,
0.010016701184213161,
0.04449384659528732,
-0.03460373729467392,
-0.05385321006178856,
-0.02831271104514599,
-0.052487753331661224,
-0.014427646063268185,
-0.04520280286669731,
-0.024542730301618576,
0.027110334485769272,
-0.018845368176698685,
-0.021726079285144806,
-0.05931234359741211,
-0.002529704011976719,
0.005811106879264116,
-0.0007196242222562432,
-0.03851155564188957,
-0.034606438130140305,
0.030531467869877815,
0.020311783999204636,
0.005266196094453335,
0.047830305993556976,
0.07426479458808899,
-0.014127163216471672,
-0.020554201677441597,
-0.017954697832465172,
0.05019601061940193,
0.040341492742300034,
0.02479824796319008,
0.04537498578429222,
-0.08515782654285431,
-0.009625706821680069,
0.015503951348364353,
0.02467763051390648,
-0.06476198881864548,
0.04298091307282448,
0.039336979389190674,
0.00890419166535139,
0.04692957177758217,
-0.0017193780513480306,
0.006246954668313265,
-0.028649406507611275,
-0.020901231095194817,
-0.03454127907752991,
0.024840177968144417,
0.03228692710399628,
-0.03588598221540451,
0.07202593237161636,
0.05979123339056969,
0.018835436552762985,
-0.010862556286156178,
-0.013858511112630367,
-0.040072813630104065,
0.008162718266248703,
-0.03743791952729225,
-0.0402102917432785,
-0.08203695714473724,
-0.06053903326392174,
-0.0011720818001776934,
0.011875150725245476,
-0.03591640666127205,
-0.010977827943861485,
0.017086917534470558,
0.014623810537159443,
-0.004054882563650608,
0.03555862978100777,
-0.03458136320114136,
-0.00837925635278225,
-0.014481653459370136,
-0.034520357847213745,
0.010419059544801712,
0.04249377176165581,
-0.008374153636395931,
-0.01462107989937067,
-0.017047781497240067,
-0.05145725980401039,
0.027288785204291344,
-0.012662473134696484,
0.03142344206571579,
0.052678465843200684,
-0.017093556001782417,
0.014345962554216385
] | [
-0.05883174389600754,
-0.048596374690532684,
-0.0342237688601017,
0.009284460917115211,
0.08218991011381149,
-0.06221989169716835,
-0.01697724685072899,
0.0237753726541996,
-0.006322158500552177,
0.01788235828280449,
0.0041136713698506355,
-0.12852659821510315,
0.008399352431297302,
-0.025810664519667625,
0.03710446134209633,
-0.025696447119116783,
-0.04602456092834473,
-0.10626499354839325,
-0.049328628927469254,
0.057537827640771866,
-0.013368264771997929,
-0.03794371336698532,
-0.021495020017027855,
-0.07184547930955887,
0.008896530605852604,
0.035145435482263565,
0.019443951547145844,
-0.04762432351708412,
0.010688403621315956,
-0.20165660977363586,
-0.010348312556743622,
-0.040798310190439224,
-0.008547523058950901,
-0.005970613099634647,
-0.027088230475783348,
0.01337982527911663,
0.021174397319555283,
0.020840344950556755,
0.008218086324632168,
0.03760186955332756,
0.02616031840443611,
0.0035503676626831293,
-0.06615026295185089,
-0.01383708231151104,
0.03134024888277054,
0.010515648871660233,
-0.061921555548906326,
0.007296072319149971,
0.016194893047213554,
-0.005031776614487171,
-0.05112656205892563,
-0.009511849842965603,
-0.00708565441891551,
0.0032783125061541796,
0.00034482128103263676,
0.004897488281130791,
0.0393814779818058,
0.05020654946565628,
0.01006194669753313,
0.03552418574690819,
0.02159014903008938,
-0.0052605485543608665,
-0.1502155214548111,
0.1227690577507019,
-0.03256053850054741,
0.05487741529941559,
-0.03445012867450714,
-0.0126308249309659,
-0.01161559671163559,
0.04681587964296341,
-0.01112461369484663,
-0.015069405548274517,
-0.014048883691430092,
0.08002211898565292,
0.021997634321451187,
0.01421294640749693,
-0.009312682785093784,
0.026407869532704353,
0.06334464251995087,
-0.03808334469795227,
-0.020041076466441154,
0.035433847457170486,
-0.01197032444179058,
-0.035631027072668076,
0.05771978572010994,
-0.003609111998230219,
0.003804481355473399,
0.042358532547950745,
0.030935263261198997,
0.022249585017561913,
0.01976008340716362,
-0.021642403677105904,
0.030433809384703636,
0.04164702817797661,
-0.06917155534029007,
-0.034863829612731934,
0.015585828572511673,
0.02465551160275936,
-0.04314563050866127,
0.3724587559700012,
-0.036526214331388474,
-0.03638606518507004,
-0.0031432760879397392,
0.04191769286990166,
0.02728014625608921,
-0.03769009932875633,
0.0016383747570216656,
-0.05413001403212547,
0.012467015534639359,
-0.018467815592885017,
0.004717777017503977,
-0.03203480318188667,
0.05041908472776413,
-0.07275693863630295,
-0.005912539549171925,
0.018499605357646942,
-0.002823243383318186,
0.014718170277774334,
0.00248948996886611,
0.02756359986960888,
-0.010134415701031685,
-0.015588068403303623,
0.009436141699552536,
-0.002028172370046377,
0.022971317172050476,
0.05550586059689522,
0.04397541284561157,
0.08596131205558777,
0.05241262540221214,
0.00979051273316145,
0.05505325272679329,
-0.02960493229329586,
-0.08284752070903778,
0.011167624033987522,
-0.0069355713203549385,
-0.0002010223688557744,
0.0036350239533931017,
-0.02693355083465576,
0.02536628767848015,
0.011499210260808468,
-0.03517981618642807,
-0.06023431569337845,
0.02078876830637455,
0.012523762881755829,
-0.02409500628709793,
0.11661183089017868,
-0.013930222019553185,
-0.021934885531663895,
-0.040661945939064026,
-0.040551524609327316,
-0.001813424052670598,
0.03125864639878273,
-0.008321719244122505,
-0.034973837435245514,
0.0017677744617685676,
0.034597717225551605,
0.03253978490829468,
-0.004366726614534855,
-0.062222789973020554,
-0.03682160750031471,
0.003327916609123349,
-0.06451847404241562,
-0.043573666363954544,
0.031557805836200714,
0.0017115202499553561,
-0.11744485050439835,
-0.051066167652606964,
0.04114900156855583,
-0.004151748493313789,
-0.0485612191259861,
0.018094588071107864,
0.02814623899757862,
-0.032134395092725754,
0.005764661822468042,
0.07190965116024017,
-0.03059312328696251,
-0.06887169182300568,
0.008135588839650154,
0.04988469183444977,
0.014706033281981945,
0.007302217185497284,
0.008749115280807018,
-0.03099621832370758,
0.004475351423025131,
-0.07704419642686844,
-0.08233180642127991,
-0.04166746139526367,
-0.030939094722270966,
-0.0012336246436461806,
-0.05746842920780182,
0.029875662177801132,
-0.02058834210038185,
-0.05704979598522186,
0.025715691968798637,
0.004885528702288866,
-0.017928780987858772,
0.0013832541881129146,
0.012699400074779987,
0.032869257032871246,
-0.012182996608316898,
0.04237678647041321,
0.023481788113713264,
-0.004620300140231848,
0.07594560831785202,
-0.052629489451646805,
0.012086482718586922,
0.041574180126190186,
-0.03456936776638031,
0.06890686601400375,
0.009304686449468136,
0.027192609384655952,
0.02882012352347374,
-0.005394624546170235,
0.0048647294752299786,
-0.018733717501163483,
0.01674814522266388,
-0.02766266278922558,
-0.003674785839393735,
0.01771431788802147,
0.0388818085193634,
0.014171021059155464,
-0.020703628659248352,
-0.04238809272646904,
-0.3943018615245819,
-0.028285320848226547,
-0.007836121134459972,
-0.010328570380806923,
0.025263257324695587,
-0.0287154633551836,
-0.01377014722675085,
0.009403270669281483,
-0.004206302110105753,
0.05725007504224777,
0.10987401753664017,
0.01826704666018486,
0.010555079206824303,
-0.08399052172899246,
-0.007036455441266298,
0.03671705722808838,
-0.013213010504841805,
-0.033495042473077774,
-0.02423807792365551,
0.02347465604543686,
0.00012376946688164026,
-0.026553025469183922,
-0.008152204565703869,
0.002136287046596408,
0.010196833871304989,
-0.0410027839243412,
0.13661059737205505,
0.0018093571998178959,
0.07624276727437973,
-0.03248338773846626,
0.02448539435863495,
0.008686097338795662,
0.00999931339174509,
-0.04445018619298935,
0.029684003442525864,
-0.05829409137368202,
-0.009662563912570477,
0.04232703521847725,
-0.0029108489397913218,
-0.01953732781112194,
-0.03419627249240875,
0.026212839409708977,
-0.03921457752585411,
-0.010841713286936283,
-0.02131051942706108,
0.011506197974085808,
0.0014339478220790625,
0.0047851791605353355,
-0.027068808674812317,
0.07387731224298477,
0.03177793323993683,
0.04547020047903061,
0.0408286489546299,
0.060155585408210754,
0.031163671985268593,
-0.0008479139069095254,
-0.08720077574253082,
0.000640861748252064,
0.007610431406646967,
-0.00004837851884076372,
0.02730174921452999,
0.01044368464499712,
0.06618645787239075,
-0.07888010889291763,
-0.028490033000707626,
-0.01445677224546671,
0.0333828330039978,
0.030275829136371613,
0.04672422260046005,
0.016397640109062195,
-0.04507547616958618,
0.14822499454021454,
-0.009120899252593517,
0.0018214791780337691,
0.01676834747195244,
0.07724369317293167,
-0.014640928246080875,
0.00821322575211525,
0.0033567005302757025,
0.026793817058205605,
0.03875718265771866,
-0.01622536964714527,
0.015230964869260788,
-0.0017835984472185373,
0.022037267684936523,
-0.005315634422004223,
-0.03140950947999954,
-0.001272129826247692,
0.04160953313112259,
-0.00620249705389142,
0.006203372962772846,
-0.03640221431851387,
-0.018376506865024567,
-0.015732938423752785,
0.03927646204829216,
0.013052914291620255,
-0.2753147482872009,
0.015262912958860397,
0.06457853317260742,
0.014050680212676525,
-0.009997015818953514,
-0.043434109538793564,
0.012811192311346531,
-0.06881672143936157,
0.0026372435968369246,
-0.03289315104484558,
-0.004164600279182196,
0.006504146382212639,
0.03892222419381142,
0.004527946002781391,
-0.007524386048316956,
-0.029024727642536163,
0.04519261047244072,
-0.001628127763979137,
0.03297920897603035,
0.0091914813965559,
0.05815814435482025,
-0.0445997416973114,
0.14044193923473358,
0.04618963226675987,
-0.009791935794055462,
0.004162467084825039,
-0.0020862496457993984,
-0.024249883368611336,
0.06697633117437363,
0.020546717569231987,
-0.0007466444512829185,
-0.020439887419342995,
0.019455919042229652,
0.022140461951494217,
0.03782334551215172,
-0.020236175507307053,
-0.05046294257044792,
0.03356683626770973,
0.0313924141228199,
-0.024720914661884308,
-0.005629618652164936,
0.03653592988848686,
-0.039382047951221466,
0.009170923382043839,
0.0699693039059639,
-0.003052199026569724,
-0.0034238379448652267,
-0.025744425132870674,
-0.02542216144502163,
0.022503068670630455,
0.00384140876121819,
-0.0011506550945341587,
-0.0005917535745538771,
-0.0171409472823143,
0.04872223362326622,
0.059595655649900436,
0.043890099972486496,
-0.0023767095990478992,
-0.01549338735640049,
-0.011101124808192253,
0.018724223598837852,
-0.05527788773179054,
0.038592807948589325,
0.03678188845515251,
0.03298865258693695
] | [
0.04561417177319527,
0.0115573825314641,
-0.0034615735057741404,
-0.0034172339364886284,
0.014719826169312,
-0.02802165225148201,
-0.011860617436468601,
0.004773253574967384,
-0.020792020484805107,
-0.022555898874998093,
0.025478482246398926,
-0.0057317777536809444,
-0.010739429853856564,
-0.00003768891838262789,
0.04083051532506943,
-0.036511387676000595,
0.011589049361646175,
-0.019508736208081245,
0.032401155680418015,
0.010566134937107563,
-0.03538280725479126,
0.06765347719192505,
0.01433815248310566,
0.014458073303103447,
-0.003580552525818348,
-0.03309980034828186,
-0.04616763815283775,
0.015445335768163204,
0.023409562185406685,
-0.11980987340211868,
-0.009161112830042839,
-0.06694933027029037,
-0.021260270848870277,
0.002179480856284499,
-0.009190845303237438,
-0.01812114007771015,
-0.008138671517372131,
-0.011954576708376408,
-0.027244392782449722,
0.033150628209114075,
0.0002611922682262957,
-0.012088147923350334,
-0.01760207861661911,
-0.0006491221720352769,
0.030907558277249336,
0.03580216318368912,
-0.0470658503472805,
-0.016588430851697922,
0.03020053170621395,
0.018414687365293503,
-0.040617648512125015,
0.004828512668609619,
-0.009400809183716774,
-0.01223207451403141,
-0.015402993187308311,
-0.016197308897972107,
-0.01556441280990839,
-0.03111271560192108,
-0.00013434630818665028,
-0.017967980355024338,
-0.03696884959936142,
0.030481848865747452,
-0.010443060658872128,
-0.01331146340817213,
0.011309599503874779,
-0.008744673803448677,
-0.018092447891831398,
0.01449446938931942,
-0.0349653884768486,
0.020479535683989525,
-0.011300279758870602,
0.0005250183749012649,
-0.023911675438284874,
-0.011175663210451603,
-0.02887091599404812,
-0.027154114097356796,
0.008018726482987404,
-0.0259158406406641,
0.025989912450313568,
-0.011868621222674847,
-0.03287351503968239,
0.022598424926400185,
0.008209731429815292,
0.037034545093774796,
0.02352762408554554,
-0.04207489266991615,
0.02530498430132866,
0.004093213006854057,
0.02328183874487877,
-0.009701944887638092,
0.011812769807875156,
-0.023564346134662628,
0.022273436188697815,
0.044939074665308,
-0.07655220478773117,
0.00005513060386874713,
0.0201070886105299,
-0.03309258446097374,
-0.02164691686630249,
0.8111989498138428,
-0.018560579046607018,
-0.05842432379722595,
0.030809327960014343,
0.030228855088353157,
0.021956777200102806,
0.017872700467705727,
0.01903332769870758,
0.015313166193664074,
-0.005850545130670071,
0.01341776642948389,
-0.0010608828160911798,
0.03473901003599167,
0.03635302931070328,
0.0158051997423172,
0.03389858826994896,
0.043320830911397934,
0.012708552181720734,
-0.009673415683209896,
-0.021089518442749977,
0.0014253843110054731,
0.01193192508071661,
-0.0027334571350365877,
-0.03463200107216835,
-0.028844226151704788,
0.020069509744644165,
-0.15346455574035645,
0.05217045173048973,
-7.425600018196298e-33,
0.028137408196926117,
-0.06045379862189293,
0.02476617693901062,
0.011721779592335224,
0.016598781570792198,
0.02970954403281212,
-0.027794767171144485,
0.009995851665735245,
-0.018650854006409645,
-0.018233826383948326,
-0.03466910496354103,
0.015355014242231846,
-0.019664661958813667,
0.03489019349217415,
0.02789214625954628,
-0.016072245314717293,
0.0027738080825656652,
0.049763623625040054,
-0.01386703085154295,
0.013547844253480434,
0.01238956581801176,
0.020489204674959183,
0.031174957752227783,
0.03514108434319496,
-0.017349716275930405,
0.022200219333171844,
-0.041640788316726685,
-0.013749131932854652,
-0.031938958913087845,
-0.02838936261832714,
-0.05845237895846367,
0.007663820404559374,
-0.012046556919813156,
-0.049195099622011185,
0.009808058850467205,
-0.052103329449892044,
0.004925603047013283,
-0.009050609543919563,
-0.028034502640366554,
0.018413057550787926,
-0.00532157439738512,
0.05854497477412224,
-0.01633058488368988,
-0.018308913335204124,
-0.03206947445869446,
0.06102689728140831,
0.0035623875446617603,
0.042140696197748184,
0.0024115578271448612,
0.02253556437790394,
-0.0024487203918397427,
0.01046353206038475,
-0.002963361330330372,
-0.04361898452043533,
0.020396634936332703,
0.03155331313610077,
-0.002959083765745163,
0.013768132776021957,
-0.011021102778613567,
-0.050553686916828156,
0.02392275258898735,
-0.008623690344393253,
0.03006468527019024,
0.018861893564462662,
-0.0023547704331576824,
-0.028312359005212784,
0.05287661775946617,
0.01451795268803835,
-0.0006789249600842595,
-0.05302547290921211,
-0.0777106061577797,
0.029430031776428223,
-0.017935359850525856,
-0.024359198287129402,
0.04075745493173599,
-0.0614265538752079,
0.009210959076881409,
-0.017517773434519768,
0.03898847848176956,
0.009148524142801762,
-0.010665993206202984,
-0.018573082983493805,
-0.03270915523171425,
-0.02644605189561844,
0.0015760274836793542,
0.005829083267599344,
0.0350867323577404,
0.04088803008198738,
-0.026414237916469574,
-0.002675505355000496,
-0.001807464170269668,
0.049961771816015244,
0.036996036767959595,
-0.03646465018391609,
-0.020044580101966858,
7.499994116923964e-33,
-0.008428738452494144,
0.002080123173072934,
-0.014145947061479092,
0.01782514899969101,
-0.006602487061172724,
-0.0008699191967025399,
0.05218959227204323,
0.012005627155303955,
-0.006325618363916874,
0.02894793450832367,
-0.025336571037769318,
-0.02719902992248535,
0.016532741487026215,
0.030826972797513008,
0.04736543446779251,
0.04027405008673668,
-0.010420884005725384,
0.02275468409061432,
-0.01858585886657238,
-0.011987552046775818,
-0.028605494648218155,
0.016639377921819687,
0.011175732128322124,
-0.006433424539864063,
0.027029236778616905,
0.061114657670259476,
-0.019444109871983528,
-0.010892537422478199,
-0.013723074458539486,
-0.044304102659225464,
-0.018407529219985008,
0.011148372665047646,
0.0047706421464681625,
-0.03364958241581917,
-0.016278259456157684,
0.008091825991868973,
0.047099169343709946,
-0.04841136187314987,
-0.015165144577622414,
-0.02534264698624611,
0.038519103080034256,
0.0009631491848267615,
-0.026041587814688683,
0.01637776754796505,
0.014821654185652733,
0.04148336872458458,
0.006096569821238518,
0.02447248250246048,
-0.01549112144857645,
0.0022100515197962523,
-0.008380182087421417,
0.007173915859311819,
-0.02508850023150444,
0.07139870524406433,
-0.009623994119465351,
-0.016417494043707848,
-0.013067220337688923,
0.016702981665730476,
-0.06113748997449875,
-0.008980903774499893,
-0.03327508270740509,
0.007436058484017849,
-0.030660441145300865,
0.008997929282486439,
-0.006202995777130127,
0.0027940701693296432,
-0.017950840294361115,
-0.01485353522002697,
0.02731432393193245,
-0.04712950438261032,
0.03477168828248978,
-0.0308910571038723,
0.013337182812392712,
-0.01258553471416235,
-0.010091563686728477,
0.0367606095969677,
0.01017275732010603,
-0.021643446758389473,
-0.012123953551054,
0.01573020964860916,
0.022044336423277855,
-0.04943476989865303,
0.07804756611585617,
0.019760707393288612,
-0.02427670545876026,
0.03439163416624069,
-0.051385216414928436,
-0.041677676141262054,
0.06106682866811752,
-0.0067889150232076645,
-0.02699020877480507,
-0.04846685752272606,
-0.012363999150693417,
0.02959318645298481,
-0.008158753626048565,
-1.2745167587979722e-8,
-0.005835291463881731,
0.022239981219172478,
-0.015151477418839931,
0.033090826123952866,
-0.01960049755871296,
0.007988112047314644,
-0.019060377031564713,
0.009028255008161068,
-0.004488011822104454,
0.061934784054756165,
0.0780882015824318,
0.02929663471877575,
-0.011188443750143051,
0.016258401796221733,
0.030151579529047012,
0.0012065942864865065,
-0.008069216273725033,
0.02182571031153202,
0.01903587207198143,
-0.012159266509115696,
0.0034718315582722425,
0.04532787948846817,
0.005570601671934128,
-0.014031353406608105,
0.024343401193618774,
-0.013000293634831905,
-0.018767792731523514,
-0.09746377170085907,
0.045509450137615204,
-0.05268308147788048,
0.010902895592153072,
-0.04980478063225746,
-0.030565468594431877,
0.015725301578640938,
-0.010963904671370983,
-0.04712798073887825,
-0.017031481489539146,
0.01561854686588049,
0.0482974573969841,
0.0063287303782999516,
0.033019471913576126,
-0.01126242894679308,
-0.03857029229402542,
-0.036344047635793686,
0.0021563787013292313,
0.04230096563696861,
-0.01991911046206951,
0.017605166882276535,
0.00037284515565261245,
-0.025606172159314156,
-0.012289165519177914,
-0.017021900042891502,
0.052558839321136475,
0.03847002610564232,
0.004779734183102846,
-0.012786895968019962,
0.007285697385668755,
-0.006341754458844662,
0.002166984835639596,
-0.027047662064433098,
0.03370325639843941,
0.016189994290471077,
-0.030138172209262848,
-0.0032143339049071074
] | altair-pandas-cannot-interpret-Float64Dtype-as-data-type | https://markhneedham.com/blog/2021/04/28/altair-pandas-cannot-interpret-Float64Dtype-as-data-type |
false | 2021-04-17 00:44:37 | Vaccinating England: The Data (cleanup) | [
"python",
"pandas",
"covid-vaccines",
"altair"
] | [
"python"
] | Over the last 13 months I've spent countless hours looking at dashboards that showed Coronavirus infection rates, death rates, and numbers of people vaccinated.
The UK government host a dashboard at https://coronavirus.data.gov.uk[coronavirus.data.gov.uk^], which contains charts and tables showing all of the above.
One thing I haven't been able to find, however, is a drill down of vaccinations by local area and age group.
So I'm going to try to build my own!
image::{{<siteurl>}}/uploads/2021/04/covid-vaccines.png[]
This is the first in a series of blog posts showing how to do that, in this post we'll find the data and get it into a format that's easier to process.
== The Data
First, we need to find the data!
I haven't found anywhere that contains the data for the whole of the United Kingdom, but Public Health England do https://www.england.nhs.uk/statistics/statistical-work-areas/covid-19-vaccinations/[post the data^] about vaccinations every Thursday.
image::{{<siteurl>}}/uploads/2021/04/phe.png[title="Public Health England Data"]
This page contains various PDFs and spreadsheets and the 'Weekly data' spreadsheet is the one that we want.
This spreadsheet contains data on vaccinations by local area and age group, as well as the populations of those areas and age groups.
== Reading Excel Sheets with Pandas
We're going to use Python's Pandas library to read the data from the spreadsheet, but we'll also need to install some other libraries that deal with reading `xlsx` files:
[source,bash]
----
pip install numpy pandas xlrd openpyxl
----
Once we've done that, let's import pandas and numpy:
[source, python]
----
import pandas as pd
import numpy as np
----
== Vaccinations
We're going to start by extracting vaccination data.
This is stored in the `LTLA` sheet:
image::{{<siteurl>}}/uploads/2021/04/ltla-spreadsheet-vaccinations.png[title="Vaccinations - LTLA Spreadsheet"]
From visually inspecting the spreadsheet, we can see that columns B to M contain the data we're interested in.
We can extract just those columns by using the `usecols` parameter, as shown below:
[source, python]
----
spreadsheet = "data/COVID-19-weekly-announced-vaccinations-15-April-2021.xlsx"
vaccinations = pd.read_excel(spreadsheet, "LTLA", usecols="B:M")
vaccinations.head()
----
.vaccinations DataFrame
[opts="header"]
|===
| Unnamed: 1 | Unnamed: 2 | Unnamed: 3 | Unnamed: 4 | Unnamed: 5 | Unnamed: 6 | Unnamed: 7 | Unnamed: 8 | Unnamed: 9 | Unnamed: 10 | Unnamed: 11 | Unnamed: 12
| Title: | COVID-19 Vaccinations By Lower Tier Local Authority (LTLA) of Residence and Age Group | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan
| Summary: | The number of people who have been vaccinated for COVID-19, split by LTLA of residence and age group. All figures are presented by date of vaccination as recorded on the National Immunisation Management Service (NIMS) database. NIMS vaccination counts and populations by LTLA are provided by Public Health England. | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan
| Period: | 8th December 2020 to 11th April 2021 | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan
| Source: | National Immunisation Management Service (NIMS), Public Health England | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan
| Basis: | England | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan
|===
We clearly still have some cleanup work to do.
We already filtered on columns when loading the sheet, so let's now select just the rows that we need:
[source,python]
----
spreadsheet = "data/COVID-19-weekly-announced-vaccinations-15-April-2021.xlsx"
vaccinations = pd.read_excel(spreadsheet, "LTLA", usecols="B:M")
vaccinations = vaccinations.loc[14:327,]
----
.vaccinations DataFrame
[opts="header"]
|===
| Unnamed: 1 | Unnamed: 2 | Unnamed: 3 | Unnamed: 4 | Unnamed: 5 | Unnamed: 6 | Unnamed: 7 | Unnamed: 8 | Unnamed: 9 | Unnamed: 10 | Unnamed: 11 | Unnamed: 12
| E12000004 | East Midlands | E07000032 | Amber Valley | 20018 | 9225 | 9212 | 8078 | 7294 | 7968 | 5798 | 6808
| E12000004 | East Midlands | E07000170 | Ashfield | 18535 | 8581 | 8581 | 7189 | 6358 | 6465 | 5163 | 6070
| E12000004 | East Midlands | E07000171 | Bassetlaw | 17562 | 8208 | 8629 | 7450 | 6589 | 7098 | 5247 | 6428
| E12000004 | East Midlands | E07000129 | Blaby | 16281 | 6770 | 6647 | 6004 | 5157 | 5601 | 4166 | 5559
| E12000004 | East Midlands | E07000033 | Bolsover | 11594 | 5819 | 5644 | 4967 | 4213 | 4249 | 3411 | 3825
|===
That's looking better already, but those column names aren't great.
Let's extract those and set them on our DataFrame:
[source,python]
----
spreadsheet = "data/COVID-19-weekly-announced-vaccinations-15-April-2021.xlsx"
vaccinations = pd.read_excel(spreadsheet, "LTLA", usecols="B:M")
columns = np.concatenate(
(vaccinations.loc[10,:][:4].values, vaccinations.loc[11,:][4:].values), axis=None)
vaccinations = vaccinations.loc[14:327,]
vaccinations.columns = columns
----
.vaccinations DataFrame
[opts="header"]
|===
| Region Code (Administrative) | Region Name (administrative) | LTLA Code | LTLA Name | Under 50 | 50-54 | 55-59 | 60-64 | 65-69 | 70-74 | 75-79 | 80+
| E12000004 | East Midlands | E07000032 | Amber Valley | 20018 | 9225 | 9212 | 8078 | 7294 | 7968 | 5798 | 6808
| E12000004 | East Midlands | E07000170 | Ashfield | 18535 | 8581 | 8581 | 7189 | 6358 | 6465 | 5163 | 6070
| E12000004 | East Midlands | E07000171 | Bassetlaw | 17562 | 8208 | 8629 | 7450 | 6589 | 7098 | 5247 | 6428
| E12000004 | East Midlands | E07000129 | Blaby | 16281 | 6770 | 6647 | 6004 | 5157 | 5601 | 4166 | 5559
| E12000004 | East Midlands | E07000033 | Bolsover | 11594 | 5819 | 5644 | 4967 | 4213 | 4249 | 3411 | 3825
|===
This is all looking good, but there's one final bit of cleanup that we need to do.
The `dtypes` function returns the data type of each column.
Let's check what it returns for our DataFrame:
[source,python]
----
vaccinations.dtypes
----
.Output
[source,text]
----
Region Code (Administrative) object
Region Name (administrative) object
LTLA Code object
LTLA Name object
Under 50 object
50-54 object
55-59 object
60-64 object
65-69 object
70-74 object
75-79 object
80+ object
dtype: object
----
Hmmm, every column is an object, when we know that some columns only have numeric values.
We can fix column types by calling the `convert_dtypes` function:
[source, python]
----
vaccinations.convert_dtypes().dtypes
----
.Output
[source,text]
----
Region Code (Administrative) string
Region Name (administrative) string
LTLA Code string
LTLA Name string
Under 50 Int64
50-54 Int64
55-59 Int64
60-64 Int64
65-69 Int64
70-74 Int64
75-79 Int64
80+ Int64
dtype: object
----
Looks good.
Let's now wrap all of that code into a function:
[source, python]
----
def vaccinations_dataframe(spreadsheet):
vaccinations = pd.read_excel(spreadsheet, "LTLA", usecols="B:M")
columns = np.concatenate(
(vaccinations.loc[10,:][:4].values, vaccinations.loc[11,:][4:].values), axis=None)
vaccinations = vaccinations.loc[14:327,]
vaccinations.columns = columns
vaccinations = vaccinations.convert_dtypes()
return vaccinations
----
[source, python]
----
spreadsheet = "data/COVID-19-weekly-announced-vaccinations-15-April-2021.xlsx"
vaccinations = vaccinations_dataframe(spreadsheet)
----
== Population
Now we'll do the same for each Local Tier Local Authority's population, which we can find in the `Population estimates (NIMS)` sheet.
image::{{<siteurl>}}/uploads/2021/04/ltla-spreadsheet-population.png[title="Population - LTLA Spreadsheet"]
We'll skip straight to the final function for creating the DataFrame:
[source, python]
----
def population_dataframe(spreadsheet):
population = pd.read_excel(spreadsheet, "Population estimates (NIMS)", usecols="B:L")
population_columns = np.concatenate(
(population.loc[10,:][:2], population.loc[11, :][2:]), axis=None)
population = population.loc[14:327,]
population.columns = population_columns
population.insert(
loc=2,
column="Under 50",
value=population["Under 16"] + population["16-49"])
population = population.drop(["Under 16", "16-49"], axis=1)
population = population.convert_dtypes()
return population
----
One extra thing we had to do was add the `Under 50` column, since that didn't exist in the spreadsheet.
We need that column to exist so that we can directly map the population with the number of people vaccinated per age group per area.
Now let's use that function to extract the population for each area:
[source, python]
----
spreadsheet = "data/COVID-19-weekly-announced-vaccinations-15-April-2021.xlsx"
population = population_dataframe(spreadsheet)
----
.population DataFrame
[opts="header"]
|===
| LTLA Code | LTLA Name | Under 50 | 50-54 | 55-59 | 60-64 | 65-69 | 70-74 | 75-79 | 80+
| E07000032 | Amber Valley | 72286 | 10198 | 10139 | 8672 | 7633 | 8242 | 5928 | 7010
| E07000170 | Ashfield | 78053 | 9798 | 9503 | 7886 | 6752 | 6769 | 5357 | 6316
| E07000171 | Bassetlaw | 70918 | 9376 | 9572 | 8099 | 6997 | 7367 | 5414 | 6636
| E07000129 | Blaby | 62265 | 7595 | 7395 | 6528 | 5465 | 5801 | 4290 | 5781
| E07000033 | Bolsover | 48519 | 6660 | 6280 | 5376 | 4498 | 4445 | 3501 | 3947
|===
We've now got DataFrames that contain vaccination and population data.
Next we're going to compute the vaccination rate per age group per area.
== Combining Vaccinations and Populations
We can compute the vaccination rate by dividing the non string columns in `vaccinations` by the non string columns in `population` and then multiplying by 100.
We can see how to do this in the following code:
[source,python]
----
vaccination_rates = (vaccinations.select_dtypes(exclude='string')
.div(population.select_dtypes(exclude='string')) * 100)
----
.Vaccination Rates
[opts="header"]
|===
| Under 50 | 50-54 | 55-59 | 60-64 | 65-69 | 70-74 | 75-79 | 80+
| 27.6928 | 90.4589 | 90.8571 | 93.1504 | 95.5588 | 96.6756 | 97.807 | 97.1184
| 23.7467 | 87.5791 | 90.2978 | 91.1616 | 94.1647 | 95.5089 | 96.3786 | 96.1051
| 24.7638 | 87.5427 | 90.1483 | 91.9867 | 94.1689 | 96.3486 | 96.9154 | 96.8656
| 26.1479 | 89.1376 | 89.8851 | 91.973 | 94.3641 | 96.5523 | 97.1096 | 96.1598
| 23.8958 | 87.3724 | 89.8726 | 92.3921 | 93.6639 | 95.5906 | 97.4293 | 96.909
|===
That looks good, but we've lost the area names, which we can get back by calling the https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.combine_first.html[`combine_first`^] function:
[source,python]
----
vaccination_rates = (
(vaccinations.select_dtypes(exclude='string')
.div(population.select_dtypes(exclude='string')) * 100)
.combine_first(vaccinations)[vaccinations.columns])
vaccination_rates = vaccination_rates.convert_dtypes()
----
.Vaccination Rates
[opts="header"]
|===
| Region Code (Administrative) | Region Name (administrative) | LTLA Code | LTLA Name | Under 50 | 50-54 | 55-59 | 60-64 | 65-69 | 70-74 | 75-79 | 80+
| E12000004 | East Midlands | E07000032 | Amber Valley | 27.6928 | 90.4589 | 90.8571 | 93.1504 | 95.5588 | 96.6756 | 97.807 | 97.1184
| E12000004 | East Midlands | E07000170 | Ashfield | 23.7467 | 87.5791 | 90.2978 | 91.1616 | 94.1647 | 95.5089 | 96.3786 | 96.1051
| E12000004 | East Midlands | E07000171 | Bassetlaw | 24.7638 | 87.5427 | 90.1483 | 91.9867 | 94.1689 | 96.3486 | 96.9154 | 96.8656
| E12000004 | East Midlands | E07000129 | Blaby | 26.1479 | 89.1376 | 89.8851 | 91.973 | 94.3641 | 96.5523 | 97.1096 | 96.1598
| E12000004 | East Midlands | E07000033 | Bolsover | 23.8958 | 87.3724 | 89.8726 | 92.3921 | 93.6639 | 95.5906 | 97.4293 | 96.909
|===
== Exploring vaccination rates
Now that we've compute vaccination rates, let's do a bit of exploration of the data.
We can find the maximum rates in each age group using the `max` function:
[source,python]
----
vaccination_rates.max()
----
.Vaccination Rates Maximums
[source, text]
----
Region Code (Administrative) E12000009
Region Name (administrative) Yorkshire and The Humber
LTLA Code E09000033
LTLA Name York
Under 50 39.916551
50-54 91.650635
55-59 93.316424
60-64 94.840627
65-69 96.086819
70-74 99.305556
75-79 98.061389
80+ 99.386503
dtype: object
----
We can ignore the values for the string columns, they don't really mean anything.
But if we look at the age categories, we can see that in one area 99.38% of over 80s have received one doses of the vaccine and the best area for under 50s has vaccinated almost 40% of that cohort.
We can find out which areas those are by sorting on the appropriate column.
For example, these are the top areas for vaccinating Under 50s:
[source, python]
----
vaccination_rates.sort_values(["Under 50"], ascending=False).head()
----
.Vaccination Rates - Best for Under 50s
[opts="header"]
|===
| Region Code (Administrative) | Region Name (administrative) | LTLA Code | LTLA Name | Under 50 | 50-54 | 55-59 | 60-64 | 65-69 | 70-74 | 75-79 | 80+
| E12000009 | South West | E06000053 | Isles of Scilly | 39.9166 | 89.8734 | 89.4444 | 91.1765 | 95.2381 | 99.3056 | 95.4545 | 99.3865
| E12000008 | South East | E07000090 | Havant | 28.4815 | 89.6867 | 91.423 | 93.2137 | 94.7948 | 95.7627 | 96.7189 | 96.7105
| E12000004 | East Midlands | E07000034 | Chesterfield | 28.4194 | 87.8095 | 89.4942 | 92.7704 | 94.8408 | 95.9601 | 96.4349 | 96.7665
| E12000004 | East Midlands | E07000032 | Amber Valley | 27.6928 | 90.4589 | 90.8571 | 93.1504 | 95.5588 | 96.6756 | 97.807 | 97.1184
| E12000002 | North West | E07000128 | Wyre | 27.56 | 87.7091 | 89.6141 | 92.7322 | 94.5789 | 95.7072 | 96.8809 | 96.7518
|===
We could also group by `Region Name` and compute the average vaccination rate per age group:
[source, python]
----
average_rates = vaccination_rates.groupby(["Region Name (administrative)"]).mean()
average_rates.insert(0, "Region", list(average_rates.index))
----
.Vaccination Rates - By Region
[opts="header",cols="2,1,1,1,1,1,1,1,1"]
|===
| Region | Under 50 | 50-54 | 55-59 | 60-64 | 65-69 | 70-74 | 75-79 | 80+
| East Midlands | 21.3713 | 86.2392 | 88.4962 | 90.6407 | 93.2752 | 95.3722 | 96.3283 | 96.1347
| East of England | 18.4956 | 85.1457 | 87.6499 | 89.4512 | 91.7769 | 94.2033 | 95.3887 | 95.6347
| London | 14.4234 | 69.3903 | 73.0272 | 76.6469 | 80.2523 | 83.9104 | 85.1132 | 84.9085
| North East | 18.7766 | 84.5177 | 88.4894 | 91.2096 | 93.7479 | 95.6958 | 96.8194 | 96.4659
| North West | 19.751 | 83.3976 | 86.5955 | 89.3941 | 91.9802 | 94.3731 | 95.5474 | 95.4938
| South East | 18.0919 | 85.6189 | 87.8544 | 89.6232 | 91.963 | 94.2038 | 95.2525 | 95.4839
| South West | 19.7912 | 87.5552 | 89.477 | 90.7873 | 93.1417 | 95.1491 | 96.0111 | 96.4188
| West Midlands | 20.426 | 85.6018 | 87.7443 | 90.4331 | 92.825 | 94.8981 | 95.8844 | 95.4323
| Yorkshire and The Humber | 19.7412 | 85.6536 | 88.9223 | 90.8691 | 93.3894 | 95.4119 | 96.4073 | 96.2381
|===
Most of the country is doing really well, but it's interesting to see that London has much lower vaccination rates across every category.
I assume this is due to a combination of vaccine hesitancy, difficulty getting to the vaccination centres, or perhaps there's an error with the data.
This isn't a perfect calculation though because we're assigning equal weight to each local area, which will vary in size.
That means that we might be giving too much weight to smaller places with especially high or low vaccine uptake.
Let's instead sum together the vaccinations given and populations per region and compute the percentages again.
First we'll create DataFrames for each region:
[source, python]
----
population.loc[:, "Region Name (administrative)"] = vaccinations["Region Name (administrative)"]
population_by_region = population.groupby(["Region Name (administrative)"]).sum()
population_by_region.insert(0, "Region", list(population_by_region.index))
vaccinations_by_region = vaccinations.groupby(["Region Name (administrative)"]).sum()
vaccinations_by_region.insert(0, "Region", list(vaccinations_by_region.index))
----
.population_by_region DataFrame
[opts="header",cols="2,1,1,1,1,1,1,1,1"]
|===
| Region | Under 50 | 50-54 | 55-59 | 60-64 | 65-69 | 70-74 | 75-79 | 80+
| East Midlands | 3170332 | 364235 | 356411 | 304211 | 261878 | 265843 | 193933 | 249586
| East of England | 4165578 | 470144 | 456846 | 387478 | 331616 | 344449 | 252007 | 346692
| London | 7592384 | 664924 | 587034 | 458373 | 342329 | 293428 | 204762 | 297433
| North East | 1687882 | 193270 | 200330 | 180677 | 154636 | 150338 | 102373 | 140390
| North West | 4953735 | 549622 | 544180 | 465484 | 389203 | 388096 | 274374 | 364876
| South East | 6112065 | 695721 | 676804 | 570183 | 480072 | 493718 | 365478 | 510052
| South West | 3496476 | 415359 | 424070 | 374972 | 333106 | 349326 | 260864 | 355024
| West Midlands | 4019092 | 439809 | 418626 | 356127 | 304688 | 300890 | 230075 | 308908
| Yorkshire and The Humber | 3670427 | 404075 | 392613 | 341298 | 289223 | 289865 | 204261 | 277539
|===
.vaccinations_by_region DataFrame
[opts="header",cols="2,1,1,1,1,1,1,1,1"]
|===
| Region | Under 50 | 50-54 | 55-59 | 60-64 | 65-69 | 70-74 | 75-79 | 80+
| East Midlands | 658569 | 310156 | 312653 | 274052 | 243321 | 253103 | 186500 | 239377
| East of England | 755452 | 399663 | 400596 | 347169 | 305122 | 325649 | 241126 | 332207
| London | 1097594 | 459513 | 428659 | 352909 | 276040 | 248388 | 176083 | 255922
| North East | 313030 | 164486 | 178221 | 165482 | 145496 | 144315 | 99336 | 135749
| North West | 937404 | 451446 | 466463 | 412713 | 356303 | 365507 | 261756 | 347927
| South East | 1078781 | 594115 | 594208 | 511143 | 442087 | 466018 | 348965 | 487877
| South West | 668237 | 361313 | 377659 | 339592 | 309999 | 332055 | 250762 | 342276
| West Midlands | 763887 | 361823 | 357134 | 315110 | 278568 | 283073 | 218910 | 291583
| Yorkshire and The Humber | 694645 | 339544 | 344640 | 307351 | 268164 | 275646 | 196338 | 266059
|===
And now we can compute the vaccination rate per region:
[source, python]
----
vaccination_rates_by_region = ((vaccinations_by_region
.select_dtypes(exclude='object')
.div(population_by_region.select_dtypes(exclude='object')) * 100)
.combine_first(vaccinations_by_region)[vaccinations_by_region.columns])
vaccination_rates_by_region = vaccination_rates_by_region.convert_dtypes()
----
.vaccinations_by_region DataFrame
[opts="header",cols="2,1,1,1,1,1,1,1,1"]
|===
| Region | Under 50 | 50-54 | 55-59 | 60-64 | 65-69 | 70-74 | 75-79 | 80+
| East Midlands | 20.7729 | 85.1527 | 87.7226 | 90.0862 | 92.9139 | 95.2077 | 96.1672 | 95.9096
| East of England | 18.1356 | 85.0086 | 87.6873 | 89.5971 | 92.0106 | 94.542 | 95.6823 | 95.8219
| London | 14.4565 | 69.1076 | 73.0212 | 76.9917 | 80.6359 | 84.6504 | 85.994 | 86.0436
| North East | 18.5457 | 85.1068 | 88.9637 | 91.59 | 94.0893 | 95.9937 | 97.0334 | 96.6942
| North West | 18.9232 | 82.1375 | 85.7185 | 88.6632 | 91.5468 | 94.1795 | 95.4012 | 95.3549
| South East | 17.65 | 85.3956 | 87.7962 | 89.6454 | 92.0876 | 94.3895 | 95.4818 | 95.6524
| South West | 19.1117 | 86.9881 | 89.0558 | 90.5646 | 93.0632 | 95.0559 | 96.1275 | 96.4093
| West Midlands | 19.0065 | 82.2682 | 85.311 | 88.4825 | 91.4273 | 94.0786 | 95.1472 | 94.3915
| Yorkshire and The Humber | 18.9255 | 84.0299 | 87.7811 | 90.0536 | 92.7188 | 95.0946 | 96.1211 | 95.8636
|===
London is doing slightly better on some of the age groups measured like this, but still seems to be behind the other regions.
We could do some further analysis to figure out if there are specific areas in London that have lower uptake, but I think that can wait for another post.
////
print(tabulate(vaccinations.head().values,vaccinations.columns, tablefmt="pipe"))
//// | In this post we'll learn how to extract data about England's Covid vaccinations from a Public Health England spreadsheet. | uploads/2021/04/covid-vaccines.png | [
0.01615806110203266,
0.0012340755201876163,
-0.00016997936472762376,
0.01818481832742691,
0.06643284857273102,
0.02423073723912239,
0.015352556481957436,
0.052569158375263214,
0.0319015309214592,
-0.005694348365068436,
0.005094285123050213,
-0.03305431455373764,
-0.0654558315873146,
0.01975172944366932,
-0.005203256383538246,
0.058632075786590576,
0.06428305059671402,
0.02185327559709549,
0.023694410920143127,
0.014253220520913601,
0.011055739596486092,
0.03354029357433319,
-0.03647400811314583,
0.057826753705739975,
0.00898001715540886,
-0.02719699591398239,
0.05741123482584953,
-0.009493989869952202,
-0.053151872009038925,
-0.02797609753906727,
0.015423486940562725,
0.000014594032109016553,
-0.005997742526233196,
0.037764254957437515,
0.038642894476652145,
-0.003031388856470585,
-0.029150869697332382,
0.02456592209637165,
-0.011888809502124786,
0.014038537628948689,
-0.08902513235807419,
0.004448599647730589,
-0.01073849480599165,
-0.008725161664187908,
-0.054782986640930176,
-0.017380256205797195,
-0.004125339910387993,
0.025073813274502754,
0.0012575513683259487,
0.015907328575849533,
-0.05310231074690819,
0.033657006919384,
0.0013008581008762121,
-0.011975163593888283,
-0.003976723179221153,
0.04179218411445618,
0.011473968625068665,
-0.06957049667835236,
-0.007673260755836964,
-0.04895509034395218,
0.016797073185443878,
-0.01682235300540924,
0.004983738996088505,
0.02641340158879757,
0.027095869183540344,
0.012858717702329159,
-0.009505653753876686,
0.07023315131664276,
-0.017850909382104874,
-0.03156648576259613,
-0.030080536380410194,
-0.0019182261312380433,
-0.039282239973545074,
0.0014969250187277794,
0.00529440026730299,
-0.051866527646780014,
-0.02256716601550579,
0.03177720680832863,
0.03607755899429321,
0.011814773082733154,
0.0102755231782794,
-0.010820776224136353,
0.0025258187670260668,
0.026582961902022362,
0.009251684881746769,
-0.034200821071863174,
-0.01989259384572506,
-0.021484652534127235,
-0.07340165227651596,
0.07631494849920273,
0.013068028725683689,
-0.024334313347935677,
0.035593461245298386,
0.012980177998542786,
-0.03448276221752167,
-0.004519880749285221,
0.032102424651384354,
-0.006694525945931673,
-0.02060721069574356,
-0.060473717749118805,
-0.04080302640795708,
-0.0035628860350698233,
0.02336018532514572,
-0.0030112997628748417,
-0.08149868994951248,
-0.026043320074677467,
-0.01716459169983864,
-0.008209094405174255,
0.00007132940663723275,
0.0024210400879383087,
-0.01997378095984459,
0.012776656076312065,
-0.04093296453356743,
-0.014068901538848877,
-0.10140573233366013,
0.07059304416179657,
0.025698037818074226,
-0.04405640810728073,
0.005105890799313784,
-0.015792477875947952,
0.039599038660526276,
0.03155567869544029,
-0.014741566963493824,
0.05358029529452324,
0.03748614713549614,
0.05308837071061134,
-0.02544061653316021,
0.04200015589594841,
0.0030043686274439096,
-0.0322260819375515,
-0.01396831776946783,
0.0744556114077568,
-0.039028607308864594,
0.0073099322617053986,
0.025915903970599174,
-0.010767997242510319,
-0.03136057034134865,
0.013760294765233994,
0.051085345447063446,
0.04180450737476349,
0.040768057107925415,
-0.04165409505367279,
-0.00023413971939589828,
0.026505466550588608,
0.018157968297600746,
0.015447971411049366,
-0.016685428097844124,
-0.06690847873687744,
-0.04198199883103371,
-0.007706162985414267,
0.012994340620934963,
0.008771280758082867,
0.06358982622623444,
-0.02340793050825596,
-0.004226333927363157,
0.0790935531258583,
0.06747730821371078,
-0.0013636559015139937,
-0.005905794445425272,
0.012092490680515766,
0.06462156027555466,
0.056969281286001205,
0.018027646467089653,
0.029641760513186455,
-0.03480539843440056,
-0.03157702460885048,
-0.0028945577796548605,
0.03419775888323784,
-0.009213604964315891,
-0.015538963489234447,
-0.07172857969999313,
-0.04257484897971153,
0.06576403975486755,
-0.04353893920779228,
0.006060806103050709,
0.04195120185613632,
0.07154057919979095,
0.005925277713686228,
0.03617364168167114,
0.011323107406497002,
-0.06981939822435379,
0.04691178351640701,
0.021774275228381157,
0.0330546535551548,
0.06568490713834763,
-0.03242742642760277,
0.08032134175300598,
0.025277065113186836,
0.035168785601854324,
0.061297010630369186,
-0.04910421743988991,
-0.04602545499801636,
-0.0024824009742587805,
0.020796645432710648,
0.014691957272589207,
-0.043716445565223694,
0.01927371695637703,
0.10351118445396423,
0.01999839022755623,
0.02685800939798355,
-0.026353251188993454,
0.007682442665100098,
0.02509293332695961,
-0.011795667931437492,
-0.054396118968725204,
0.02377399615943432,
0.04935406520962715,
-0.014466699212789536,
-0.008403217419981956,
0.030908843502402306,
-0.0195222906768322,
0.010911163873970509,
0.01621367782354355,
-0.0023836600594222546,
0.0101598696783185,
0.017547186464071274,
0.03983369097113609,
-0.008634473197162151,
0.0183090977370739,
-0.0699920803308487,
0.03086177259683609,
0.0008914051577448845,
-0.004347789566963911,
-0.03055723011493683,
0.01764790527522564,
0.13107773661613464,
0.0587606318295002,
-0.014433181844651699,
-0.03155715763568878,
0.00641827704384923,
0.012952196411788464,
-0.003968401812016964,
0.010937944985926151,
-0.006704981438815594,
0.0024421343114227057,
-0.004068186040967703,
-0.03224917873740196,
-0.020364422351121902,
0.01633148267865181,
-0.05866248905658722,
0.015288539230823517,
0.049195077270269394,
0.017505064606666565,
0.029425177723169327,
-0.013723298907279968,
-0.02169511839747429,
-0.028875580057501793,
-0.022555291652679443,
-0.06329067796468735,
-0.004558675456792116,
0.011750990524888039,
0.014339638873934746,
0.03632902354001999,
0.02394392341375351,
0.01436464674770832,
-0.023033952340483665,
-0.036786794662475586,
0.042369402945041656,
0.053129278123378754,
0.06293801218271255,
0.014209471642971039,
0.050232961773872375,
-0.00584282074123621,
0.029820963740348816,
-0.004584525246173143,
-0.038812097162008286,
-0.06251858919858932,
-0.04977922886610031,
-0.0007061346550472081,
-0.0022372431121766567,
0.03731509670615196,
0.018223771825432777,
0.00022375637490767986,
0.00006242585368454456,
0.02877042628824711,
0.0005229041562415659,
0.012371561489999294,
0.022566666826605797,
-0.0074433027766644955,
-0.009006609208881855,
-0.004478361923247576,
0.058903392404317856,
-0.010450052097439766,
-0.026070578023791313,
0.01925988309085369,
-0.09647293388843536,
0.017177635803818703,
-0.0462382473051548,
-0.037674710154533386,
0.015594936907291412,
-0.0018574692076072097,
0.03626560419797897,
0.03250614553689957,
-0.012087625451385975,
0.022915760055184364,
-0.0036258017644286156,
0.00688415952026844,
0.010043848305940628,
-0.0002544772869441658,
0.03400981053709984,
-0.005510030314326286,
0.00701364129781723,
0.06239229068160057,
0.002593142446130514,
-0.0033989695366472006,
-0.05689346790313721,
0.029052086174488068,
-0.06975190341472626,
-0.289649099111557,
0.03613826259970665,
0.017043009400367737,
-0.03543251007795334,
0.01961856707930565,
-0.029903609305620193,
0.012684887275099754,
-0.04653262719511986,
-0.04768003523349762,
-0.0018607068341225386,
0.02744273468852043,
-0.05055495351552963,
-0.009141203947365284,
0.008935902267694473,
0.03312477096915245,
0.0164517629891634,
-0.01599048636853695,
-0.048785898834466934,
0.030812449753284454,
0.03255851939320564,
0.017807792872190475,
-0.043938275426626205,
-0.025293927639722824,
0.06358658522367477,
0.02848024293780327,
0.03694887086749077,
-0.03500833734869957,
0.023882992565631866,
-0.08231489360332489,
-0.017824532464146614,
0.010052273981273174,
0.00282354187220335,
0.012045538052916527,
-0.00994793325662613,
-0.03667367994785309,
0.0018857126124203205,
0.030407661572098732,
0.005146276671439409,
-0.031133783981204033,
-0.04791099578142166,
-0.05065283924341202,
-0.037620119750499725,
-0.0354338139295578,
-0.001747535658068955,
0.05327988788485527,
0.013000577688217163,
-0.05688910186290741,
0.006430137902498245,
-0.042251817882061005,
0.06062249466776848,
-0.019838931038975716,
0.0016884295037016273,
-0.04992843046784401,
0.03427423536777496,
-0.045247290283441544,
0.010387107729911804,
-0.04935343936085701,
0.03205966576933861,
-0.04762646555900574,
-0.0550314299762249,
-0.008553164079785347,
-0.005529249552637339,
-0.03753650560975075,
-0.04878651350736618,
0.0056463549844920635,
-0.051003992557525635,
-0.06566768139600754,
-0.04296097904443741,
0.058303363621234894,
0.0360744334757328,
-0.06881309300661087,
-0.0197434164583683,
-0.008271667174994946,
-0.10140078514814377,
0.002779186237603426,
-0.04476068541407585,
-0.010786987841129303,
0.016758957877755165,
0.015650372952222824,
0.03623382747173309,
-0.024970149621367455,
-0.07049479335546494,
0.06182468682527542,
0.04142671823501587,
0.014794520102441311,
-0.03874502331018448,
0.03964129462838173,
0.009425194934010506,
-0.005420679692178965,
-0.029666226357221603,
0.06370678544044495,
-0.02453218214213848,
-0.006862334441393614,
0.005281643941998482,
-0.020764756947755814,
0.043874263763427734,
-0.014117610640823841,
0.00016623038391117007,
-0.006680098827928305,
0.02767721563577652,
0.01860937476158142,
-0.05187927931547165,
-0.0482977069914341,
-0.05517449975013733,
-0.026368431746959686,
-0.034231461584568024,
-0.04231968894600868,
0.030972590669989586,
0.002238035900518298,
-0.023914698511362076,
0.01224519032984972,
-0.03712030127644539,
0.01263628900051117,
-0.06264317780733109,
-0.00724308006465435,
-0.013611693866550922,
0.041454922407865524,
0.022212715819478035,
0.012005086056888103,
0.0027489361818879843,
-0.048302292823791504,
0.015387761406600475,
-0.012871082872152328,
0.02480635792016983,
-0.05386853218078613,
-0.034600213170051575,
0.017994940280914307,
-0.014324681833386421,
-0.0014272271655499935,
0.010527010075747967,
0.007115933112800121,
0.030613554641604424,
0.03660501167178154,
-0.02401282638311386,
0.020952478051185608,
-0.02453302964568138,
-0.050516340881586075,
-0.048868268728256226,
0.01646355912089348,
0.044914741069078445,
-0.0032713671680539846,
0.03519956022500992,
-0.01119798980653286,
0.025137780234217644,
0.01245445292443037,
-0.005051432177424431,
0.01890253834426403,
0.04363971948623657,
0.0199288297444582,
0.0287256371229887,
-0.0023893937468528748,
-0.026112517341971397,
-0.012930026277899742,
-0.021161923184990883,
-0.03437011316418648,
-0.0014755467418581247,
0.05166452378034592,
0.005892876535654068,
-0.013450589030981064,
-0.03362593054771423,
-0.01509939320385456,
-0.048424314707517624,
-0.038129620254039764,
-0.01793813146650791,
0.0024346939753741026,
0.05130942165851593,
0.008494513109326363,
0.007792995311319828,
0.03212105482816696,
0.005220956169068813,
0.03511757031083107,
0.031157804653048515,
-0.02214733138680458,
0.005749779753386974,
-0.025114139541983604,
-0.022236518561840057,
-0.025772666558623314,
0.01826433651149273,
0.02075124718248844,
0.01820010133087635,
-0.013022707775235176,
0.0003073132538702339,
0.013958179391920567,
0.009130812250077724,
0.043034885078668594,
0.07587245851755142,
-0.02798466384410858,
-0.04689289629459381,
-0.01899591088294983,
-0.026657430455088615,
-0.02428329549729824,
-0.021611306816339493,
-0.03288760781288147,
0.004245844669640064,
-0.02872716635465622,
-0.0701337605714798,
0.02521882764995098,
-0.011074199341237545,
-0.01713928021490574,
0.03401175141334534,
-0.03076254390180111,
0.005251350346952677,
-0.037502482533454895,
0.04704133793711662,
0.010062356479465961,
-0.04134649783372879,
-0.018970569595694542,
0.0032562166452407837,
0.008058341220021248,
0.02123749814927578,
0.010851792991161346,
-0.05784367769956589,
-0.026367226615548134,
-0.021517733111977577,
0.017413383349776268,
-0.0320817232131958,
-0.055318914353847504,
-0.08342499285936356,
0.024278802797198296,
0.001377776963636279,
0.0069304038770496845,
0.0008046978618949652,
-0.033813949674367905,
-0.013408960774540901,
-0.006673173513263464,
0.02096451260149479,
-0.03475618734955788,
-0.025370590388774872,
0.025740209966897964,
-0.024404101073741913,
-0.01899583451449871,
-0.005556388758122921,
0.025090456008911133,
0.022098485380411148,
-0.022420750930905342,
0.019241778180003166,
-0.004564981441944838,
-0.014280810952186584,
0.010206404142081738,
0.04339171200990677,
-0.021907003596425056,
0.015113277360796928,
-0.040304165333509445,
-0.02329757809638977,
-0.0011365700047463179,
0.0037290421314537525,
0.01648869179189205,
0.01469522062689066,
0.01849883794784546,
0.0625622421503067,
-0.00872991606593132,
-0.012443694286048412,
0.0032467832788825035,
-0.0432564914226532,
0.012736274860799313,
-0.03569233417510986,
-0.019462889060378075,
-0.018570244312286377,
-0.028398126363754272,
0.007439682260155678,
-0.0005811508744955063,
0.02170678600668907,
-0.017384830862283707,
0.02019668184220791,
0.03224889561533928,
0.025752343237400055,
0.049274515360593796,
0.017298750579357147,
0.04125474393367767,
-0.06567870825529099,
-0.01483069360256195,
-0.09726110845804214,
-0.002350037219002843,
0.039122793823480606,
0.009386121295392513,
-0.023036284372210503,
0.01653425395488739,
-0.011630485765635967,
0.04741114750504494,
-0.0676092877984047,
-0.028496090322732925,
0.0431457944214344,
0.011009685695171356,
0.0070467982441186905,
0.01885961927473545,
-0.051634471863508224,
0.019151320680975914,
0.028748484328389168,
-0.02801368199288845,
-0.025546960532665253,
-0.0016175886848941445,
0.056487951427698135,
-0.023249005898833275,
0.034656427800655365,
-0.025539550930261612,
-0.0008876657811924815,
0.07479836791753769,
0.02708551473915577,
0.015899043530225754,
-0.001803542603738606,
-0.02655443735420704,
0.05093510076403618,
0.0002104987361235544,
0.001321695395745337,
-0.0017166605684906244,
0.013979599811136723,
0.024597439914941788,
-0.05151301994919777,
0.01175691932439804,
0.011989891529083252,
0.02757115662097931,
-0.06652361154556274,
0.08542174845933914,
0.005905638448894024,
-0.04554712027311325,
-0.026520535349845886,
-0.011216596700251102,
-0.04622996598482132,
-0.012535910122096539,
-0.026420312002301216,
-0.022414570674300194,
-0.02568967454135418,
0.04280456155538559,
-0.007220220286399126,
0.0005770078860223293,
0.05204262584447861,
-0.008194545283913612,
0.022388020530343056,
0.01999741792678833,
0.08460884541273117,
0.056549977511167526,
0.047783344984054565,
0.0071135167963802814,
0.08610382676124573,
-0.009044690988957882,
-0.05938385799527168,
0.027981078252196312,
-0.031699374318122864,
-0.016628948971629143,
-0.027234209701418877,
0.027949992567300797,
0.04687557741999626,
-0.007029402535408735,
0.05929918587207794,
0.013991628773510456,
-0.01875924877822399,
-0.016558723524212837,
0.015281959436833858,
0.043059155344963074,
0.02404843270778656,
0.01808355189859867,
0.050234224647283554,
-0.023706402629613876,
-0.026373036205768585,
0.026322871446609497,
-0.027358926832675934,
-0.030741006135940552,
0.022097397595643997,
-0.012555945664644241,
-0.001251027686521411,
-0.0023160127457231283,
0.01939762942492962,
0.07429792732000351,
-0.020917080342769623,
0.013961933553218842,
-0.01736276037991047,
0.03550666570663452,
-0.00856527965515852,
0.03120790794491768,
0.02221854031085968,
0.021860431879758835,
-0.038662418723106384,
-0.03473120927810669,
-0.012727933004498482,
-0.02249191701412201,
-0.05693092197179794,
0.023059057071805,
-0.031747184693813324,
-0.006049158982932568,
0.0386892668902874,
-0.03905969113111496,
-0.02996807172894478,
-0.03677893429994583,
-0.08082570135593414,
-0.01263131108134985,
-0.06366342306137085,
-0.035028036683797836,
0.05458160489797592,
-0.007572878617793322,
-0.012160196900367737,
-0.025049513205885887,
0.009487967938184738,
-0.005576338153332472,
-0.0048981630243361,
-0.04044371843338013,
-0.03382105007767677,
0.04202454909682274,
0.018071003258228302,
0.018864963203668594,
0.01938868872821331,
0.05151206627488136,
0.012247394770383835,
-0.0414058193564415,
-0.020582834258675575,
0.037014544010162354,
0.045466821640729904,
-0.004961306229233742,
0.041833214461803436,
-0.10046546906232834,
-0.008829635567963123,
0.00687131192535162,
0.011618626303970814,
-0.0711013600230217,
0.023898059502243996,
0.01782899908721447,
0.04605483263731003,
0.05464659631252289,
0.0015322455437853932,
-0.01894819177687168,
-0.035122644156217575,
-0.021507885307073593,
-0.0097985053434968,
0.004706049803644419,
0.049135759472846985,
-0.026001611724495888,
0.09020699560642242,
0.03271741792559624,
-0.0051683648489415646,
-0.028972327709197998,
0.0049294070340693,
-0.05732230097055435,
0.012609768658876419,
-0.018169546499848366,
-0.0562872551381588,
-0.0748152807354927,
-0.07023277878761292,
-0.013520491309463978,
0.02428814209997654,
-0.04240183159708977,
-0.004717806354165077,
0.013900723308324814,
0.01593080163002014,
0.009873847477138042,
0.024187542498111725,
-0.015497428365051746,
0.004618524108082056,
-0.019614381715655327,
-0.013538713566958904,
-0.013300996273756027,
0.03981606289744377,
-0.002277276711538434,
0.009846792556345463,
0.005601296667009592,
-0.06440316885709763,
0.011323019862174988,
-0.023236287757754326,
0.01702665165066719,
0.07624097913503647,
-0.015228750184178352,
0.020917104557156563
] | [
-0.04223577678203583,
-0.018917638808488846,
-0.004933177027851343,
0.004498930647969246,
0.11374648660421371,
0.007980025373399258,
0.022013235837221146,
0.039537277072668076,
-0.018554329872131348,
0.009759128093719482,
-0.018336312845349312,
-0.10100484639406204,
0.0011958860559388995,
0.0028065901715308428,
0.03766537457704544,
-0.01856541819870472,
-0.003612765809521079,
-0.13188444077968597,
-0.020219584926962852,
0.08382018655538559,
-0.04323354363441467,
0.00611773831769824,
-0.03000539541244507,
-0.04534970596432686,
0.02284279279410839,
0.023284707218408585,
0.062453627586364746,
-0.014469634741544724,
-0.021212929859757423,
-0.16642892360687256,
0.013725997880101204,
-0.040078695863485336,
0.008953195065259933,
-0.0169953815639019,
-0.010460940189659595,
0.012746392749249935,
0.06738936901092529,
0.05127747356891632,
0.012187502346932888,
0.05194603279232979,
0.022148197516798973,
0.01262095756828785,
-0.021921677514910698,
-0.01446214597672224,
0.025843393057584763,
0.008253579027950764,
-0.044607240706682205,
-0.004819203168153763,
0.060623373836278915,
-0.0027243788354098797,
-0.05683880299329758,
0.012640913017094135,
-0.005247998051345348,
0.01677466556429863,
-0.013729330152273178,
-0.02641315944492817,
0.014940060675144196,
0.022019822150468826,
0.006761937402188778,
0.02246454730629921,
0.00439028162509203,
0.0137843182310462,
-0.1519099622964859,
0.11961612850427628,
-0.006010599434375763,
0.03447245433926582,
-0.019701821729540825,
-0.016398077830672264,
0.03043515421450138,
0.049116894602775574,
-0.022929968312382698,
-0.01992758922278881,
-0.012352891266345978,
0.057691872119903564,
0.012733439914882183,
0.009127596393227577,
0.006843313109129667,
0.03229859098792076,
0.04488326609134674,
-0.055666957050561905,
-0.020656920969486237,
0.07312105596065521,
0.01771341636776924,
-0.02580960839986801,
0.03002293035387993,
-0.025961076840758324,
-0.030935408547520638,
0.010280429385602474,
0.014087638817727566,
0.02662607468664646,
0.03190521523356438,
-0.004361852537840605,
0.0327385738492012,
0.019549719989299774,
-0.09247150272130966,
-0.052691224962472916,
0.004117925651371479,
0.019035009667277336,
-0.04280581325292587,
0.4350470304489136,
-0.0538555271923542,
-0.04391266778111458,
0.022053556516766548,
0.04459697753190994,
0.01912876032292843,
-0.0036354849580675364,
0.020189877599477768,
-0.07102435827255249,
0.018963126465678215,
-0.003211235860362649,
0.007645067758858204,
-0.003428157651796937,
0.08317959308624268,
-0.061116255819797516,
0.012477793730795383,
0.012106090784072876,
0.041656214743852615,
0.01379717979580164,
0.008018936030566692,
0.03489489108324051,
-0.010603131726384163,
-0.02357511967420578,
0.030845213681459427,
-0.04013789817690849,
0.05050041899085045,
0.027404069900512695,
0.03707025200128555,
0.07751733064651489,
0.04828423634171486,
0.012804197147488594,
0.08075901120901108,
-0.02373814769089222,
-0.07587261497974396,
0.006430925335735083,
-0.030873553827404976,
-0.026234768331050873,
0.027989616617560387,
-0.02186884544789791,
0.0017251125536859035,
0.016705235466361046,
-0.013484385795891285,
-0.0689263790845871,
-0.00003387770630070008,
-0.062363170087337494,
-0.04681855067610741,
0.12072612345218658,
-0.005100466310977936,
-0.011270737275481224,
-0.04950990527868271,
-0.05987543612718582,
0.0334804430603981,
0.06722486019134521,
0.01922338828444481,
-0.04102800786495209,
0.025647008791565895,
0.022532425820827484,
0.08266595751047134,
-0.025264017283916473,
-0.04024488851428032,
-0.034409187734127045,
0.026793085038661957,
-0.07917192578315735,
-0.041176509112119675,
0.03580392524600029,
0.04076198861002922,
-0.08590579032897949,
-0.027749117463827133,
0.005334675312042236,
0.04575065150856972,
-0.04617687314748764,
0.03470385819673538,
0.02857401594519615,
-0.027036510407924652,
0.013979966752231121,
0.06522350013256073,
-0.01738417148590088,
-0.044857073575258255,
0.03693820536136627,
0.040998972952365875,
0.007651214487850666,
-0.029403554275631905,
-0.002729069208726287,
-0.0324317067861557,
0.0042833671905100346,
-0.07685723155736923,
-0.05215851590037346,
-0.04866936430335045,
-0.0069582499563694,
0.004626711830496788,
-0.04324495792388916,
0.005249531473964453,
-0.0356907844543457,
-0.08998370170593262,
0.027985332533717155,
-0.0243349839001894,
-0.021592482924461365,
-0.009630356915295124,
-0.013900448568165302,
0.036622047424316406,
-0.013905873522162437,
-0.015681304037570953,
-0.038113970309495926,
-0.027425246313214302,
0.06170494481921196,
-0.03374815359711647,
0.01738026551902294,
0.048251762986183167,
-0.0371963270008564,
0.09322335571050644,
0.02997763827443123,
0.03158720210194588,
0.012716519646346569,
-0.010895227082073689,
-0.016235096380114555,
-0.026961274445056915,
-0.009045850485563278,
-0.01440340094268322,
-0.017440536990761757,
-0.017428722232580185,
0.03975917771458626,
0.022084861993789673,
0.015645917505025864,
0.013536387123167515,
-0.3440163731575012,
-0.056341078132390976,
-0.026750473305583,
-0.0032438677735626698,
-0.020314661785960197,
-0.04097893834114075,
0.012925541959702969,
-0.0011342725483700633,
-0.03535910323262215,
0.09029754251241684,
0.10408898442983627,
0.02747921831905842,
-0.0011882818071171641,
-0.04775543510913849,
-0.027631573379039764,
0.026950830593705177,
0.0009666506666690111,
-0.03440222144126892,
-0.02261313609778881,
0.026522327214479446,
0.02018647827208042,
-0.03404509276151657,
-0.009513918310403824,
0.0008708910318091512,
0.02312115952372551,
-0.044422224164009094,
0.14220522344112396,
0.03318213298916817,
0.02439476177096367,
-0.016384977847337723,
0.02458570897579193,
-0.019426964223384857,
0.008762738667428493,
-0.0939459353685379,
0.0014828832354396582,
-0.047893963754177094,
-0.04655841737985611,
0.02447161264717579,
-0.047573819756507874,
-0.021148111671209335,
-0.051184944808483124,
0.03492636978626251,
-0.02603135071694851,
-0.018769823014736176,
-0.04782014340162277,
0.02695562317967415,
-0.005446013994514942,
0.01983533799648285,
-0.05696522817015648,
0.038494884967803955,
0.01566469483077526,
-0.008848953992128372,
0.025852149352431297,
0.003776218742132187,
0.007587786763906479,
-0.018834266811609268,
-0.07755690813064575,
0.018138296902179718,
-0.05900147929787636,
0.032853588461875916,
-0.009313599206507206,
0.04489913582801819,
0.047598619014024734,
-0.06543813645839691,
-0.055358052253723145,
0.00011177068518009037,
0.015661222860217094,
0.024312663823366165,
0.020776230841875076,
-0.0013694713125005364,
-0.03878243640065193,
0.12630322575569153,
-0.049264878034591675,
-0.00962385069578886,
0.015193024650216103,
0.05125303193926811,
-0.010319828987121582,
0.013915260322391987,
-0.01130280364304781,
-0.008274069055914879,
0.0587148554623127,
-0.009527711197733879,
-0.03601859509944916,
-0.0038623532745987177,
0.020135438069701195,
0.00555093539878726,
-0.032712992280721664,
0.011928911320865154,
0.03694863244891167,
0.0007531452574767172,
0.03153650835156441,
-0.04401776194572449,
-0.013905424624681473,
-0.06297732889652252,
0.016927437856793404,
0.008451848290860653,
-0.23358887434005737,
0.021387070417404175,
0.046638160943984985,
0.05513463541865349,
0.001311221974901855,
-0.054093215614557266,
0.014080938883125782,
-0.053393568843603134,
0.022466979920864105,
0.006607673596590757,
0.04143461212515831,
0.029039328917860985,
0.028625184670090675,
-0.00025623347028158605,
-0.032087866216897964,
-0.007295762654393911,
0.009218685328960419,
-0.003760616760700941,
0.019914621487259865,
-0.012943625450134277,
0.05667630955576897,
-0.06853467971086502,
0.11907065659761429,
0.03998478502035141,
-0.006365277338773012,
-0.005378603003919125,
-0.022389866411685944,
0.010895205661654472,
0.03581519052386284,
0.029502708464860916,
0.011468778364360332,
-0.03680046275258064,
0.0059296186082065105,
0.02126118168234825,
0.04533921927213669,
-0.047130245715379715,
-0.03343324735760689,
0.031813934445381165,
0.019712291657924652,
-0.0013343488099053502,
-0.008617857471108437,
0.011503639630973339,
0.004675172735005617,
0.025356942787766457,
0.059319477528333664,
-0.026693813502788544,
0.004529175814241171,
-0.08169043064117432,
-0.01649697870016098,
-0.007727916818112135,
-0.0008187087951228023,
-0.029939835891127586,
0.006343809887766838,
0.012552458792924881,
0.027242304757237434,
0.06272319704294205,
0.06790284067392349,
-0.026986248791217804,
0.038024429231882095,
0.005917176604270935,
-0.006729227025061846,
-0.03718679025769234,
0.02966044843196869,
0.040188319981098175,
0.027913304045796394
] | [
0.04625607281923294,
0.04410833492875099,
-0.020549427717924118,
-0.034608837217092514,
0.029270559549331665,
-0.0037180858198553324,
0.007911456748843193,
0.02695106342434883,
-0.0250026173889637,
-0.010659530758857727,
0.021905070170760155,
-0.006107121706008911,
0.011633251793682575,
0.023390164598822594,
-0.0003581701312214136,
-0.03748508170247078,
-0.0012194080045446754,
-0.039985474199056625,
0.0341828279197216,
0.026618173345923424,
-0.019146688282489777,
0.06310154497623444,
0.033471956849098206,
-0.012575935572385788,
-0.02374381385743618,
0.03021097183227539,
-0.05666567012667656,
-0.012979080900549889,
0.02705608867108822,
-0.10411638021469116,
-0.009875556454062462,
-0.07119104266166687,
-0.00007020102930255234,
-0.012977047823369503,
-0.025349995121359825,
-0.035555846989154816,
0.018827203661203384,
0.021004358306527138,
-0.017816666513681412,
0.061472337692976,
-0.00698259798809886,
-0.01601620949804783,
0.011354546062648296,
0.00382873578928411,
0.04247473180294037,
0.03814733028411865,
-0.05505567416548729,
0.035819921642541885,
0.034747082740068436,
0.022860759869217873,
-0.03914253041148186,
-0.042720284312963486,
0.000918491103220731,
0.0195021815598011,
0.02329784631729126,
-0.01907876320183277,
-0.04768906906247139,
-0.016229113563895226,
-0.01918693818151951,
-0.028753573074936867,
-0.04692603647708893,
0.027009395882487297,
-0.030430268496274948,
0.009800482541322708,
-0.01169048622250557,
-0.02427714504301548,
-0.017224807292222977,
-0.013851603493094444,
0.000019477587557048537,
0.015128341503441334,
-0.02760995738208294,
0.039499979466199875,
-0.03433313965797424,
0.009861371479928493,
-0.029464000836014748,
0.0008687505032867193,
-0.00865559745579958,
-0.016522953286767006,
0.028569499030709267,
-0.01117725856602192,
0.016723694279789925,
0.04123296961188316,
0.044458817690610886,
0.05188555270433426,
0.013251462019979954,
-0.02779335528612137,
0.03709214925765991,
-0.021083712577819824,
0.01806776598095894,
-0.03513539582490921,
0.03042341023683548,
0.030913805589079857,
0.016806671395897865,
0.05212010070681572,
-0.08669421821832657,
0.008311131037771702,
0.043478742241859436,
-0.02583911083638668,
-0.012471923604607582,
0.7924480438232422,
-0.05626663938164711,
-0.0825842097401619,
0.019578833132982254,
0.03607530891895294,
0.003474591765552759,
-0.04509567469358444,
-0.025089289993047714,
0.008197562769055367,
0.006277529057115316,
-0.023811371996998787,
0.0037595252506434917,
0.047990746796131134,
-0.008768840692937374,
-0.014480460435152054,
0.028693880885839462,
0.03302178531885147,
-0.015332133509218693,
-0.052793119102716446,
-0.02682482637465,
-0.025980425998568535,
0.016007740050554276,
-0.026143301278352737,
-0.03479462116956711,
-0.024444032460451126,
0.030293533578515053,
-0.13628116250038147,
0.06697646528482437,
-7.20962570643575e-33,
0.00007862703932914883,
-0.053614187985658646,
0.073063924908638,
0.02261301688849926,
0.016663743183016777,
0.004164842423051596,
-0.02403010055422783,
0.007906218990683556,
-0.011604289524257183,
-0.01699398271739483,
-0.02417047880589962,
0.005166357848793268,
-0.014000395312905312,
0.028537968173623085,
0.028018802404403687,
-0.012948527932167053,
-0.010694809257984161,
0.05197051912546158,
-0.02518775314092636,
0.022115696221590042,
0.038573138415813446,
0.0030667860992252827,
0.04982931911945343,
0.02505452185869217,
-0.002617868594825268,
0.0254575926810503,
-0.008791428059339523,
-0.017398377880454063,
0.014022746123373508,
-0.04427534341812134,
-0.01501764077693224,
0.018634861335158348,
0.0009388791513629258,
-0.07112714648246765,
-0.02249929867684841,
-0.04013356193900108,
-0.016411887481808662,
-0.042891696095466614,
-0.013778937049210072,
0.014902771450579166,
0.03075314313173294,
0.031950756907463074,
-0.027616970241069794,
-0.013299183920025826,
0.01065124198794365,
-0.010358050465583801,
0.0017965879524126649,
-0.0017108132597059011,
-0.04212598130106926,
-0.0018591799307614565,
0.027088958770036697,
-0.013519447296857834,
-0.02668883465230465,
-0.036889392882585526,
-0.017659613862633705,
0.06793531775474548,
-0.007845458574593067,
0.03211008012294769,
-0.00920720025897026,
-0.028724947944283485,
0.03498681262135506,
-0.005135640501976013,
0.030102191492915154,
-0.010540353134274483,
-0.04310162365436554,
-0.03435731679201126,
0.054959073662757874,
-0.0254568699747324,
0.02279086783528328,
0.0010445525404065847,
-0.04907379671931267,
0.04072266072034836,
-0.0385892316699028,
-0.04900927469134331,
0.027544895187020302,
-0.03777875006198883,
0.02371559664607048,
0.0013713829685002565,
0.007117976900190115,
0.02215960994362831,
0.019828177988529205,
-0.014185457490384579,
-0.015120087191462517,
-0.011391082778573036,
-0.01941271871328354,
-0.014723066240549088,
0.02626504935324192,
0.021244151517748833,
-0.03704889118671417,
0.013516963459551334,
-0.014430699869990349,
0.048140183091163635,
0.02866373397409916,
-0.006033825688064098,
-0.0269075408577919,
7.320381518854195e-33,
-0.008482778444886208,
0.002714217873290181,
-0.008488215506076813,
-0.0026482301764190197,
0.015735149383544922,
0.028923412784934044,
0.03861456736922264,
0.014625565148890018,
-0.005104701966047287,
0.025482269003987312,
-0.010930199176073074,
0.005891909822821617,
0.001581774209626019,
0.052238233387470245,
0.05053209513425827,
0.031512413173913956,
-0.01927926018834114,
0.02581631951034069,
-0.030254293233156204,
-0.007402588147670031,
-0.04516487568616867,
0.01768767088651657,
0.045625217258930206,
0.031758952885866165,
0.024454273283481598,
0.062261972576379776,
-0.007775170728564262,
-0.01429699920117855,
0.003150917822495103,
-0.022886520251631737,
-0.013429906219244003,
0.007871191948652267,
0.0005576088442467153,
0.02532980963587761,
-0.027847684919834137,
0.02580530010163784,
0.02998034469783306,
-0.024483513087034225,
0.023767175152897835,
-0.03446971997618675,
0.021336104720830917,
0.014405247755348682,
-0.041221484541893005,
-0.01796473190188408,
0.024846205487847328,
0.06566306948661804,
0.016285987570881844,
0.021455448120832443,
-0.0035857802722603083,
0.017693880945444107,
-0.017064599320292473,
0.0023935313802212477,
-0.02667047455906868,
0.05908603221178055,
-0.01156009454280138,
-0.0389871820807457,
-0.0047487481497228146,
-0.02877267636358738,
-0.011047317646443844,
-0.024998653680086136,
-0.055178720504045486,
-0.029804043471813202,
-0.06915923207998276,
0.01896047033369541,
-0.028197934851050377,
0.01191254984587431,
-0.014991968870162964,
-0.02656317874789238,
0.03503461554646492,
-0.026740917935967445,
0.010925594717264175,
-0.014590168371796608,
0.015024076215922832,
-0.02413053810596466,
-0.016764048486948013,
-0.00922613125294447,
-0.0008320530760101974,
-0.004842690657824278,
-0.04670852795243263,
0.02248644270002842,
0.03949644789099693,
-0.04329853132367134,
0.03939850628376007,
-0.01535813882946968,
-0.0034115028101950884,
0.02394961379468441,
-0.017627669498324394,
-0.0418684147298336,
0.030626144260168076,
0.06122523173689842,
-0.050232212990522385,
-0.03337496519088745,
0.012669775635004044,
-0.02076435461640358,
0.01297229714691639,
-1.2518441394604451e-8,
0.023480383679270744,
0.02194357104599476,
0.004476204980164766,
0.02502809837460518,
0.018641412258148193,
0.03862767294049263,
-0.032816607505083084,
0.013183445669710636,
0.05183854699134827,
0.06306790560483932,
0.04772422835230827,
0.009021439589560032,
0.021678047254681587,
0.010503423400223255,
0.007435171864926815,
0.03121364302933216,
-0.03823377192020416,
-0.015993623062968254,
0.012922150082886219,
-0.0022556264884769917,
0.002169962739571929,
0.029382430016994476,
-0.02550780028104782,
-0.001387575175613165,
0.05437701195478439,
0.005149184726178646,
-0.023182112723588943,
-0.096646748483181,
-0.010056156665086746,
-0.03610299527645111,
-0.025357786566019058,
-0.042977169156074524,
-0.025386113673448563,
0.032632578164339066,
-0.032449137419462204,
-0.04526911675930023,
0.013153882697224617,
0.0192418210208416,
0.019272275269031525,
-0.02213863655924797,
0.0656840056180954,
-0.042652152478694916,
-0.03251933678984642,
-0.03895147517323494,
-0.02997884526848793,
0.029445791617035866,
0.0007379089365713298,
0.0005134657840244472,
-0.0046004317700862885,
-0.015531389974057674,
0.014766830019652843,
-0.03013886883854866,
0.03063681535422802,
0.04695295915007591,
-0.038042984902858734,
-0.015008235350251198,
0.007397760171443224,
-0.0028186605777591467,
0.028442958369851112,
-0.02744985930621624,
-0.000985353603027761,
0.004483242519199848,
0.0006189128616824746,
0.0003451092343311757
] | england-covid-vaccination-rates-the-data | https://markhneedham.com/blog/2021/04/17/england-covid-vaccination-rates-the-data |
false | 2021-04-21 00:44:37 | Pandas: Compare values in DataFrame to previous days | [
"python",
"pandas",
"altair"
] | [
"python"
] | I'm still playing around with Covid vaccine data, this time exploring how the number of doses varies week by week.
I want to know how many more (or less) vaccines have been done on a given day compared to that same day last week.
We'll be using Pandas in this blog post, so let's first install that library and import it:
.Install Pandas
[source, bash]
----
pip install pandas
----
.Import module
[source,python]
----
import pandas as pd
----
And now let's create a DataFrame containing a subset of the data that I'm working with:
[source,python]
----
df = pd.DataFrame([
{'date': '2021-01-11', 'vaccinations': 165844.0},
{'date': '2021-01-18', 'vaccinations': 208641.0},
{'date': '2021-01-25', 'vaccinations': 281725.0},
{'date': '2021-02-01', 'vaccinations': 352935.0},
{'date': '2021-02-08', 'vaccinations': 356291.0}
])
----
.Output
[format="csv", options="header"]
|===
include::content/2021/04/21/data/initial.csv[]
|===
I've filtered the data to include the data for 5 Mondays start from the beginning of January.
In the real data set we have the data for every day from January until today.
I want to add a column that shows the number of vaccinations done on the previous week.
So:
* for `2021-01-18`, we'd have the value for `2021-01-11`
* for `2021-01-25`, we'd have the value for `2021-02-18`
and so on.
It took me a while to find the function to do this, but it turns out that https://pandas.pydata.org/docs/reference/api/pandas.Series.shift.html[`pandas.Series.shift`] is what we want.
This function shifts the index by the desired number of periods.
We'll pass in `periods=1` because we want to shift every row down by 1:
[source, python]
----
df["vaccinations"].shift(periods=1)
----
[NOTE]
====
I should note that for the real DataFrame I had data for every day and therefore wanted to compare the data from 7 rows earlier in the DataFrame,which meant I had to use `periods=7`.
If we wanted to compare the data from 3 days earlier, we could use `periods=3`, and so on.
====
.Output
[format="csv", options="header"]
|===
include::content/2021/04/21/data/shift_standalone.csv[]
|===
We can then add a new column to our DataFrame using the following code:
[source, python]
----
df.loc[:, "lastWeekVaccinations"] = df["vaccinations"].shift(periods=1)
----
.Output
[format="csv", options="header"]
|===
include::content/2021/04/21/data/shift.csv[]
|===
If we then wanted to compute the difference between this week and last week, we could compute this by writing the following code:
[source, python]
----
df["vaccinations"] - df["lastWeekVaccinations"]
----
Or we could use the https://pandas.pydata.org/docs/reference/api/pandas.Series.diff.html[`pandas.Series.diff`] function, which achieves the same thing:
[source, python]
----
df.loc[:, "lastWeekVaccinationsDiff"] = df["vaccinations"].diff(periods=1)
----
.Output
[format="csv", options="header"]
|===
include::content/2021/04/21/data/diff.csv[]
|===
We can also compute the percentage change between the weeks using https://pandas.pydata.org/docs/reference/api/pandas.Series.pct_change.html[`pandas.Series.pct_change`]:
[source, python]
----
df.loc[:, "lastWeekVaccinationsChange"] = df["vaccinations"].pct_change(periods=1)
----
.Output
[format="csv", options="header"]
|===
include::content/2021/04/21/data/change.csv[]
|===
With these functions I've been able to do exactly what I wanted and could then create a chart based on this data. | In this post we'll learn how to compare values from earlier rows in a Pandas DataFrame. | null | [
-0.002573853824287653,
0.0015574480639770627,
-0.03167860582470894,
0.003035004949197173,
0.04953625053167343,
0.03630475699901581,
0.023125408217310905,
0.036908943206071854,
0.014111232943832874,
-0.005829034838825464,
0.022006506100296974,
-0.021164702251553535,
-0.08065609633922577,
0.02303997054696083,
-0.004393859766423702,
0.061495207250118256,
0.08831378817558289,
0.014046777039766312,
-0.0006473001558333635,
0.011634648777544498,
-0.010433660820126534,
0.00863096583634615,
-0.027311008423566818,
0.05836307629942894,
-0.00007722617738181725,
-0.030270567163825035,
0.03398244082927704,
-0.012166840955615044,
-0.03640644997358322,
0.007956116460263729,
0.012141094543039799,
0.013060379773378372,
-0.020026596263051033,
0.04159914329648018,
0.01776045188307762,
-0.0006688638823106885,
-0.009300099685788155,
-0.006716005504131317,
0.006540793925523758,
0.010734467767179012,
-0.08261702209711075,
-0.02761518955230713,
-0.021519798785448074,
-0.028341930359601974,
-0.04962950572371483,
-0.014024723321199417,
-0.004581311251968145,
0.014451931230723858,
-0.011059443466365337,
0.01086508296430111,
-0.051264628767967224,
0.0345156155526638,
0.018931495025753975,
-0.01764081045985222,
-0.023031514137983322,
0.05074891448020935,
0.023414677008986473,
-0.06800633668899536,
-0.021311786025762558,
-0.043963074684143066,
0.006671701092272997,
-0.004904909059405327,
0.006415468640625477,
0.02579880878329277,
0.025715995579957962,
0.003334249369800091,
-0.03197498247027397,
0.07173005491495132,
-0.013426480814814568,
-0.015498603694140911,
-0.04957922548055649,
0.017495140433311462,
-0.05190754309296608,
-0.02825191617012024,
-0.005302142817527056,
-0.04077432304620743,
-0.025703461840748787,
0.024582497775554657,
0.038797907531261444,
0.005304730962961912,
0.0011767075629904866,
-0.0015981903998181224,
0.017526304349303246,
0.006645704619586468,
0.04228433594107628,
-0.013317176140844822,
-0.023005325347185135,
-0.04357988014817238,
-0.06825091689825058,
0.05736153945326805,
0.004954126197844744,
-0.04434104636311531,
0.027274753898382187,
-0.0008227730286307633,
-0.054276205599308014,
-0.019914817065000534,
0.010111869312822819,
-0.02091096341609955,
-0.005261821206659079,
-0.03474896773695946,
-0.04440576583147049,
-0.010282577015459538,
0.042106419801712036,
0.01553296111524105,
-0.06400736421346664,
-0.03311697393655777,
-0.034616805613040924,
-0.027680110186338425,
-0.000009109025995712727,
0.04016778990626335,
-0.044917263090610504,
0.0135544054210186,
-0.021266095340251923,
-0.003362350631505251,
-0.10385818034410477,
0.044304072856903076,
0.030339328572154045,
-0.04504311457276344,
-0.013527272269129753,
-0.02767869085073471,
0.010483366437256336,
0.03315231576561928,
-0.008019096218049526,
0.06583740562200546,
0.020967377349734306,
0.05576743558049202,
-0.010390660725533962,
0.04658106714487076,
0.004356921650469303,
-0.05396899953484535,
-0.025232527405023575,
0.05972956866025925,
-0.03839683532714844,
-0.005140697117894888,
0.015366989187896252,
0.0003010098880622536,
-0.04371657967567444,
0.0293294508010149,
0.06674017012119293,
0.02361392416059971,
0.04241812974214554,
-0.03192703425884247,
-0.00302357436157763,
0.0010857516899704933,
0.010921794921159744,
0.0010588605655357242,
-0.009457474574446678,
-0.061727266758680344,
-0.051491379737854004,
-0.0002969199267681688,
0.003783697495236993,
-0.007001760881394148,
0.08558949083089828,
-0.03271365910768509,
0.011477945372462273,
0.03952484577894211,
0.04243812337517738,
0.0165092833340168,
-0.012560921721160412,
-0.012822090648114681,
0.06917676329612732,
0.03424697741866112,
0.020419375970959663,
0.046232230961322784,
-0.03086462803184986,
-0.034340519458055496,
0.008359193801879883,
0.04049079865217209,
-0.006430436857044697,
-0.019059302285313606,
-0.05740334093570709,
-0.042649343609809875,
0.05397820472717285,
-0.052653491497039795,
0.02853976935148239,
0.03074120730161667,
0.06798027455806732,
0.011967126280069351,
0.04629341512918472,
-0.0009969365783035755,
-0.0600295327603817,
0.023888247087597847,
0.011811639182269573,
0.05991848185658455,
0.05961698293685913,
-0.022562770172953606,
0.06706208735704422,
0.033592384308576584,
0.03488482907414436,
0.06323684006929398,
-0.04902071878314018,
-0.03364399075508118,
-0.019532453268766403,
0.0033562162425369024,
0.030829869210720062,
-0.04833769425749779,
0.0013200867688283324,
0.09323447942733765,
0.005431440658867359,
0.012454954907298088,
-0.004743196070194244,
0.019016332924365997,
0.004445991478860378,
-0.01837112382054329,
-0.04344940558075905,
0.03744461014866829,
0.028973624110221863,
-0.010351247154176235,
-0.023164397105574608,
0.05731726065278053,
-0.035277385264635086,
0.0485890731215477,
0.006551471538841724,
-0.0002891685871873051,
0.02505781129002571,
0.0341181643307209,
0.04136674478650093,
-0.011253681033849716,
0.011049415916204453,
-0.05909562110900879,
0.04290308058261871,
0.0009364799479953945,
-0.018653569743037224,
-0.033670857548713684,
-0.004852621350437403,
0.12410634756088257,
0.07422534376382828,
-0.0349438339471817,
-0.03298873081803322,
-0.01555838342756033,
0.03253132104873657,
0.01722387596964836,
0.009309934452176094,
0.015356302261352539,
0.010198216885328293,
-0.016627058386802673,
-0.018192162737250328,
-0.00439541507512331,
0.01623828150331974,
-0.06297098845243454,
0.03811665251851082,
0.0693749263882637,
0.015772882848978043,
0.04859574884176254,
-0.012422106228768826,
-0.019902771338820457,
-0.03407256305217743,
-0.024533353745937347,
-0.07722244411706924,
-0.011247302405536175,
0.03022627718746662,
0.001148790935985744,
0.04084033891558647,
0.015942327678203583,
-0.02151050791144371,
-0.008853280916810036,
-0.053008098155260086,
0.03285850211977959,
0.05287165194749832,
0.07087642699480057,
0.02400839701294899,
0.04439234361052513,
0.0012115284334868193,
0.0313892625272274,
-0.027342788875102997,
-0.03282732143998146,
-0.06824560463428497,
-0.024749761447310448,
-0.011235546320676804,
0.01697656512260437,
0.023033663630485535,
0.0021472061052918434,
0.007458616979420185,
0.00820494256913662,
0.010466075502336025,
-0.00830425787717104,
0.016875917091965675,
0.005269275046885014,
-0.018912307918071747,
-0.02030625194311142,
0.00895776692777872,
0.06251338869333267,
0.009208775125443935,
-0.04588004946708679,
0.00852213241159916,
-0.08750174939632416,
0.006418921519070864,
-0.06268830597400665,
-0.02023874968290329,
0.013903790153563023,
0.0026411523576825857,
0.06072213500738144,
0.0376490093767643,
-0.010796904563903809,
0.022752977907657623,
-0.023169808089733124,
0.018247835338115692,
0.022425323724746704,
0.013156173750758171,
0.025716964155435562,
0.009374694898724556,
0.006375386845320463,
0.06570015102624893,
0.017320683225989342,
-0.02009805478155613,
-0.05603722855448723,
0.015021431259810925,
-0.03776799887418747,
-0.27049684524536133,
0.024642381817102432,
-0.009133766405284405,
-0.03825140371918678,
0.03100966103374958,
-0.024988695979118347,
0.028090205043554306,
-0.056686319410800934,
-0.03314676508307457,
-0.007283693645149469,
0.027167629450559616,
-0.024851741269230843,
-0.02203899249434471,
0.04319410026073456,
0.033409472554922104,
0.010779780335724354,
-0.015045507811009884,
-0.032081928104162216,
0.02564813755452633,
0.037145279347896576,
0.036337960511446,
-0.004432326648384333,
-0.02518070861697197,
0.06308529525995255,
0.031736474484205246,
0.03335396572947502,
-0.05774473398923874,
0.02998642809689045,
-0.07902457565069199,
-0.025596486404538155,
0.0031006259378045797,
-0.01254567876458168,
0.025121761485934258,
0.008808983489871025,
-0.015464331954717636,
-0.010205686092376709,
0.018944164738059044,
-0.00037368712946772575,
-0.021292179822921753,
-0.039051856845617294,
-0.04424605518579483,
-0.05585947260260582,
-0.01461761724203825,
-0.01988976262509823,
0.0479254424571991,
0.027691056951880455,
-0.06398742645978928,
0.002387829590588808,
-0.04398632049560547,
0.06841477006673813,
0.004271946847438812,
-0.009439989924430847,
-0.051591455936431885,
0.0228770412504673,
-0.012407957576215267,
0.00980751309543848,
-0.04582531005144119,
0.027227478101849556,
-0.01735870912671089,
-0.0543828010559082,
0.005787472706288099,
-0.006642945110797882,
-0.03384709730744362,
-0.06238607317209244,
-0.014383642934262753,
-0.06303022056818008,
-0.0681014358997345,
-0.019411219283938408,
0.05601537972688675,
0.05514257773756981,
-0.06489818543195724,
-0.04073192551732063,
-0.013961885124444962,
-0.10964762419462204,
-0.0004991971072740853,
-0.053828515112400055,
-0.019932877272367477,
0.00917119812220335,
0.01967359520494938,
0.03370077535510063,
-0.03536287695169449,
-0.05667471885681152,
0.04679640382528305,
0.016439426690340042,
0.034363023936748505,
-0.03364003822207451,
0.0388365164399147,
-0.0080616045743227,
-0.017125632613897324,
-0.0316229909658432,
0.06003880873322487,
-0.04184206202626228,
0.023802125826478004,
0.0017040399834513664,
-0.04067789763212204,
0.06970451772212982,
-0.024699797853827477,
0.016129421070218086,
0.0014796571340411901,
0.017915701493620872,
0.022083329036831856,
-0.03520776331424713,
-0.05687927454710007,
-0.10012604296207428,
-0.024075405672192574,
-0.009123300202190876,
-0.051126427948474884,
0.023905416950583458,
-0.0012811115011572838,
0.012255528941750526,
0.007120794150978327,
-0.021987315267324448,
0.00786217674612999,
-0.0701901763677597,
-0.006022276356816292,
-0.01832500286400318,
0.03862346336245537,
0.025526253506541252,
0.008816131390631199,
0.016512220725417137,
-0.05737416818737984,
0.02231460064649582,
-0.015316758304834366,
0.018511926755309105,
-0.03691659867763519,
-0.03459635004401207,
0.01957133039832115,
-0.03073742985725403,
0.005591757595539093,
0.03175736963748932,
-0.015719689428806305,
0.024171557277441025,
0.032921306788921356,
-0.01594668999314308,
0.0180678553879261,
-0.011402585543692112,
-0.008644632063806057,
-0.02503669634461403,
-0.007220972329378128,
0.04783082380890846,
-0.011102438904345036,
-0.0008980269194580615,
-0.027930548414587975,
0.019803615286946297,
0.020939508453011513,
0.0037407579366117716,
0.0001454944140277803,
0.021944457665085793,
-0.005723199341446161,
0.034055907279253006,
0.018441060557961464,
-0.01551295630633831,
-0.03145212307572365,
-0.01159279327839613,
-0.048295170068740845,
0.026389889419078827,
0.08000046759843826,
-0.0020405780524015427,
-0.008220785297453403,
-0.026523154228925705,
-0.027432790026068687,
-0.05752494931221008,
-0.016385771334171295,
-0.01081368513405323,
-0.005568557884544134,
0.048176009207963943,
-0.00882669910788536,
-0.0017776850145310163,
0.053616590797901154,
-0.0095891198143363,
-0.0014503402635455132,
0.008456166833639145,
-0.04186876490712166,
0.018404154106974602,
0.0016585160046815872,
-0.024830054491758347,
-0.006110248621553183,
0.012583278119564056,
0.007772114127874374,
0.005713724531233311,
0.005510107148438692,
-0.005110620986670256,
-0.0008258390589617193,
0.0023771822452545166,
0.053270671516656876,
0.06413505971431732,
-0.02102220058441162,
-0.02920890785753727,
-0.015812652185559273,
-0.024369757622480392,
0.0008462131954729557,
-0.009097757749259472,
-0.022630738094449043,
-0.010003325529396534,
-0.021435264497995377,
-0.06543242186307907,
0.028520574793219566,
0.03651405870914459,
0.0026036694180220366,
0.024335479363799095,
-0.056873708963394165,
-0.006182109471410513,
-0.05386420711874962,
0.059410445392131805,
0.01818202994763851,
-0.02668324112892151,
0.005472021177411079,
-0.0051838308572769165,
0.016148576512932777,
-0.011280438862740993,
0.03047982230782509,
-0.05946213752031326,
-0.02844470553100109,
-0.0023855827748775482,
0.02792752906680107,
-0.01695816032588482,
-0.06285233795642853,
-0.06395409256219864,
0.012190555222332478,
0.004393506795167923,
0.02120949514210224,
-0.012560040690004826,
-0.004561604931950569,
-0.01586846075952053,
0.004805243574082851,
0.019085578620433807,
-0.03553135693073273,
-0.012586682103574276,
0.03875024616718292,
0.011759618297219276,
0.011458459310233593,
-0.027467964217066765,
0.02895878069102764,
0.026843877509236336,
-0.04254317283630371,
-0.0005319900810718536,
-0.021073181182146072,
0.016365934163331985,
-0.010623701848089695,
0.041280701756477356,
-0.030842585489153862,
0.008909943513572216,
-0.04828423261642456,
-0.03109431453049183,
-0.023138348013162613,
-0.005766349844634533,
0.002140774391591549,
0.008210439234972,
0.009214382618665695,
0.06692546606063843,
-0.023315832018852234,
0.018914399668574333,
0.02182496152818203,
-0.04027879983186722,
0.01161167211830616,
-0.012633892707526684,
-0.028479866683483124,
-0.0035675859544426203,
-0.058597419410943985,
-0.0041174134239554405,
0.023451942950487137,
0.013328331522643566,
-0.04133269190788269,
0.034276168793439865,
0.02556854858994484,
0.053103622049093246,
0.05985883250832558,
0.03594094514846802,
0.03483361378312111,
-0.029109010472893715,
-0.028398090973496437,
-0.07873038202524185,
-0.011744227260351181,
0.05586422607302666,
0.013754596002399921,
0.00015205549425445497,
0.009147001430392265,
0.014977386221289635,
0.040306586772203445,
-0.06006069481372833,
-0.02391747198998928,
0.03635505959391594,
-0.018246835097670555,
0.02040841430425644,
0.02512538805603981,
-0.04877544566988945,
0.020021380856633186,
0.05262163653969765,
-0.04667890816926956,
-0.010117589496076107,
0.005272878333926201,
0.06883501261472702,
-0.051252253353595734,
0.026708170771598816,
-0.025483209639787674,
0.0020886119455099106,
0.05601168051362038,
0.026558224111795425,
0.014127645641565323,
0.009636254981160164,
-0.0015431959182024002,
0.03929314389824867,
-0.001290530082769692,
0.009558608755469322,
-0.004162379074841738,
0.032050374895334244,
0.013558302074670792,
-0.05437348410487175,
-0.011050730012357235,
0.01930021308362484,
0.03356627747416496,
-0.06331335753202438,
0.09365861117839813,
-0.0013462015194818377,
-0.0370265357196331,
-0.029810648411512375,
-0.0035625987220555544,
-0.03925859555602074,
-0.013413851149380207,
-0.0030359625816345215,
-0.01890142634510994,
-0.03494248166680336,
0.044703736901283264,
-0.014064564369618893,
-0.016976598650217056,
0.05510465428233147,
0.00881732627749443,
0.021621188148856163,
0.021257180720567703,
0.06393871456384659,
0.04189854860305786,
0.04638572037220001,
0.013991101644933224,
0.06853445619344711,
-0.01385989785194397,
-0.05515669658780098,
0.022104399278759956,
-0.04772419482469559,
-0.025292333215475082,
-0.028581714257597923,
0.039075400680303574,
0.05495431274175644,
0.004314841702580452,
0.05727074295282364,
0.018204255029559135,
-0.002471465850248933,
-0.027893170714378357,
0.014294955879449844,
0.05038619041442871,
0.028421208262443542,
0.021723778918385506,
0.05108506977558136,
-0.003362875198945403,
-0.01700344681739807,
0.026552114635705948,
-0.018983814865350723,
-0.02183951437473297,
0.03824222460389137,
-0.018778996542096138,
0.019478289410471916,
-0.018465746194124222,
0.011021299287676811,
0.08746842294931412,
0.002181047573685646,
0.021179167553782463,
-0.008568614721298218,
0.02913144789636135,
-0.023544907569885254,
0.026099059730768204,
0.01745867356657982,
0.00472687603905797,
-0.049763575196266174,
-0.04137730225920677,
0.004502701107412577,
-0.007078736089169979,
-0.04081345722079277,
0.005962731316685677,
-0.036568548530340195,
0.0006013457896187901,
0.058243848383426666,
-0.03900967538356781,
-0.02696775458753109,
-0.028256669640541077,
-0.06335776299238205,
-0.051743462681770325,
-0.06874512881040573,
-0.03828497231006622,
0.06325896829366684,
-0.006903385277837515,
-0.013074864633381367,
-0.018921535462141037,
0.007215043529868126,
-0.003458234015852213,
-0.013594208285212517,
-0.04775440692901611,
-0.030123122036457062,
0.050798457115888596,
0.015790162608027458,
0.026787608861923218,
0.01918763853609562,
0.05607883259654045,
-0.017993640154600143,
-0.056067872792482376,
-0.025756176561117172,
0.044987089931964874,
0.028072170913219452,
0.016789060086011887,
0.057918205857276917,
-0.07114666700363159,
0.010042786598205566,
-0.005069699604064226,
-0.011823336593806744,
-0.0868324339389801,
0.03009297139942646,
0.024003196507692337,
0.0267607681453228,
0.03750815987586975,
-0.010164686478674412,
0.0005599222495220602,
-0.036753445863723755,
-0.02622377686202526,
0.012843090109527111,
0.01598457433283329,
0.05182889476418495,
-0.048362188041210175,
0.0746048241853714,
0.04334761202335358,
0.014177138917148113,
-0.02606457844376564,
-0.011207763105630875,
-0.0439029186964035,
0.0011528984177857637,
-0.016309374943375587,
-0.0526324063539505,
-0.09698508679866791,
-0.06612066179513931,
-0.009232796728610992,
0.027229830622673035,
-0.044340770691633224,
-0.018739350140094757,
0.009568080306053162,
0.02287176065146923,
-0.011848248541355133,
0.030551623553037643,
-0.011161880567669868,
-0.0018118900479748845,
-0.025900650769472122,
-0.01052924059331417,
-0.0035513334441930056,
0.03237675875425339,
-0.006183528807014227,
0.01955403946340084,
0.009151086211204529,
-0.05155128985643387,
-0.0028488466050475836,
-0.01721903681755066,
0.003693348029628396,
0.05214788392186165,
0.002497503301128745,
0.015615127980709076
] | [
-0.06471703946590424,
-0.041131388396024704,
-0.008354155346751213,
-0.00857709813863039,
0.08731332421302795,
-0.01585695520043373,
0.014722245745360851,
0.03407600149512291,
0.003971817437559366,
0.03064415231347084,
0.0014639041619375348,
-0.09041475504636765,
0.004477902315557003,
-0.011349627748131752,
0.02368604578077793,
-0.0330987274646759,
-0.03223264589905739,
-0.1308087855577469,
-0.04831375926733017,
0.08040382713079453,
-0.017258623614907265,
-0.014144454151391983,
-0.053712572902441025,
-0.05548055097460747,
0.02391945570707321,
0.04285218566656113,
0.056715503334999084,
-0.04625948145985603,
-0.0027700827922672033,
-0.18456168472766876,
-0.003969580866396427,
-0.048666223883628845,
0.001986407209187746,
-0.027809398248791695,
0.0009378482936881483,
0.006798544432967901,
0.05799618363380432,
0.0576196126639843,
0.0018387932796031237,
0.073765829205513,
0.008472888730466366,
0.014870936051011086,
-0.014056702144443989,
-0.02903003804385662,
-0.006631271913647652,
-0.008070741780102253,
-0.050632208585739136,
-0.000500636815559119,
0.04592061787843704,
0.02996978349983692,
-0.025370445102453232,
0.003596558002755046,
-0.008279462344944477,
0.03098430670797825,
0.0006770069012418389,
-0.013228070922195911,
0.01993081532418728,
0.03326091542840004,
0.012233316898345947,
0.030556049197912216,
0.012194394133985043,
-0.010750976391136646,
-0.1622363179922104,
0.13383819162845612,
-0.02771023102104664,
0.03929479420185089,
-0.03259991854429245,
-0.008281568996608257,
0.02247309871017933,
0.07203518599271774,
-0.02499518170952797,
-0.009272514842450619,
-0.011110900901257992,
0.05989843234419823,
0.03133123368024826,
-0.009364672936499119,
-0.0006611619028262794,
0.03141631931066513,
0.048039305955171585,
-0.03609045594930649,
-0.042169421911239624,
0.04533619433641434,
0.03854343667626381,
-0.04286763817071915,
0.02639930509030819,
-0.027005180716514587,
-0.00977872870862484,
0.00671297637745738,
-0.011633866466581821,
0.03607604280114174,
0.018283361569046974,
0.0014963411958888173,
0.008230703882873058,
0.026731671765446663,
-0.08820564299821854,
-0.04461454600095749,
0.028249090537428856,
0.022366750985383987,
-0.016878239810466766,
0.3914448618888855,
-0.06621911376714706,
-0.023638231679797173,
-0.02469547651708126,
0.046044010668992996,
0.007956227287650108,
-0.023873375728726387,
0.007489850278943777,
-0.06481178104877472,
0.004206483252346516,
-0.022043634206056595,
-0.005690527148544788,
-0.00032460005604662,
0.08058147132396698,
-0.09926803410053253,
0.010678729973733425,
0.01973131112754345,
0.03486653417348862,
0.011059245094656944,
0.022201528772711754,
0.05003128945827484,
0.022057006135582924,
-0.03674367070198059,
0.04742864891886711,
-0.017041390761733055,
0.035418592393398285,
0.060998402535915375,
0.05395899713039398,
0.0827263742685318,
0.03769250214099884,
-0.0057158274576067924,
0.056580550968647,
-0.043191488832235336,
-0.06367599219083786,
0.001262159552425146,
0.013864319771528244,
-0.00719894515350461,
-0.00295437453314662,
-0.04261494055390358,
0.02100382000207901,
0.016212552785873413,
-0.021805744618177414,
-0.0789514109492302,
0.02008742280304432,
-0.039373479783535004,
-0.029360104352235794,
0.13904501497745514,
-0.020315106958150864,
-0.0025664952117949724,
-0.03291276469826698,
-0.05331795662641525,
-0.009283180348575115,
0.059707123786211014,
-0.0034337195102125406,
-0.05721274018287659,
0.02002766914665699,
0.03543419763445854,
0.08804037421941757,
-0.016804086044430733,
-0.037057675421237946,
-0.049105942249298096,
-0.022264033555984497,
-0.04458779841661453,
-0.047335829585790634,
0.026751523837447166,
0.04877174645662308,
-0.09356854110956192,
-0.01133020780980587,
0.02613537386059761,
0.03510814160108566,
-0.07742570340633392,
0.034695886075496674,
0.016277223825454712,
-0.02357880398631096,
0.0023844174575060606,
0.0875084400177002,
-0.007275016512721777,
-0.0434085838496685,
0.01216194499284029,
0.06189549341797829,
0.008349130861461163,
-0.01719272881746292,
0.009936484508216381,
-0.038436319679021835,
0.009911277331411839,
-0.06421738862991333,
-0.059592097997665405,
-0.03029659017920494,
0.002671068999916315,
-0.0016863213386386633,
-0.04822133108973503,
0.03246534615755081,
-0.05821972340345383,
-0.04606048762798309,
0.05334913730621338,
-0.023192301392555237,
-0.012955172918736935,
-0.001116313273087144,
0.002973007969558239,
0.020206406712532043,
-0.02274569496512413,
-0.0107593834400177,
-0.06641344726085663,
0.02125493995845318,
0.04285430535674095,
-0.01927139051258564,
0.02099270559847355,
0.05363521724939346,
-0.044947054237127304,
0.11038853228092194,
0.012617102824151516,
0.01790241152048111,
0.023566834628582,
-0.011187492869794369,
-0.03622768446803093,
-0.022940618917346,
-0.0015562433982267976,
-0.045480143278837204,
-0.02117203176021576,
-0.010668829083442688,
0.03613130748271942,
0.02896416187286377,
-0.023567529395222664,
0.02963045984506607,
-0.33832332491874695,
-0.05863545835018158,
0.0034344925079494715,
-0.01848621293902397,
0.0027707277331501245,
-0.02532973699271679,
-0.003168730065226555,
-0.004407689440995455,
-0.004690779838711023,
0.09091010689735413,
0.08152393251657486,
0.019615178927779198,
-0.027185719460248947,
-0.08118567615747452,
-0.026041382923722267,
0.0323658250272274,
0.0006672783056274056,
-0.0447530560195446,
-0.02566230297088623,
0.03595694527029991,
-0.0012870641658082604,
-0.02676931768655777,
0.0035187050234526396,
-0.02154971845448017,
-0.0007254742085933685,
-0.039050597697496414,
0.13246548175811768,
0.01815611496567726,
0.02008669264614582,
-0.04781268164515495,
0.03573654964566231,
-0.041520554572343826,
-0.007100487593561411,
-0.05638900026679039,
-0.0037588102277368307,
-0.044199105352163315,
-0.04242582619190216,
0.04304163530468941,
-0.0429677776992321,
-0.02190474607050419,
-0.036133866757154465,
0.025917600840330124,
-0.004125196952372789,
-0.0006095003918744624,
-0.031494107097387314,
0.021213408559560776,
0.01425595860928297,
0.013100366108119488,
-0.04924102500081062,
0.05346654728055,
-0.002219818066805601,
-0.003121820976957679,
0.036024708300828934,
0.0120411217212677,
0.03355594351887703,
-0.018272968009114265,
-0.07686927914619446,
0.010897411033511162,
-0.03942330554127693,
0.005943124648183584,
-0.002891724929213524,
0.013433581218123436,
0.015048292465507984,
-0.025227099657058716,
-0.05080245062708855,
-0.0011696479050442576,
0.02996460162103176,
-0.023672807961702347,
0.00451241061091423,
0.02083137445151806,
-0.039965737611055374,
0.1263793557882309,
-0.016666121780872345,
0.007223867811262608,
0.021850768476724625,
0.0360696017742157,
-0.026269128546118736,
0.019403504207730293,
0.009913058951497078,
0.002395510906353593,
0.06275282800197601,
-0.02830815687775612,
-0.02797839790582657,
0.022551456466317177,
0.060980550944805145,
0.001267827581614256,
-0.008787576109170914,
0.03516756743192673,
0.038955897092819214,
-0.007760484237223864,
0.003158935811370611,
-0.04464609920978546,
-0.016421880573034286,
-0.03678864613175392,
0.025705469772219658,
0.008266736753284931,
-0.2640136182308197,
0.030233994126319885,
0.05111369118094444,
0.04859752953052521,
0.022298164665699005,
-0.02965826913714409,
-0.026247067376971245,
-0.030807172879576683,
-0.007276282180100679,
-0.00587625615298748,
-0.00527917081490159,
0.05057753250002861,
0.029472608119249344,
0.005046520382165909,
-0.027641991153359413,
0.00007787525828462094,
0.006877283565700054,
-0.006970122456550598,
0.0020414215978235006,
-0.011617942713201046,
0.054091356694698334,
-0.04622037708759308,
0.14120391011238098,
0.04307509958744049,
0.012458370998501778,
-0.0053121899254620075,
-0.008553432300686836,
0.039165474474430084,
0.0685388594865799,
0.03773505985736847,
0.00255717895925045,
-0.054375872015953064,
0.022323166951537132,
0.02072150632739067,
0.028521964326500893,
-0.027755774557590485,
-0.03512384742498398,
0.06215645745396614,
0.018898380920290947,
-0.0079017523676157,
-0.00675686402246356,
0.020394716411828995,
-0.02152690291404724,
0.017995450645685196,
0.08385339379310608,
-0.024739520624279976,
-0.009370142593979836,
-0.10294756293296814,
-0.00681880209594965,
-0.003636385081335902,
-0.0006231649313122034,
-0.010193991474807262,
0.016887711361050606,
0.007504495792090893,
0.020126434043049812,
0.03305675461888313,
0.09269560128450394,
-0.004571045748889446,
0.03912194445729256,
0.005325132980942726,
-0.016777057200670242,
-0.04659377038478851,
0.031996432691812515,
0.017942583188414574,
0.03758200258016586
] | [
0.00656350702047348,
0.029802700504660606,
-0.018124863505363464,
0.004229646176099777,
-0.0026435258332639933,
-0.011952023953199387,
-0.00033024983713403344,
0.022047044709324837,
-0.006818477995693684,
-0.02220373973250389,
-0.009775010868906975,
-0.010983100160956383,
-0.030280301347374916,
-0.013615606352686882,
-0.0034671069588512182,
-0.04690615460276604,
-0.018200211226940155,
-0.03367821127176285,
0.06018049642443657,
-0.03096061758697033,
-0.04016151651740074,
0.06148192286491394,
0.0028375210240483284,
0.03601405769586563,
-0.043736618012189865,
0.007504773326218128,
-0.05988769605755806,
0.0027594957500696182,
0.026419272646307945,
-0.10285486280918121,
-0.056436795741319656,
-0.014954266138374805,
-0.022040031850337982,
0.007206418085843325,
-0.04888815060257912,
-0.011669417843222618,
-0.002593095414340496,
0.022563917562365532,
-0.0005843739490956068,
0.0424078144133091,
0.0008455918286927044,
0.006728155538439751,
0.02863706834614277,
-0.006098547950387001,
-0.009479702450335026,
0.018442392349243164,
-0.04902682080864906,
0.026556022465229034,
0.017293071374297142,
0.02704186737537384,
-0.05137937143445015,
0.010479651391506195,
-0.034020405262708664,
0.01944221928715706,
0.030248945578932762,
-0.022540608420968056,
-0.01869465410709381,
-0.012629485689103603,
-0.009924701415002346,
-0.0318622924387455,
-0.03877454996109009,
0.0022461574990302324,
0.0022867091465741396,
-0.01084570400416851,
0.006703752558678389,
-0.027637667953968048,
-0.06003231927752495,
-0.005559238139539957,
0.02051238715648651,
0.015495778992772102,
-0.043383896350860596,
0.03878910467028618,
-0.04256444051861763,
0.014729682356119156,
-0.035801660269498825,
-0.004861882422119379,
0.011548962444067001,
-0.026495475322008133,
0.030480550602078438,
0.010473575443029404,
-0.025385234504938126,
0.026554059237241745,
0.029187846928834915,
0.027270197868347168,
-0.016286244615912437,
-0.05012679472565651,
0.009260556660592556,
0.01289143692702055,
0.02161542885005474,
-0.059142351150512695,
0.032449059188365936,
-0.006350135430693626,
0.017853738740086555,
0.04200069233775139,
-0.08614101260900497,
0.013556224294006824,
0.010258707217872143,
-0.025933802127838135,
-0.00704442011192441,
0.7996983528137207,
-0.027249101549386978,
-0.047377005219459534,
-0.005870973691344261,
0.014118771068751812,
0.01962263323366642,
-0.009615895338356495,
-0.006531051825731993,
-0.017940472811460495,
-0.022888805717229843,
-0.0060277776792645454,
0.00276240985840559,
0.04984600469470024,
0.03023691661655903,
-0.0292190071195364,
0.03894175961613655,
0.03484689071774483,
-0.01169037725776434,
-0.003917955327779055,
-0.02787189744412899,
-0.013091335073113441,
0.005832062568515539,
-0.011880339123308659,
-0.017604360356926918,
-0.031619034707546234,
0.0202307291328907,
-0.16740763187408447,
0.07850217819213867,
-8.033967568572772e-33,
0.016703447327017784,
-0.05552271753549576,
0.08381611853837967,
0.003561481134966016,
0.0358816534280777,
-0.0019558400381356478,
0.02235698513686657,
0.004232129547744989,
0.01723969727754593,
-0.0334087498486042,
0.0005564125021919608,
0.003027827711775899,
-0.032832447439432144,
0.007960906252264977,
0.022171786054968834,
-0.05012800171971321,
-0.01779554784297943,
0.041368719190359116,
0.005948272999376059,
0.029764816164970398,
0.0577692836523056,
0.0033885417506098747,
0.017916657030582428,
0.044122472405433655,
0.01996522955596447,
0.005779268220067024,
-0.025846373289823532,
0.009761686436831951,
-0.0120680658146739,
-0.04420045390725136,
-0.041767463088035583,
0.03497016429901123,
0.0038738776929676533,
-0.05918651074171066,
0.02473132684826851,
-0.05418519303202629,
0.007773086428642273,
-0.0067612966522574425,
-0.022072218358516693,
0.0012442190200090408,
0.010187593288719654,
0.027099240571260452,
-0.012433290481567383,
-0.03755511716008186,
-0.01733579859137535,
-0.005945300683379173,
0.01958613097667694,
0.054253868758678436,
-0.01895228587090969,
0.013993315398693085,
0.04233022406697273,
-0.004097792319953442,
0.0024887784384191036,
-0.02694893628358841,
-0.010587496683001518,
0.025454385206103325,
-0.00617276132106781,
-0.004941764287650585,
0.044882290065288544,
-0.006428044755011797,
0.013259909115731716,
-0.01498248241841793,
0.03626014664769173,
0.004654552321881056,
-0.0008430195157416165,
-0.02680140919983387,
0.07726673036813736,
0.016134774312376976,
0.03822233900427818,
0.023481717333197594,
-0.04284942150115967,
0.00993155688047409,
-0.04496701434254646,
-0.032897841185331345,
0.04977777600288391,
-0.03272644057869911,
0.016422804445028305,
-0.00632840720936656,
0.026714609935879707,
0.026593424379825592,
0.02408548630774021,
-0.013036845251917839,
0.015644829720258713,
-0.004427721258252859,
-0.01035679318010807,
-0.02212185598909855,
0.02465171366930008,
0.06579186767339706,
-0.046382125467061996,
-0.02571270428597927,
-0.007276223041117191,
0.04418595880270004,
0.05166773498058319,
-0.004427096340805292,
-0.008499993942677975,
7.795622129948138e-33,
0.009542913176119328,
-0.014487111009657383,
0.0007416996522806585,
-0.0009116468718275428,
0.016810841858386993,
-0.01165193971246481,
0.03570897877216339,
0.004385983105748892,
0.0031165641266852617,
0.030318550765514374,
0.0019709060434252024,
-0.004705322440713644,
-0.010797872208058834,
0.034518077969551086,
0.01833186112344265,
0.026076920330524445,
-0.016376826912164688,
0.0467756949365139,
-0.001298966584727168,
-0.020770806819200516,
-0.05286523327231407,
0.008356977254152298,
0.009419958107173443,
-0.002125117229297757,
0.022018063813447952,
0.05917307734489441,
0.014967711642384529,
0.004818575922399759,
0.0005128067568875849,
-0.020128672942519188,
-0.01948259398341179,
-0.02460053563117981,
-0.011596660129725933,
0.003565286984667182,
-0.02482878975570202,
0.012544752098619938,
0.044980239123106,
-0.01205887645483017,
0.026673363521695137,
-0.04132283106446266,
0.0404856875538826,
0.02707941271364689,
-0.016617154702544212,
-0.003140025772154331,
0.02606886252760887,
0.06451325118541718,
-0.00222070817835629,
0.03753037005662918,
-0.010006836615502834,
0.01609000563621521,
-0.021913999691605568,
-0.00011143199662910774,
-0.03092094324529171,
0.046387817710638046,
-0.008534986525774002,
-0.016916675493121147,
-0.01931464485824108,
-0.004328460432589054,
-0.042768869549036026,
-0.006990836001932621,
-0.029719285666942596,
-0.030370652675628662,
-0.07160545885562897,
0.024002842605113983,
-0.030994074419140816,
0.020600901916623116,
-0.019241798669099808,
-0.04309340566396713,
0.04733574390411377,
-0.053935565054416656,
0.026160916313529015,
-0.017555570229887962,
0.029294347390532494,
-0.0022453931160271168,
-0.024622619152069092,
-0.008750038221478462,
0.016096172854304314,
0.0041825841180980206,
-0.0034999032504856586,
0.047624338418245316,
-0.013101782649755478,
-0.08642315119504929,
0.045116886496543884,
0.03150523453950882,
-0.04136877879500389,
0.025991227477788925,
-0.03958245366811752,
-0.03673042729496956,
0.053443316370248795,
0.03923310339450836,
-0.036819443106651306,
-0.0433671660721302,
0.0004267270560376346,
-0.013177130371332169,
0.018276747316122055,
-1.2857748643568812e-8,
0.01680935174226761,
0.018872812390327454,
0.00802643783390522,
0.012177819386124611,
0.014653178863227367,
0.02552865259349346,
-0.036653999239206314,
-0.028029009699821472,
0.029434068128466606,
0.03981742262840271,
0.04396292194724083,
-0.00513443211093545,
0.03255671262741089,
0.028725747019052505,
-0.015740303322672844,
0.011748063378036022,
-0.03127894923090935,
-0.002065295120701194,
0.029494287446141243,
-0.025315409526228905,
-0.0028159564826637506,
0.012824060395359993,
-0.0003758324892260134,
-0.0040008751675486565,
0.034727782011032104,
0.021148167550563812,
0.00820273905992508,
-0.08564509451389313,
0.0009912789100781083,
-0.016295863315463066,
-0.01235063187777996,
-0.03845862299203873,
-0.02698829397559166,
0.00967863854020834,
-0.027161508798599243,
-0.06212431192398071,
0.004611001815646887,
0.014698383398354053,
0.018936820328235626,
0.011720681563019753,
0.03087286651134491,
-0.03248593583703041,
-0.025172419846057892,
-0.037311945110559464,
-0.025981567800045013,
0.019613083451986313,
-0.0057293749414384365,
0.037750665098428726,
-0.007294160313904285,
-0.03615314140915871,
0.04144592955708504,
-0.003912304062396288,
0.050865110009908676,
0.015125473961234093,
0.018971139565110207,
0.03788966313004494,
0.0015903129242360592,
-0.009183227084577084,
-0.018988773226737976,
-0.04027991369366646,
-0.0009577581658959389,
0.008952612057328224,
0.0019757337868213654,
-0.015145469456911087
] | pandas-compare-dataframe-to-previous-days | https://markhneedham.com/blog/2021/04/21/pandas-compare-dataframe-to-previous-days |
false | 2021-04-08 00:44:37 | Pandas - Dividing two DataFrames (TypeError: unsupported operand type(s) for /: 'str' and 'str') | [
"python",
"pandas",
"covid-vaccines"
] | [
"python"
] | I've been doing some more exploration of the UK Coronavirus vaccine data, this time looking at the https://www.england.nhs.uk/statistics/statistical-work-areas/covid-19-vaccinations/[number of people vaccinated by Local Tier Local Authority^].
The government publish data showing the number of people vaccinated in each authority by age group, as well as population estimates for each cohort.
Having loaded that data into two Pandas DataFrames, I wanted to work out the % of people vaccinated per age group per local area.
In this blog post we'll see how to do that, including my missteps along the way.
Let's start by importing Pandas:
[source, python]
----
import pandas as pd
----
And now we're going to create DataFrames with a subset of the data from the Public Health England spreadsheet as of 1st April 2021.
First for the number of vaccinations given:
[source, python]
----
vaccinations = pd.DataFrame({
"LTLA Code": ["E07000032", "E07000170", "E07000171"],
"LTLA Name": ["Amber Valley", "Ashfield", "Bassetlaw"],
"Under 50": [16498, 17418, 13068],
"50-54": [9002, 8399, 7858]
})
vaccinations
----
.vaccinations DataFrame
[opts="header", cols="1,10,20,20,20"]
|===
| |LTLA Code | LTLA Name | Under 50 |50-54
|0 | E07000032 | Amber Valley | 16498 | 9002
|1 |E07000170 | Ashfield | 17418 | 8399
|2 |E07000171 | Bassetlaw | 13068 | 7858
|===
And now the population estimates:
[source,python]
----
population = pd.DataFrame({
"LTLA Code": ["E07000032", "E07000170", "E07000171"],
"LTLA Name": ["Amber Valley", "Ashfield", "Bassetlaw"],
"Under 50": [72179, 77988, 70832],
"50-54": [10194, 9795, 9354]
})
population
----
.population DataFrame
[opts="header", cols="1,10,20,20,20"]
|===
| |LTLA Code | LTLA Name | Under 50 |50-54
|0 | E07000032 | Amber Valley | 72179 | 10194
|1 |E07000170 | Ashfield | 77988 | 9795
|2 |E07000171 | Bassetlaw | 70832 | 9354
|===
For my first attempt at working out the % of people vaccinated per age group, I optimistically tried dividing the DataFrames, as shown below:
[source, python]
----
vaccinations / population
----
.Output
[source, text]
----
Traceback (most recent call last):
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/ops/array_ops.py", line 142, in _na_arithmetic_op
result = expressions.evaluate(op, left, right)
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/computation/expressions.py", line 235, in evaluate
return _evaluate(op, op_str, a, b) # type: ignore[misc]
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/computation/expressions.py", line 69, in _evaluate_standard
return op(a, b)
TypeError: unsupported operand type(s) for /: 'str' and 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/ops/common.py", line 65, in new_method
return method(self, other)
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/arraylike.py", line 113, in __truediv__
return self._arith_method(other, operator.truediv)
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/frame.py", line 5982, in _arith_method
new_data = self._dispatch_frame_op(other, op, axis=axis)
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/frame.py", line 6018, in _dispatch_frame_op
bm = self._mgr.operate_blockwise(right._mgr, array_op)
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 374, in operate_blockwise
return operate_blockwise(self, other, array_op)
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/internals/ops.py", line 54, in operate_blockwise
res_values = array_op(lvals, rvals)
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/ops/array_ops.py", line 189, in arithmetic_op
res_values = _na_arithmetic_op(lvalues, rvalues, op)
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/ops/array_ops.py", line 149, in _na_arithmetic_op
result = _masked_arith_op(left, right, op)
File "/home/markhneedham/.local/share/virtualenvs/covid-vaccines-xEbcGJTy/lib/python3.8/site-packages/pandas/core/ops/array_ops.py", line 91, in _masked_arith_op
result[mask] = op(xrav[mask], yrav[mask])
TypeError: unsupported operand type(s) for /: 'str' and 'str'
----
That doesn't work so well because we still have `LTLA Code` and `LTLA Name`, which aren't numeric values and therefore can't be divided.
What we can do instead is use the `divide` function, which lets us pass in a mask that will exclude non-numeric columns.
I learnt about this thanks to https://stackoverflow.com/a/49412743/1093511[a StackOverflow answer^] by cs95.
Before we try that, we need to check the types of our columns so that we can exclude the right ones.
We can do this using the following code:
[source,python]
----
vaccinations.dtypes
----
.Output
[source,text]
----
LTLA Code object
LTLA Name object
Under 50 int64
50-54 int64
dtype: object
----
[source,python]
----
population.dtypes
----
.Output
[source,text]
----
LTLA Code object
LTLA Name object
Under 50 int64
50-54 int64
dtype: object
----
So it looks like 'object' is the type that we need to exclude.
[NOTE]
====
While playing around with this I found that sometimes columns containing strings might have the type `string`, in which case we'd need to exclude that type instead.
====
Let's now try to divide the DataFrames, excluding any columns of type `object`:
[source, python]
----
vaccinations.select_dtypes(exclude='object').div(population.select_dtypes(exclude='object'))
----
.Results
[opts="header", cols="1,20,20"]
|===
| |Under 50 |50-54
|0 | 0.228571 | 0.883068
|1 |0.223342 |0.857478
|2 |0.184493 | 0.840068
|===
Cool!
That's what we hoped to see, but it would be good if we could also have the `LTLA Code` and `LTLA Name` columns back as well.
We can do this using the `combine_first` function:
[source, python]
----
vaccinations.select_dtypes(exclude='object').div(population.select_dtypes(exclude='object')).combine_first(population)
----
.Results
[opts="header", cols="1,15,15,15,15"]
|===
| | 50-54 | LTLA Code | LTLA Name |Under 50
|0 | 0.883068 | E07000032 |Amber Valley |0.228571
|1 |0.857478 |E07000170 | Ashfield |0.223342
|2 |0.840068 |E07000171 | Bassetlaw |0.184493
|===
That's got the columns back, but the order is a bit messed up.
Luckily it's not too difficult to retain the column order:
[source, python]
----
vaccinations.select_dtypes(exclude='object').div(population.select_dtypes(exclude='object')).combine_first(population)[vaccinations.columns]
----
.Results
[opts="header", cols="1,15,15,20,20"]
|===
|| LTLA Code | LTLA Name |Under 50 | 50-54
|0 |E07000032 |Amber Valley |0.228571 |0.883068
|1 |E07000170 | Ashfield |0.223342 | 0.857478
|2 | E07000171 | Bassetlaw |0.184493 |0.840068
|=== | In this post we'll learn how to divide only the numeric columns in two Pandas DataFrames. | null | [
0.020495736971497536,
-0.010162310674786568,
-0.00742656085640192,
-0.002472967840731144,
0.05859549716114998,
0.04057956114411354,
0.028688931837677956,
0.030680891126394272,
0.014365220442414284,
-0.00030584147316403687,
0.01017661765217781,
-0.024083951488137245,
-0.07195494323968887,
0.006004041526466608,
-0.031364794820547104,
0.07070358842611313,
0.06986876577138901,
0.023344004526734352,
0.0037898763548582792,
0.01177305355668068,
0.02677164226770401,
0.04587465524673462,
-0.019631989300251007,
0.05362686514854431,
0.020659474655985832,
-0.02312357723712921,
0.05621737986803055,
-0.007174605969339609,
-0.04288381710648537,
-0.0216892771422863,
0.023320773616433144,
0.02046479657292366,
-0.025024287402629852,
0.03211704269051552,
0.04403490573167801,
-0.011051523499190807,
-0.026627859100699425,
0.01821606606245041,
-0.010395428165793419,
0.014422544278204441,
-0.08923210948705673,
0.0030491978395730257,
-0.03141191229224205,
-0.005818086676299572,
-0.05931717902421951,
-0.01704408787190914,
-0.017338262870907784,
0.02333598956465721,
-0.003984972834587097,
0.011221173219382763,
-0.056414153426885605,
0.03312092646956444,
-0.01888164132833481,
-0.01045676227658987,
-0.006439631339162588,
0.037903301417827606,
0.014434023760259151,
-0.060482725501060486,
0.0034203198738396168,
-0.04796508699655533,
0.023492908105254173,
-0.0072677102871239185,
0.000834987557027489,
0.009546460583806038,
0.030390974134206772,
0.010035435669124126,
-0.030418939888477325,
0.06842795759439468,
-0.02518012933433056,
-0.0405425950884819,
-0.033261239528656006,
0.0012237896444275975,
-0.03776547685265541,
-0.017137767747044563,
-0.0073326351121068,
-0.045435503125190735,
-0.022557435557246208,
0.039937861263751984,
0.042488597333431244,
0.011763377115130424,
0.014932957477867603,
-0.02742980793118477,
0.005524987820535898,
0.02780875563621521,
0.010791681706905365,
-0.02113998308777809,
-0.0024928711354732513,
-0.037858910858631134,
-0.06081724166870117,
0.075007364153862,
0.006564706563949585,
-0.03164219856262207,
0.024099642410874367,
0.01677161268889904,
-0.03316905349493027,
-0.012961043044924736,
0.04260788485407829,
-0.014734811149537563,
-0.020012833178043365,
-0.0541299432516098,
-0.049454160034656525,
-0.011613721959292889,
0.03867192193865776,
-0.001534916926175356,
-0.08661248534917831,
-0.02078988403081894,
-0.026650868356227875,
0.0009328640880994499,
-0.01325911283493042,
0.019747551530599594,
-0.023471364751458168,
0.02095489762723446,
-0.032747842371463776,
-0.010236122645437717,
-0.10594559460878372,
0.06144328415393829,
0.016207467764616013,
-0.04318871349096298,
0.01556854322552681,
-0.00898932944983244,
0.0384952686727047,
0.04335910081863403,
-0.011405864730477333,
0.06905572861433029,
0.02683681808412075,
0.06932446360588074,
-0.016930893063545227,
0.05319320410490036,
-0.0024141238536685705,
-0.04200641065835953,
-0.015429597347974777,
0.07408755272626877,
-0.030876534059643745,
0.00912379752844572,
0.023951927199959755,
-0.02009555511176586,
-0.023227917030453682,
0.020023509860038757,
0.056060075759887695,
0.03443591296672821,
0.032266851514577866,
-0.026682501658797264,
0.012075312435626984,
0.02085741050541401,
0.020477421581745148,
0.013180752284824848,
-0.018341124057769775,
-0.06612838804721832,
-0.03846168890595436,
-0.001002981560304761,
0.008256818167865276,
0.012729251757264137,
0.062493711709976196,
-0.030486373230814934,
0.004936453886330128,
0.062295909970998764,
0.05296818166971207,
-0.01858625002205372,
0.0011773851001635194,
0.0046048229560256,
0.07169461995363235,
0.04076680541038513,
0.02242445759475231,
0.034095197916030884,
-0.010015066713094711,
-0.02132868766784668,
-0.00023068544396664947,
0.044067151844501495,
-0.006605299189686775,
-0.010793731547892094,
-0.07834946364164352,
-0.05281710624694824,
0.05934974551200867,
-0.05436169356107712,
-0.0031274831853806973,
0.02511860616505146,
0.08542602509260178,
0.022850345820188522,
0.045545995235443115,
0.013910770416259766,
-0.07047253847122192,
0.04631805047392845,
0.01706317439675331,
0.04254841059446335,
0.05854318290948868,
-0.025614244863390923,
0.07889524847269058,
0.042365431785583496,
0.03343820199370384,
0.05216306447982788,
-0.04796762019395828,
-0.044444240629673004,
0.0073303100652992725,
0.010887624695897102,
0.018462244421243668,
-0.056648287922143936,
0.012503139674663544,
0.1058027371764183,
0.017808645963668823,
0.013450592756271362,
-0.030900968238711357,
0.012851288542151451,
0.04015262797474861,
-0.005356081761419773,
-0.036776114255189896,
0.03271074593067169,
0.04670501500368118,
-0.00464228680357337,
-0.007958434522151947,
0.05890843644738197,
-0.03188700973987579,
0.019691022112965584,
-0.00004371489922050387,
-0.010207800194621086,
0.003910742700099945,
0.013074936345219612,
0.050440967082977295,
-0.011997926980257034,
0.03226820379495621,
-0.06110630929470062,
0.0371212475001812,
0.0005828635767102242,
-0.011592435650527477,
-0.02946663647890091,
0.011701722629368305,
0.13049361109733582,
0.06661361455917358,
-0.011846674606204033,
-0.03523090109229088,
-0.0021195155568420887,
0.012332860380411148,
0.0009330573375336826,
0.011236414313316345,
0.003944606054574251,
0.0012316948268562555,
-0.005028932821005583,
-0.03504002094268799,
-0.01898382231593132,
0.029237061738967896,
-0.07132110744714737,
0.013245239853858948,
0.051137689501047134,
0.009195774793624878,
0.047676388174295425,
-0.0271155945956707,
-0.015771733596920967,
-0.03353516012430191,
-0.028475120663642883,
-0.06917400658130646,
-0.013417072594165802,
0.009651502594351768,
0.006546346936374903,
0.037275779992341995,
0.028321092948317528,
0.008037295192480087,
-0.019506795331835747,
-0.03828306868672371,
0.04060278832912445,
0.06029520183801651,
0.0521697923541069,
0.0013553365133702755,
0.05259547382593155,
-0.005897521041333675,
0.01907549984753132,
-0.024070195853710175,
-0.04488971829414368,
-0.07014104723930359,
-0.049011487513780594,
-0.00666429428383708,
-0.0014120313571766019,
0.038677629083395004,
0.012309352867305279,
0.016756916418671608,
-0.0023855618201196194,
0.037574801594018936,
-0.0018719648942351341,
0.01695689745247364,
0.016039472073316574,
-0.011233308352530003,
-0.010720336809754372,
-0.0022402259055525064,
0.052699845284223557,
0.00881433766335249,
-0.031020022928714752,
0.018822206184267998,
-0.09222490340471268,
0.024976585060358047,
-0.05414647236466408,
-0.0342782698571682,
0.017107944935560226,
0.012546645477414131,
0.04407091811299324,
0.03752918913960457,
-0.024885348975658417,
0.009926145896315575,
-0.017217250540852547,
0.010658031329512596,
0.027517735958099365,
0.000675724062602967,
0.029010582715272903,
-0.011174500919878483,
0.02562597766518593,
0.024419907480478287,
0.005302399396896362,
-0.012539966963231564,
-0.052501797676086426,
0.02551676519215107,
-0.04164896160364151,
-0.27988454699516296,
0.04462797939777374,
0.009140316396951675,
-0.02873174473643303,
0.013391297310590744,
-0.030052172020077705,
0.027065282687544823,
-0.043151818215847015,
-0.04287371411919594,
-0.008192415349185467,
0.027195435017347336,
-0.049687739461660385,
-0.02013171650469303,
0.01863972283899784,
0.031099941581487656,
0.022008271887898445,
-0.016883479431271553,
-0.053663309663534164,
0.02572588622570038,
0.04648059234023094,
0.03798393905162811,
-0.044364068657159805,
-0.035703498870134354,
0.05561530962586403,
0.036977607756853104,
0.042128801345825195,
-0.03308933228254318,
-0.0008840654045343399,
-0.08919068425893784,
-0.024244237691164017,
-0.0032891035079956055,
-0.003285265527665615,
0.02124764956533909,
0.0019911923445761204,
-0.030768966302275658,
-0.011440599337220192,
0.03495684638619423,
0.003994063939899206,
-0.02075410634279251,
-0.03201715275645256,
-0.05663064867258072,
-0.02794596552848816,
-0.01906304620206356,
-0.012767402455210686,
0.04436534643173218,
0.004743888042867184,
-0.05114803463220596,
0.0165341068059206,
-0.046360451728105545,
0.058986272662878036,
-0.016111280769109726,
-0.0003392444923520088,
-0.05101282522082329,
0.03035883978009224,
-0.040735915303230286,
0.02028898149728775,
-0.059908248484134674,
0.03790554031729698,
-0.03716786950826645,
-0.04504944011569023,
-0.01768580824136734,
-0.0015919861616566777,
-0.04269808530807495,
-0.04818570241332054,
0.00823253020644188,
-0.05009214207530022,
-0.08046165853738785,
-0.031482331454753876,
0.0534033440053463,
0.024995002895593643,
-0.07229005545377731,
-0.022791514173150063,
-0.02309473231434822,
-0.0957927480340004,
-0.002373076044023037,
-0.053943272680044174,
-0.018586447462439537,
0.00606777286157012,
0.025891507044434547,
0.0499347485601902,
-0.03137390688061714,
-0.07340998202562332,
0.047170594334602356,
0.03947902470827103,
0.014690430834889412,
-0.024727419018745422,
0.021062644198536873,
0.013724690303206444,
-0.0008776425383985043,
-0.03429323807358742,
0.06897857040166855,
-0.02760769985616207,
-0.01360355131328106,
0.0035112896002829075,
-0.02390761487185955,
0.04039010405540466,
-0.01360797043889761,
0.013492651283740997,
-0.006004316732287407,
0.03870157524943352,
0.007407110184431076,
-0.055517613887786865,
-0.04128298535943031,
-0.06175970658659935,
-0.026745721697807312,
-0.01921708509325981,
-0.05956966057419777,
0.027551090344786644,
0.011612880043685436,
-0.01906481571495533,
0.015594636090099812,
-0.032361894845962524,
0.025448722764849663,
-0.05459918454289436,
-0.005981310736387968,
-0.026669098064303398,
0.036591652780771255,
0.020572083070874214,
-0.005024195183068514,
-0.00664146663621068,
-0.061124324798583984,
0.038673076778650284,
-0.026012802496552467,
0.017861060798168182,
-0.045208897441625595,
-0.04267839714884758,
0.006568834185600281,
-0.005947086028754711,
-0.011577625758945942,
0.020619597285985947,
0.001632267259992659,
0.03883281722664833,
0.03429092839360237,
-0.03903597593307495,
0.02139509841799736,
-0.011644250713288784,
-0.044731367379426956,
-0.05107853189110756,
0.006899331696331501,
0.052583206444978714,
-0.0014258117880672216,
0.019945545122027397,
-0.0035293663386255503,
0.02113841474056244,
0.012319172732532024,
0.0015623237704858184,
0.02315213344991207,
0.020576853305101395,
-0.008949222043156624,
0.025123316794633865,
0.013596633449196815,
-0.006553382612764835,
-0.027521075680851936,
-0.03144504874944687,
-0.022380752488970757,
0.006857396103441715,
0.05415073409676552,
-0.0087918471544981,
-0.020319731906056404,
-0.03093980997800827,
-0.013753414154052734,
-0.0507560595870018,
-0.03440405800938606,
-0.026263972744345665,
0.011303861625492573,
0.05696108192205429,
0.007299531251192093,
0.002977601019665599,
0.021565720438957214,
-0.001601841882802546,
0.016527030616998672,
0.02057415433228016,
-0.03616591915488243,
0.015304682776331902,
-0.01984560862183571,
-0.026936810463666916,
-0.02687818929553032,
0.012676547281444073,
0.009029742330312729,
0.01461446937173605,
-0.010596591979265213,
-0.003978403750807047,
0.012626320123672485,
0.005112191662192345,
0.05536162480711937,
0.07319087535142899,
-0.02779987081885338,
-0.04441428184509277,
-0.005133891943842173,
-0.03120989352464676,
-0.02886115573346615,
-0.021914837881922722,
-0.013888329267501831,
0.0003333523927722126,
-0.03794211894273758,
-0.06292441487312317,
0.027318354696035385,
0.0017669788794592023,
-0.018976682797074318,
0.030039852485060692,
-0.025579949840903282,
0.008713172748684883,
-0.024246910586953163,
0.036913253366947174,
0.02227461338043213,
-0.05304516479372978,
-0.014842865988612175,
-0.01827688328921795,
0.0072004119865596294,
0.019968735054135323,
-0.0017595120007172227,
-0.053250834345817566,
-0.02500053122639656,
-0.01595807634294033,
0.025614019483327866,
-0.03693306818604469,
-0.07712804526090622,
-0.05678465962409973,
0.019043510779738426,
-0.004500594921410084,
0.010345254093408585,
-0.021941158920526505,
-0.02245185151696205,
-0.028292164206504822,
-0.011570585891604424,
0.026803098618984222,
-0.04349278286099434,
-0.024552632123231888,
0.028616314753890038,
-0.018896909430623055,
-0.016261909157037735,
-0.01388624869287014,
0.020854318514466286,
0.027525348588824272,
-0.024459198117256165,
0.01997075229883194,
-0.012378660961985588,
-0.006187248509377241,
0.025714637711644173,
0.02461428940296173,
-0.010559303686022758,
0.02753256820142269,
-0.039201200008392334,
-0.014638016931712627,
-0.0006726231658831239,
0.010216065682470798,
0.021292252466082573,
0.0112660126760602,
0.007766001857817173,
0.05347656458616257,
-0.001963242655619979,
-0.00799687672406435,
0.00401576841250062,
-0.023259751498699188,
0.014911124482750893,
-0.029916629195213318,
-0.016278408467769623,
-0.0159141905605793,
-0.03651456907391548,
0.01682448200881481,
0.008292599581182003,
0.02266770415008068,
-0.01600479707121849,
0.026865454390645027,
0.03924572467803955,
0.0177646204829216,
0.04409278184175491,
0.013656619936227798,
0.028499728068709373,
-0.06217370554804802,
0.002706930972635746,
-0.08079972863197327,
-0.01876496709883213,
0.03327556326985359,
0.02417621947824955,
-0.003621934913098812,
0.011455823667347431,
-0.022593481466174126,
0.047559481114149094,
-0.07411295175552368,
-0.011928428895771503,
0.042897213250398636,
-0.0037157046608626842,
0.020562991499900818,
0.01820703037083149,
-0.05159943178296089,
0.01558683905750513,
0.02600661665201187,
-0.05054263025522232,
-0.020729172974824905,
0.003871977562084794,
0.06312599033117294,
-0.02973741665482521,
0.027684608474373817,
-0.0211162231862545,
0.014148351736366749,
0.06485538929700851,
0.02749154344201088,
0.014250512234866619,
-0.0010661749402061105,
-0.02197246439754963,
0.052608828991651535,
0.008148514665663242,
0.004953460767865181,
-0.02068270742893219,
0.013392546214163303,
0.00993029773235321,
-0.0575915090739727,
0.015546310693025589,
0.013912667520344257,
0.01580265909433365,
-0.062028974294662476,
0.07986657321453094,
0.012068910524249077,
-0.04100712016224861,
-0.027287544682621956,
-0.0013409152161329985,
-0.04836396872997284,
-0.01312288362532854,
-0.011083814315497875,
-0.0030741291120648384,
-0.031028375029563904,
0.04543706029653549,
-0.009295596741139889,
0.006172572262585163,
0.05249859392642975,
-0.005885046441107988,
0.018833279609680176,
0.015263349749147892,
0.09369517117738724,
0.05455150455236435,
0.05291607975959778,
0.008607354946434498,
0.0807693600654602,
-0.01366395503282547,
-0.05810889974236488,
0.03557717055082321,
-0.01737317256629467,
-0.013355765491724014,
-0.015568172559142113,
0.0124795101583004,
0.058553747832775116,
-0.004788782447576523,
0.06758702546358109,
0.011421890929341316,
-0.017578106373548508,
-0.016291078180074692,
0.010068416595458984,
0.04715029522776604,
0.03938254341483116,
0.021163098514080048,
0.03902987018227577,
-0.02832307294011116,
-0.025563057512044907,
0.018601618707180023,
-0.003997231367975473,
-0.029599830508232117,
0.015323907136917114,
-0.027175093069672585,
-0.0015648793196305633,
-0.008077072910964489,
0.014798679389059544,
0.09693968296051025,
-0.024077117443084717,
0.0019296591635793447,
-0.020303748548030853,
0.02885853312909603,
-0.0035556394141167402,
0.023580754175782204,
0.01882881671190262,
-0.008098396472632885,
-0.03932146355509758,
-0.03519873693585396,
-0.02140689454972744,
-0.021100183948874474,
-0.05054933950304985,
0.02015984244644642,
-0.03677453100681305,
-0.00013459526235237718,
0.04240722581744194,
-0.026375986635684967,
-0.024064889177680016,
-0.03893699124455452,
-0.06723419576883316,
-0.025149691849946976,
-0.056136440485715866,
-0.03162806108593941,
0.045601874589920044,
-0.01638839580118656,
-0.01013218518346548,
-0.025195613503456116,
0.008396022953093052,
-0.012232101522386074,
-0.0012537685688585043,
-0.05737937241792679,
-0.030111201107501984,
0.04881073907017708,
0.009433726780116558,
0.024736452847719193,
0.015207687392830849,
0.0550195537507534,
0.016337964683771133,
-0.02126486413180828,
-0.003993164282292128,
0.04743914678692818,
0.03930957242846489,
0.005211631767451763,
0.046769361943006516,
-0.09364615380764008,
-0.00521023478358984,
0.011886377818882465,
-0.0012117474107071757,
-0.07869071513414383,
0.027523120865225792,
0.00871380977332592,
0.043715573847293854,
0.05720585957169533,
-0.002635823329910636,
-0.0072837346233427525,
-0.028643181547522545,
-0.023002533242106438,
-0.0005115588428452611,
-0.0010498760966584086,
0.04473615437746048,
-0.030702145770192146,
0.09155714511871338,
0.030956082046031952,
-0.01168100442737341,
-0.041430067270994186,
-0.002742537297308445,
-0.02969345822930336,
-0.0030856637749820948,
-0.008075847290456295,
-0.04673740640282631,
-0.06484649330377579,
-0.08083626627922058,
-0.010725601576268673,
0.023357998579740524,
-0.03939410671591759,
-0.013933473266661167,
0.016769392415881157,
0.0048300097696483135,
0.001432795193977654,
0.045519959181547165,
-0.014014402404427528,
0.0050101811066269875,
-0.020376449450850487,
-0.010936293751001358,
-0.01577952317893505,
0.03507426381111145,
-0.00757425744086504,
0.014324747957289219,
0.0022941858042031527,
-0.05950005352497101,
0.013645567931234837,
-0.022641057148575783,
0.034494634717702866,
0.08107322454452515,
-0.0031224272679537535,
0.02116217277944088
] | [
-0.04162812605500221,
-0.034063275903463364,
-0.032563429325819016,
0.006681032944470644,
0.10523008555173874,
-0.01062911469489336,
0.012288847006857395,
0.030178137123584747,
-0.008700323291122913,
0.019744306802749634,
-0.007845413871109486,
-0.1138395220041275,
-0.0005912103224545717,
-0.011585202068090439,
0.0252787247300148,
-0.008755914866924286,
-0.013337470591068268,
-0.12336069345474243,
-0.03192953020334244,
0.08576096594333649,
-0.03810163959860802,
-0.007902524434030056,
-0.04239478334784508,
-0.05094662681221962,
0.023902572691440582,
0.031727127730846405,
0.05427059531211853,
-0.018266912549734116,
-0.007785563822835684,
-0.1774294078350067,
0.019954415038228035,
-0.03619587421417236,
0.011500131338834763,
-0.028805848211050034,
-0.01278790645301342,
0.008114682510495186,
0.06696867197751999,
0.04517636075615883,
0.012080001644790173,
0.060326818376779556,
0.017091702669858932,
0.005688468459993601,
-0.012287932448089123,
-0.023221004754304886,
0.01566423289477825,
0.016196919605135918,
-0.06533396244049072,
0.008668926544487476,
0.024198388680815697,
0.01501015480607748,
-0.04960228130221367,
0.01230467576533556,
-0.02317369543015957,
0.022352373227477074,
-0.01066425908356905,
-0.021180681884288788,
0.011114219203591347,
0.030977671965956688,
0.009246456436812878,
0.01492523867636919,
0.004965360276401043,
0.006090933922678232,
-0.15109966695308685,
0.11674001067876816,
-0.01215730793774128,
0.04576030746102333,
-0.023068785667419434,
-0.018740901723504066,
0.021268030628561974,
0.05762210488319397,
-0.0316961407661438,
-0.006424646358937025,
-0.01646449975669384,
0.06131089851260185,
0.010988527908921242,
0.006825644988566637,
-0.0011286941589787602,
0.0357426255941391,
0.04828468710184097,
-0.04206012561917305,
-0.027546225115656853,
0.06392476707696915,
0.016174472868442535,
-0.02043794095516205,
0.03612617403268814,
-0.016928767785429955,
-0.02607734501361847,
0.005928057711571455,
-0.0021470917854458094,
0.030702248215675354,
0.037014346569776535,
0.0018491334049031138,
0.023831911385059357,
0.017253553494811058,
-0.07347942888736725,
-0.032466430217027664,
0.01260294858366251,
0.02106975018978119,
-0.04401097819209099,
0.42524003982543945,
-0.04707300662994385,
-0.05033228173851967,
0.00037266570143401623,
0.045311179012060165,
0.019771331921219826,
-0.00918453186750412,
0.009101192466914654,
-0.0630449503660202,
0.028671644628047943,
-0.00670843617990613,
-0.0062926108948886395,
-0.00932940561324358,
0.06860742717981339,
-0.06259794533252716,
0.01276658196002245,
0.015334232710301876,
0.03727766498923302,
0.011724529787898064,
0.008985540829598904,
0.031859446316957474,
0.0038759219460189342,
-0.01951671950519085,
0.021833302453160286,
-0.03233521431684494,
0.047842271625995636,
0.043434035032987595,
0.0464383065700531,
0.07629679143428802,
0.03940080478787422,
0.012982934713363647,
0.06095688045024872,
-0.03550347685813904,
-0.08310801535844803,
-0.003984874114394188,
-0.027399113401770592,
-0.029763638973236084,
0.027577973902225494,
-0.006941837724298239,
0.00833186600357294,
0.019909607246518135,
-0.0045326813124120235,
-0.07847888767719269,
0.0007867050589993596,
-0.04307412728667259,
-0.02894669398665428,
0.12812036275863647,
-0.016357585787773132,
-0.008002519607543945,
-0.042707715183496475,
-0.043295856565237045,
0.023735366761684418,
0.06989245116710663,
0.0017734731081873178,
-0.0544683113694191,
0.018681634217500687,
0.039024632424116135,
0.07357444614171982,
-0.015460721217095852,
-0.04426420107483864,
-0.0412469319999218,
0.024135081097483635,
-0.07141758501529694,
-0.0397142618894577,
0.03204801306128502,
0.043817561119794846,
-0.08398899435997009,
-0.026677237823605537,
0.020732592791318893,
0.03737393766641617,
-0.052853796631097794,
0.03664605692028999,
0.026280909776687622,
-0.01653802953660488,
0.00915996078401804,
0.06386362761259079,
-0.021066950634121895,
-0.06552647054195404,
0.04116111248731613,
0.04982611536979675,
0.008748259395360947,
-0.021943192929029465,
0.023301277309656143,
-0.04047650471329689,
0.0016726563917472959,
-0.08472926914691925,
-0.061003826558589935,
-0.05264789238572121,
-0.01613738387823105,
-0.010116048157215118,
-0.05780215561389923,
0.013826658949255943,
-0.024541696533560753,
-0.079241082072258,
0.038811542093753815,
-0.019750768318772316,
-0.01500007975846529,
0.010455623269081116,
-0.002798262517899275,
0.03641805052757263,
-0.01051503699272871,
-0.01226137112826109,
-0.018363798037171364,
-0.016563348472118378,
0.05372682958841324,
-0.033642467111349106,
0.01565237157046795,
0.056311335414648056,
-0.028799232095479965,
0.09844271093606949,
0.02653258480131626,
0.042058296501636505,
0.004970447160303593,
-0.007852966897189617,
-0.009434033185243607,
-0.020746812224388123,
0.006735349074006081,
-0.026522114872932434,
-0.016523320227861404,
0.008706795051693916,
0.04568667337298393,
0.02370002679526806,
0.0008696270524524152,
0.01368720643222332,
-0.35507214069366455,
-0.06052420660853386,
-0.01236505527049303,
-0.0172897856682539,
-0.022059593349695206,
-0.047147687524557114,
0.013753097504377365,
0.012014922685921192,
-0.035557206720113754,
0.07877983897924423,
0.09406333416700363,
0.025892779231071472,
-0.0009172711288556457,
-0.03643151745200157,
-0.03171795979142189,
0.028806814923882484,
-0.01107843779027462,
-0.03440231457352638,
-0.01883743703365326,
0.022718679159879684,
0.02655394747853279,
-0.03125591203570366,
-0.017607245594263077,
0.0023697717115283012,
0.040751244872808456,
-0.04884156957268715,
0.15023520588874817,
0.010903174988925457,
0.026863349601626396,
-0.01990434341132641,
0.023143345490098,
-0.02495475672185421,
0.006841145921498537,
-0.060151178389787674,
0.01013458427041769,
-0.04432642087340355,
-0.04461057856678963,
0.02331346459686756,
-0.04938078299164772,
-0.009841231629252434,
-0.0403999462723732,
0.02651245892047882,
-0.02951824851334095,
-0.015110870823264122,
-0.0583193339407444,
0.020802387967705727,
-0.006296809762716293,
0.02757273241877556,
-0.05018830671906471,
0.041575755923986435,
0.014300208538770676,
0.010088680312037468,
0.03832658380270004,
0.017065338790416718,
0.011382256634533405,
-0.017230544239282608,
-0.09135030955076218,
0.02562245912849903,
-0.057723984122276306,
0.023039013147354126,
-0.004073405638337135,
0.02521439455449581,
0.05038566142320633,
-0.05555577203631401,
-0.061688557267189026,
-0.007958239875733852,
0.016606498509645462,
0.005033284425735474,
0.008461931720376015,
0.001730563584715128,
-0.03808549791574478,
0.1426091492176056,
-0.04175478219985962,
-0.0119464211165905,
0.015057177282869816,
0.05239887163043022,
-0.029249098151922226,
0.011649847961962223,
-0.01136094331741333,
-0.005570640321820974,
0.0745672956109047,
-0.03140178322792053,
-0.028498657047748566,
0.005177273415029049,
0.0392022579908371,
-0.0016202274709939957,
-0.011990975588560104,
0.03115605190396309,
0.029199669137597084,
0.006249168422073126,
0.007171682547777891,
-0.045461319386959076,
-0.014347860589623451,
-0.03639513999223709,
-0.0029951189644634724,
-0.0018771799514070153,
-0.2624259889125824,
0.01932624727487564,
0.026265224441885948,
0.04379161447286606,
0.01214876864105463,
-0.05176348239183426,
0.011640891432762146,
-0.045446354895830154,
0.001858259434811771,
0.0015975633868947625,
0.018518047407269478,
0.03869760408997536,
0.048950664699077606,
0.008467255160212517,
-0.02288742922246456,
-0.01763457991182804,
-0.0019169660517945886,
-0.00022053532302379608,
0.012270801700651646,
-0.021108856424689293,
0.05403049290180206,
-0.059580717235803604,
0.11987138539552689,
0.037274956703186035,
0.006990453694015741,
-0.0067692412994802,
-0.018689708784222603,
0.018773680552840233,
0.05138133093714714,
0.022229570895433426,
0.008932560682296753,
-0.031210526823997498,
0.019254283979535103,
0.009631164371967316,
0.043093327432870865,
-0.043985698372125626,
-0.045588649809360504,
0.016897620633244514,
0.023496128618717194,
-0.0028381531592458487,
0.006844444666057825,
0.008591785095632076,
0.005432051606476307,
0.027818605303764343,
0.05993179604411125,
-0.020309235900640488,
0.005633511580526829,
-0.08557914942502975,
-0.006238909438252449,
0.002199859358370304,
0.0008109760819934309,
-0.019228482618927956,
0.011007687076926231,
0.006894723512232304,
0.028998246416449547,
0.049637991935014725,
0.07638045400381088,
-0.009744872339069843,
0.03132933750748634,
0.000770252023357898,
-0.006893777754157782,
-0.05604783073067665,
0.030505018308758736,
0.04397721216082573,
0.02799636498093605
] | [
0.027656763792037964,
0.036949388682842255,
-0.01509658433496952,
0.010909540578722954,
0.008367439731955528,
-0.013779956847429276,
-0.005118931643664837,
-0.007203667424619198,
-0.02452073246240616,
-0.02554302290081978,
0.023765847086906433,
-0.02135174721479416,
-0.0052323671989142895,
-0.0019859643653035164,
0.014307843521237373,
-0.030069129541516304,
-0.0020130155608057976,
-0.01850319840013981,
0.028312746435403824,
-0.02059527300298214,
-0.039274200797080994,
0.07384897023439407,
0.02548843063414097,
0.027085252106189728,
-0.021877238526940346,
0.014635282568633556,
-0.061444371938705444,
0.011189235374331474,
0.040789805352687836,
-0.09512777626514435,
-0.014120263047516346,
-0.055347565561532974,
-0.009582668542861938,
-0.00567146809771657,
-0.020499443635344505,
-0.021052930504083633,
-0.0046361470595002174,
0.05160848796367645,
-0.006574294064193964,
0.049352120608091354,
-0.015121432021260262,
-0.0028415957931429148,
0.0009422794100828469,
0.0036934535019099712,
0.0028521879576146603,
0.043874241411685944,
-0.03692280501127243,
0.015558462589979172,
0.013859457336366177,
-0.01007044780999422,
-0.015719469636678696,
-0.01064287405461073,
-0.022095100954174995,
0.01965249702334404,
-0.007024325430393219,
-0.03490602225065231,
-0.040965210646390915,
-0.017694713547825813,
-0.021822664886713028,
-0.03695610165596008,
-0.046828772872686386,
0.0301001388579607,
-0.012151584960520267,
-0.002971121110022068,
-0.002383321523666382,
-0.0006280853995122015,
-0.028546610847115517,
-0.01704876311123371,
-0.02009359747171402,
0.0067392373457551,
-0.022204672917723656,
0.020635098218917847,
-0.04600338637828827,
0.02429691143333912,
-0.0001701914006844163,
0.006266834679991007,
0.01730363443493843,
-0.021627945825457573,
0.041132111102342606,
0.004182157572358847,
-0.01119527779519558,
0.03194839879870415,
0.028176983818411827,
0.04191849008202553,
0.004720412194728851,
-0.04382800683379173,
0.025968939065933228,
-0.0027749037835747004,
0.018739527091383934,
-0.048353347927331924,
0.017310507595539093,
0.0173202957957983,
0.017838096246123314,
0.049883950501680374,
-0.08019084483385086,
-0.008298552595078945,
0.026177600026130676,
-0.019998740404844284,
-0.0062065753154456615,
0.8245657682418823,
-0.04053158313035965,
-0.07098811864852905,
0.0036988123320043087,
0.011672528460621834,
-0.012104246765375137,
-0.02158500999212265,
-0.006846753414720297,
-0.0070067113265395164,
0.00406300975009799,
-0.009721019305288792,
0.02060307003557682,
0.049518976360559464,
0.00144551123958081,
0.008202635683119297,
0.03619905188679695,
0.013138835318386555,
0.0013041700003668666,
-0.004024496767669916,
-0.017787566408514977,
-0.0203714556992054,
-0.010403036139905453,
-0.01867813430726528,
-0.007536233402788639,
-0.05014349892735481,
0.021388478577136993,
-0.1655569076538086,
0.0364675298333168,
-7.988001331351805e-33,
0.016828032210469246,
-0.03726045414805412,
0.061428170651197433,
0.01694714091718197,
0.030022552236914635,
-0.01602569781243801,
0.005415023770183325,
0.0022921543568372726,
0.023556681349873543,
-0.01997586153447628,
-0.007507872302085161,
-0.009051770903170109,
-0.012234765104949474,
0.006617319770157337,
0.02010594680905342,
-0.014255493879318237,
-0.004022593609988689,
0.040924251079559326,
-0.026870764791965485,
0.034866709262132645,
0.050289008766412735,
0.01269313134253025,
0.03357850760221481,
0.017321128398180008,
0.015013379044830799,
0.028740553185343742,
-0.02065986394882202,
-0.007580652832984924,
0.005030610132962465,
-0.036461636424064636,
-0.020709145814180374,
0.012740733101963997,
-0.011183399707078934,
-0.04503140598535538,
-0.0156428012996912,
-0.05528409406542778,
0.007317155133932829,
-0.024269038811326027,
-0.0011850532609969378,
-0.005474517121911049,
0.018514838069677353,
0.05104057490825653,
-0.015824874863028526,
-0.03665928542613983,
-0.01399865373969078,
-0.018276769667863846,
0.027650626376271248,
0.017132896929979324,
-0.026022780686616898,
0.03286392241716385,
0.03326781839132309,
-0.02542898990213871,
-0.004033555276691914,
0.0016076466999948025,
-0.0040893214754760265,
0.02870072051882744,
-0.03339795023202896,
0.01797824539244175,
0.0298727098852396,
-0.0239552054554224,
0.02086085081100464,
-0.007682692725211382,
0.03371301293373108,
0.0009388614562340081,
-0.013219435699284077,
-0.019209599122405052,
0.0718289464712143,
-0.0075771198607981205,
0.045156028121709824,
-0.004065117798745632,
-0.043768465518951416,
0.010359926149249077,
-0.037800222635269165,
-0.012329965829849243,
0.0210371483117342,
-0.044235724955797195,
0.035847436636686325,
0.021566741168498993,
0.031721774488687515,
0.03601580858230591,
0.009324366226792336,
-0.0074106240645051,
-0.02388082444667816,
-0.018430523574352264,
-0.013005917891860008,
-0.010676566511392593,
0.04090055078268051,
0.013725679367780685,
-0.04938674345612526,
0.00014803446538280696,
-0.011101070791482925,
0.024537788704037666,
0.05188926309347153,
-0.002424048027023673,
-0.013568849302828312,
7.845743005015292e-33,
0.0032866771798580885,
-0.022529298439621925,
-0.005633566528558731,
-0.02546394243836403,
0.023122010752558708,
-0.012438065372407436,
0.045359957963228226,
-0.01336532924324274,
-0.016818704083561897,
0.0240729171782732,
-0.029678959399461746,
-0.01174732856452465,
0.0035718076396733522,
0.0440133735537529,
0.006825948599725962,
0.026680611073970795,
0.011224837973713875,
0.026985105127096176,
0.017663707956671715,
0.00655777845531702,
-0.004860341548919678,
0.006293504033237696,
0.03441322222352028,
0.02865932695567608,
0.041663892567157745,
0.04081664979457855,
-0.014145453460514545,
-0.02570059522986412,
0.011514458805322647,
-0.050996776670217514,
0.0036117893178015947,
0.006500646471977234,
-0.009811713360249996,
-0.019507743418216705,
-0.03533634915947914,
0.009884100407361984,
0.04166042432188988,
0.011122542433440685,
0.007128444965928793,
-0.025452183559536934,
0.024536216631531715,
0.016917161643505096,
-0.03186791017651558,
0.010700914077460766,
0.016893763095140457,
0.06973067671060562,
0.011807422153651714,
-0.0027663183864206076,
-0.018412182107567787,
0.024318493902683258,
-0.023327747359871864,
0.016582001000642776,
-0.004511181265115738,
0.07126813381910324,
-0.02958289161324501,
-0.01898733340203762,
-0.006677327211946249,
-0.019416483119130135,
-0.028785742819309235,
-0.0066306330263614655,
-0.02833942510187626,
-0.04309360310435295,
-0.062464840710163116,
0.012536213733255863,
-0.023698505014181137,
0.015431362204253674,
-0.018637876957654953,
-0.03594100847840309,
0.044176068156957626,
-0.03356270492076874,
-0.005227712448686361,
-0.03361005336046219,
0.020807983353734016,
-0.02189154550433159,
-0.017890529707074165,
-0.015145033597946167,
0.004735378082841635,
-0.029919303953647614,
0.005862443242222071,
0.024773960933089256,
0.026721857488155365,
-0.07585792243480682,
0.028118709102272987,
-0.012940631248056889,
-0.012390046380460262,
0.01673864759504795,
-0.006910271476954222,
-0.026872502639889717,
0.017259886488318443,
0.018796425312757492,
-0.040243763476610184,
-0.037663768976926804,
0.009315218776464462,
-0.010281175374984741,
-0.011685394681990147,
-1.315443931559912e-8,
0.007112456485629082,
0.045108962804079056,
0.001178659382276237,
0.023944012820720673,
-0.007259123958647251,
0.01933707483112812,
-0.03993135318160057,
-0.0024888901971280575,
0.030564991757273674,
0.037973880767822266,
0.04809342697262764,
0.01382190827280283,
0.025784313678741455,
0.01077457144856453,
0.0029522061813622713,
0.012859249487519264,
-0.027233911678195,
0.0104056466370821,
0.029859190806746483,
-0.0070564341731369495,
0.0257733091711998,
0.03815692290663719,
-0.01505923643708229,
-0.006316799204796553,
0.04445857182145119,
0.01241482887417078,
-0.020696010440587997,
-0.10240792483091354,
-0.028192752972245216,
-0.026958124712109566,
-0.028702011331915855,
-0.03690909221768379,
-0.03286527469754219,
0.025204656645655632,
-0.02517923153936863,
-0.04910347983241081,
0.014349550940096378,
0.004940080922096968,
-0.002390380948781967,
-0.026016706600785255,
0.05852469429373741,
-0.017909476533532143,
-0.020994840189814568,
-0.02872522361576557,
-0.019602637737989426,
0.030262475833296776,
-0.008654467761516571,
0.010373970493674278,
-0.003686979180201888,
-0.05109793692827225,
0.05429425090551376,
-0.02781778946518898,
0.023793762549757957,
0.04349858686327934,
-0.014016714878380299,
0.010466539300978184,
0.014544055797159672,
0.0034102110657840967,
0.012173482216894627,
-0.036237381398677826,
-0.005372213199734688,
0.0159247238188982,
0.0017754473956301808,
-0.022415591403841972
] | pandas-divide-dataframes-unsupported-operand-type-str | https://markhneedham.com/blog/2021/04/08/pandas-divide-dataframes-unsupported-operand-type-str |
false | 2021-05-19 00:44:37 | jq: Select multiple keys | [
"jq"
] | [
"jq"
] | I recently started a new job, working for a FinTech company called Finbourne, who build a data platform for investment data.
It's an API first product that publishes a Swagger API JSON file that I've been trying to parse to get a list of the end points and their operation ids.
In this blog post I'll show how I've been parsing that file using https://stedolan.github.io/jq/manual/[jq^], my favourite tool for parsing JSON files.
Every LUSID user gets their own tenant/subdomain that has its own Swagger file.
We'll download my one by running the following command:
[source, bash]
----
wget https://markn.lusid.com/api/swagger/v0/swagger.json
----
This file has lots of stuff that we're not interested in, so let's clean it up.
We'll remove the parts of the file that we aren't interested in and write the rest to `swagger-clean.json`:
[source,bash]
----
cat swagger.json | \
jq 'del(.paths[] [] | .requestBody,.responses,.parameters,.security,.tags) |
del (.info,.servers)' \
> swagger-clean.json
----
And now let's have a look at what we've got left:
[source,bash]
----
cat swagger-clean.json | jq -r '.paths'
----
.Results
[source, json]
----
{
"/api/aggregation/$valuation": {
"post": {
"summary": "[BETA] Perform valuation for a list of portfolios and/or portfolio groups",
"description": "Perform valuation on specified list of portfolio and/or portfolio groups for a set of dates.",
"operationId": "GetValuation",
"x-fbn-apistatus": "Beta"
}
},
"/api/allocations": {
"get": {
"summary": "[EXPERIMENTAL] List Allocations",
"description": "Fetch the last pre-AsAt date version of each allocation in scope (does not fetch the entire history).",
"operationId": "ListAllocations",
"x-fbn-apistatus": "Experimental"
},
"post": {
"summary": "[EXPERIMENTAL] Upsert Allocations",
"description": "Upsert; update existing allocations with given ids, or create new allocations otherwise.",
"operationId": "UpsertAllocations",
"x-fbn-apistatus": "Experimental"
}
},
"/api/allocations/{scope}/{code}": {
"get": {
"summary": "[EXPERIMENTAL] Get Allocation",
"description": "Fetch an Allocation matching the provided identifier",
"operationId": "GetAllocation",
"x-fbn-apistatus": "Experimental"
},
"delete": {
"summary": "[EXPERIMENTAL] Delete allocation",
"description": "Delete an allocation. Deletion will be valid from the allocation's creation datetime.\r\nThis means that the allocation will no longer exist at any effective datetime from the asAt datetime of deletion.",
"operationId": "DeleteAllocation",
"x-fbn-apistatus": "Experimental"
}
},
...
}
----
It's a nested structure, keyed by endpoint URIs, which can then support multiple HTTP verbs.
So given this subset of the file, we want to extract the URI, `summary`, and `operationId` for each endpoint.
The first slightly tricky thing is getting hold of the URIs.
If we use the `paths[]` selector to get an array of paths, we lose the URI, as shown below:
[source, bash]
----
cat swagger-clean.json | jq -r '.paths[]'
----
.Results
[source, json]
----
{
"post": {
"summary": "[BETA] Perform valuation for a list of portfolios and/or portfolio groups",
"description": "Perform valuation on specified list of portfolio and/or portfolio groups for a set of dates.",
"operationId": "GetValuation",
"x-fbn-apistatus": "Beta"
}
}
{
"get": {
"summary": "[EXPERIMENTAL] List Allocations",
"description": "Fetch the last pre-AsAt date version of each allocation in scope (does not fetch the entire history).",
"operationId": "ListAllocations",
"x-fbn-apistatus": "Experimental"
},
"post": {
"summary": "[EXPERIMENTAL] Upsert Allocations",
"description": "Upsert; update existing allocations with given ids, or create new allocations otherwise.",
"operationId": "UpsertAllocations",
"x-fbn-apistatus": "Experimental"
}
}
{
"get": {
"summary": "[EXPERIMENTAL] Get Allocation",
"description": "Fetch an Allocation matching the provided identifier",
"operationId": "GetAllocation",
"x-fbn-apistatus": "Experimental"
},
"delete": {
"summary": "[EXPERIMENTAL] Delete allocation",
"description": "Delete an allocation. Deletion will be valid from the allocation's creation datetime.\r\nThis means that the allocation will no longer exist at any effective datetime from the asAt datetime of deletion.",
"operationId": "DeleteAllocation",
"x-fbn-apistatus": "Experimental"
}
}
----
Luckily we can access the URI using the `keys` function in combination with the `.paths` selector (instead of `.paths[]`):
[source, bash]
----
cat swagger-clean.json | jq -r '.paths | keys[]'
----
.Results
[source, json]
----
"/api/aggregation/$valuation",
"/api/allocations",
"/api/allocations/{scope}/{code}",
----
We can then alias the keys and drill down into each one.
So if we want to extract the `operationId` and `summary` for `post` requests, we can do it like this:
[source, bash]
----
cat swagger-clean.json | jq -r '.paths | keys[] as $k | [$k, (.[$k] .post.operationId), (.[$k] .post.summary)]'
----
.Results
[source, json]
----
[
"/api/aggregation/$valuation",
"GetValuation",
"[BETA] Perform valuation for a list of portfolios and/or portfolio groups"
]
[
"/api/allocations",
"UpsertAllocations",
"[EXPERIMENTAL] Upsert Allocations"
]
[
"/api/calendars/businessday/{scope}/{code}",
null,
null
]
----
That works to some extent, but it doesn't work if the key is `get` or `delete`.
So it turns out that we want to get all of the keys, which we can do using the `keys` function again!
This leaves us with the following nested query:
[source, bash]
----
cat swagger-clean.json | jq -r '.paths | keys[] as $k | [
(.[$k] |
keys[] as $k1 |
[$k, $k1, .[$k1].operationId, .[$k1].summary]
)
]'
----
.Results
[source, json]
----
[
[
"/api/aggregation/$valuation",
"post",
"GetValuation",
"[BETA] Perform valuation for a list of portfolios and/or portfolio groups"
]
]
[
[
"/api/allocations",
"get",
"ListAllocations",
"[EXPERIMENTAL] List Allocations"
],
[
"/api/allocations",
"post",
"UpsertAllocations",
"[EXPERIMENTAL] Upsert Allocations"
]
]
[
[
"/api/allocations/{scope}/{code}",
"delete",
"DeleteAllocation",
"[EXPERIMENTAL] Delete allocation"
],
[
"/api/allocations/{scope}/{code}",
"get",
"GetAllocation",
"[EXPERIMENTAL] Get Allocation"
]
]
----
And then to flatten it out into single arrays instead of nested ones, we can pipe the result through the `.[]` selector:
[source, bash]
----
cat swagger-clean.json | jq -r '.paths | keys[] as $k | [
(.[$k] |
keys[] as $k1 |
[$k, $k1, .[$k1].operationId, .[$k1].summary]
)
] | .[]'
----
.Results
[source, json]
----
[
"/api/aggregation/$valuation",
"post",
"GetValuation",
"[BETA] Perform valuation for a list of portfolios and/or portfolio groups"
]
[
"/api/allocations",
"get",
"ListAllocations",
"[EXPERIMENTAL] List Allocations"
]
[
"/api/allocations",
"post",
"UpsertAllocations",
"[EXPERIMENTAL] Upsert Allocations"
]
[
"/api/allocations/{scope}/{code}",
"delete",
"DeleteAllocation",
"[EXPERIMENTAL] Delete allocation"
]
[
"/api/allocations/{scope}/{code}",
"get",
"GetAllocation",
"[EXPERIMENTAL] Get Allocation"
]
----
And then if we want to go one step further, we could even convert that all into a CSV file using the `@csv` operator:
[source, bash]
----
cat swagger-clean.json | jq -r '.paths | keys[] as $k | [
(.[$k] |
keys[] as $k1 |
[$k, $k1, .[$k1].operationId, .[$k1].summary]
)
] | .[] | @csv'
----
.Results
[format="csv", cols="45,5,20,30"]
|===
"/api/aggregation/$valuation","post","GetValuation","[BETA] Perform valuation for a list of portfolios and/or portfolio groups"
"/api/aggregation/$valuationinlined","post","GetValuationOfWeightedInstruments","[BETA] Perform valuation for an inlined portfolio"
"/api/aggregation/{scope}/{code}/$generateconfigurationrecipe","post","GenerateConfigurationRecipe","[EXPERIMENTAL] Generates a recipe sufficient to perform valuations for the given portfolio."
"/api/allocations","get","ListAllocations","[EXPERIMENTAL] List Allocations"
"/api/allocations","post","UpsertAllocations","[EXPERIMENTAL] Upsert Allocations"
"/api/allocations/{scope}/{code}","delete","DeleteAllocation","[EXPERIMENTAL] Delete allocation"
"/api/allocations/{scope}/{code}","get","GetAllocation","[EXPERIMENTAL] Get Allocation"
"/api/calendars/businessday/{scope}/{code}","get","IsBusinessDateTime","[EXPERIMENTAL] Check whether a DateTime is a ""Business DateTime"""
"/api/calendars/generic","get","ListCalendars","[EXPERIMENTAL] List Calenders"
"/api/calendars/generic","post","CreateCalendar","[EXPERIMENTAL] Create a calendar in its generic form"
|===
Job done and jq to the rescue again! | In this post we'll learn how to extract multiple keys from a Swagger JSON file using the jq JSON processing library. | null | [
-0.0026363953948020935,
-0.03298649936914444,
0.0026075257919728756,
0.041152406483888626,
0.0639602392911911,
0.007582033518701792,
0.00198516552336514,
0.04997049644589424,
0.018082231283187866,
0.003995697479695082,
-0.028982510790228844,
0.0053128888830542564,
-0.05869532376527786,
-0.0009801433188840747,
-0.012467410415410995,
0.06465659290552139,
0.05522532016038895,
-0.010266749188303947,
0.028730206191539764,
-0.005232176743447781,
0.03304734081029892,
0.05987492948770523,
0.008355950936675072,
0.014809138141572475,
0.04888362064957619,
0.0004379096790216863,
0.018787993118166924,
0.003161587519571185,
-0.05694663152098656,
0.013963170349597931,
0.005902539938688278,
-0.002099387114867568,
-0.015446390025317669,
-0.01409698836505413,
0.00980363693088293,
0.01714268885552883,
-0.016851866617798805,
0.01638738438487053,
-0.0016215447103604674,
0.037055399268865585,
-0.04469096288084984,
0.024272184818983078,
-0.03101441264152527,
0.026846716180443764,
-0.03439417853951454,
-0.006247341632843018,
-0.03457011282444,
0.020948752760887146,
-0.01687726005911827,
-0.014226540923118591,
-0.05011759698390961,
0.012936544604599476,
-0.05202542617917061,
-0.0375281497836113,
0.015193140134215355,
0.05969606712460518,
0.004599506501108408,
-0.09224558621644974,
0.029147392138838768,
-0.03171548247337341,
0.01762647181749344,
-0.052346184849739075,
0.01816924288868904,
0.055700358003377914,
0.036961160600185394,
-0.02928374893963337,
0.0008013376500457525,
0.043512869626283646,
-0.035700373351573944,
-0.01362049300223589,
0.009275924414396286,
0.022684095427393913,
-0.02135823480784893,
-4.850413688473054e-7,
0.015583056956529617,
-0.04296031594276428,
0.012723405845463276,
0.08300094306468964,
-0.014510951936244965,
0.048421710729599,
-0.025781966745853424,
0.0159025676548481,
-0.0026368822436779737,
0.034096069633960724,
-0.014121107757091522,
-0.04632100090384483,
-0.03439690172672272,
0.00927682500332594,
-0.05269940197467804,
0.03247874230146408,
0.05978376418352127,
-0.03177955746650696,
0.0002966001338791102,
0.021961472928524017,
-0.01708359085023403,
-0.0016640130197629333,
0.0008263360359705985,
0.02136080712080002,
-0.03149888664484024,
-0.015095400623977184,
-0.055414941161870956,
0.026935799047350883,
0.010119344107806683,
0.005991208832710981,
-0.05628271773457527,
-0.02852874994277954,
-0.009740893729031086,
-0.02102082222700119,
0.007456328719854355,
0.0011688891099765897,
-0.001329550170339644,
0.019338134676218033,
-0.022766463458538055,
0.020993920043110847,
-0.04514352232217789,
0.062096647918224335,
0.02305297739803791,
-0.0562896691262722,
-0.01119494903832674,
0.02425932139158249,
0.06426968425512314,
0.02284371852874756,
-0.013583021238446236,
0.0724264457821846,
0.012966373935341835,
0.005533094517886639,
-0.00918834563344717,
0.04194580018520355,
-0.00808095745742321,
-0.05211145430803299,
-0.014041143469512463,
0.028034335002303123,
-0.03550869598984718,
0.026502545922994614,
-0.0014649444492533803,
-0.03713269531726837,
0.0004456994647625834,
-0.00506755942478776,
0.082112155854702,
0.009907349944114685,
-0.018999246880412102,
-0.043627556413412094,
-0.010154196992516518,
-0.0130807189270854,
0.04393824189901352,
0.022084370255470276,
-0.00013324274914339185,
-0.040202975273132324,
-0.04193009436130524,
0.03168841451406479,
0.012202746234834194,
-0.00011342230573063716,
0.04917201027274132,
-0.02391490526497364,
0.02066286839544773,
0.07701792567968369,
0.05112260580062866,
0.01759197935461998,
-0.006977730896323919,
0.004246971569955349,
0.030341630801558495,
0.048995714634656906,
0.011505858972668648,
0.03509273752570152,
-0.018969234079122543,
-0.03622881695628166,
0.027219124138355255,
0.03684496134519577,
-0.020745722576975822,
0.0006615846650674939,
-0.06046527996659279,
-0.05652150511741638,
0.07172629982233047,
-0.028585810214281082,
-0.005506910849362612,
0.05189850553870201,
0.07967660576105118,
0.03588669374585152,
0.03462683781981468,
0.028744732961058617,
-0.06451113522052765,
0.06871254742145538,
0.054703425616025925,
0.0171587485820055,
0.0467565655708313,
0.01769453100860119,
0.07843411713838577,
0.032765183597803116,
-0.00967815425246954,
0.020162800326943398,
-0.07054191082715988,
-0.08885450661182404,
-0.05586075410246849,
-0.004089671652764082,
0.029822587966918945,
-0.023946339264512062,
0.027733590453863144,
0.0848161056637764,
-0.005343977827578783,
0.048905618488788605,
-0.011669539846479893,
-0.014960343949496746,
0.03029368631541729,
-0.054878491908311844,
-0.059327900409698486,
0.04069437086582184,
0.034279678016901016,
-0.009140722453594208,
-0.0005977131659165025,
0.005786089226603508,
-0.05136381462216377,
-0.0261392705142498,
0.03913035988807678,
-0.04610975831747055,
0.04088209569454193,
0.001072772778570652,
0.037638213485479355,
-0.02881603129208088,
0.020194027572870255,
-0.04657258093357086,
0.06630689650774002,
0.020003464072942734,
-0.018348654732108116,
-0.03216898813843727,
0.000004958254521625349,
0.11339423805475235,
0.057481613010168076,
-0.006601065397262573,
-0.06132989749312401,
0.03988545387983322,
0.013916882686316967,
-0.04408993199467659,
-0.01897941343486309,
-0.047465384006500244,
-0.023414794355630875,
0.006484342738986015,
-0.05930064246058464,
-0.015892552211880684,
-0.00009359316027257591,
-0.026963381096720695,
-0.0053776768036186695,
0.043901797384023666,
-0.0034907315857708454,
0.04334091767668724,
0.04180631414055824,
-0.020052818581461906,
-0.009512239135801792,
-0.03897399827837944,
-0.07059717178344727,
0.0005805572727695107,
-0.008362196385860443,
-0.00258399429731071,
0.02819322608411312,
-0.03763097897171974,
-0.02613435685634613,
-0.001792211434803903,
-0.050797294825315475,
0.05822136625647545,
0.03314141556620598,
0.05498720705509186,
-0.029971463605761528,
0.05244682356715202,
-0.025705451145768166,
0.02754039131104946,
-0.0038681160658597946,
-0.028831632807850838,
-0.024271123111248016,
-0.0051138331182301044,
0.015936393290758133,
0.0457339771091938,
0.026754582300782204,
0.029076211154460907,
-0.010054551064968109,
0.023090539500117302,
-0.001297960989177227,
-0.015593517571687698,
0.032562777400016785,
-0.005373092368245125,
-0.002579011023044586,
-0.03094739280641079,
-0.006012576632201672,
0.04293545335531235,
-0.06064126268029213,
-0.018392439931631088,
0.01341899111866951,
-0.09446750581264496,
0.05193585529923439,
-0.03791855648159981,
-0.037460166960954666,
-0.025362428277730942,
0.015467566438019276,
0.04036171734333038,
-0.0012406030436977744,
0.013775096274912357,
0.06159096956253052,
0.025843877345323563,
0.0019161569653078914,
0.0201724860817194,
0.0016828099032863975,
0.053641464561223984,
-0.0045783184468746185,
-0.006716047413647175,
0.0645248219370842,
-0.00665875431150198,
0.008676116354763508,
-0.04887520149350166,
0.013225512579083443,
-0.034416113048791885,
-0.2908836305141449,
0.03218575939536095,
-0.009023517370223999,
-0.027992893010377884,
0.025722775608301163,
-0.014957614243030548,
-0.004061914514750242,
-0.04344015195965767,
0.003596568712964654,
0.013234877027571201,
-0.0040347278118133545,
-0.053996600210666656,
0.0035021789371967316,
0.03404438868165016,
-0.0001468084374209866,
0.0181950181722641,
0.019940124824643135,
-0.031071489676833153,
0.045664478093385696,
0.01191264484077692,
-0.019137436524033546,
-0.07816600054502487,
-0.003246556269004941,
0.06641636788845062,
0.033990584313869476,
0.04625917971134186,
-0.06369470804929733,
0.04563762992620468,
-0.050088778138160706,
-0.023714428767561913,
0.01609068550169468,
-0.013304933905601501,
0.023727258667349815,
-0.01674279384315014,
-0.01539405807852745,
-0.040088098496198654,
0.039802826941013336,
0.005290267523378134,
0.03426886722445488,
0.029930846765637398,
-0.009913106448948383,
-0.01934882253408432,
-0.026510799303650856,
0.007123083341866732,
0.0906844288110733,
-0.018112948164343834,
-0.06643180549144745,
-0.019025374203920364,
-0.0471990741789341,
0.07261945307254791,
-0.0014696532161906362,
-0.05251912772655487,
-0.04660480469465256,
0.017377657815814018,
-0.020195838063955307,
-0.01873292587697506,
-0.004261322319507599,
-0.01840023137629032,
-0.04833307862281799,
-0.01464946661144495,
-0.0017948909662663937,
-0.021293511614203453,
0.0001214610310853459,
-0.038952045142650604,
-0.03358883410692215,
-0.07118389755487442,
-0.05263626575469971,
-0.027483541518449783,
0.057643990963697433,
0.01362746674567461,
-0.043315544724464417,
0.02300582453608513,
0.0033749633003026247,
-0.111001156270504,
0.004087470937520266,
-0.034267131239175797,
-0.023128848522901535,
0.019654102623462677,
0.0015606513479724526,
0.02432110533118248,
-0.03544379398226738,
-0.038494884967803955,
0.03997082635760307,
0.0010820305906236172,
0.021350575610995293,
-0.03041461482644081,
0.03885543346405029,
-0.008848737925291061,
-0.003881546203047037,
-0.014028416015207767,
0.05344812944531441,
-0.016678666695952415,
-0.01664256490767002,
-0.01693817786872387,
0.0015431905630975962,
0.019423512741923332,
-0.005391615442931652,
-0.01413823664188385,
-0.007922589778900146,
0.05305113270878792,
0.044572778046131134,
-0.04295757785439491,
-0.005778292194008827,
-0.029506687074899673,
-0.0024802738334983587,
-0.019000977277755737,
-0.0419650599360466,
0.005444114096462727,
0.01753348670899868,
0.030450988560914993,
0.005093613173812628,
-0.04522278159856796,
-0.0035839383490383625,
-0.04877299442887306,
0.004561463836580515,
-0.013431220315396786,
-0.016656644642353058,
0.030459467321634293,
0.03776104003190994,
-0.018470847979187965,
-0.06305950880050659,
0.0036409753374755383,
0.023572169244289398,
-0.04038926959037781,
-0.058503713458776474,
-0.0638757199048996,
-0.012024148367345333,
0.025028137490153313,
-0.007073637563735247,
0.01911337487399578,
-0.0014179046265780926,
0.016828356310725212,
-0.0019708513282239437,
-0.04483714699745178,
0.020355485379695892,
-0.0326533243060112,
-0.02753428742289543,
-0.024274056777358055,
0.017674937844276428,
0.010485656559467316,
-0.01573021337389946,
-0.005065480712801218,
0.010186566971242428,
0.05429678037762642,
0.019937779754400253,
0.009168402291834354,
0.030426383018493652,
-0.01618707738816738,
0.015517002902925014,
-0.009589984081685543,
-0.012257453985512257,
-0.04781942814588547,
-0.008462511003017426,
-0.035451363772153854,
-0.006303997710347176,
-0.02718108333647251,
0.02907993085682392,
-0.006192628759890795,
-0.04705201834440231,
-0.051625315099954605,
0.018687963485717773,
-0.04757753759622574,
-0.0360664501786232,
-0.022124404087662697,
-0.009905494749546051,
0.017824791371822357,
-0.01354304887354374,
0.017360325902700424,
-0.012320548295974731,
-0.006293851882219315,
-0.010094497352838516,
0.015286538749933243,
-0.006060397252440453,
-0.013447722420096397,
-0.010942023247480392,
0.004859019536525011,
0.035391420125961304,
0.027730843052268028,
0.04264499992132187,
-0.0005493942298926413,
-0.007618641946464777,
-0.024837112054228783,
0.024406258016824722,
0.023473870009183884,
0.03845788910984993,
0.06281287223100662,
-0.007611318491399288,
-0.005116088781505823,
-0.03891831636428833,
-0.022622153162956238,
-0.046463493257761,
-0.014028715901076794,
-0.006399530451744795,
0.003818393452093005,
0.0023737295996397734,
-0.07522101700305939,
0.04801260307431221,
0.04074351117014885,
0.01283471379429102,
0.01497475616633892,
-0.020173214375972748,
0.020758580416440964,
-0.013678853400051594,
0.013406897895038128,
0.034491974860429764,
-0.047526780515909195,
-0.025646837428212166,
0.011217924766242504,
-0.007614721544086933,
-0.0055435714311897755,
0.011951696127653122,
-0.0670403465628624,
-0.006660354323685169,
-0.03536349907517433,
0.004292443860322237,
-0.05656341090798378,
-0.018511906266212463,
-0.017271937802433968,
-0.010825997218489647,
-0.0007066274411045015,
0.010673717595636845,
-0.00921345129609108,
0.012548725120723248,
-0.012069974094629288,
-0.007257609162479639,
0.030538419261574745,
-0.036988068372011185,
0.006899130996316671,
0.01027915719896555,
-0.014427774585783482,
0.012028707191348076,
-0.05801196023821831,
0.028440698981285095,
0.007857766933739185,
-0.023019172251224518,
0.023473333567380905,
-0.06891658157110214,
-0.007561579812318087,
-0.0057591889053583145,
0.04844934120774269,
-0.016703059896826744,
-0.013610832393169403,
-0.006185163278132677,
0.007500903215259314,
-0.02874583564698696,
-0.01306923571974039,
-0.020160304382443428,
-0.015122530050575733,
0.0308860931545496,
0.058378301560878754,
0.004876646678894758,
0.0397149920463562,
-0.01910245791077614,
-0.033013977110385895,
0.06272947043180466,
-0.039275843650102615,
-0.019107917323708534,
-0.031010586768388748,
-0.07215317338705063,
0.03794826194643974,
0.03338170051574707,
0.04295038431882858,
-0.07285179942846298,
0.07146593928337097,
0.03995363041758537,
0.04276299476623535,
0.04746212810277939,
-0.005421530921012163,
0.04084295406937599,
-0.01949498988687992,
-0.02003397047519684,
-0.09133993089199066,
0.007301746867597103,
0.050178103148937225,
-0.02946416474878788,
-0.012116302736103535,
0.022660521790385246,
-0.05780180171132088,
0.04043053463101387,
-0.05445530638098717,
-0.04093346372246742,
0.06346527487039566,
-0.026021182537078857,
-0.035514265298843384,
0.00004858178363065235,
-0.059083376079797745,
0.013467653654515743,
0.051652200520038605,
-0.045058928430080414,
0.02078484185039997,
-0.028708960860967636,
0.07529859244823456,
-0.017102940008044243,
0.013059361837804317,
-0.03394012898206711,
-0.03277705982327461,
0.07583178579807281,
0.00026811097632162273,
-0.0048058535903692245,
0.054777562618255615,
-0.03889596089720726,
0.011887271888554096,
-0.001956072635948658,
-0.02118188701570034,
0.027967985719442368,
0.02416934445500374,
-0.0003145952650811523,
-0.032395750284194946,
0.02574988640844822,
0.010778591968119144,
-0.04903366416692734,
-0.0206574909389019,
0.07430606335401535,
0.024524271488189697,
-0.02861551009118557,
-0.08367886394262314,
-0.0021475469693541527,
-0.03491911664605141,
-0.03570690006017685,
-0.016955262050032616,
0.012120520696043968,
-0.025521256029605865,
0.06141505017876625,
-0.01627146266400814,
0.02300376258790493,
0.06969112902879715,
0.0126839280128479,
0.006852705962955952,
0.017220793291926384,
0.059993211179971695,
0.08240386843681335,
0.025210566818714142,
0.0015911369118839502,
0.05119643732905388,
-0.01775212585926056,
-0.031697653234004974,
0.00667920894920826,
-0.026760537177324295,
-0.0038658054545521736,
0.011693672277033329,
-0.0034324671141803265,
0.08157878369092941,
0.016534866765141487,
0.06398489326238632,
-0.030354222282767296,
-0.038105156272649765,
-0.016258496791124344,
0.02337685413658619,
0.04474787414073944,
0.044784944504499435,
-0.008777637965977192,
0.027292558923363686,
-0.0017355119343847036,
-0.06849408894777298,
0.05412627011537552,
-0.015645667910575867,
-0.03130551055073738,
0.03149375319480896,
-0.018939252942800522,
0.018826792016625404,
0.012955171056091785,
0.05461609363555908,
0.058249011635780334,
-0.015204351395368576,
-0.004672383889555931,
-0.015839241445064545,
0.03688083216547966,
0.007125162053853273,
0.020479664206504822,
-0.013847820460796356,
-0.012013386934995651,
0.01365346647799015,
-0.04106453061103821,
-0.007676445879042149,
-0.010516542010009289,
-0.027963699772953987,
0.04593714699149132,
-0.016829052940011024,
0.030652839690446854,
0.014018094167113304,
0.026944303885102272,
-0.02036879025399685,
-0.05334971472620964,
-0.06973187625408173,
-0.029850050806999207,
-0.06007999926805496,
-0.011611570604145527,
0.00557137094438076,
0.036779314279556274,
-0.0001504452811786905,
-0.026784684509038925,
-0.008917747996747494,
0.009112613275647163,
0.06386968493461609,
-0.04369468241930008,
-0.028905564919114113,
0.018451126292347908,
0.013958063907921314,
0.005688995588570833,
0.00898374430835247,
0.02737901173532009,
0.02469075657427311,
-0.013105064630508423,
-0.016090603545308113,
0.020801249891519547,
0.051521893590688705,
0.03951311856508255,
0.002912308322265744,
-0.04812144488096237,
0.015952877700328827,
0.017426906153559685,
0.0021564983762800694,
-0.06642196327447891,
0.02036339044570923,
0.02420010045170784,
-0.027461659163236618,
0.05292634293437004,
-0.008611287921667099,
0.015776466578245163,
-0.021938906982541084,
-0.06461969763040543,
0.003396462881937623,
0.0062849996611475945,
0.024642523378133774,
-0.005275154486298561,
0.08942563086748123,
0.029949288815259933,
-0.006577462423592806,
-0.027519887313246727,
-0.004334477242082357,
-0.019091757014393806,
0.012564118951559067,
-0.023790759965777397,
-0.03917047753930092,
-0.025593234226107597,
-0.06343875080347061,
-0.04992686212062836,
-0.008512630127370358,
-0.0493159182369709,
-0.04047038033604622,
0.020139629021286964,
0.0028965394012629986,
-0.041467491537332535,
-0.011036952026188374,
-0.03576550632715225,
0.02322273887693882,
-0.0085139200091362,
-0.012043670751154423,
-0.03141375631093979,
0.022766079753637314,
0.008036196231842041,
-0.005655198357999325,
0.020064495503902435,
-0.02969696931540966,
-0.013377192430198193,
0.0013156062923371792,
0.026951277628540993,
0.06822483241558075,
-0.02721245586872101,
-0.004623856861144304
] | [
-0.07973058521747589,
-0.023918339982628822,
-0.04563579335808754,
-0.0318775400519371,
0.08337406814098358,
-0.06646305322647095,
-0.017942747101187706,
0.007640514988452196,
-0.021429546177387238,
-0.03278817981481552,
0.010424574837088585,
-0.04666366055607796,
0.010367372073233128,
-0.0004611345939338207,
0.08952657133340836,
0.00564092630520463,
0.01601058803498745,
-0.08250577747821808,
-0.03776242956519127,
0.02714110165834427,
0.024893760681152344,
-0.00730496272444725,
-0.031711645424366,
-0.02538973279297352,
0.004098625387996435,
0.057744696736335754,
0.02417026087641716,
0.0014767738757655025,
-0.01790107972919941,
-0.17903545498847961,
0.01511012576520443,
-0.02730659767985344,
0.02221478708088398,
0.006049117539077997,
0.0036241826601326466,
0.05363736301660538,
-0.004725267179310322,
0.02013969048857689,
0.004140411503612995,
0.047911982983350754,
0.06039735674858093,
0.019102230668067932,
-0.05423338711261749,
-0.029492361471056938,
0.03638806566596031,
-0.030529117211699486,
-0.029705097898840904,
-0.0031096150632947683,
-0.005317356903105974,
0.014840199612081051,
-0.06917344033718109,
-0.01671784557402134,
0.0027908971533179283,
-0.032821450382471085,
0.0008285153307951987,
0.02085457183420658,
0.03551463410258293,
0.08814584463834763,
-0.0016985536785796285,
0.03816267475485802,
0.021863766014575958,
-0.022007882595062256,
-0.12062084674835205,
0.0897185429930687,
0.017378050833940506,
0.05331606790423393,
-0.03779168426990509,
-0.021753452718257904,
-0.02190842479467392,
0.06815484911203384,
0.02168825827538967,
-0.04445653781294823,
-0.024917863309383392,
0.04770767688751221,
0.017092976719141006,
-0.007433025632053614,
0.014068632386624813,
0.042522501200437546,
0.042581625282764435,
-0.028423991054296494,
-0.061543580144643784,
-0.004941222723573446,
-0.03631577268242836,
-0.013018298894166946,
-0.029843498021364212,
0.006816990673542023,
-0.00271346396766603,
0.06733091175556183,
0.04754933714866638,
0.021367130801081657,
0.04975852742791176,
-0.011887805536389351,
0.04399106651544571,
0.0067231906577944756,
-0.1169927641749382,
-0.026714101433753967,
0.002445196034386754,
0.03841755539178848,
-0.04105866327881813,
0.4416809678077698,
0.005866699852049351,
-0.048782337456941605,
0.0489397868514061,
-0.0027214372530579567,
0.020532717928290367,
0.017272818833589554,
-0.010554824024438858,
-0.03252963721752167,
0.04799959063529968,
-0.03050386533141136,
0.014830293133854866,
0.02436250075697899,
0.019123496487736702,
-0.06725311279296875,
0.00228170701302588,
0.0039032839704304934,
0.0013533586170524359,
0.02627861313521862,
-0.04444420710206032,
-0.018576180562376976,
-0.005550439935177565,
-0.0006661937804892659,
0.030104031786322594,
0.03457663208246231,
-0.0116322236135602,
-0.013505388982594013,
0.05842406675219536,
0.02772030606865883,
0.03052067570388317,
0.05169196054339409,
0.025236450135707855,
-0.04240849241614342,
-0.06896018236875534,
-0.023383742198348045,
-0.012417693622410297,
0.01637413166463375,
0.023829936981201172,
-0.03535368666052818,
-0.016408326104283333,
0.06267702579498291,
-0.022000648081302643,
-0.03831416741013527,
0.0026302069891244173,
-0.011520345695316792,
-0.025903670117259026,
0.10333169996738434,
0.024789243936538696,
-0.03032628633081913,
-0.018391992896795273,
-0.05776968598365784,
-0.027921628206968307,
0.05237055569887161,
0.0377233549952507,
-0.04880967363715172,
0.013251337222754955,
0.02982870303094387,
0.07859525829553604,
-0.021298207342624664,
-0.053416673094034195,
0.0026182811707258224,
-0.018221629783511162,
-0.0680282860994339,
-0.037316035479307175,
0.043996114283800125,
0.02657073736190796,
-0.11344674229621887,
-0.016003821045160294,
0.02162300795316696,
0.021174924448132515,
-0.047004930675029755,
-0.004191630985587835,
0.01834128051996231,
-0.03481974080204964,
-0.009812572039663792,
0.03279572352766991,
-0.02234829217195511,
-0.02460317313671112,
0.034689661115407944,
0.01458185538649559,
-0.0017002407694235444,
-0.059183068573474884,
0.0009843173902481794,
-0.0484883189201355,
0.0010043095098808408,
-0.04881120100617409,
-0.06900230795145035,
-0.05145193636417389,
0.011440202593803406,
-0.03647574782371521,
-0.021986646577715874,
-0.025964178144931793,
0.015663491562008858,
-0.07323983311653137,
0.05993164703249931,
-0.016534898430109024,
-0.008973721414804459,
-0.0079320864751935,
0.028949391096830368,
-0.018376938998699188,
-0.026871709153056145,
0.0220243688672781,
0.05133482441306114,
-0.0034164057578891516,
0.04133528470993042,
-0.05711613968014717,
0.0485747754573822,
0.0378289595246315,
-0.022836094722151756,
0.07329080253839493,
0.03380187973380089,
-0.024889931082725525,
-0.00902737956494093,
-0.0008774610469117761,
0.019146425649523735,
-0.01925462670624256,
-0.013286367058753967,
0.006264371331781149,
-0.01638132706284523,
0.01972806267440319,
0.02820580080151558,
-0.04576046019792557,
-0.006200126372277737,
0.004627035465091467,
-0.34970763325691223,
-0.03920762240886688,
-0.05091259628534317,
-0.0005718489992432296,
0.00249286531470716,
-0.06650573760271072,
0.013677438721060753,
-0.012306914664804935,
-0.006256639491766691,
0.044463347643613815,
0.09941409528255463,
-0.030239690095186234,
0.016835717484354973,
-0.06942307949066162,
-0.004307206720113754,
0.04154958203434944,
-0.04015245661139488,
-0.015801774337887764,
-0.01920715905725956,
0.04849882051348686,
0.017880065366625786,
-0.027825310826301575,
-0.042589347809553146,
-0.017601530998945236,
0.004421974532306194,
-0.014042641967535019,
0.10837361216545105,
0.027816465124487877,
0.046372007578611374,
-0.06679844111204147,
0.05716213211417198,
-0.008769380860030651,
0.014011627063155174,
-0.08455369621515274,
-0.016667388379573822,
-0.02686474472284317,
0.010436036624014378,
-0.010225227102637291,
0.019105765968561172,
-0.011344699189066887,
-0.05602645128965378,
0.017070475965738297,
-0.035032667219638824,
-0.035678524523973465,
-0.025197835639119148,
0.00732282642275095,
-0.053024936467409134,
-0.015463614836335182,
-0.035072099417448044,
0.07461278885602951,
0.028382165357470512,
0.008970124647021294,
0.033466897904872894,
0.03372609615325928,
0.008294902741909027,
-0.02220848947763443,
-0.060441579669713974,
-0.005174783989787102,
0.013052829541265965,
-0.02794843353331089,
0.01615981012582779,
0.06739499419927597,
0.028553536161780357,
-0.03655628114938736,
0.008737598545849323,
-0.04079375043511391,
-0.014476009644567966,
0.01764637604355812,
0.03017294965684414,
-0.0505320243537426,
-0.04244065657258034,
0.06528045237064362,
0.0127848070114851,
0.01515430398285389,
-0.009355282410979271,
0.05200972408056259,
-0.03849274292588234,
-0.0041944654658436775,
-0.0014699072344228625,
0.001330354600213468,
0.05495614930987358,
0.02073710970580578,
0.03727167099714279,
-0.035709962248802185,
-0.0035235860850661993,
0.07149707525968552,
-0.004346713423728943,
-0.03277355805039406,
0.07612119615077972,
0.010155378840863705,
-0.01187928020954132,
-0.02127288095653057,
-0.021168796345591545,
-0.053173765540122986,
0.07491357624530792,
-0.007580152712762356,
-0.26230695843696594,
0.01722661219537258,
0.05120797082781792,
0.05787792429327965,
-0.0004990592715330422,
0.0191847812384367,
0.04173785448074341,
-0.05530302971601486,
0.00992600992321968,
0.04381616786122322,
0.021542925387620926,
0.06765066087245941,
-0.010139924474060535,
-0.03475533798336983,
0.051084600389003754,
-0.0019150808220729232,
0.019564542919397354,
0.008247713558375835,
0.02812117524445057,
0.013261915184557438,
-0.008683097548782825,
-0.02797125093638897,
0.17951473593711853,
0.026399580761790276,
0.0018751976313069463,
0.037658680230379105,
0.007373549044132233,
0.029152194038033485,
0.08209887892007828,
0.015512138605117798,
0.028817206621170044,
0.00037996433093212545,
0.03360854089260101,
0.03855244070291519,
0.018608735874295235,
-0.06019359827041626,
-0.014501938596367836,
0.028662236407399178,
-0.00440638791769743,
-0.010606388561427593,
0.002769163344055414,
0.015324885956943035,
-0.02008301392197609,
0.044076088815927505,
0.07706520706415176,
-0.020524954423308372,
0.0004967827699147165,
-0.03059714287519455,
-0.04102335870265961,
-0.008470063097774982,
-0.05819426104426384,
-0.057295508682727814,
-0.0159151554107666,
-0.005513525102287531,
-0.004761966876685619,
0.0707634687423706,
0.03983187675476074,
-0.014958011917769909,
0.008756877854466438,
-0.011519395746290684,
-0.02973291091620922,
-0.01661452278494835,
0.07529231905937195,
-0.002449179068207741,
0.029473045840859413
] | [
-0.012976386584341526,
0.049415819346904755,
-0.025114180520176888,
0.014044771902263165,
0.002622543601319194,
-0.02691441960632801,
-0.023008830845355988,
0.02399532124400139,
-0.00638682022690773,
-0.025942983105778694,
0.024308305233716965,
0.0026021001394838095,
0.01334895845502615,
-0.017574632540345192,
0.035584378987550735,
-0.016290977597236633,
-0.01727796532213688,
0.00504818931221962,
0.030116282403469086,
-0.0098022585734725,
0.027992114424705505,
0.03999236226081848,
-0.03399800881743431,
-0.008196750655770302,
0.0033423604909330606,
0.012790297158062458,
-0.03572631999850273,
0.01694362796843052,
0.0022327424958348274,
-0.10257092863321304,
-0.011285997927188873,
-0.009481942281126976,
-0.0008833101601339877,
0.005802202969789505,
0.033897802233695984,
0.026185348629951477,
0.010522119700908661,
-0.03595365211367607,
0.024262014776468277,
0.016718989238142967,
0.005089357029646635,
-0.034721747040748596,
-0.019110525026917458,
-0.050763972103595734,
0.005905882455408573,
-0.043982651084661484,
-0.012506011873483658,
-0.02084830217063427,
-0.015206939540803432,
0.032731521874666214,
-0.04610361531376839,
-0.005049883387982845,
0.01986268348991871,
0.01295828353613615,
-0.00281234341673553,
0.012314599938690662,
-0.0383063480257988,
0.012908088974654675,
-0.030572164803743362,
-0.03381580486893654,
0.02900363691151142,
-0.012347931042313576,
-0.030312759801745415,
-0.028389034792780876,
-0.02477075159549713,
-0.03473692014813423,
-0.024294927716255188,
0.003536778036504984,
-0.008746384643018246,
-0.016596324741840363,
0.02685500681400299,
-0.01667863130569458,
-0.052759986370801926,
-0.04242219030857086,
-0.016176240518689156,
0.007387850899249315,
0.019685374572873116,
-0.017412085086107254,
0.003520574187859893,
-0.00720885768532753,
-0.0034177047200500965,
-0.0035453345626592636,
0.01115814596414566,
0.027450673282146454,
-0.026453133672475815,
0.0019775505643337965,
0.01220152247697115,
0.012421637773513794,
0.03360985219478607,
-0.023747820407152176,
-0.0000635103351669386,
-0.03545307740569115,
0.0031692753545939922,
-0.00427683349698782,
-0.08007967472076416,
0.021931486204266548,
-0.030767401680350304,
-0.035263922065496445,
-0.042593128979206085,
0.8305429816246033,
-0.007857399061322212,
-0.01788482256233692,
0.030991239473223686,
0.05171123519539833,
0.00923852901905775,
-0.009211630560457706,
0.012609872967004776,
0.017003130167722702,
-0.01713808998465538,
-0.03922932967543602,
0.017926327884197235,
0.04976925998926163,
0.018498728051781654,
0.019551003351807594,
0.02725980430841446,
0.05262250453233719,
0.0010407944209873676,
0.015291213057935238,
-0.037580594420433044,
0.03431594744324684,
0.07195054739713669,
-0.016756266355514526,
0.011989584192633629,
0.002072334988042712,
0.0357603058218956,
-0.15126946568489075,
-0.0014151294017210603,
-7.194076854910248e-33,
0.0591755174100399,
-0.030132582411170006,
0.014263474382460117,
0.0029273696709424257,
0.011385621502995491,
-0.01670549437403679,
0.009211664088070393,
0.04957665875554085,
-0.0355648472905159,
-0.025926439091563225,
0.005987908225506544,
0.005801965016871691,
0.010315808467566967,
-0.00011352758156135678,
0.020166538655757904,
-0.017857149243354797,
0.015618504956364632,
0.03170166537165642,
0.005563389975577593,
-0.01407595444470644,
0.02886313945055008,
0.02278321050107479,
0.003362677525728941,
0.02295602113008499,
0.0003222774830646813,
0.014979965053498745,
0.0060964105650782585,
-0.025264950469136238,
-0.026984503492712975,
-0.026003150269389153,
-0.01776140183210373,
-0.00023162734578363597,
0.03399684280157089,
-0.028180500492453575,
0.005680865608155727,
-0.03184698522090912,
-0.04853006824851036,
-0.025412321090698242,
-0.017815861850976944,
-0.04483585059642792,
-0.011837930418550968,
0.01293153502047062,
-0.05195905268192291,
-0.035985324531793594,
-0.04524509981274605,
0.022244011983275414,
-0.0021510047372430563,
0.008421266451478004,
0.021128689870238304,
0.058608680963516235,
0.015699882060289383,
0.020115431398153305,
0.0002991157816722989,
0.006511265877634287,
0.00900959875434637,
0.003425280097872019,
-0.023826109245419502,
-0.02313438057899475,
-0.004246700555086136,
-0.0238844882696867,
-0.025867372751235962,
-0.03816336393356323,
-0.015869488939642906,
0.028621060773730278,
-0.03191230446100235,
-0.012910444289445877,
-0.0007919876370579004,
0.03331802040338516,
-0.00537427281960845,
0.05657435581088066,
-0.03923782333731651,
0.0180289838463068,
-0.0036827283911406994,
-0.018683914095163345,
0.026559319347143173,
-0.050777751952409744,
0.04205968603491783,
0.01595744863152504,
0.012962917797267437,
0.023082558065652847,
0.06457851082086563,
0.009794835932552814,
-0.007470380514860153,
-0.012365011498332024,
-0.03966815397143364,
0.028689606115221977,
0.04180522263050079,
-0.006255927495658398,
-0.0012103732442483306,
0.001185114379040897,
0.01991979032754898,
0.05073849856853485,
-0.030338134616613388,
-0.016492284834384918,
-0.037841230630874634,
7.418064364723558e-33,
-0.0038240253925323486,
-0.05300755053758621,
-0.011573168449103832,
-0.009146195836365223,
0.010119978338479996,
-0.03066522628068924,
0.04464901611208916,
0.010533259250223637,
-0.013931290246546268,
0.056495290249586105,
-0.04120306670665741,
-0.002457333728671074,
-0.04629090428352356,
-0.0074404445476830006,
0.06155870109796524,
-0.007786967791616917,
0.021912936121225357,
-0.05692778155207634,
0.044589657336473465,
0.002880528336390853,
0.011458567343652248,
0.009521696716547012,
0.030679551884531975,
0.02709651179611683,
0.02474082261323929,
0.020983677357435226,
-0.04657386243343353,
0.01014978252351284,
-0.02335621602833271,
-0.03379945829510689,
-0.0062603154219686985,
-0.040397193282842636,
0.029254967346787453,
-0.0070005436427891254,
-0.009336864575743675,
0.023267533630132675,
-0.015342742204666138,
0.03922111913561821,
0.00850946456193924,
-0.01569487899541855,
0.03178180754184723,
-0.02883007377386093,
-0.005575193557888269,
0.006139971315860748,
0.01879587024450302,
-0.03894689679145813,
0.014571374282240868,
-0.0016152920434251428,
0.014145527966320515,
-0.02032807655632496,
0.004636888392269611,
0.010155177675187588,
0.015717463567852974,
0.025461653247475624,
-0.008049169555306435,
-0.032275013625621796,
0.0008584858733229339,
0.0067402757704257965,
-0.03923669084906578,
0.013649877160787582,
-0.007004620041698217,
-0.00495861005038023,
-0.010601485148072243,
0.05753606557846069,
-0.03208085522055626,
-0.049227576702833176,
0.0021668332628905773,
-0.042632926255464554,
-0.019069908186793327,
-0.025848830118775368,
-0.016020506620407104,
-0.006618378683924675,
-0.03653428703546524,
0.017394237220287323,
0.027468649670481682,
-0.04867888614535332,
-0.028539326041936874,
-0.012177625671029091,
-0.020281119272112846,
0.0069511765614151955,
0.003004970960319042,
-0.005202148109674454,
0.026535160839557648,
0.007942494004964828,
-0.0012018312700092793,
0.0006315886857919395,
-0.009214147925376892,
0.017640264704823494,
0.04718806967139244,
0.025304032489657402,
-0.03435450419783592,
-0.03906690329313278,
0.006319746375083923,
-0.0004858962493017316,
0.0018645705422386527,
-1.3002160237363114e-8,
-0.04869703948497772,
0.022320732474327087,
-0.0020124607253819704,
0.06425151228904724,
0.02660144865512848,
0.0005291841807775199,
-0.0007620448595844209,
0.008082831278443336,
0.0523211769759655,
0.018750716000795364,
0.034318555146455765,
0.01550710666924715,
-0.01650998182594776,
0.021733904257416725,
0.02263060212135315,
-0.024770596995949745,
-0.0046199592761695385,
-0.0142550989985466,
0.026856809854507446,
0.022964486852288246,
0.02230861410498619,
0.05208306759595871,
0.007734506856650114,
-0.05141753703355789,
0.006436806637793779,
0.014003236778080463,
0.0012945826165378094,
-0.06257452815771103,
-0.02742270939052105,
0.007806545123457909,
0.01288113184273243,
-0.0414864681661129,
0.01957036927342415,
-0.006566996686160564,
-0.04156249389052391,
-0.021323086693882942,
0.05598936229944229,
0.0113004669547081,
-0.007859482429921627,
0.005533420480787754,
-0.0002632144605740905,
0.04312450438737869,
-0.004477983806282282,
-0.010422028601169586,
-0.011071721091866493,
0.010778017342090607,
-0.03165160119533539,
0.01143591571599245,
0.07010343670845032,
-0.038257747888565063,
0.02509426698088646,
-0.02788293920457363,
0.02605355717241764,
0.006132129114121199,
-0.0057319337502121925,
-0.004172333516180515,
0.03291924297809601,
-0.04444611817598343,
-0.023456187918782234,
0.004876113962382078,
0.07269436866044998,
-0.005480354186147451,
-0.007913170382380486,
0.004895919002592564
] | jq-select-multiple-keys | https://markhneedham.com/blog/2021/05/19/jq-select-multiple-keys |
false | 2021-05-13 00:44:37 | Pandas: Add row to DataFrame | [
"python",
"pandas"
] | [
"python"
] | Usually when I'm working with Pandas DataFrames I want to add new columns of data, but I recently wanted to add a row to an existing DataFrame.
It turns out there are more than one ways to do that, which we'll explore in this blog post.
Let's start by importing Pandas into our Python script:
[source, bash]
----
import pandas as pd
----
We'll start from a DataFrame that has two rows and the columns `name` and `age`:
[source, python]
----
df = pd.DataFrame(data=[{"name": "Mark", "age": 37}, {"name": "David", "age": 36}])
----
.DataFrame with no explicit index
[format="csv", options="header"]
|===
include::content/2021/05/13/data/no_index.csv[]
|===
One way to add rows to this DataFrame is by creating a new DataFrame and joining it with our initial DataFrame using the `append` function:
[source, python]
----
to_append = pd.DataFrame([
{"name": "Ryan", "age": 42},
{"name": "John", "age": 25}
])
append_df = df.append(to_append)
----
.DataFrame with new row
[format="csv", options="header"]
|===
include::content/2021/05/13/data/no_index_append.csv[]
|===
The index for the new rows start again from 0, so we now have multiple rows with the index 0 and 1.
Another way that we can append a new row is using the `loc` function:
[source, python]
----
df.loc[2] = ["Ryan", 42]
df.loc[3] = ["John", 25]
----
If we take this approach we need to explicitly specify the index of the row.
We can put whatever value we want, but let's create indexes that increment the existing values:
.DataFrame with new row
[format="csv", options="header"]
|===
include::content/2021/05/13/data/no_index_individual.csv[]
|===
What if we have an explicit index set on the DataFrame?
We can convert the `name` column into an index by running the following code:
[source, python]
----
df_with_index = df.set_index("name")
----
.DataFrame with `name` index
[format="csv", options="header"]
|===
include::content/2021/05/13/data/index.csv[]
|===
And now if we want to add a new row the index identifier should be a name instead of a numeric value:
[source, python]
----
df_with_index.loc["Ryan"] = [42]
df_with_index.loc["John"] = [25]
----
.DataFrame with `name` index with new row
[format="csv", options="header"]
|===
include::content/2021/05/13/data/index_with_row.csv[]
|=== | In this post we'll add a new row to a Pandas DataFrame. | null | [
0.022412791848182678,
-0.008614543825387955,
-0.010413307696580887,
0.03857491910457611,
0.08448906242847443,
0.036388546228408813,
-0.033433251082897186,
0.0080668143928051,
-0.008473909460008144,
-0.03483222797513008,
0.012684039771556854,
-0.02267805114388466,
-0.085277259349823,
0.006616976577788591,
-0.014442273415625095,
0.06196466460824013,
0.08961640298366547,
0.004586235620081425,
0.03040752001106739,
0.0036638120654970407,
0.015634629875421524,
0.07001396268606186,
-0.030200529843568802,
0.04877939447760582,
0.019308358430862427,
-0.03482184559106827,
-0.008656485006213188,
0.010688570328056812,
-0.05166775360703468,
-0.015955064445734024,
0.011610160581767559,
0.00306170666590333,
0.008574019186198711,
-0.007444363087415695,
0.041396982967853546,
-0.03695065900683403,
-0.018679393455386162,
0.011292201466858387,
-0.002960911253467202,
0.03173306584358215,
-0.08892160654067993,
0.029519306495785713,
-0.04186492785811424,
0.007185305934399366,
-0.0328192263841629,
-0.02308429405093193,
-0.031089335680007935,
0.00896917749196291,
0.005626690108329058,
0.012303320690989494,
-0.032050199806690216,
0.03295281156897545,
0.02029227651655674,
-0.05361200124025345,
0.015140378847718239,
0.05142948031425476,
0.017334790900349617,
-0.06549443304538727,
0.027321435511112213,
-0.027592644095420837,
0.019856195896863937,
0.00823252648115158,
0.015793368220329285,
0.029167722910642624,
0.01911827176809311,
-0.028834540396928787,
-0.016131678596138954,
0.05458749458193779,
-0.048790305852890015,
0.005971977952867746,
-0.024473808705806732,
-0.029621807858347893,
-0.027225924655795097,
-0.014068013988435268,
-0.02926638536155224,
-0.027008678764104843,
-0.028387244790792465,
0.04526795446872711,
0.0226859413087368,
0.03753259778022766,
-0.0035602871794253588,
-0.01084804069250822,
-0.01838107407093048,
0.0036600863095372915,
0.012311125174164772,
-0.03528102487325668,
-0.07424332946538925,
-0.010893933475017548,
-0.056244589388370514,
0.05945912376046181,
-0.01775958016514778,
-0.03377128392457962,
0.016495274379849434,
0.011571012437343597,
-0.021536918357014656,
-0.025505835190415382,
-0.019432051107287407,
-0.00006401728023774922,
0.028991924598813057,
0.0035629631020128727,
-0.06780014932155609,
-0.013162272050976753,
0.025188183411955833,
0.01575329899787903,
-0.05033743754029274,
-0.007994466461241245,
-0.03760455921292305,
-0.004148401319980621,
-0.005015213042497635,
0.007523110136389732,
-0.052259575575590134,
-0.010554635897278786,
-0.002559992019087076,
-0.0014790407149121165,
-0.06599289178848267,
0.04422125965356827,
-0.0010511802975088358,
-0.03556863218545914,
-0.029357168823480606,
-0.001731310156174004,
0.02289455197751522,
0.016770288348197937,
0.0059693558141589165,
0.06952670961618423,
0.01983490400016308,
0.022816864773631096,
-0.010402331128716469,
0.09061800688505173,
-0.014148793183267117,
-0.0743430107831955,
-0.023448122665286064,
0.03864225745201111,
0.006793178617954254,
-0.003600173629820347,
0.003678134875372052,
-0.03325305134057999,
-0.014324972406029701,
0.022110553458333015,
0.071473628282547,
-0.003171678865328431,
0.03718039393424988,
-0.04441716521978378,
0.010139591991901398,
0.023756934329867363,
0.023437539115548134,
0.019733907654881477,
-0.0004349825903773308,
-0.0582408607006073,
-0.0522603802382946,
0.004529271740466356,
0.02384008653461933,
0.050843894481658936,
0.07301778346300125,
-0.026849694550037384,
-0.0044150990433990955,
0.09534835815429688,
0.0468476228415966,
-0.015281734056770802,
-0.010371028445661068,
0.021767117083072662,
0.04415145888924599,
0.0067420401610434055,
0.013571538031101227,
0.03246008977293968,
-0.013373855501413345,
-0.04032164812088013,
0.003600963158532977,
0.01978221721947193,
-0.01864154264330864,
-0.0014757601311430335,
-0.04541168734431267,
-0.05718187987804413,
0.041750479489564896,
-0.04963859170675278,
0.028615694493055344,
0.043764252215623856,
0.08287431299686432,
0.04476774483919144,
0.022454362362623215,
0.004830527119338512,
-0.0838274285197258,
0.027257421985268593,
-0.013032273389399052,
0.03795800730586052,
0.057472601532936096,
-0.007119510788470507,
0.06982598453760147,
0.009268289431929588,
0.0590694285929203,
0.04712831974029541,
-0.047681089490652084,
-0.04612153396010399,
-0.030738331377506256,
-0.00941161997616291,
0.014934687875211239,
-0.06146992743015289,
-0.006761630065739155,
0.09240875393152237,
0.000998320640064776,
0.03612889349460602,
0.012423355132341385,
-0.0010228018509224057,
0.009833430871367455,
-0.04017847776412964,
-0.019095776602625847,
0.008473817259073257,
0.024345537647604942,
-0.012005366384983063,
0.005599142052233219,
0.026923777535557747,
-0.006264025811105967,
0.002147543942555785,
0.024307873100042343,
-0.01313814427703619,
0.05297025665640831,
0.03596046194434166,
0.05052175372838974,
-0.012962271459400654,
0.0023829364217817783,
-0.07045071572065353,
0.04029498249292374,
0.006771824322640896,
-0.01903122290968895,
-0.05633716657757759,
0.003765594679862261,
0.13339059054851532,
0.047402139753103256,
-0.018701357766985893,
-0.06173349544405937,
0.00314367120154202,
0.008484626188874245,
-0.010002728551626205,
0.013648264110088348,
0.007858951576054096,
-0.0025501700583845377,
0.02088247798383236,
-0.013070760294795036,
-0.011829158291220665,
0.014100964181125164,
-0.03254776448011398,
0.027194509282708168,
0.07084494084119797,
-0.015468195080757141,
0.022265193983912468,
0.018321795389056206,
-0.02210666425526142,
-0.00001955470725079067,
-0.018298638984560966,
-0.060242727398872375,
-0.012732252478599548,
0.02767501026391983,
-0.02637978084385395,
0.056357890367507935,
-0.028233598917722702,
-0.038221925497055054,
-0.012462344951927662,
-0.09148944169282913,
0.01672552153468132,
0.061533089727163315,
0.03577697277069092,
-0.024396268650889397,
0.030197611078619957,
0.004606863483786583,
-0.01728719472885132,
-0.054263632744550705,
-0.011772450990974903,
-0.04056970030069351,
-0.02569720149040222,
0.0022288949694484472,
0.01610100455582142,
-0.003579687559977174,
-0.008837790228426456,
-0.01996186375617981,
-0.002910920884460211,
-0.009019519202411175,
0.007509617600589991,
0.04386482015252113,
-0.031867410987615585,
-0.016485702246427536,
-0.06687847524881363,
0.010719352401793003,
0.06811223924160004,
-0.011233311146497726,
-0.04464443400502205,
0.010705217719078064,
-0.07682296633720398,
0.009091192856431007,
-0.05648161098361015,
-0.03259766846895218,
0.007873263210058212,
0.024925269186496735,
0.0489947572350502,
-0.011797213926911354,
-0.010185879655182362,
0.058781784027814865,
0.026816638186573982,
0.006423112936317921,
-0.004761270713061094,
0.00715214665979147,
0.054014455527067184,
0.02297179214656353,
-0.014024113304913044,
0.07648058980703354,
0.006931049283593893,
-0.017737340182065964,
-0.031773973256349564,
-0.0072019631043076515,
-0.02586943469941616,
-0.2518015205860138,
0.002902786945924163,
-0.009150730445981026,
-0.0270689744502306,
0.013933714479207993,
-0.025418851524591446,
0.012740259990096092,
-0.02724558115005493,
-0.024921903386712074,
0.0019188413862138987,
-0.028307747095823288,
-0.0639115422964096,
-0.024074338376522064,
0.03480863571166992,
0.002594931982457638,
0.057698771357536316,
0.0022259170655161142,
-0.01566964201629162,
-0.012230265885591507,
0.05761479586362839,
0.00043066596845164895,
-0.07278738170862198,
-0.017157593742012978,
0.07919041067361832,
0.034478235989809036,
0.045820724219083786,
-0.0634930431842804,
0.029181305319070816,
-0.08377434313297272,
-0.037684645503759384,
-0.013298158533871174,
-0.02731725387275219,
-0.006209575571119785,
-0.015939801931381226,
-0.038088422268629074,
-0.02715146914124489,
0.034440964460372925,
-0.010019836015999317,
-0.026750443503260612,
-0.03340351954102516,
-0.03713875263929367,
-0.027319278568029404,
-0.02662048302590847,
0.011758754029870033,
0.0651990994811058,
-0.019484292715787888,
-0.05712268501520157,
0.03803360089659691,
-0.06004812568426132,
0.05410923808813095,
-0.005188711918890476,
0.011687524616718292,
-0.014376332052052021,
0.026532061398029327,
-0.042628612369298935,
0.035046570003032684,
-0.028579141944646835,
0.026363546028733253,
-0.022819140926003456,
-0.036226797848939896,
-0.0005725708906538785,
-0.05494306981563568,
-0.024984540417790413,
-0.04070734605193138,
0.0100247235968709,
-0.06665144115686417,
-0.06217626854777336,
-0.027499904856085777,
0.08235630393028259,
0.06525631994009018,
-0.04003232717514038,
0.02023746445775032,
0.017101509496569633,
-0.09510321915149689,
0.014901143498718739,
-0.05502761900424957,
-0.007254042197018862,
-0.028717277571558952,
-0.03942776843905449,
0.03120945207774639,
-0.030095407739281654,
-0.03855478763580322,
0.04974474012851715,
0.012076952494680882,
0.014789094217121601,
-0.010431867092847824,
-0.016546349972486496,
0.009479742497205734,
-0.003518776735290885,
-0.02013072371482849,
0.0540672168135643,
-0.049835335463285446,
0.019071515649557114,
0.021368766203522682,
-0.019301246851682663,
0.04998248443007469,
0.030755987390875816,
0.02471264824271202,
0.03563528135418892,
0.009066127240657806,
0.04342271387577057,
-0.01574137434363365,
-0.018533481284976006,
-0.047266360372304916,
-0.017156261950731277,
-0.024254074320197105,
-0.06889485567808151,
0.04842069000005722,
0.014987127855420113,
0.015045078471302986,
-0.00577184883877635,
-0.02983747236430645,
0.00531546026468277,
-0.06125101447105408,
-0.02038748562335968,
-0.024462182074785233,
-0.0007789572700858116,
0.009257413446903229,
-0.004495192319154739,
0.007683704607188702,
-0.07915421575307846,
0.021517273038625717,
0.007448003627359867,
-0.00119522784370929,
-0.0597413033246994,
-0.04113774374127388,
0.026245031505823135,
0.016559436917304993,
-0.009352649562060833,
0.0004046525282319635,
-0.014197937212884426,
0.0011551964562386274,
0.04174584895372391,
-0.01721055991947651,
0.01150980032980442,
-0.0292388666421175,
-0.04773443564772606,
-0.009424986317753792,
-0.018622349947690964,
0.04330454766750336,
0.0016792104579508305,
0.013716899789869785,
-0.016740350052714348,
0.030371030792593956,
0.027050135657191277,
0.017926327884197235,
0.039163269102573395,
0.05818326026201248,
0.010718938894569874,
0.033834975212812424,
0.03231319785118103,
-0.018079429864883423,
-0.012411186471581459,
-0.03636578097939491,
-0.07282758504152298,
0.009445889852941036,
0.019230013713240623,
-0.027873074635863304,
0.012332874350249767,
-0.015974780544638634,
-0.017395444214344025,
-0.019961440935730934,
0.003368113888427615,
-0.02703949250280857,
0.035448551177978516,
0.05739787593483925,
-0.005547748412936926,
0.002002206165343523,
0.002584045985713601,
0.021790647879242897,
0.018981775268912315,
0.010428822599351406,
-0.056543391197919846,
-0.0065134018659591675,
0.007992063648998737,
-0.03381814435124397,
0.02768978849053383,
0.03165435045957565,
0.018193408846855164,
0.025255968794226646,
-0.0002159823925467208,
0.0040343767032027245,
0.0018476963741704822,
0.009130306541919708,
0.030398961156606674,
0.03735509514808655,
-0.015259524807333946,
-0.030689606443047523,
-0.01863211579620838,
-0.06623681634664536,
-0.024308528751134872,
-0.03079097531735897,
0.041103705763816833,
0.007611390668898821,
-0.0039750440046191216,
-0.07216766476631165,
0.0293960589915514,
0.023143505677580833,
-0.002853861777111888,
0.010467338375747204,
-0.04598906263709068,
0.01066899299621582,
-0.05391954258084297,
0.08944308012723923,
0.07439275085926056,
-0.031733401119709015,
-0.009409792721271515,
-0.033425673842430115,
0.031235335394740105,
0.01797843724489212,
0.030582278966903687,
-0.06951795518398285,
-0.031265854835510254,
-0.013136372901499271,
0.01570022851228714,
0.03544585034251213,
-0.03356974571943283,
-0.03993229940533638,
0.006914732977747917,
-0.015406922437250614,
0.04287772998213768,
-0.042645856738090515,
0.028991248458623886,
-0.03198569267988205,
-0.004681733436882496,
0.02093447558581829,
-0.02611442282795906,
-0.010279680602252483,
0.03537682443857193,
-0.011640865355730057,
-0.001297066337428987,
-0.006124377716332674,
0.037686269730329514,
-0.0023232351522892714,
-0.02451334521174431,
-0.02342814765870571,
-0.03180728480219841,
-0.000010088511771755293,
0.015390790067613125,
0.0533711239695549,
0.006656469777226448,
0.020276295021176338,
-0.04691483452916145,
-0.019866453483700752,
-0.02611469477415085,
-0.020431889221072197,
-0.029604647308588028,
-0.019566746428608894,
0.016673872247338295,
0.06177554279565811,
0.009469078853726387,
-0.012470906600356102,
-0.00607021851465106,
-0.061507418751716614,
0.017739295959472656,
-0.03109057992696762,
-0.04081012308597565,
-0.011774897575378418,
-0.03833843767642975,
0.021578965708613396,
0.010669227689504623,
0.032409120351076126,
-0.06420158594846725,
0.03807889670133591,
0.04138397052884102,
0.05588560178875923,
0.04394819587469101,
0.02075997181236744,
0.05093061551451683,
-0.029314227402210236,
-0.009819607250392437,
-0.08610812574625015,
0.0005430086748674512,
0.03225697949528694,
0.051670271903276443,
0.005553282331675291,
0.0031716222874820232,
0.008067457936704159,
0.029010584577918053,
-0.06739631295204163,
-0.009505832567811012,
0.06567469239234924,
0.01685778610408306,
0.026563869789242744,
0.010832831263542175,
-0.03244827315211296,
0.017059767618775368,
0.03789719566702843,
-0.04108547791838646,
-0.004359526559710503,
-0.0052802907302975655,
0.06177830696105957,
0.004499591886997223,
0.034483153373003006,
0.0032943771220743656,
-0.023295311257243156,
0.05733756348490715,
0.01700018346309662,
0.0206487737596035,
0.027917444705963135,
-0.023763146251440048,
0.043773528188467026,
0.013457871042191982,
-0.00831944216042757,
-0.007108417339622974,
0.04480975493788719,
0.00260071805678308,
-0.05751463398337364,
0.01057629007846117,
0.028853215277194977,
0.022987011820077896,
-0.059298962354660034,
0.05852396786212921,
0.003714023157954216,
-0.04387006163597107,
-0.04711725935339928,
0.0024203581269830465,
-0.038314443081617355,
0.00855981558561325,
-0.03652028366923332,
-0.013874828815460205,
-0.04133220762014389,
0.06756837666034698,
-0.04849895089864731,
-0.02972549758851528,
0.047200653702020645,
-0.009655606001615524,
0.004230282735079527,
0.004616721533238888,
0.06495098769664764,
0.05962301045656204,
0.06378404796123505,
0.020394090563058853,
0.041814666241407394,
0.023473896086215973,
-0.047099608927965164,
0.010888497345149517,
-0.060070354491472244,
0.015301416628062725,
-0.020158953964710236,
0.00007436527084792033,
0.05487338453531265,
0.013372445479035378,
0.055904995650053024,
-0.0025732044596225023,
-0.0013270596973598003,
-0.02592090703547001,
0.02421831525862217,
0.03943757712841034,
0.029720263555645943,
0.01079417485743761,
0.0420353002846241,
-0.02243765816092491,
-0.02560550346970558,
0.006270673591643572,
0.00506031047552824,
-0.010800758376717567,
0.022811245173215866,
0.011329896748065948,
0.008067073300480843,
0.021657299250364304,
0.04189542308449745,
0.09299806505441666,
-0.03807835653424263,
-0.038533784449100494,
-0.0067092422395944595,
0.03676882013678551,
-0.002931009978055954,
0.004341959021985531,
0.023166023194789886,
-0.021450288593769073,
0.0033229489345103502,
-0.04726221039891243,
-0.029585903510451317,
-0.005753610283136368,
-0.02421918883919716,
0.009879582561552525,
-0.03238735720515251,
-0.01010427251458168,
0.046219516545534134,
-0.004787559155374765,
-0.0429660938680172,
-0.030777623876929283,
-0.0418306328356266,
-0.028235066682100296,
-0.060939494520425797,
-0.004987180233001709,
0.028119094669818878,
-0.026193879544734955,
-0.020211081951856613,
-0.021413013339042664,
-0.02186759002506733,
0.017996935173869133,
0.0006688863504678011,
-0.012821528129279613,
-0.0452793724834919,
0.022731292992830276,
0.046966951340436935,
0.03489155322313309,
0.020359940826892853,
0.03300696983933449,
0.00612590741366148,
-0.021877074614167213,
0.009310564026236534,
0.009342418052256107,
0.033487871289253235,
-0.005104150157421827,
0.02416400983929634,
-0.08146850019693375,
0.02316104806959629,
-0.011086720041930676,
-0.020761193707585335,
-0.07934288680553436,
0.037566352635622025,
0.05088605359196663,
0.03572121635079384,
0.04038587585091591,
-0.014446825720369816,
-0.007742435671389103,
-0.005843054968863726,
-0.019872013479471207,
0.029575537890195847,
0.013787454925477505,
0.030682973563671112,
-0.024586545303463936,
0.06269393116235733,
0.044360995292663574,
0.030524512752890587,
-0.015086336992681026,
0.004356150981038809,
-0.03152045980095863,
0.026422303169965744,
-0.07662598043680191,
-0.037057679146528244,
-0.06063475459814072,
-0.04322458431124687,
-0.018905367702245712,
-0.0042605092748999596,
-0.044690877199172974,
-0.009201068431138992,
-0.020252199843525887,
0.019305048510432243,
-0.015750791877508163,
0.04603005200624466,
-0.023365886881947517,
0.007158523891121149,
-0.06222488731145859,
-0.01884385570883751,
-0.024179615080356598,
0.059155311435461044,
0.006122354418039322,
-0.02000078558921814,
0.008853788487613201,
-0.02221953496336937,
0.00834109541028738,
-0.013787038624286652,
0.023449698463082314,
0.05251283571124077,
-0.03623737767338753,
0.010897570289671421
] | [
-0.09506765007972717,
-0.051331423223018646,
-0.019207153469324112,
0.010260332375764847,
0.06839548051357269,
-0.03085661679506302,
-0.04228883981704712,
0.0027723286766558886,
0.04082457721233368,
0.05038563534617424,
0.03426498547196388,
-0.10465610772371292,
-0.0054368190467357635,
-0.03280957415699959,
0.018161248415708542,
-0.030156755819916725,
-0.037337493151426315,
-0.06748505681753159,
-0.10291671752929688,
0.03701756149530411,
-0.03421934321522713,
-0.06452184170484543,
-0.08127035200595856,
-0.058735184371471405,
0.038556478917598724,
0.06144826486706734,
0.009207616560161114,
-0.05317718908190727,
-0.0028812906239181757,
-0.19061243534088135,
0.027975039556622505,
-0.005036650225520134,
0.0025710007175803185,
-0.018759099766612053,
0.003868638537824154,
-0.0017868890427052975,
0.02175000309944153,
0.030426645651459694,
0.02270275540649891,
0.042838502675294876,
0.010029799304902554,
0.0007399204187095165,
-0.051169246435165405,
-0.037676047533750534,
0.020903808996081352,
0.006987625267356634,
-0.0013311426155269146,
0.002577233826741576,
-0.002516807522624731,
0.016392039135098457,
-0.054586246609687805,
0.002802348230034113,
-0.04585431516170502,
-0.023644356057047844,
0.004171743988990784,
0.03311370685696602,
0.07124020159244537,
0.02424873411655426,
-0.006829727441072464,
0.024780619889497757,
0.05345490202307701,
-0.01289406232535839,
-0.12791773676872253,
0.12778393924236298,
0.02413921058177948,
0.03676045686006546,
-0.047415055334568024,
0.00024659885093569756,
-0.01733802817761898,
0.08902481198310852,
-0.05234743282198906,
-0.009503866545855999,
-0.02169474959373474,
0.0991419330239296,
0.030032571405172348,
-0.027576357126235962,
-0.04113896191120148,
-0.0007158017251640558,
0.043565694242715836,
0.013186795637011528,
-0.08067908138036728,
0.005815703421831131,
0.01931215636432171,
-0.028845790773630142,
0.015101521275937557,
0.012204976752400398,
-0.023604407906532288,
0.022985532879829407,
-0.025024058297276497,
0.010619629174470901,
0.029170725494623184,
0.003286909544840455,
0.021251419559121132,
0.05255867540836334,
-0.05752767249941826,
-0.025669416412711143,
0.0178974736481905,
0.009855170734226704,
0.006224398966878653,
0.35268956422805786,
-0.07962089031934738,
-0.0013122539967298508,
-0.003121795831248164,
0.05540289729833603,
-0.0018265681574121118,
-0.026944894343614578,
-0.017362598329782486,
-0.035507310181856155,
0.017098799347877502,
-0.05057041347026825,
-0.03631063178181648,
-0.018482789397239685,
0.008807799778878689,
-0.08775468170642853,
0.002905714325606823,
-0.02363385073840618,
-0.04844903200864792,
-0.0012939531588926911,
0.012663914822041988,
0.057857874780893326,
0.023304279893636703,
-0.014795757830142975,
0.019156018272042274,
0.018801281228661537,
0.008847645483911037,
0.0365406833589077,
0.025166772305965424,
0.050048571079969406,
0.03836130350828171,
0.002405692357569933,
0.0348496176302433,
-0.04353390261530876,
-0.09407627582550049,
0.0017867552815005183,
0.009531238116323948,
0.006174204871058464,
0.011514208279550076,
-0.012662108987569809,
0.014626766555011272,
0.0011962795397266746,
0.01904761791229248,
-0.054686035960912704,
0.03435112163424492,
-0.018840689212083817,
0.019385289400815964,
0.13866062462329865,
-0.01587851531803608,
0.002784603973850608,
-0.03936847299337387,
-0.028731459751725197,
-0.01004866138100624,
0.04135364294052124,
-0.023655014112591743,
-0.09406524896621704,
0.007754364516586065,
0.01737024076282978,
0.08201829344034195,
-0.026836466044187546,
-0.04855746775865555,
-0.03987427055835724,
-0.01669096201658249,
-0.0022510846611112356,
-0.049541838467121124,
-0.006388576235622168,
0.04287656024098396,
-0.11879594624042511,
-0.05143950879573822,
0.040746353566646576,
0.01827593892812729,
-0.07107467949390411,
0.012342714704573154,
0.024985866621136665,
-0.07001571357250214,
-0.0022664021234959364,
0.07331424206495285,
0.0015924553154036403,
-0.035965632647275925,
0.012625291012227535,
0.07437701523303986,
0.028820699080824852,
0.025337591767311096,
0.036439865827560425,
-0.010202594101428986,
-0.015249233692884445,
-0.05449334532022476,
-0.09782243520021439,
-0.03790787607431412,
-0.006480500567704439,
-0.020708909258246422,
-0.07297805696725845,
0.01034561451524496,
0.022843126207590103,
-0.005705721210688353,
0.0945398285984993,
-0.05419452115893364,
-0.013311398215591908,
0.08340080082416534,
-0.018484819680452347,
0.016323784366250038,
-0.0368729904294014,
-0.013124451972544193,
-0.007512222975492477,
-0.0001720995787763968,
0.046524859964847565,
-0.046403929591178894,
-0.01604817435145378,
0.04286403954029083,
-0.055039241909980774,
0.10008511692285538,
-0.013176165521144867,
-0.020759601145982742,
0.01880466192960739,
0.021298758685588837,
-0.004882937762886286,
-0.04230702668428421,
0.006676977965980768,
-0.035047128796577454,
-0.002820580266416073,
0.01840801350772381,
0.0007683037547394633,
0.03763604536652565,
-0.06711850315332413,
0.035252731293439865,
-0.3449668884277344,
-0.035878296941518784,
0.01995946280658245,
-0.035994164645671844,
-0.021817613393068314,
-0.05240808054804802,
0.01657579466700554,
0.030881119892001152,
-0.0496240109205246,
0.05467446520924568,
0.06032298505306244,
-0.0356011688709259,
0.022948017343878746,
-0.09949986636638641,
0.006359026301652193,
0.028288789093494415,
-0.012921889312565327,
-0.045397043228149414,
0.014492981135845184,
0.020699821412563324,
-0.012980429455637932,
0.03373955190181732,
0.01441859733313322,
-0.01945214904844761,
0.03323088586330414,
-0.01755068451166153,
0.13004975020885468,
-0.020745111629366875,
0.040649350732564926,
-0.05514495074748993,
0.0364980548620224,
-0.0011870978632941842,
-0.019880447536706924,
-0.04895392432808876,
0.011278891004621983,
-0.049067236483097076,
-0.036096472293138504,
0.04861132428050041,
-0.03182901069521904,
-0.023608293384313583,
-0.005630772095173597,
0.034605398774147034,
-0.013867417350411415,
-0.003218395169824362,
-0.01483042724430561,
0.03225309029221535,
0.0249903816729784,
-0.021633997559547424,
-0.009378761053085327,
0.08876609057188034,
-0.02529003843665123,
0.0329907163977623,
0.06255532801151276,
0.03760837763547897,
0.046555567532777786,
-0.024970758706331253,
-0.06137147918343544,
0.017781391739845276,
-0.006749384105205536,
-0.019844649359583855,
-0.013698428869247437,
0.01645885594189167,
0.0439315140247345,
-0.03911006078124046,
-0.02355804853141308,
-0.0058879125863313675,
0.05260420963168144,
-0.005705071613192558,
0.021802391856908798,
-0.01625056006014347,
-0.0218641497194767,
0.0841934010386467,
0.00142065086401999,
0.038211870938539505,
0.05068464204668999,
0.054495733231306076,
-0.046327024698257446,
0.027851318940520287,
0.014244206249713898,
-0.016938969492912292,
0.0315680056810379,
-0.07847253233194351,
0.027887901291251183,
0.03643672168254852,
0.06752001494169235,
0.01046693790704012,
0.025018835440278053,
-0.0028012727852910757,
0.009919380769133568,
0.002802149625495076,
-0.03344956040382385,
-0.050083886831998825,
-0.03701479360461235,
0.006587541196495295,
0.03711860626935959,
-0.011005000211298466,
-0.2546781897544861,
0.027791500091552734,
0.007871637120842934,
0.03085026703774929,
-0.010740657337009907,
0.0017163893207907677,
-0.013367912732064724,
-0.033253151923418045,
0.01345639955252409,
0.0020472449250519276,
-0.047467511147260666,
0.042875658720731735,
0.0422503799200058,
0.005033931229263544,
-0.020392758771777153,
-0.002612594747915864,
0.06712225079536438,
0.05794709175825119,
0.009604469873011112,
0.007319319993257523,
0.03987158089876175,
-0.042299289256334305,
0.14863716065883636,
0.046126674860715866,
0.0348290391266346,
-0.038330454379320145,
-0.017291897907853127,
-0.015767144039273262,
0.07942939549684525,
0.05791124328970909,
0.025966081768274307,
-0.0018588994862511754,
0.032982394099235535,
0.02832811512053013,
0.024673303589224815,
-0.015517414547502995,
-0.007089842110872269,
0.05959295108914375,
0.02851576916873455,
-0.04917961359024048,
-0.00042118364945054054,
0.024382589384913445,
-0.051614679396152496,
0.03790021687746048,
0.05738989636301994,
-0.01896730810403824,
0.006110730115324259,
-0.056380316615104675,
-0.020930036902427673,
-0.003445528680458665,
0.017975294962525368,
0.02908453345298767,
0.018635878339409828,
0.010804839432239532,
0.017319370061159134,
0.0213911309838295,
0.05753539502620697,
0.015220627188682556,
0.06341253221035004,
0.0028992784209549427,
0.01838311366736889,
-0.07174085080623627,
0.07003810256719589,
0.019166169688105583,
0.02381783351302147
] | [
0.00641800370067358,
0.02977708913385868,
-0.019778860732913017,
0.024860389530658722,
-0.012835215777158737,
-0.05406523868441582,
-0.00430311169475317,
-0.03076629713177681,
-0.013650317676365376,
-0.010040335357189178,
-0.025141244754195213,
-0.007073613349348307,
-0.023373132571578026,
-0.05132805183529854,
0.008131226524710655,
-0.024979367852211,
-0.020661979913711548,
-0.007543688174337149,
0.04764912649989128,
-0.03309352695941925,
-0.050166577100753784,
0.04499393329024315,
0.012285890989005566,
-0.024959038943052292,
-0.038541410118341446,
0.030868100002408028,
-0.03347520902752876,
0.010677242651581764,
0.022242670878767967,
-0.09026394039392471,
-0.042635515332221985,
-0.04409303888678551,
-0.017371002584695816,
0.04172051325440407,
-0.06079568713903427,
-0.033376771956682205,
0.0071931201964616776,
0.06447536498308182,
-0.01760639250278473,
0.05117375776171684,
-0.006750222761183977,
-0.002322654239833355,
0.014874003827571869,
0.006958752870559692,
-0.027389809489250183,
-0.0028115015011280775,
-0.03333849459886551,
-0.007605098653584719,
-0.0081955436617136,
0.005263049155473709,
-0.07199715822935104,
0.049570612609386444,
-0.018408218398690224,
-0.009557465091347694,
0.006290141958743334,
-0.03208188712596893,
-0.0035750544629991055,
-0.010963360778987408,
-0.02272193320095539,
-0.007164693903177977,
-0.030654828995466232,
0.018167769536376,
-0.005772952921688557,
-0.02242116816341877,
0.031920939683914185,
-0.05227044224739075,
-0.06286945194005966,
0.011612528935074806,
0.017831813544034958,
0.007206683978438377,
-0.018731296062469482,
-0.00030722972587682307,
-0.03682253882288933,
-0.0028504226356744766,
-0.027322940528392792,
-0.014644104056060314,
0.022955087944865227,
-0.04511687159538269,
0.018932808190584183,
0.005930136423557997,
-0.05554874241352081,
-0.0039013514760881662,
0.0154268192127347,
0.03333510085940361,
-0.04356708750128746,
-0.055945366621017456,
-0.021897144615650177,
0.00945962779223919,
-0.032822128385305405,
-0.02726934105157852,
0.01154956966638565,
-0.00286232796497643,
-0.0002104293234879151,
0.010151875205338001,
-0.06983812153339386,
0.0477103628218174,
0.0029860290233045816,
-0.004819253459572792,
-0.05156879872083664,
0.7831669449806213,
-0.04193577170372009,
-0.03593733534216881,
0.0033878933172672987,
0.0334983728826046,
-0.0016695422818884254,
-0.010812514461576939,
0.012884997762739658,
-0.027954380959272385,
-0.020971156656742096,
0.0028904529754072428,
0.020180612802505493,
0.02813985012471676,
0.006001396104693413,
-0.008283153176307678,
0.01889406144618988,
0.018328174948692322,
-0.0017936208751052618,
0.00789462961256504,
0.008265902288258076,
-0.030825568363070488,
0.0110140610486269,
-0.006577058229595423,
-0.010625975206494331,
-0.025713063776493073,
-0.034408632665872574,
-0.15312105417251587,
0.03574002534151077,
-8.467849145617002e-33,
0.005572423804551363,
-0.02150200493633747,
0.05373989790678024,
0.009667517617344856,
0.029914740473031998,
0.011802908033132553,
0.011811771430075169,
0.016306407749652863,
0.0137356948107481,
-0.005244725849479437,
0.0016975805629044771,
0.0023227748461067677,
-0.006178949028253555,
-0.009482348337769508,
0.011238433420658112,
-0.03378346934914589,
-0.013787870295345783,
0.028693463653326035,
0.014015191234648228,
0.031336963176727295,
0.0795360580086708,
0.06470353901386261,
0.06026516109704971,
0.04484466835856438,
-0.0002001012908294797,
-0.011134305968880653,
-0.030691737309098244,
-0.011306868866086006,
0.0004769245279021561,
-0.04392107203602791,
-0.07333551347255707,
0.04373345524072647,
-0.008880184032022953,
-0.05120614171028137,
0.012269971892237663,
-0.0675167590379715,
0.01891694776713848,
0.022293230518698692,
-0.008707704022526741,
0.022052040323615074,
-0.05034821480512619,
0.006133745890110731,
-0.014370814897119999,
0.00169828359503299,
-0.06032070145010948,
0.04353054240345955,
0.0448949821293354,
0.036884043365716934,
-0.003527207998558879,
0.024544011801481247,
0.020347299054265022,
-0.003685446921736002,
-0.012953203171491623,
0.010060318745672703,
-0.0036454147193580866,
0.021560806781053543,
-0.022194823250174522,
-0.026928318664431572,
0.03294970467686653,
-0.02307129092514515,
0.025248626247048378,
-0.01932719349861145,
0.032566726207733154,
0.030604491010308266,
-0.005493995267897844,
-0.029087159782648087,
0.10796809941530228,
0.031829893589019775,
0.06034950539469719,
-0.022459039464592934,
-0.020186305046081543,
0.01233930978924036,
-0.0033731877338141203,
-0.044483158737421036,
0.05834263190627098,
-0.050263624638319016,
-0.005107426084578037,
-0.01610209234058857,
0.0509890615940094,
0.005097678396850824,
0.0375518724322319,
0.0007037898758426309,
0.0033731479197740555,
-0.01406878512352705,
-0.01937882788479328,
-0.007921107113361359,
-0.0025029440876096487,
0.06651017814874649,
-0.03368153050541878,
-0.0292481891810894,
0.012051919475197792,
0.012293844483792782,
0.03758857026696205,
-0.04483437538146973,
0.00299002043902874,
7.448566973759458e-33,
0.03612572327256203,
-0.016527606174349785,
-0.02464216575026512,
0.005826280452311039,
0.05619361996650696,
-0.023633427917957306,
0.028407583013176918,
-0.004404574632644653,
-0.006999101024121046,
0.017848486080765724,
-0.008139152079820633,
-0.009682130068540573,
0.0029616067185997963,
0.03340610861778259,
0.02135358564555645,
0.03065468929708004,
-0.068356454372406,
0.054253578186035156,
-0.015953605994582176,
-0.003580723889172077,
-0.029150843620300293,
-0.015544743277132511,
0.010353382676839828,
0.03702858090400696,
0.025939175859093666,
-0.0029817139729857445,
-0.011412189342081547,
-0.005292055197060108,
-0.0020548927132040262,
-0.003712862264364958,
0.004361130762845278,
0.00420308206230402,
-0.0049042245373129845,
-0.022874176502227783,
-0.033367522060871124,
0.029608996585011482,
0.02862481214106083,
-0.00620278948917985,
-0.01751290261745453,
-0.014521078206598759,
0.030615150928497314,
0.04288294538855553,
0.00992641318589449,
0.0728154107928276,
0.033285435289144516,
0.025605810806155205,
-0.013551946729421616,
0.03972532972693443,
-0.014125608839094639,
-0.017326615750789642,
-0.03604991361498833,
0.0017727784579619765,
0.008411229588091373,
0.001022920710965991,
0.013382493518292904,
-0.03637523949146271,
-0.01183657068759203,
0.026832515373826027,
-0.06278041750192642,
0.013080288656055927,
-0.03272266685962677,
0.0146259143948555,
-0.052298787981271744,
0.027758847922086716,
-0.006640553940087557,
0.0292917899787426,
-0.040712859481573105,
-0.034984271973371506,
0.0005053859204053879,
-0.016237499192357063,
-0.001018898794427514,
-0.0870015099644661,
0.014517725445330143,
-0.02537541277706623,
0.01672758162021637,
0.012450076639652252,
-0.010910109616816044,
-0.0033157235011458397,
-0.023253533989191055,
0.049259159713983536,
0.012472645379602909,
-0.05758286640048027,
0.018148211762309074,
-0.011416107416152954,
-0.014073170721530914,
0.005998433101922274,
-0.040411971509456635,
-0.019410327076911926,
-0.0034064461942762136,
0.05904486030340195,
-0.021684052422642708,
-0.044538967311382294,
-0.02721303142607212,
0.011230118572711945,
-0.025948800146579742,
-1.311315145358094e-8,
-0.01832856610417366,
0.023367874324321747,
-0.0006016767001710832,
-0.007719938177615404,
-0.011617167852818966,
0.028252027928829193,
-0.01756373792886734,
0.009760245680809021,
0.036619704216718674,
-0.003046350786462426,
0.03573775291442871,
0.0070009478367865086,
0.039483148604631424,
0.035578738898038864,
0.013355192728340626,
-0.020400620996952057,
0.013828893192112446,
-0.023049190640449524,
0.034159306436777115,
0.0011249283561483026,
-0.01718423329293728,
0.05579288676381111,
-0.018574215471744537,
-0.002447728533297777,
0.021145028993487358,
0.01098698191344738,
0.005486843641847372,
-0.08146388828754425,
0.025465087965130806,
0.02633996307849884,
0.024739908054471016,
-0.029047438874840736,
0.029352733865380287,
0.040442340075969696,
0.024306852370500565,
-0.08283903449773788,
0.009611731395125389,
0.042465001344680786,
0.018962541595101357,
0.0057250261306762695,
0.022899001836776733,
0.009544921107590199,
-0.032985616475343704,
-0.042132049798965454,
-0.007595382165163755,
0.010046225041151047,
-0.06379324197769165,
0.06774470955133438,
0.0157674178481102,
-0.046195998787879944,
0.018402062356472015,
-0.025632260367274284,
0.012249571271240711,
0.013870658352971077,
0.08255434036254883,
0.045934323221445084,
-0.01481737568974495,
0.05217887833714485,
0.028416577726602554,
-0.027219999581575394,
0.01640607975423336,
0.01884135603904724,
-0.014996245503425598,
-0.016598880290985107
] | pandas-add-row-to-dataframe-with-index | https://markhneedham.com/blog/2021/05/13/pandas-add-row-to-dataframe-with-index |
false | 2021-02-03 00:44:37 | Neo4j Graph Data Science 1.5: Exploring the HITS Algorithm | [
"neo4j",
"graph-data-science",
"graph-algorithms"
] | [
"neo4j"
] | The https://neo4j.com/product/graph-data-science-library/[Neo4j Graph Data Science Library^] provides efficiently implemented, parallel versions of common graph algorithms for Neo4j, exposed as Cypher procedures.
It recently published https://github.com/neo4j/graph-data-science/releases/tag/1.5.0[version 1.5^], which has lots of goodies to play with.
image::{{<siteurl>}}/uploads/2021/02/gds-v1.5-hits.png[]
In this blog post, we're going to explore the newly added https://neo4j.com/docs/graph-data-science/1.5/algorithms/hits/[HITS algorithm^] with the help of a citations dataset.
== Launching Neo4j
We're going to run Neo4j with the Graph Data Science Library using the following Docker Compose configuration:
.docker-compose.yml
[source,yaml]
----
version: '3.7'
services:
neo4j:
image: neo4j:4.2.3-enterprise
container_name: "neo4j4.2-gds1.5-exploration"
volumes:
- ./plugins-4.2:/plugins
- ./data-4.2:/data
ports:
- "7474:7474"
- "7687:7687"
environment:
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_AUTH=neo4j/neo
- NEO4JLABS_PLUGINS=["apoc", "graph-data-science"]
----
If you want to follow along with the examples used in the blog post, you can copy the configuration above to a file titled `docker-compose.yml`
We can now launch the Neo4j server by running the following command:
[source, bash]
----
docker-compose up
----
After we've launched that command, we need to wait until we see the following output:
.Output
[source,text]
----
neo4j4.2-gds1.5-exploration | 2021-02-03 21:39:15.346+0000 INFO Bolt enabled on 0.0.0.0:7687.
neo4j4.2-gds1.5-exploration | 2021-02-03 21:39:16.053+0000 INFO Remote interface available at http://localhost:7474/
neo4j4.2-gds1.5-exploration | 2021-02-03 21:39:16.053+0000 INFO Started.
----
== Importing the Citation Graph
We're going to import the Citations Graph from the https://neo4j.com/graphacademy/training-gdsds-40/enrollment/[Using a Machine Learning Workflow for Link Prediction^] online training.
Let's first connect to Neo4j using the Cypher Shell:
[source,bash]
----
docker exec -it neo4j4.2-gds1.5-exploration bin/cypher-shell -u neo4j -p neo
----
.Output
[source,text]
----
Connected to Neo4j using Bolt protocol version 4.2 at neo4j://localhost:7687 as user neo4j.
Type :help for a list of available commands or :exit to exit the shell.
Note that Cypher queries must end with a semicolon.
neo4j@neo4j>
----
The data for the citation graph is available as a set of JSON lines files, which we can find at https://github.com/mneedham/link-prediction/tree/master/data.
Below is an example of one line of one of the files:
[source,json]
----
{"authors": ["Tegegne Marew", "Doo-Hwan Bae"], "n_citation": 1, "references": ["2134bf3b-fd89-4724-90ce-5993b4fa3218", "906c17e0-db09-407b-b760-41df5a3f0293", "94f4382e-cfa6-4aec-92b8-3711fc55da54", "9f172585-8d42-4fce-b6ae-aede321f3fd4", "a3aee287-efd0-4b9d-9cda-d47dd192c9f4", "a9a7fd07-ef71-4b3c-8fcf-d7fe114d2148", "d63dd4ae-4b30-484b-8ffc-88d21839ddad"], "title": "Using Classpects for Integrating Non-Functional and Functional Requirements.", "venue": "international conference on software engineering", "year": 2006, "id": "01f1d231-80ae-4cce-b56c-9d821e0924d0"}
----
We're going to use some https://neo4j.com/labs/apoc/4.2/overview/[APOC procedures^] to convert these JSON files into the following graph structure:
.Graph Model
image::https://neo4j.com/graphacademy/training-gdsds-40/_images/graph.png[]
So we'll have the following node labels:
* `Article` - a paper on a topic
* `Venue` - where the paper was presented
* `Author` - the person/people that worked on the `Article`
And these relationship types:
* `CITED` - which articles were cited by an article
* `AUTHOR` - which articles were written by a person/people
* `VENUE` - where an article was presented
Let's first create a new database and setup some constraints to make sure we don't end up with duplicates:
.Create new database and setup constraints
[source,cypher]
----
CREATE OR REPLACE DATABASE citationsblogpost;
:use citationsblogpost;
CREATE CONSTRAINT ON (a:Article) ASSERT a.index IS UNIQUE;
CREATE CONSTRAINT ON (a:Author) ASSERT a.name IS UNIQUE;
CREATE CONSTRAINT ON (v:Venue) ASSERT v.name IS UNIQUE;
----
Now we'll import the data:
.Create citations graph
[source,cypher]
----
CALL apoc.periodic.iterate(
'UNWIND ["dblp-ref-0.json", "dblp-ref-1.json", "dblp-ref-2.json", "dblp-ref-3.json"] AS file
CALL apoc.load.json("https://github.com/mneedham/link-prediction/raw/master/data/" + file)
YIELD value WITH value
return value',
'MERGE (a:Article {index:value.id})
SET a += apoc.map.clean(value,["id","authors","references", "venue"],[0])
WITH a, value.authors as authors, value.references AS citations, value.venue AS venue
MERGE (v:Venue {name: venue})
MERGE (a)-[:VENUE]->(v)
FOREACH(author in authors |
MERGE (b:Author{name:author})
MERGE (a)-[:AUTHOR]->(b))
FOREACH(citation in citations |
MERGE (cited:Article {index:citation})
MERGE (a)-[:CITED]->(cited))',
{batchSize: 1000, iterateList: true})
YIELD batches, total, timeTaken, committedOperations;
----
.Results
[opts="header"]
|===
| batches | total | timeTaken | committedOperations
| 52 | 51956 | 21 | 51956
|===
And finally, a bit of cleanup to remove articles that don't have a title:
.Remove articles that don't have a title
[source,cypher]
----
MATCH (a:Article)
WHERE not(exists(a.title))
DETACH DELETE a;
----
== HITS Algorithm
The https://neo4j.com/docs/graph-data-science/1.5/algorithms/hits/[HITs algorithm^], like many other graph algorithms, was invented to do link analysis on web pages.
It is a centrality algorithm, which means that it indicates node importance based on some metric.
We can learn more about it from the https://en.wikipedia.org/wiki/HITS_algorithm[HITS Wikipedia page^]:
[quote]
_____
The idea behind Hubs and Authorities stemmed from a particular insight into the creation of web pages when the Internet was originally forming; that is, certain web pages, known as hubs, served as large directories that were not actually authoritative in the information that they held, but were used as compilations of a broad catalog of information that led users direct to other authoritative pages.
The scheme therefore assigns two scores for each page: its authority, which estimates the value of the content of the page, and its hub value, which estimates the value of its links to other pages.
_____
So a page with a high authority score has high value content, whereas a page with a high hub score links out to important pages.
We're going to use this algorithm to analyse the citations between articles in our graph, so what does those different scores mean for us?
* An article with a high authority score will likely have a lot of citations, perhaps some of those by other important articles
* An article with a high hub score can help direct us (via its citations) to the important articles.
It's not clear to me that the hub score makes so much sense in this graph because there aren't really articles written with the intention of pointing people towards a bunch of other articles!
Let's give the algorithm a try and see what we find.
We can return a list of the available procedures by running the following query:
.List the HITS procedures
[source,cypher]
----
CALL gds.list("hits")
YIELD name, description
RETURN name, description;
----
.Results
[opts="header", cols="1,3"]
|===
| name | description
| "gds.alpha.hits.mutate" | "Hyperlink-Induced Topic Search (HITS) is a link analysis algorithm that rates nodes"
| "gds.alpha.hits.mutate.estimate" | "Returns an estimation of the memory consumption for that procedure."
| "gds.alpha.hits.stats" | "Hyperlink-Induced Topic Search (HITS) is a link analysis algorithm that rates nodes"
| "gds.alpha.hits.stats.estimate" | "Returns an estimation of the memory consumption for that procedure."
| "gds.alpha.hits.stream" | "Hyperlink-Induced Topic Search (HITS) is a link analysis algorithm that rates nodes"
| "gds.alpha.hits.stream.estimate" | "Returns an estimation of the memory consumption for that procedure."
| "gds.alpha.hits.write" | "Hyperlink-Induced Topic Search (HITS) is a link analysis algorithm that rates nodes"
| "gds.alpha.hits.write.estimate" | "Returns an estimation of the memory consumption for that procedure."
|===
Before we run the algorithm, we'll create a projected graph called `citation_graph`, by running the following:
.Create projected graph
[source,cypher]
----
CALL gds.graph.create("citation_graph", "Article", "CITED");
----
.Results
[opts="header"]
|===
| nodeProjection | relationshipProjection | graphName | nodeCount | relationshipCount | createMillis
| {Article: {properties: {}, label: "Article"}} | {CITED: {orientation: "NATURAL", aggregation: "DEFAULT", type: "CITED", properties: {}}} | "citation_graph" | 51956 | 28706 | 149
|===
And now we'll run the write version of the algorithm against the projected graph:
.Run HITS algorithm
[source,cypher]
----
CALL gds.alpha.hits.write("citation_graph", {
hitsIterations: 20
})
YIELD writeMillis, nodePropertiesWritten, ranIterations, postProcessingMillis, createMillis, computeMillis;
----
.Results
[opts="header"]
|===
| writeMillis | nodePropertiesWritten | ranIterations | postProcessingMillis | createMillis | computeMillis
| 174 | 103912 | 81 | 0 | 3 | 390
|===
By default, this procedure will create `pregel_auth` and `pregel_hub` properties on each of the `Article` nodes storing the computed scores.
== Analysing authority scores
Let's see which articles rank highest, starting with authority:
[source,cypher]
----
MATCH (a:Article)
RETURN a.title, a.year, substring(a.abstract, 0, 300) AS abstract,
[(a)-[:AUTHOR]->(auth) | auth.name] AS authors,
round(a.pregel_auth, 3) AS auth
ORDER BY auth DESC
LIMIT 10;
----
.Results
[opts="header", cols="30,10,25,25,10"]
|===
| a.title | a.year | abstract | authors | auth
| "Rough sets" | 1995 | "Rough set theory, introduced by Zdzislaw Pawlak in the early 1980s [11, 12], is a new mathematical tool to deal with vagueness and uncertainty. This approach seems to be of fundamental importance to artificial intelligence (AI) and cognitive sciences, especially in the areas of machine learning, kno" | ["Jerzy W. Grzymala-Busse", "Wojciech Ziarko", "Zdzisław Pawlak", "Roman Słowiński"] | 0.99
| "Fuzzy Similarity Relation as a Basis for Rough Approximations" | 1998 | "The rough sets theory proposed by Pawlak was originally founded on the idea of approximating a given set by means of indiscernibility binary relation, which was assumed to be an equivalence relation (reflexive, symmetric and transitive). With respect to this basic idea, two main theoretical developm" | ["Roman Słowiński", "Salvatore Greco", "Benedetto Matarazzo"] | 0.042
| "Toward Intelligent Systems: Calculi of Information Granules" | 2001 | "We present an approach based on calculi of information granules as a basis for approximate reasoning in intelligent systems. Approximate reasoning schemes are defined by means of information granule construction schemes satisfying some robustness constraints. In distributed environments such schemes" | ["Andrzej Skowron"] | 0.042
| "Approximation spaces and information granulation" | 2005 | "In this paper, we discuss approximation spaces in a granular computing framework. Such approximation spaces generalise the approaches to concept approximation existing in rough set theory. Approximation spaces are constructed as higher level information granules and are obtained as the result of com" | ["Andrzej Skowron", "Piotr Synak", "Roman Świniarski"] | 0.038
| "Layered learning for concept synthesis" | 2004 | "We present a hierarchical scheme for synthesis of concept approximations based on given data and domain knowledge. We also propose a solution, founded on rough set theory, to the problem of con- structing the approximation of higher level concepts by composing the approximation of lower level concep" | ["Andrzej Skowron", "Jan G. Bazan", "Hung Son Nguyen", "Sinh Hoa Nguyen"] | 0.037
| "A Comparison of Several Approaches to Missing Attribute Values in Data Mining" | 2000 | "In the paper nine different approaches to missing attribute values are presented and compared. Ten input data files were used to investigate the performance of the nine methods to deal with missing attribute values. For testing both naive classification and new classification techniques of LERS (Lea" | ["Jerzy W. Grzymala-Busse", "Ming Hu"] | 0.036
| "Variable Consistency Model of Dominance-Based Rough Sets Approach" | 2000 | "Consideration of preference-orders requires the use of an extended rough set model called Dominance-based Rough Set Approach (DRSA). The rough approximations defined within DRSA are based on consistency in the sense of dominance principle. It requires that objects having not-worse evaluation with re" | ["Benedetto Matarazzo", "Salvatore Greco", "Roman Słowiński", "Jerzy Stefanowski"] | 0.029
| "RSES and RSESlib - A Collection of Tools for Rough Set Computations" | 2000 | "Rough Set Exploration System - a set of software tools featuring a library of methods and a graphical user interface is presented. Methods, features and abilities of the implemented software are discussed and illustrated with a case study in data analysis." | ["Marcin S. Szczuka", "Jan G. Bazan"] | 0.026
| "A New Version of Rough Set Exploration System" | 2002 | "We introduce a new version of the Rough Set Exploration System - a software tool featuring a library of methods and a graphical user interface supporting variety of rough-set-based computations. Methods, features and abilities of the implemented software are discussed and illustrated with a case stu" | ["Marcin S. Szczuka", "Jakub Wróblewski", "Jan G. Bazan"] | 0.026
| "Rough sets and information granulation" | 2003 | "In this paper, the study of the evolution of approximation space theory and its applications is considered in the context of rough sets introduced by Zdzislaw Pawlak and information granulation as well as computing with words formulated by Lotfi Zadeh. Central to this evolution is the rough-mereolog" | ["Piotr Synak", "James F. Peters", "Andrzej Skowron", "Sheela Ramanna"] | 0.026
|===
The top article by some distance on this metric is https://dl.acm.org/doi/10.1145/219717.219791["Rough sets"^], which was written more than 25 years ago.
I found it interesting that the abstract talks about it being an approach that is fundamental to AI and machine learning, which are important fields in 2021.
We can have a look at the hub nodes that point to these articles by running the following query:
[source,cypher]
----
MATCH (a:Article)
WITH a, [(a)<-[:CITED]-(other) | other] AS citations
WITH a, apoc.coll.sortNodes(citations, "pregel_hub")[..5] AS topHubs
RETURN a.title, a.year,
round(a.pregel_auth, 3) AS auth,
[c in topHubs | {article: c.title, score: round(c.pregel_hub, 3)}] AS topHubs
ORDER BY auth DESC
LIMIT 10;
----
.Results
[opts="header", cols="25,10,10,55"]
|===
| a.title | a.year | auth | topHubs
| "Rough sets" | 1995 | 0.99 | [{score: 0.083, article: "Rough ethology: towards a biologically-inspired study of collective behavior in intelligent systems with approximation spaces"}, {score: 0.082, article: "Some Issues on Rough Sets"}, {score: 0.079, article: "A treatise on rough sets"}, {score: 0.079, article: "Approximate boolean reasoning: foundations and applications in data mining"}, {score: 0.075, article: "Multimodal classification: case studies"}]
| "Fuzzy Similarity Relation as a Basis for Rough Approximations" | 1998 | 0.042 | [{score: 0.082, article: "Some Issues on Rough Sets"}, {score: 0.079, article: "A treatise on rough sets"}, {score: 0.079, article: "Approximate boolean reasoning: foundations and applications in data mining"}, {score: 0.075, article: "On generalized rough fuzzy approximation operators"}, {score: 0.074, article: "Lattices with Interior and Closure Operators and Abstract Approximation Spaces"}]
| "Toward Intelligent Systems: Calculi of Information Granules" | 2001 | 0.042 | [{score: 0.083, article: "Rough ethology: towards a biologically-inspired study of collective behavior in intelligent systems with approximation spaces"}, {score: 0.082, article: "Some Issues on Rough Sets"}, {score: 0.072, article: "Rough sets and information granulation"}, {score: 0.071, article: "A Note on Ziarko's Variable Precision Rough Set Model and Nonmonotonic Reasoning"}, {score: 0.071, article: "A Partition Model of Granular Computing"}]
| "Approximation spaces and information granulation" | 2005 | 0.038 | [{score: 0.083, article: "Rough ethology: towards a biologically-inspired study of collective behavior in intelligent systems with approximation spaces"}, {score: 0.082, article: "Some Issues on Rough Sets"}, {score: 0.079, article: "A treatise on rough sets"}, {score: 0.075, article: "On generalized rough fuzzy approximation operators"}, {score: 0.074, article: "Matching 2d image segments with genetic algorithms and approximation spaces"}]
| "Layered learning for concept synthesis" | 2004 | 0.037 | [{score: 0.083, article: "Rough ethology: towards a biologically-inspired study of collective behavior in intelligent systems with approximation spaces"}, {score: 0.079, article: "A treatise on rough sets"}, {score: 0.079, article: "Approximate boolean reasoning: foundations and applications in data mining"}, {score: 0.075, article: "Multimodal classification: case studies"}, {score: 0.072, article: "P300 wave detection based on rough sets"}]
| "A Comparison of Several Approaches to Missing Attribute Values in Data Mining" | 2000 | 0.036 | [{score: 0.082, article: "Some Issues on Rough Sets"}, {score: 0.075, article: "The rough set exploration system"}, {score: 0.071, article: "Missing template decomposition method and its implementation in rough set exploration system"}, {score: 0.07, article: "Data with Missing Attribute Values: Generalization of Indiscernibility Relation and Rule Induction"}, {score: 0.07, article: "Characteristic relations for incomplete data: a generalization of the indiscernibility relation"}]
| "Variable Consistency Model of Dominance-Based Rough Sets Approach" | 2000 | 0.029 | [{score: 0.072, article: "Rough Set Analysis of Preference-Ordered Data"}, {score: 0.072, article: "Variable-precision dominance-based rough set approach"}, {score: 0.071, article: "On variable consistency dominance-based rough set approaches"}, {score: 0.071, article: "Multicriteria choice and ranking using decision rules induced from rough approximation of graded preference relations"}, {score: 0.07, article: "Rough set approach to customer satisfaction analysis"}]
| "RSES and RSESlib - A Collection of Tools for Rough Set Computations" | 2000 | 0.026 | [{score: 0.079, article: "Approximate boolean reasoning: foundations and applications in data mining"}, {score: 0.073, article: "Hybridization of rough sets and statistical learning theory"}, {score: 0.072, article: "Ontology driven concept approximation"}, {score: 0.072, article: "Processing of musical data employing rough sets and artificial neural networks"}, {score: 0.069, article: "A statistical method for determining importance of variables in an information system"}]
| "A New Version of Rough Set Exploration System" | 2002 | 0.026 | [{score: 0.075, article: "Multimodal classification: case studies"}, {score: 0.072, article: "Processing of musical data employing rough sets and artificial neural networks"}, {score: 0.069, article: "Introducing a rule importance measure"}, {score: 0.069, article: "NetTRS induction and postprocessing of decision rules"}, {score: 0.069, article: "Classification of Swallowing Sound Signals: A Rough Set Approach"}]
| "Rough sets and information granulation" | 2003 | 0.026 | [{score: 0.083, article: "Rough ethology: towards a biologically-inspired study of collective behavior in intelligent systems with approximation spaces"}, {score: 0.079, article: "A treatise on rough sets"}, {score: 0.075, article: "On generalized rough fuzzy approximation operators"}, {score: 0.074, article: "Matching 2d image segments with genetic algorithms and approximation spaces"}, {score: 0.071, article: "Time complexity of decision trees"}]
|===
Based on the top hubs, it's not really obvious why the authority score for "Rough sets" is so much higher than the other articles.
Perhaps if we return the max, min, and average hub scores we'll be able to figure it out?
[source,cypher]
----
MATCH (a:Article)
WITH a, [(a)<-[:CITED]-(other) | other] AS citations
RETURN a.title, a.year,
round(a.pregel_auth, 3) AS auth,
round(apoc.coll.max([c in citations | c.pregel_hub]), 3) AS maxHub,
round(apoc.coll.min([c in citations | c.pregel_hub]), 3) AS minHub,
round(apoc.coll.avg([c in citations | c.pregel_hub]), 3) AS averageHub,
size(citations) AS citations
ORDER BY auth DESC
LIMIT 10;
----
.Results
[opts="header", cols="4,1,1,1,1,1,1"]
|===
| a.title | a.year | auth | maxHub | minHub | averageHub | citations
| "Rough sets" | 1995 | 0.99 | 0.083 | 0.068 | 0.069 | 211
| "Toward Intelligent Systems: Calculi of Information Granules" | 2001 | 0.042 | 0.083 | 0.003 | 0.036 | 17
| "Fuzzy Similarity Relation as a Basis for Rough Approximations" | 1998 | 0.042 | 0.082 | 0.003 | 0.061 | 10
| "Approximation spaces and information granulation" | 2005 | 0.038 | 0.083 | 0.005 | 0.055 | 10
| "Layered learning for concept synthesis" | 2004 | 0.037 | 0.083 | 0.003 | 0.05 | 11
| "A Comparison of Several Approaches to Missing Attribute Values in Data Mining" | 2000 | 0.036 | 0.082 | 0.002 | 0.048 | 11
| "Variable Consistency Model of Dominance-Based Rough Sets Approach" | 2000 | 0.029 | 0.072 | 0.004 | 0.061 | 7
| "RSES and RSESlib - A Collection of Tools for Rough Set Computations" | 2000 | 0.026 | 0.079 | 0.002 | 0.032 | 12
| "Rough sets and information granulation" | 2003 | 0.026 | 0.083 | 0.005 | 0.065 | 6
| "A New Version of Rough Set Exploration System" | 2002 | 0.026 | 0.075 | 0.002 | 0.038 | 10
|===
From this output we learn that "Rough sets" is being cited by a lot of articles with a good hub score.
The other articles have a similar `maxHub` score and some even have a similar `averageHub`, but their `minHub` is significantly less.
It also has 10x as many citations as any of the other articles in the top 10, so that would contribute to the higher score as well.
== HITS Authority vs PageRank
The HITS Authority score and the PageRank algorithm both compute scores that indicate the importance of a node in a graph, so I was curious whether there was any correlation between the scores.
i.e. do the nodes with the highest HITS authority score also have a high PageRank score?
To recap, https://neo4j.com/docs/graph-data-science/current/algorithms/page-rank/[this is what PageRank measures^]:
[quote]
_____
The PageRank algorithm measures the importance of each node within the graph, based on the number incoming relationships and the importance of the corresponding source nodes.
_____
We can compute the PageRank score for articles, by running the following query:
[source,cypher]
----
CALL gds.pageRank.write("citation_graph", {
maxIterations: 20,
writeProperty: "pagerank"
})
YIELD writeMillis, nodePropertiesWritten, ranIterations, postProcessingMillis, createMillis, computeMillis;
----
.Results
[opts="header"]
|===
| writeMillis | nodePropertiesWritten | ranIterations | postProcessingMillis | createMillis | computeMillis
| 29 | 51956 | 20 | 0 | 0 | 112
|===
And now let's put the PageRank scores alongside the HITS Authority scores:
[source,cypher]
----
MATCH (a:Article)
RETURN a.title, a.year,
round(a.pregel_auth, 3) AS auth,
round(a.pagerank, 3) AS pagerank,
size([(a)<-[:CITED]-(other) | other]) AS citations
ORDER BY auth DESC
LIMIT 10;
----
.Results
[opts="header",cols="60,10,10,10,10"]
|===
| a.title | a.year | auth | pagerank | citations
| "Rough sets" | 1995 | 0.99 | 25.609 | 211
| "Fuzzy Similarity Relation as a Basis for Rough Approximations" | 1998 | 0.042 | 0.738 | 10
| "Toward Intelligent Systems: Calculi of Information Granules" | 2001 | 0.042 | 1.862 | 17
| "Approximation spaces and information granulation" | 2005 | 0.038 | 0.418 | 10
| "Layered learning for concept synthesis" | 2004 | 0.037 | 0.505 | 11
| "A Comparison of Several Approaches to Missing Attribute Values in Data Mining" | 2000 | 0.036 | 0.896 | 11
| "Variable Consistency Model of Dominance-Based Rough Sets Approach" | 2000 | 0.029 | 0.471 | 7
| "RSES and RSESlib - A Collection of Tools for Rough Set Computations" | 2000 | 0.026 | 1.296 | 12
| "A New Version of Rough Set Exploration System" | 2002 | 0.026 | 0.682 | 10
| "Rough sets and information granulation" | 2003 | 0.026 | 0.375 | 6
|===
Rough Sets is the only one with a high PageRank score as well.
In fact, its PageRank score is the 3rd highest in the graph, which we can see by running the following query:
[source,cypher]
----
MATCH (a:Article)
RETURN a.title, a.year,
round(a.pregel_auth, 5) AS auth,
round(a.pagerank, 5) AS pagerank,
size([(a)<-[:CITED]-(other) | other]) AS citations
ORDER BY pagerank DESC
LIMIT 10;
----
.Results
[opts="header",cols="60,10,10,10,10"]
|===
| a.title | a.year | auth | pagerank | citations
| "A method for obtaining digital signatures and public-key cryptosystems" | 1978 | 5.0E-5 | 93.94313 | 125
| "Secure communications over insecure channels" | 1978 | 0.0 | 79.86924 | 7
| "Rough sets" | 1995 | 0.9902 | 25.60911 | 211
| "An axiomatic basis for computer programming" | 1969 | 4.4E-4 | 23.02937 | 93
| "Pastry: Scalable, Decentralized Object Location, and Routing for Large-Scale Peer-to-Peer Systems" | 2001 | 0.0 | 21.46956 | 108
| "SCRIBE: The Design of a Large-Scale Event Notification Infrastructure" | 2001 | 0.0 | 19.4863 | 14
| "A field study of the software design process for large systems" | 1988 | 0.0 | 19.02815 | 53
| "Productivity factors and programming environments" | 1984 | 0.0 | 18.49935 | 5
| "Analyzing medium-scale software development" | 1978 | 0.0 | 16.45275 | 5
| "A Calculus of Communicating Systems" | 1982 | 0.0 | 15.43059 | 55
|===
I find it kinda interesting that while these articles have very high transitive importance, their HITS Authority score is very low.
Many of them have a lot of citations as well, but presumably most of those citations aren't from hub nodes.
== Analysing hub scores
Speaking of hubs, let's explore those in a bit more detail.
We can find the articles with the highest hub score, by running the following query:
[source,cypher]
----
MATCH (a:Article)
WITH a, [(a)-[:CITED]->(other) | other] AS cited
RETURN a.title, a.year,
round(a.pregel_hub, 3) AS hub,
round(apoc.coll.max([c in cited | c.pregel_auth]), 3) AS maxAuth,
round(apoc.coll.min([c in cited | c.pregel_auth]), 3) AS minAuth,
round(apoc.coll.avg([c in cited | c.pregel_auth]), 3) AS averageAuth,
size(cited) AS cited
ORDER BY a.pregel_hub DESC
LIMIT 10;
----
.Results
[opts="header",cols="40,10,10,10,10,10,10"]
|===
| a.title | a.year | hub | maxAuth | minAuth | averageAuth | cited
| "Rough ethology: towards a biologically-inspired study of collective behavior in intelligent systems with approximation spaces" | 2005 | 0.083 | 0.99 | 0.006 | 0.102 | 12
| "Some Issues on Rough Sets" | 2004 | 0.082 | 0.99 | 0.006 | 0.134 | 9
| "A treatise on rough sets" | 2005 | 0.079 | 0.99 | 0.005 | 0.145 | 8
| "Approximate boolean reasoning: foundations and applications in data mining" | 2006 | 0.079 | 0.99 | 0.005 | 0.115 | 10
| "Multimodal classification: case studies" | 2006 | 0.075 | 0.99 | 0.005 | 0.122 | 9
| "The rough set exploration system" | 2005 | 0.075 | 0.99 | 0.005 | 0.157 | 7
| "On generalized rough fuzzy approximation operators" | 2006 | 0.075 | 0.99 | 0.026 | 0.274 | 4
| "Lattices with Interior and Closure Operators and Abstract Approximation Spaces" | 2009 | 0.074 | 0.99 | 0.005 | 0.136 | 8
| "Matching 2d image segments with genetic algorithms and approximation spaces" | 2006 | 0.074 | 0.99 | 0.005 | 0.154 | 7
| "Hybridization of rough sets and statistical learning theory" | 2011 | 0.073 | 0.99 | 0.005 | 0.214 | 5
|===
The `maxAuth` scores tell us that all of these articles cite the "Rough sets" article that we came across in the previous section.
There aren't really any other articles with a high authority score, so we can assume that nearly all of the hub score is coming from citing "Rough sets".
In any case, let's have a look at the other authorities that these articles have cited:
[source,cypher]
----
MATCH (a:Article)
WITH a, [(a)-[:CITED]->(other) | other] AS cited
WITH a, apoc.coll.sortNodes(cited, "pregel_auth")[..5] AS topAuthorities
RETURN a.title, a.year,
round(a.pregel_hub, 3) AS hub,
[c in topAuthorities | {article: c.title, score: round(c.pregel_auth, 3)}] AS topAuthorities
ORDER BY hub DESC
LIMIT 10;
----
.Results
[opts="header", cols="30,10,10,50"]
|===
| a.title | a.year | hub | topAuthorities
| "Rough ethology: towards a biologically-inspired study of collective behavior in intelligent systems with approximation spaces" | 2005 | 0.083 | [{score: 0.99, article: "Rough sets"}, {score: 0.042, article: "Toward Intelligent Systems: Calculi of Information Granules"}, {score: 0.038, article: "Approximation spaces and information granulation"}, {score: 0.037, article: "Layered learning for concept synthesis"}, {score: 0.026, article: "Rough sets and information granulation"}]
| "Some Issues on Rough Sets" | 2004 | 0.082 | [{score: 0.99, article: "Rough sets"}, {score: 0.042, article: "Toward Intelligent Systems: Calculi of Information Granules"}, {score: 0.042, article: "Fuzzy Similarity Relation as a Basis for Rough Approximations"}, {score: 0.038, article: "Approximation spaces and information granulation"}, {score: 0.036, article: "A Comparison of Several Approaches to Missing Attribute Values in Data Mining"}]
| "A treatise on rough sets" | 2005 | 0.079 | [{score: 0.99, article: "Rough sets"}, {score: 0.042, article: "Fuzzy Similarity Relation as a Basis for Rough Approximations"}, {score: 0.038, article: "Approximation spaces and information granulation"}, {score: 0.037, article: "Layered learning for concept synthesis"}, {score: 0.026, article: "Rough sets and information granulation"}]
| "Approximate boolean reasoning: foundations and applications in data mining" | 2006 | 0.079 | [{score: 0.99, article: "Rough sets"}, {score: 0.042, article: "Fuzzy Similarity Relation as a Basis for Rough Approximations"}, {score: 0.037, article: "Layered learning for concept synthesis"}, {score: 0.026, article: "RSES and RSESlib - A Collection of Tools for Rough Set Computations"}, {score: 0.021, article: "Some Issues on Rough Sets"}]
| "Multimodal classification: case studies" | 2006 | 0.075 | [{score: 0.99, article: "Rough sets"}, {score: 0.037, article: "Layered learning for concept synthesis"}, {score: 0.026, article: "A New Version of Rough Set Exploration System"}, {score: 0.015, article: "The rough set exploration system"}, {score: 0.01, article: "Rough Set Methods in Approximation of Hierarchical Concepts"}]
| "The rough set exploration system" | 2005 | 0.075 | [{score: 0.99, article: "Rough sets"}, {score: 0.036, article: "A Comparison of Several Approaches to Missing Attribute Values in Data Mining"}, {score: 0.021, article: "Rough Sets and Decision Algorithms"}, {score: 0.021, article: "In Pursuit of Patterns in Data Reasoning from Data The Rough Set Way"}, {score: 0.015, article: "Classification of Swallowing Sound Signals: A Rough Set Approach"}]
| "On generalized rough fuzzy approximation operators" | 2006 | 0.075 | [{score: 0.99, article: "Rough sets"}, {score: 0.042, article: "Fuzzy Similarity Relation as a Basis for Rough Approximations"}, {score: 0.038, article: "Approximation spaces and information granulation"}, {score: 0.026, article: "Rough sets and information granulation"}]
| "Lattices with Interior and Closure Operators and Abstract Approximation Spaces" | 2009 | 0.074 | [{score: 0.99, article: "Rough sets"}, {score: 0.042, article: "Fuzzy Similarity Relation as a Basis for Rough Approximations"}, {score: 0.024, article: "Approximation Operators in Qualitative Data Analysis"}, {score: 0.015, article: "Data with Missing Attribute Values: Generalization of Indiscernibility Relation and Rule Induction"}, {score: 0.005, article: "Algebraic structures for rough sets"}]
| "Matching 2d image segments with genetic algorithms and approximation spaces" | 2006 | 0.074 | [{score: 0.99, article: "Rough sets"}, {score: 0.038, article: "Approximation spaces and information granulation"}, {score: 0.026, article: "Rough sets and information granulation"}, {score: 0.01, article: "K-means Indiscernibility Relation over Pixels"}, {score: 0.006, article: "Rough ethology: towards a biologically-inspired study of collective behavior in intelligent systems with approximation spaces"}]
| "Hybridization of rough sets and statistical learning theory" | 2011 | 0.073 | [{score: 0.99, article: "Rough sets"}, {score: 0.038, article: "Approximation spaces and information granulation"}, {score: 0.026, article: "RSES and RSESlib - A Collection of Tools for Rough Set Computations"}, {score: 0.01, article: "Accuracy and Coverage in Rough Set Rule Induction"}, {score: 0.005, article: "Generalized indiscernibility relations: applications for missing values and analysis of structural objects"}]
|===
The top 2 articles both cited "Toward Intelligent Systems: Calculi of Information Granules", which gives them a marginally higher score than the other 8.
But I don't think these hub scores are telling us all that much about these articles.
== In Summary
While I'm not sure that this is the greatest data set to show off this algorithm, I think the algorithm itself is an interesting addition to the library.
I'm curious to see how well it would fare on a Twitter graph - perhaps the HITS Hub score would help to identify those accounts that primarily tweet out links to interesting content?
I guess that exploration will have to wait for another post! | In this post we'll explore the HITS link analysis algorithm that was added to the Neo4j Graph Data Science Library in version 1.5.0. | uploads/2021/02/gds-v1.5-hits.png | [
-0.00016873277490958571,
-0.01946314424276352,
0.0014590017963200808,
0.06039167195558548,
0.09701655805110931,
0.011860708706080914,
0.020014295354485512,
0.03535768389701843,
0.009324254468083382,
-0.02897523157298565,
-0.006490708328783512,
-0.021450523287057877,
-0.054136011749506,
0.019674241542816162,
-0.009395821951329708,
0.05925097316503525,
0.06411132216453552,
0.029701830819249153,
0.005874813534319401,
0.01059697661548853,
0.020306795835494995,
0.03053443133831024,
0.004877518862485886,
0.03853501006960869,
0.027463801205158234,
-0.0003986863302998245,
0.015271101146936417,
0.0011607591295614839,
-0.0442044697701931,
-0.009717331267893314,
0.038789503276348114,
0.0008795919129624963,
0.017648378387093544,
0.005774301011115313,
0.021258855238556862,
0.007634059526026249,
-0.06858886033296585,
0.0035370641853660345,
-0.0024567274376749992,
0.004623744636774063,
-0.08839210867881775,
0.040795691311359406,
-0.0037083448842167854,
0.019709622487425804,
-0.041567396372556686,
0.015803946182131767,
-0.06016690656542778,
0.04451829940080643,
0.019962433725595474,
0.012839358299970627,
-0.0998244434595108,
0.01611032709479332,
-0.02463771030306816,
0.010088671930134296,
-0.02569006383419037,
0.02738584578037262,
0.014276922680437565,
-0.056641384959220886,
0.041000012308359146,
-0.033574920147657394,
-0.0051538581028580666,
-0.015651728957891464,
0.00790429301559925,
0.030839992687106133,
0.005381873343139887,
-0.05571015551686287,
-0.010610509663820267,
0.05819632112979889,
-0.04022326320409775,
-0.0029040074441581964,
0.006034229416400194,
0.0350332148373127,
-0.0028713741339743137,
-0.01451078150421381,
0.004091209731996059,
-0.05030445009469986,
0.009794201701879501,
0.04675741866230965,
0.03100322000682354,
0.050933588296175,
-0.0294557623565197,
0.014896093867719173,
0.0031487061642110348,
0.026807541027665138,
-0.025779426097869873,
-0.04291711747646332,
-0.039015356451272964,
-0.010990881361067295,
-0.07230786979198456,
0.05846225842833519,
0.018667474389076233,
-0.06712987273931503,
0.004197400528937578,
0.004190919455140829,
0.008138845674693584,
0.03903752192854881,
0.0020586103200912476,
0.003966456279158592,
0.026923874393105507,
-0.016723832115530968,
-0.036163393408060074,
-0.022450797259807587,
-0.013129358179867268,
0.021925218403339386,
-0.0759819820523262,
-0.03546750172972679,
-0.02605072408914566,
-0.027350572869181633,
-0.015350710600614548,
-0.011501865461468697,
0.0053238701075315475,
0.007330326829105616,
-0.02547159604728222,
0.022344619035720825,
-0.09270919114351273,
0.0841984748840332,
0.02717883698642254,
-0.029456064105033875,
-0.02464371547102928,
0.01194006484001875,
0.055054422467947006,
0.029746316373348236,
-0.005565394181758165,
0.06512962281703949,
-0.0032712104730308056,
0.03962439298629761,
0.008964053355157375,
0.0536637082695961,
-0.032973065972328186,
-0.062006596475839615,
-0.02314062789082527,
0.06073834002017975,
-0.006174695678055286,
0.010771905072033405,
-0.02077420987188816,
-0.034653499722480774,
-0.0037183722015470266,
0.029431603848934174,
0.052520494908094406,
0.03425491973757744,
-0.005164703354239464,
-0.057398803532123566,
0.024486802518367767,
-0.006865933071821928,
0.03378675505518913,
0.00902211107313633,
-0.009657049551606178,
-0.03782983869314194,
-0.034375209361314774,
0.0112908985465765,
0.010559446178376675,
0.02861604280769825,
0.030876681208610535,
-0.036502305418252945,
0.04208436980843544,
0.11271592229604721,
0.046546779572963715,
0.02356886677443981,
-0.026208976283669472,
0.024601370096206665,
0.0405244417488575,
0.020566843450069427,
0.005791444331407547,
0.0398484505712986,
-0.0013350278604775667,
-0.020635729655623436,
-0.01845691166818142,
0.05824066326022148,
0.008524885401129723,
0.006209334824234247,
-0.030688928440213203,
-0.06309763342142105,
0.0515943206846714,
-0.033318839967250824,
0.028030522167682648,
0.04605706408619881,
0.07985064387321472,
0.017710015177726746,
0.02491622604429722,
-0.010513483546674252,
-0.08362043648958206,
0.06317020207643509,
0.02034730650484562,
0.009421886876225471,
-0.002241079928353429,
-0.006243885029107332,
0.07876376807689667,
0.034081991761922836,
0.03579895943403244,
0.05142790451645851,
-0.09047429263591766,
-0.08466986566781998,
-0.008733823895454407,
-0.011621128767728806,
0.06408815830945969,
-0.01667284592986107,
-0.0066491421312093735,
0.030592532828450203,
-0.009235741570591927,
0.028843393549323082,
0.0119420001283288,
0.0033807673025876284,
0.0315583273768425,
-0.06252150237560272,
-0.0707385465502739,
0.056520845741033554,
0.018926089629530907,
-0.05876828357577324,
-0.06433528661727905,
0.010297629050910473,
-0.03084632195532322,
-0.021735364571213722,
0.021529141813516617,
-0.03223675861954689,
0.06015230342745781,
0.010015448555350304,
0.03529421240091324,
-0.012330411933362484,
0.024459095671772957,
-0.03125482052564621,
0.03725079819560051,
-0.0026413656305521727,
-0.02928422950208187,
0.019811715930700302,
0.007983673363924026,
0.10288072377443314,
0.07363525032997131,
-0.01351705938577652,
-0.04547803848981857,
0.07095897942781448,
0.02498547174036503,
-0.030667688697576523,
0.0176044050604105,
-0.019446536898612976,
-0.01020795851945877,
-0.003857868956401944,
-0.03213081881403923,
-0.010873338207602501,
0.015120147727429867,
-0.0373685322701931,
0.0030735377222299576,
0.0544932596385479,
-0.03011409379541874,
0.07295005768537521,
0.023087002336978912,
-0.017204325646162033,
-0.001782007748261094,
-0.046921975910663605,
-0.06400720030069351,
0.0035651596263051033,
0.018339229747653008,
-0.004868326708674431,
0.04918192699551582,
-0.02419065311551094,
-0.01230329368263483,
-0.04638448730111122,
-0.018739674240350723,
0.03556106612086296,
0.03719440475106239,
0.0551447868347168,
-0.007002292200922966,
0.033311065286397934,
-0.0402911975979805,
0.028634363785386086,
0.005670834332704544,
-0.06278631836175919,
-0.03159395232796669,
-0.034752074629068375,
0.0327594131231308,
0.0007768139475956559,
0.02639615535736084,
-0.012638403102755547,
0.03941163048148155,
-0.009734950959682465,
0.01838630437850952,
-0.011703935451805592,
0.028772488236427307,
0.007583489641547203,
-0.00955977849662304,
-0.032234106212854385,
-0.02702222391963005,
0.06131977215409279,
-0.06795257329940796,
0.000005056380814494332,
-0.01949409395456314,
-0.06683621555566788,
0.04855871573090553,
-0.05866754427552223,
-0.01999608613550663,
-0.010657471604645252,
0.027494855225086212,
0.04428146407008171,
0.013604927808046341,
0.0010868549579754472,
0.04192467778921127,
0.028086677193641663,
0.00042069476330652833,
-0.0055099185556173325,
-0.005123245995491743,
0.04815483093261719,
-0.011400526389479637,
0.04061943292617798,
0.05318174138665199,
-0.010870450176298618,
-0.018396710976958275,
-0.03737568110227585,
0.018713289871811867,
-0.0023117174860090017,
-0.267776757478714,
0.027860643342137337,
-0.036495745182037354,
-0.036513011902570724,
0.004535761661827564,
-0.017494412139058113,
0.005633364897221327,
-0.03647078573703766,
-0.005028600338846445,
-0.016729414463043213,
-0.014732137322425842,
-0.0365513376891613,
-0.01026119850575924,
0.04791109636425972,
0.01721601001918316,
0.026810498908162117,
0.004669373854994774,
-0.055831629782915115,
0.002012545708566904,
-0.001617232570424676,
-0.002077697077766061,
-0.03132022172212601,
-0.002869024872779846,
0.004885781556367874,
0.01505510974675417,
0.023670310154557228,
-0.10009613633155823,
0.030423998832702637,
-0.05814622715115547,
-0.03291868418455124,
0.00044628430623561144,
-0.013996545225381851,
-0.008085941895842552,
0.00899878703057766,
-0.009592970833182335,
-0.011769059114158154,
0.030138719826936722,
0.0032050078734755516,
0.002315007383003831,
0.012080468237400055,
-0.026918400079011917,
-0.038580454885959625,
-0.022545533254742622,
-0.004721754230558872,
0.08833234012126923,
-0.00087982346303761,
-0.07671771198511124,
-0.005510397255420685,
-0.017017889767885208,
0.07790955156087875,
-0.03257868066430092,
-0.02325301617383957,
-0.024738362058997154,
0.02467285841703415,
-0.014963504858314991,
-0.02557278797030449,
-0.02490282617509365,
-0.00909979734569788,
-0.047620322555303574,
-0.030658768489956856,
-0.013243180699646473,
-0.0367380753159523,
0.004591729491949081,
-0.06174835190176964,
-0.03127595782279968,
-0.04884140193462372,
-0.07505729794502258,
-0.03988420590758324,
0.053451623767614365,
0.02509135752916336,
-0.02353992685675621,
0.03774617612361908,
-0.016158856451511383,
-0.10546304285526276,
-0.029264893382787704,
-0.04452376812696457,
-0.02029315009713173,
0.005228294990956783,
-0.003397193504497409,
0.05063078925013542,
-0.04037033021450043,
-0.05730428546667099,
0.0008964903536252677,
0.027947697788476944,
0.012380411848425865,
-0.010569284670054913,
0.022059639915823936,
-0.028776705265045166,
-0.02307247929275036,
0.018355702981352806,
0.055424660444259644,
-0.01696968451142311,
-0.016916045919060707,
-0.025348661467432976,
-0.008447488769888878,
0.027465160936117172,
0.010757108218967915,
0.017003023996949196,
0.009546306915581226,
0.06498951464891434,
0.03918475657701492,
-0.03671374171972275,
0.01939697004854679,
-0.018872778862714767,
-0.04258542135357857,
-0.007481270004063845,
-0.0351814366877079,
0.003321194089949131,
0.0343979150056839,
0.032716598361730576,
0.0026658843271434307,
-0.02315330319106579,
0.042135950177907944,
-0.06311867386102676,
-0.017354261130094528,
0.0011665247147902846,
0.02181638404726982,
0.03711974248290062,
0.05316510051488876,
-0.009253387339413166,
-0.05210266634821892,
0.03408365696668625,
0.025703439489006996,
-0.015942737460136414,
-0.05130963400006294,
-0.03409113734960556,
-0.013414011336863041,
-0.023588644340634346,
0.008871805854141712,
0.022483302280306816,
-0.01361007709056139,
0.04496545344591141,
0.03168313577771187,
-0.03683285787701607,
0.04268937557935715,
-0.02058982104063034,
-0.04857208579778671,
-0.04466148465871811,
0.028283163905143738,
0.0047897109761834145,
-0.028454536572098732,
0.017820682376623154,
0.004214718472212553,
0.020190082490444183,
0.04816849157214165,
0.02892887592315674,
0.013646380044519901,
0.005120606627315283,
0.04225850850343704,
-0.00139654241502285,
-0.01466161385178566,
-0.030393565073609352,
0.010150324553251266,
-0.044359996914863586,
0.00003042034040845465,
-0.012784718535840511,
0.05332423746585846,
-0.026056500151753426,
-0.03583458438515663,
-0.02982398495078087,
0.01993754878640175,
-0.06450890749692917,
-0.0085260896012187,
-0.011796664446592331,
-0.009937032125890255,
0.07010537385940552,
-0.025370122864842415,
0.020299619063735008,
-0.016057172790169716,
-0.018756957724690437,
0.01951421983540058,
0.01956290937960148,
-0.024164358153939247,
-0.00009017424599733204,
0.005020800046622753,
-0.01083610113710165,
-0.0042197443544864655,
0.05200602859258652,
0.05023607984185219,
0.019133178517222404,
-0.017065446823835373,
-0.020829444751143456,
0.00491352379322052,
0.016092654317617416,
0.04744868353009224,
0.04111591354012489,
-0.01362795103341341,
0.00811744760721922,
-0.014284647069871426,
-0.0019823473412543535,
-0.019763601943850517,
0.011193260550498962,
-0.02356952801346779,
0.006102070678025484,
-0.016808079555630684,
-0.0588984489440918,
0.06203344836831093,
0.013014042750000954,
0.00861375592648983,
0.027237262576818466,
-0.00907477643340826,
0.013378848321735859,
-0.025298384949564934,
0.04579460620880127,
0.05759816989302635,
-0.06259629875421524,
-0.03573158010840416,
0.0008869250887073576,
0.01472802460193634,
-0.0061930702067911625,
0.025003278627991676,
-0.06800711899995804,
-0.027621082961559296,
-0.0013932830188423395,
0.02227162942290306,
-0.03168301656842232,
-0.0585864819586277,
-0.0031775087118148804,
0.002892089309170842,
0.00885818898677826,
0.022641105577349663,
0.01764822006225586,
-0.003067883662879467,
-0.027005638927221298,
-0.008387651294469833,
0.03695938363671303,
-0.025876609608530998,
0.0030174378771334887,
-0.010565372183918953,
-0.01826797053217888,
0.021907879039645195,
-0.032217346131801605,
0.004533570725470781,
0.0021974346600472927,
-0.0005902842385694385,
0.019911454990506172,
-0.04642858728766441,
0.017287718132138252,
-0.01349649392068386,
0.0358038954436779,
-0.007510791532695293,
-0.011606245301663876,
-0.05067955330014229,
-0.012281372211873531,
-0.03608807548880577,
0.007184674497693777,
-0.008044966496527195,
0.013405042700469494,
0.007252504583448172,
0.017532560974359512,
-0.0057360148057341576,
0.03334042802453041,
-0.015368188731372356,
-0.038964103907346725,
0.05478064715862274,
-0.05396223068237305,
-0.027412619441747665,
-0.011722764931619167,
-0.05862843245267868,
-0.0034321879502385855,
0.01605488359928131,
0.018724562600255013,
-0.031508058309555054,
0.0582444854080677,
0.05014660209417343,
0.01895917020738125,
0.019400354474782944,
-0.013936156406998634,
0.02751784585416317,
-0.01188099104911089,
-0.015350941568613052,
-0.07388603687286377,
0.0040300823748111725,
0.03834081068634987,
-0.022902783006429672,
-0.01307639293372631,
0.008764821104705334,
-0.03253018483519554,
0.009064016863703728,
-0.054716117680072784,
-0.03303015977144241,
0.04799271002411842,
-0.031560320407152176,
0.005929292645305395,
-0.013249099254608154,
-0.06320241093635559,
0.03356551378965378,
0.03715241700410843,
-0.03840090334415436,
-0.017880868166685104,
-0.007448345888406038,
0.050392139703035355,
-0.035242561250925064,
0.03724483773112297,
-0.023265883326530457,
-0.042848095297813416,
0.08157835900783539,
0.02416296862065792,
0.0025079299230128527,
0.04866279661655426,
-0.007417681161314249,
0.04480724036693573,
0.03610706701874733,
-0.011020436882972717,
0.004439220298081636,
0.032768599689006805,
-0.02702595666050911,
-0.04618820548057556,
0.04062369093298912,
0.0029735774733126163,
-0.025698160752654076,
-0.038272034376859665,
0.07193248718976974,
0.022401683032512665,
-0.043679799884557724,
-0.05009850114583969,
0.04510694742202759,
-0.032382890582084656,
-0.0028897107113152742,
-0.029357844963669777,
0.011823701672255993,
-0.05354086682200432,
0.04059248045086861,
-0.016516556963324547,
0.0087752565741539,
0.05110468342900276,
0.009459858760237694,
-0.01828940212726593,
0.010077613405883312,
0.10429257899522781,
0.08805189281702042,
0.0272928848862648,
0.021508002653717995,
0.08072207123041153,
-0.01136746909469366,
-0.027816737070679665,
-0.01411829050630331,
-0.00799344852566719,
-0.036715008318424225,
-0.007519470993429422,
0.02290278859436512,
0.0708957090973854,
-0.026031088083982468,
0.07844386249780655,
-0.013950636610388756,
-0.0088809784501791,
-0.022009234875440598,
0.008480045944452286,
0.03271006792783737,
0.04315710440278053,
0.014463487081229687,
0.04631807282567024,
-0.028706124052405357,
-0.02739778906106949,
0.016347043216228485,
-0.015539731830358505,
-0.022285468876361847,
0.020667586475610733,
-0.020269645377993584,
0.0038442823570221663,
0.010685106739401817,
0.04556364193558693,
0.0883282944560051,
-0.03753944858908653,
0.0018513535615056753,
0.002736705355346203,
0.020671451464295387,
0.014774356037378311,
0.021497007459402084,
-0.026358315721154213,
-0.02351956255733967,
-0.017965424805879593,
-0.04156911000609398,
-0.021428903564810753,
-0.02855062671005726,
-0.02851690724492073,
0.013372516259551048,
-0.02339829131960869,
-0.01248954702168703,
0.013044726103544235,
-0.03156166896224022,
-0.007370529696345329,
-0.040540698915719986,
-0.03407887741923332,
-0.0568072609603405,
-0.07192473858594894,
0.005097042769193649,
0.0027982403989881277,
0.006022799294441938,
-0.01808909885585308,
-0.00821528397500515,
-0.008744933642446995,
-0.02642250619828701,
0.05480783060193062,
-0.05932891368865967,
0.015138854272663593,
0.005478461738675833,
0.029064618051052094,
0.00917568989098072,
-0.00010153648327104747,
0.06542402505874634,
0.00823246594518423,
0.01155198272317648,
-0.014495623297989368,
0.026788363233208656,
0.02973988838493824,
0.013450966216623783,
0.009804763831198215,
-0.07881125062704086,
-0.0032418803311884403,
0.017870059236884117,
-0.01238915417343378,
-0.08429688215255737,
0.014245954342186451,
0.04017585515975952,
-0.004663048777729273,
0.03370705991983414,
-0.01236336212605238,
-0.010427224449813366,
-0.02812531590461731,
-0.0036461574491113424,
0.0015586743829771876,
-0.03209378942847252,
0.03149878606200218,
-0.01926526054739952,
0.07520865648984909,
0.042224377393722534,
-0.029805157333612442,
-0.020168989896774292,
-0.028146954253315926,
0.004923874977976084,
0.010935170575976372,
-0.03675375133752823,
-0.01827269233763218,
-0.027742259204387665,
-0.11191288381814957,
-0.038634635508060455,
-0.009587840177118778,
-0.02932250127196312,
-0.03043096885085106,
0.0032164317090064287,
0.014454877004027367,
-0.013324563391506672,
0.016206489875912666,
-0.047037865966558456,
0.01668659597635269,
-0.01752053201198578,
-0.010173443704843521,
-0.02221260964870453,
0.009749271906912327,
0.003948074299842119,
0.007313841953873634,
0.024088183417916298,
-0.05457395315170288,
-0.015537615865468979,
-0.03351233899593353,
0.047377392649650574,
0.028064562007784843,
0.0438515804708004,
0.016398359090089798
] | [
-0.052392251789569855,
-0.04255758225917816,
-0.04588000476360321,
-0.02710636518895626,
0.07606064528226852,
-0.014024335891008377,
-0.07043281197547913,
0.01811223290860653,
0.0077494666911661625,
-0.02256973646581173,
0.030438318848609924,
-0.024340640753507614,
0.001133164158090949,
0.0033367762807756662,
0.07843494415283203,
0.010813112370669842,
-0.026141811162233353,
-0.048851437866687775,
0.0061887213960289955,
0.04213660582900047,
-0.025582246482372284,
-0.035694632679224014,
-0.01946503296494484,
-0.0767471045255661,
0.0014444369589909911,
0.047743119299411774,
0.036374401301145554,
-0.03665147349238396,
-0.013488562777638435,
-0.21562334895133972,
0.0039007433224469423,
0.007779914885759354,
0.02083667740225792,
-0.022237198427319527,
0.011513362638652325,
0.009714353829622269,
0.06428128480911255,
-0.015075895935297012,
0.006870598066598177,
0.03567156195640564,
0.02978515438735485,
-0.00501291174441576,
-0.06751715391874313,
0.01200044620782137,
0.05575674772262573,
0.03303782641887665,
-0.02904576063156128,
-0.010186468251049519,
-0.014376802369952202,
-0.0020912042818963528,
-0.029711974784731865,
-0.025512343272566795,
0.0005616454873234034,
-0.005895876791328192,
0.010002342984080315,
0.03437266871333122,
0.03394125774502754,
0.056436240673065186,
0.024574039503932,
0.03354012593626976,
0.013646164909005165,
-0.0031857152935117483,
-0.12459716200828552,
0.07605886459350586,
0.02169067971408367,
0.010744920931756496,
-0.04929199442267418,
-0.013191677629947662,
-0.0022910358384251595,
0.08357049524784088,
0.03344392031431198,
0.006759329233318567,
-0.03047526627779007,
0.04599277675151825,
-0.00021054568060208112,
0.0452309250831604,
-0.011141873896121979,
0.01782185770571232,
0.04038630425930023,
-0.05529022961854935,
-0.03306920453906059,
0.02028818242251873,
-0.044137243181467056,
-0.0005767568363808095,
-0.047757621854543686,
0.044771887362003326,
-0.04636257886886597,
0.05531423166394234,
-0.02259252779185772,
0.042172692716121674,
0.016828469932079315,
0.019816430285573006,
0.0757071003317833,
0.026041435077786446,
-0.0974101647734642,
-0.008056708611547947,
0.023119037970900536,
0.011096293106675148,
0.010100208222866058,
0.4162410497665405,
0.003002733690664172,
-0.008550815284252167,
0.026181593537330627,
0.0515497587621212,
-0.014258002862334251,
-0.036742664873600006,
-0.0111248092725873,
-0.06929878890514374,
0.035170089453458786,
-0.0026546616572886705,
0.02878473699092865,
-0.04851379245519638,
0.05739375576376915,
-0.08136475086212158,
-0.014123235829174519,
-0.023770364001393318,
0.032886601984500885,
0.02701399102807045,
-0.010336030274629593,
-0.0051320139318704605,
-0.031010108068585396,
0.031156370416283607,
0.04243240877985954,
0.004852528218179941,
0.04130285233259201,
0.00276782619766891,
-0.0025928860995918512,
0.023828383535146713,
0.013544161804020405,
0.01287135574966669,
0.04509197548031807,
0.02243664860725403,
-0.0678427442908287,
0.029013819992542267,
-0.02100984752178192,
-0.002644913736730814,
0.045279599726200104,
-0.05649171397089958,
-0.024111105129122734,
0.035220399498939514,
-0.027552492916584015,
0.014095068909227848,
0.030717048794031143,
-0.006751480512320995,
-0.038949765264987946,
0.12079578638076782,
0.01531654130667448,
-0.046195123344659805,
-0.03331569954752922,
-0.04330981895327568,
0.01375174056738615,
0.057431112974882126,
-0.0009082460310310125,
-0.04964776709675789,
-0.010393944568932056,
0.009396236389875412,
0.06970863044261932,
-0.0018443298758938909,
-0.09556388109922409,
0.016278879716992378,
-0.03726528584957123,
-0.010710939764976501,
-0.04919881746172905,
0.08445286750793457,
0.04663285240530968,
-0.12675783038139343,
-0.011751485988497734,
0.03760101646184921,
0.021173615008592606,
-0.05474313348531723,
0.0059467642568051815,
0.017571862787008286,
-0.01905750297009945,
-0.018819591030478477,
0.05982939526438713,
-0.03122284822165966,
-0.013046462088823318,
-0.005477327387779951,
0.04073575884103775,
-0.003708294592797756,
-0.0027114383410662413,
-0.019247161224484444,
-0.030723873525857925,
-0.009321714751422405,
-0.07455995678901672,
-0.05086521431803703,
-0.08143789321184158,
0.024438638240098953,
-0.03301004320383072,
-0.045875877141952515,
-0.03073391132056713,
0.017232106998562813,
-0.03661774843931198,
0.09291087836027145,
-0.03454697132110596,
-0.05146076902747154,
-0.020182596519589424,
-0.0004586299473885447,
-0.018475670367479324,
-0.03181888163089752,
0.01881498098373413,
0.01601915992796421,
-0.003466054331511259,
0.04127412289381027,
-0.05727888643741608,
0.012663559056818485,
0.06426176428794861,
-0.012157616205513477,
0.06139182299375534,
0.031208133324980736,
-0.04435436427593231,
0.0030068291816860437,
-0.009106680750846863,
0.024530502036213875,
-0.03213777765631676,
-0.00933683943003416,
0.009694407694041729,
-0.017347974702715874,
0.004072729963809252,
0.05354816094040871,
-0.021506015211343765,
0.006296186707913876,
-0.050253722816705704,
-0.33577314019203186,
-0.05303411930799484,
-0.016750294715166092,
0.011593318544328213,
0.030630484223365784,
-0.02530509978532791,
0.01741204224526882,
-0.0180341936647892,
0.01486977655440569,
0.028479821979999542,
0.07690030336380005,
-0.006384214852005243,
-0.013081580400466919,
-0.09928122162818909,
0.010489757172763348,
0.03513295575976372,
0.0012518801959231496,
-0.004148057661950588,
-0.02805427648127079,
-0.012240588665008545,
0.008112489245831966,
-0.05337519571185112,
-0.02897963486611843,
-0.026112619787454605,
0.002879902021959424,
-0.0022183137480169535,
0.10580653697252274,
-0.002034638309851289,
0.04426036402583122,
-0.029388297349214554,
0.02111792378127575,
0.002725188387557864,
-0.00823704618960619,
-0.07304658740758896,
-0.009189524687826633,
-0.006313819903880358,
0.057193685322999954,
0.02077777497470379,
-0.019352590665221214,
-0.0026793191209435463,
-0.041034381836652756,
-0.007949542254209518,
-0.034278593957424164,
-0.07294455170631409,
-0.027380580082535744,
0.03523842617869377,
-0.02234814502298832,
-0.02222343720495701,
-0.01537392195314169,
0.05118965730071068,
0.017052380368113518,
0.02095944620668888,
-0.007905058562755585,
0.014397431164979935,
-0.004791107960045338,
-0.02825341746211052,
-0.05981576070189476,
-0.013348271138966084,
0.036504920572042465,
0.029104558750987053,
0.01294034905731678,
0.034410640597343445,
0.008240073919296265,
-0.07862014323472977,
0.038154084235429764,
0.0057985540479421616,
-0.0036101259756833315,
0.007268703076988459,
0.04401473328471184,
-0.045583393424749374,
-0.012885265052318573,
0.10497692972421646,
0.013238507322967052,
0.042341481894254684,
0.04277700558304787,
0.035805027931928635,
-0.006952127441763878,
0.023915858939290047,
0.03236246109008789,
0.020397838205099106,
0.04096069186925888,
-0.025061003863811493,
0.05715009197592735,
-0.032196979969739914,
-0.013085920363664627,
0.0407879464328289,
0.008629421703517437,
-0.05129368230700493,
0.05194166675209999,
0.020818885415792465,
-0.022052528336644173,
0.00908831600099802,
-0.014923167414963245,
-0.07118460536003113,
0.0804000049829483,
0.0034779987763613462,
-0.2718956768512726,
0.045934759080410004,
0.03427954390645027,
0.05584167316555977,
-0.015250544995069504,
-0.005724848713725805,
0.03868311643600464,
-0.03342233970761299,
0.015205497853457928,
0.02902122400701046,
0.015453135594725609,
0.07216925173997879,
-0.007452287711203098,
0.00469427602365613,
-0.014335786923766136,
0.004219691269099712,
0.05189266800880432,
0.012326459400355816,
0.015266862697899342,
-0.015437424182891846,
0.04001736268401146,
-0.01127850916236639,
0.18258245289325714,
0.025102440267801285,
0.00983198918402195,
0.056465327739715576,
-0.03845219686627388,
-0.007233860436826944,
0.038011763244867325,
-0.011770537123084068,
-0.04696262255311012,
0.047071781009435654,
-0.015564540401101112,
-0.003945138771086931,
0.020340347662568092,
0.0017620488069951534,
-0.022644199430942535,
0.05365404859185219,
0.024515260010957718,
-0.02192753367125988,
0.014246711507439613,
0.010970596224069595,
-0.023617597296833992,
0.03541993349790573,
0.05593465268611908,
-0.03889777883887291,
-0.012058677151799202,
-0.030512914061546326,
-0.06959060579538345,
-0.006835169158875942,
-0.0383639894425869,
-0.07398822158575058,
-0.01523725688457489,
-0.03180098161101341,
-0.00600133091211319,
0.09667710214853287,
0.011193177662789822,
-0.029144350439310074,
0.007210688199847937,
-0.013703137636184692,
-0.015572560019791126,
-0.05769771710038185,
0.09853474050760269,
-0.016346512362360954,
0.016890816390514374
] | [
0.04794307425618172,
0.05232016742229462,
0.017955482006072998,
0.03240916505455971,
0.004377333912998438,
-0.027977176010608673,
-0.02005958929657936,
-0.007284215185791254,
-0.021812688559293747,
0.023773811757564545,
-0.02372075989842415,
0.011950455605983734,
0.062464307993650436,
0.010906954295933247,
-0.008637076243758202,
0.022250071167945862,
0.0064270454458892345,
0.01603817753493786,
0.030169779434800148,
-0.008934336714446545,
-0.0534159354865551,
-0.012417017482221127,
0.03046588972210884,
-0.028435254469513893,
-0.00478064501658082,
0.03149479255080223,
-0.0453396737575531,
-0.007922770455479622,
0.02650885097682476,
-0.10386665910482407,
0.009048092179000378,
-0.025210117921233177,
-0.010593621991574764,
0.0034771698992699385,
-0.025139743462204933,
0.010151059366762638,
0.03181910514831543,
0.001972414553165436,
-0.012678859755396843,
0.050463683903217316,
0.025288498029112816,
-0.008155057206749916,
-0.008189452812075615,
0.010501401498913765,
-0.004981840029358864,
-0.026228900998830795,
-0.052533891052007675,
-0.07052867114543915,
0.04994559660553932,
0.008423562161624432,
-0.053324583917856216,
-0.050085633993148804,
-0.029513487592339516,
-0.02370363473892212,
0.010070380754768848,
0.00502736633643508,
-0.015639271587133408,
-0.012333793565630913,
0.036543406546115875,
0.016966531053185463,
0.04627005010843277,
-0.0319109782576561,
-0.060713835060596466,
-0.028524266555905342,
-0.007095344830304384,
-0.004365879576653242,
-0.0025095248129218817,
0.010628032498061657,
-0.00825744029134512,
0.03485184535384178,
0.033365149050951004,
0.04917191341519356,
-0.06866034120321274,
-0.0577392540872097,
-0.02791144698858261,
0.0500202439725399,
0.02659028209745884,
-0.01527036540210247,
-0.028305500745773315,
-0.0117326769977808,
-0.00947259459644556,
0.010732412338256836,
-0.03480282053351402,
-0.0012292444007471204,
-0.05068778619170189,
0.018864842131733894,
-0.014523093588650227,
-0.028202950954437256,
0.009333516471087933,
0.008081064559519291,
-0.006971591152250767,
0.010988752357661724,
-0.04011830314993858,
-0.010243353433907032,
-0.08565095067024231,
-0.01278396975249052,
0.0207113865762949,
-0.009618369862437248,
0.03666575998067856,
0.7994310855865479,
0.009837294928729534,
-0.007819462567567825,
-0.009110289625823498,
0.004549767822027206,
0.02512410469353199,
-0.0024241830687969923,
0.016414057463407516,
0.0006774973589926958,
-0.01219660509377718,
0.023597540333867073,
-0.010686025954782963,
0.027899526059627533,
0.011740097776055336,
0.04917674884200096,
-0.0051972754299640656,
0.019624732434749603,
0.008122189901769161,
-0.030482245609164238,
-0.009532924741506577,
0.0299918744713068,
0.0038147983141243458,
0.016943691298365593,
0.00298912450671196,
-0.0066472445614635944,
-0.005881386809051037,
-0.16337046027183533,
-0.009485673159360886,
-7.000173918954327e-33,
0.04663153365254402,
-0.01899891346693039,
0.06458088755607605,
0.0015129157109186053,
0.022401532158255577,
0.02291032485663891,
-0.017278622835874557,
-0.06683523952960968,
-0.03628913313150406,
-0.032363999634981155,
-0.03884459659457207,
0.025329293683171272,
0.005807393230497837,
0.013561367988586426,
-0.008508839644491673,
-0.011465927585959435,
0.0459846667945385,
0.013756434433162212,
-0.005449641961604357,
-0.02259330451488495,
0.016265513375401497,
0.026422051712870598,
-0.05531764402985573,
0.05905859172344208,
0.017401818186044693,
0.04547019675374031,
-0.012735164724290371,
0.0008311425917781889,
0.017304738983511925,
-0.04845990985631943,
-0.06493011116981506,
0.029293041676282883,
-0.0059809815138578415,
-0.006180968601256609,
0.009644928388297558,
-0.06850097328424454,
-0.031731728464365005,
0.02636631764471531,
-0.03943197429180145,
-0.07372135668992996,
-0.02839476801455021,
0.016775324940681458,
-0.013367599807679653,
-0.05042242631316185,
-0.04035618156194687,
-0.012590954080224037,
-0.027664801105856895,
-0.0030554281547665596,
0.012459134683012962,
0.02396286651492119,
0.0012614099541679025,
0.02466091327369213,
-0.008622050285339355,
0.02910650707781315,
-0.03576527163386345,
-0.0015537512954324484,
0.007590469904243946,
-0.002991089364513755,
-0.03187617287039757,
0.00040221677045337856,
0.034272029995918274,
0.018807468935847282,
-0.00009882166341412812,
0.03868807107210159,
0.025558024644851685,
0.04690518602728844,
-0.02424605004489422,
0.00682420376688242,
0.01086583361029625,
0.076296366751194,
-0.04589807614684105,
0.05452568829059601,
-0.02258416824042797,
-0.022885369136929512,
0.05183101072907448,
-0.06913698464632034,
-0.004747300408780575,
-0.024642599746584892,
-0.0013325698673725128,
0.05025313422083855,
-0.04537687450647354,
-0.03910430893301964,
-0.006990836467593908,
-0.01554854679852724,
-0.004941529128700495,
-0.029764488339424133,
0.027806241065263748,
0.04068795591592789,
0.012733540497720242,
0.012008520774543285,
0.021032419055700302,
0.015738829970359802,
-0.0236267801374197,
-0.016964420676231384,
-0.04440287500619888,
6.817574095865531e-33,
-0.0077104028314352036,
0.00770203210413456,
0.004916727542877197,
0.022471526637673378,
0.025333022698760033,
0.0159751083701849,
0.013499111868441105,
0.002798881381750107,
-0.034128449857234955,
0.04185257479548454,
-0.0006922503234818578,
-0.002279632957652211,
-0.01168721355497837,
0.01680227555334568,
0.041469138115644455,
0.002630421658977866,
0.009447073563933372,
-0.0524289570748806,
-0.029010087251663208,
0.016705922782421112,
-0.02134639583528042,
0.006342391017824411,
0.008555724285542965,
0.027155408635735512,
0.061594586819410324,
0.00512608140707016,
0.019097745418548584,
-0.0005823923274874687,
-0.031411342322826385,
-0.0074423933401703835,
-0.012268902733922005,
-0.033895619213581085,
-0.012392665259540081,
-0.0182114876806736,
0.016415469348430634,
0.02085861936211586,
0.011161099188029766,
0.029039844870567322,
-0.014340260066092014,
0.018698440864682198,
0.00777432881295681,
0.011007191613316536,
-0.03329320624470711,
0.06597626954317093,
0.017607247456908226,
0.015592836774885654,
-0.004155917093157768,
0.0340631902217865,
-0.015841949731111526,
0.01978180930018425,
-0.006658085621893406,
0.03365643322467804,
0.018974728882312775,
0.02765994891524315,
0.019175006076693535,
-0.0628061592578888,
0.020613238215446472,
0.054442811757326126,
-0.02694311924278736,
0.02594098448753357,
-0.01499851979315281,
-0.045627642422914505,
-0.013349231332540512,
0.029772253707051277,
-0.03514053672552109,
-0.002324327826499939,
-0.012721332721412182,
0.0032263395842164755,
-0.02872735634446144,
0.014021084643900394,
0.044723913073539734,
0.024858081713318825,
-0.000006123502316768281,
0.02609235793352127,
0.043867338448762894,
-0.030210698023438454,
-0.028363972902297974,
0.012267678044736385,
-0.03352035582065582,
0.02543547935783863,
0.013758930377662182,
0.056369490921497345,
0.03774399310350418,
0.009138615801930428,
-0.00003195496174157597,
-0.002866287250071764,
-0.02340252324938774,
0.01988373138010502,
-0.024837465956807137,
-0.01125311478972435,
0.03635396063327789,
-0.030124690383672714,
-0.04955124109983444,
0.06276097148656845,
-0.01853429526090622,
-1.2337995514144495e-8,
-0.02401442639529705,
0.006325551774352789,
0.004878267180174589,
0.008416390977799892,
-0.0027221825439482927,
0.037415001541376114,
0.01503368653357029,
0.03219755366444588,
-0.010747264139354229,
0.014971871860325336,
0.031215760856866837,
-0.022872591391205788,
0.009033914655447006,
-0.010313067585229874,
0.004672253038734198,
-0.03126274049282074,
0.01997077837586403,
-0.036825284361839294,
0.0392175167798996,
0.016386637464165688,
-0.015928559005260468,
0.02395913004875183,
-0.008745269849896431,
0.011563414707779884,
-0.0015265397960320115,
-0.026385344564914703,
0.035668354481458664,
-0.07404835522174835,
-0.036158014088869095,
-0.022544708102941513,
-0.004767026286572218,
-0.025794226676225662,
-0.031119508668780327,
0.01922905445098877,
-0.02939012087881565,
-0.025321364402770996,
0.04670453444123268,
0.03399929776787758,
0.005308609921485186,
0.04084813967347145,
-0.04404725506901741,
0.018903806805610657,
-0.024587532505393028,
-0.04482560604810715,
-0.04138273745775223,
0.015206308104097843,
-0.01742018572986126,
0.001746752648614347,
0.06415794044733047,
-0.015728456899523735,
-0.014182855375111103,
-0.009777416475117207,
0.018906962126493454,
0.018644357100129128,
0.04643582925200462,
-0.002415357157588005,
-0.0019794804975390434,
-0.01885967142879963,
-0.03561614081263542,
-0.009598792530596256,
0.04282161220908165,
-0.011118370108306408,
-0.039694126695394516,
-0.009243887849152088
] | neo4j-gdsl-hits-algorithm | https://markhneedham.com/blog/2021/02/03/neo4j-gdsl-hits-algorithm |
false | 2021-02-08 00:44:37 | Neo4j Graph Data Science 1.5: Exploring the Speaker-Listener LPA Overlapping Community Detection Algorithm | [
"neo4j",
"graph-data-science",
"graph-algorithms"
] | [
"neo4j"
] | The https://neo4j.com/product/graph-data-science-library/[Neo4j Graph Data Science Library^] provides efficiently implemented, parallel versions of common graph algorithms for Neo4j, exposed as Cypher procedures.
It recently published https://github.com/neo4j/graph-data-science/releases/tag/1.5.0[version 1.5^], which introduces some fun new algorithms.
image::{{<siteurl>}}/uploads/2021/02/sllpa-banner.png[]
In this blog post, we're going to explore the newly added https://neo4j.com/docs/graph-data-science/1.5/algorithms/sllpa/[Speaker-Listener Label Propagation algorithm^] with the help of a twitter dataset.
== Launching Neo4j
We're going to run Neo4j with the Graph Data Science Library using the following Docker Compose configuration:
.docker-compose.yml
[source,yaml]
----
version: '3.7'
services:
neo4j:
image: neo4j:4.2.3-enterprise
container_name: "neo4j4.2-gds1.5-exploration"
volumes:
- ./plugins-4.2:/plugins
- ./data-4.2:/data
ports:
- "7474:7474"
- "7687:7687"
environment:
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_AUTH=neo4j/neo
- NEO4JLABS_PLUGINS=["apoc", "graph-data-science"]
----
If you want to follow along with the examples used in the blog post, you can copy the configuration above to a file titled `docker-compose.yml`
We can now launch the Neo4j server by running the following command:
[source, bash]
----
docker-compose up
----
After we've launched that command, we need to wait until we see the following output:
.Output
[source,text]
----
neo4j4.2-gds1.5-exploration | 2021-02-03 21:39:15.346+0000 INFO Bolt enabled on 0.0.0.0:7687.
neo4j4.2-gds1.5-exploration | 2021-02-03 21:39:16.053+0000 INFO Remote interface available at http://localhost:7474/
neo4j4.2-gds1.5-exploration | 2021-02-03 21:39:16.053+0000 INFO Started.
----
== Importing a Twitter Social Graph
We're going to import the Twitter Social Graph that I used in the https://medium.com/neo4j/finding-influencers-and-communities-in-the-graph-community-e3d691296325[Finding influencers and communities in the Graph Community^] blog post that I wrote in 2019.
Let's first connect to Neo4j using the Cypher Shell:
[source,bash]
----
docker exec -it neo4j4.2-gds1.5-exploration bin/cypher-shell -u neo4j -p neo
----
.Output
[source,text]
----
Connected to Neo4j using Bolt protocol version 4.2 at neo4j://localhost:7687 as user neo4j.
Type :help for a list of available commands or :exit to exit the shell.
Note that Cypher queries must end with a semicolon.
neo4j@neo4j>
----
The data for the Twitter Social Graph graph is available as a set of JSON lines files, which we can find at https://github.com/neo4j-devtools/neuler/blob/master/sample-data/twitter/users.json.
Below is an example of one line from this file:
[source,json]
----
{"user":{"followers":2793,"following":1121,"name":"Synechron","bio":"Synechron is a leading Digital IT Consulting firm Accelerating Digital initiatives for banks, asset managers & insurance companies around the world.","id":625428620,"username":"Synechron"},"following":[],"followers":[50230435,117780256,856240505826496513,31112812,999543859398037504,873919885096693761,61085452,75043311,268191768]}
----
We're going to use some https://neo4j.com/labs/apoc/4.2/overview/[APOC procedures^] to convert these JSON files into the following graph structure:
.Graph Model
image::{{<siteurl>}}/uploads/2021/02/twitter-social-graph.svg[]
Let's first create a new database and setup some constraints to make sure we don't end up with duplicates:
.Create new database and setup constraints
[source,cypher]
----
CREATE OR REPLACE DATABASE twitterblogpost;
:use twitterblogpost;
CREATE CONSTRAINT ON(u:User) ASSERT u.id IS unique;
----
Now we'll import the data:
.Create citations graph
[source,cypher]
----
WITH "https://github.com/neo4j-apps/neuler/raw/master/sample-data/twitter/users.json" AS url
CALL apoc.load.json(url)
YIELD value
MERGE (u:User {id: value.user.id })
SET u += value.user
WITH u, value
CALL {
WITH u, value
UNWIND value.following AS following
MERGE (f1:User {id: following})
MERGE (u)-[:FOLLOWS]->(f1)
RETURN count(*) AS followingCount
}
CALL {
WITH u, value
UNWIND value.followers AS follower
MERGE (f2:User {id: follower})
MERGE (u)<-[:FOLLOWS]-(f2)
RETURN count(*) AS followersCount
}
RETURN count(*) AS users;
----
.Results
[opts="header"]
|===
| users
| 6526
|===
We can see a Neo4j Browser visualisation of the import graph in the diagram below:
.Twitter Social Graph
image::{{<siteurl>}}/uploads/2021/02/twitter-graph-imported.svg[]
== Speaker Listener Label Propagation Algorithm
The https://neo4j.com/docs/graph-data-science/1.5/algorithms/sllpa/[Speaker Listener Label Propagation (SLLPA)^] algorithm is a variation of the Label Propagation Algorithm, where instead of returning one community per node, it can return multiple communities per node.
We can alternatively say that the SLLPA algorithm detects overlapping communities.
We can find out the name of the SLLPA procedures in the GDS library by running the following query:
[source,cypher]
----
CALL gds.list("sllpa")
YIELD name, description;
----
.Results
[opts="header", cols="20,80"]
|===
| name | description
| "gds.alpha.sllpa.mutate" | "The Speaker Listener Label Propagation algorithm is a fast algorithm for finding overlapping communities in a graph."
| "gds.alpha.sllpa.mutate.estimate" | "Returns an estimation of the memory consumption for that procedure."
| "gds.alpha.sllpa.stats" | "The Speaker Listener Label Propagation algorithm is a fast algorithm for finding overlapping communities in a graph."
| "gds.alpha.sllpa.stats.estimate" | "Returns an estimation of the memory consumption for that procedure."
| "gds.alpha.sllpa.stream" | "The Speaker Listener Label Propagation algorithm is a fast algorithm for finding overlapping communities in a graph."
| "gds.alpha.sllpa.stream.estimate" | "Returns an estimation of the memory consumption for that procedure."
| "gds.alpha.sllpa.write" | "The Speaker Listener Label Propagation algorithm is a fast algorithm for finding overlapping communities in a graph."
| "gds.alpha.sllpa.write.estimate" | "Returns an estimation of the memory consumption for that procedure."
|===
We're going to use the `gds.alpha.sllpa.write` procedure.
This algorithm runs the algorithm against an in-memory projected graph and stores the results as node properties.
The in-memory graph that we're going to use will consist of `USER` nodes and the `FOLLOWS` relationships between them.
We'll ignore the direction of the `FOLLOWS` relationship when computing communities.
We can do this by running the following query:
[source,cypher]
----
CALL gds.alpha.sllpa.write({
nodeProjection: "User",
relationshipProjection: {
FOLLOWS: {
orientation: 'UNDIRECTED'
}
},
maxIterations: 20
})
YIELD nodePropertiesWritten, ranIterations, writeMillis, createMillis, computeMillis;
----
.Results
[opts="header"]
|===
| nodePropertiesWritten | ranIterations | writeMillis | createMillis | computeMillis
| 6526 | 20 | 20 | 14 | 478
|===
By default, results are written to the `pregel_communityids` property.
We can have a look at some of these values by running the following query:
[source,cypher]
----
MATCH (user:User)
RETURN user.username, user.pregel_communityIds
LIMIT 5;
----
.Results
[opts="header"]
|===
| user.username | user.pregel_communityIds
| "webmink" | [119]
| "Synechron" | [119]
| "flablog" | [185, 119]
| "didierdaglinckx" | [3]
| "DailyPythonInfo" | [119]
|===
webmink, Synechron, didierdaglinckx, and DailyPythonInfo all belong to only one community, whereas flablog belongs to a couple of communities.
== How many users belong to multiple communities?
I wonder how many other users belong to multiple communities?
We can find out by running the following query:
[source,cypher]
----
MATCH (u:User)
WITH count(*) AS totalCount
MATCH (u:User)
WITH totalCount, size(u.pregel_communityIds) as communities, count(*) AS count
RETURN communities, count, round(count * 100.0 / totalCount, 2) AS percentage
ORDER BY communities;
----
.Results
[opts="header"]
|===
| communities | count | percentage
| 1 | 5703 | 87.39
| 2 | 801 | 12.27
| 3 | 22 | 0.34
|===
We can also use https://nielsdejong.nl/neodash/[Niels de Jong's NeoDash^] to create a quick bar chart of these results:
.Community Size Frequency
image::{{<siteurl>}}/uploads/2021/02/community-size-frequency.png[]
A massive majority of nodes have only one community, just over 10% have two communities, and only 0.3% fit into three communities.
== Create community graph
Let's have a look at the communities in more detail.
We're going to add the graph structure coloured in red in the diagram below:
.Graph Model with communities
image::{{<siteurl>}}/uploads/2021/02/twitter-social-graph-communities.svg[]
We'll first create a unique constraint on the `id` property for the `Community` label:
[source,cypher]
----
CREATE CONSTRAINT ON (c:Community) ASSERT c.id IS UNIQUE;
----
And now we can create a `Community` node for each community and an `IN_COMMUNITY` relationship from each user to the communities that they belong to:
[source,cypher]
----
MATCH (u:User)
UNWIND u.pregel_communityIds AS communityId
MERGE (c:Community {id: communityId})
MERGE (u)-[:IN_COMMUNITY]->(c);
----
.Output
[source,text]
----
0 rows available after 299 ms, consumed after another 0 ms
Added 1028 nodes, Created 7371 relationships, Set 1028 properties, Added 1028 labels
----
We can see a Neo4j Browser visualisation of the new graph structure in the diagram below:
image::{{<siteurl>}}/uploads/2021/02/multi-communities.svg[]
== Find important users
I find that the best way to do community analysis is to look at the important nodes that belong to each one.
We can compute the important nodes by running the PageRank algorithm, as shown below:
[source,cypher]
----
CALL gds.pageRank.write({
nodeProjection: "User",
relationshipProjection: "FOLLOWS",
maxIterations: 20,
writeProperty: "pagerank"
})
YIELD writeMillis, nodePropertiesWritten, ranIterations,
postProcessingMillis, createMillis, computeMillis;
----
.Results
[opts="header"]
|===
| writeMillis | nodePropertiesWritten | ranIterations | postProcessingMillis | createMillis | computeMillis
| 35 | 6526 | 20 | 0 | 9 | 111
|===
Each of the `User` nodes now has a `pagerank` property.
== Individual communities
We can use this property as part of a query to find the top 5 users per community, as shown below:
[source,cypher]
----
MATCH (:User) WITH count(*) AS allUsers
MATCH (c:Community)<-[:IN_COMMUNITY]-(u:User)
WITH allUsers, c, u
ORDER BY c, u.pagerank DESC
WITH allUsers, c, collect(u) AS users
RETURN c.id, size(users) AS users,
round(size(users)*100.0 / allUsers, 3) AS percentage,
[u IN users | u {.username, score: round(u.pagerank, 3)}][..5] AS topUsers
ORDER BY size(users) DESC
LIMIT 10;
----
.Results
[opts="header", cols="10,10,10,70"]
|===
| c.id | users | percentage | topUsers
| 119 | 3960 | 60.68 | [{score: 46.822, username: "TechCrunch"}, {score: 33.246, username: "awscloud"}, {score: 22.015, username: "hmason"}, {score: 20.332, username: "kellabyte"}, {score: 17.816, username: "KirkDBorne"}]
| 157 | 1152 | 17.652 | [{score: 46.105, username: "neo4j"}, {score: 25.847, username: "emileifrem"}, {score: 23.085, username: "mesirii"}, {score: 15.83, username: "GraphConnect"}, {score: 14.879, username: "jimwebber"}]
| 34 | 636 | 9.746 | [{score: 14.666, username: "jessitron"}, {score: 10.754, username: "WardCunningham"}, {score: 9.464, username: "springrod"}, {score: 8.98, username: "starbuxman"}, {score: 8.528, username: "garybernhardt"}]
| 144 | 212 | 3.249 | [{score: 12.834, username: "danbri"}, {score: 6.759, username: "ontotext"}, {score: 6.198, username: "StardogHQ"}, {score: 6.113, username: "kidehen"}, {score: 5.223, username: "juansequeda"}]
| 22 | 96 | 1.471 | [{score: 3.431, username: "_wald0"}, {score: 2.753, username: "Cyb3rWard0g"}, {score: 2.582, username: "ItsReallyNick"}, {score: 2.302, username: "TheColonial"}, {score: 1.86, username: "DanielGallagher"}]
| 91 | 46 | 0.705 | [{score: 0.358, username: "margueritegg"}, {score: 0.3, username: "budejicky"}, {score: 0.26, username: "politicalHEDGE"}, {score: 0.246, username: "420Cyber"}, {score: 0.237, username: "CryptoTrackerBt"}]
| 81 | 33 | 0.506 | [{score: 2.447, username: "vaaaaanquish"}, {score: 0.903, username: "__snow_rabbit__"}, {score: 0.841, username: "Moririn47273285"}, {score: 0.604, username: "OSS_News"}, {score: 0.591, username: "shiget84"}]
| 1747 | 28 | 0.429 | [{score: 0.278, username: "tech__lib"}, {score: 0.15, username: "niturkan"}, {score: 0.15, username: "djoman_fidele"}, {score: 0.15, username: "scholarsuniv"}, {score: 0.15, username: "seantabatabai"}]
| 250 | 27 | 0.414 | [{score: 1.666, username: "anwagnerdreas"}, {score: 1.243, username: "patrick_sahle"}, {score: 1.097, username: "Mareike2405"}, {score: 1.088, username: "AndreasKuczera"}, {score: 1.04, username: "fthierygeo"}]
| 1160 | 22 | 0.337 | [{score: 2.357, username: "Silkjaer"}, {score: 1.681, username: "Hodor"}, {score: 1.414, username: "HammerToe"}, {score: 1.262, username: "XrpCenter"}, {score: 1.036, username: "DevNullProd"}]
|===
* Community 119 looks like it could be a Data Science cluster, but it also has very popular tech accounts.
* Community 157 is full of Neo4j folks
* Community 34 has people that are big in the Spring world
* Community 22 looks like it has people doing security work
* Community 144 is all about the semantic web and triple stores
== Overlapping communities
Let's now have a look at community overlap.
We can compute the biggest overlaps between communities, by running the following query:
[source,cypher]
----
MATCH (c1:Community)<-[:IN_COMMUNITY]-(u)-[:IN_COMMUNITY]->(c2:Community)
WHERE id(c1) < id(c2)
WITH c1, c2, count(*) AS count
ORDER BY count DESC
LIMIT 20
CALL apoc.create.vRelationship(c1, "COMMON", {count: count}, c2)
YIELD rel
RETURN c1, rel, c2;
----
We can see the results of running this query in the Neo4j Browser below:
.Overlapping communities
image::{{<siteurl>}}/uploads/2021/02/overlapping-communities.svg[]
The biggest overlap is between community 119 (Data Science/Popular Tech) and communities 34 (Spring) and 157 (Neo4j).
The absolute overlap numbers between communities are much lower after that.
We can compute similarity scores between the communities using the https://neo4j.com/docs/graph-data-science/1.5/alpha-algorithms/jaccard/[Jaccard Similarity algorithm^], as shown below:
[source,cypher]
----
MATCH (c1:Community), (c2:Community)
WHERE id(c1) < id(c2)
WITH c1, c2, gds.alpha.similarity.jaccard(
[(c1)<-[:IN_COMMUNITY]-(u) | id(u)],
[(c2)<-[:IN_COMMUNITY]-(u) | id(u)]) AS score
WHERE score > 0
MERGE (c1)-[similar:SIMILAR]-(c2)
SET similar.score = score;
----
This query computes the similarity betweeen `Community` nodes based on the users that they have in common and then creates a `SIMILAR` relationship between those `Community` nodes.
We can see the results of running this query in the Neo4j Browser below:
.Overlapping communities - Jaccard Similarity
image::{{<siteurl>}}/uploads/2021/02/node-similarity.svg[]
From this visualisation we can see that the overlap is tiny between community 119 and the others.
The biggest similarity is 0.05 between community 119 and community 34, but the other similarities are much smaller.
We can create a table of similarities by running the following query:
[source,cypher]
----
MATCH (c1:Community)<-[:IN_COMMUNITY]-(u)-[:IN_COMMUNITY]->(c2:Community)
WHERE id(c1) < id(c2)
WITH c1, c2, count(*) AS count
ORDER BY count DESC
LIMIT 20
MATCH (c1)-[similar:SIMILAR]-(c2)
RETURN c1.id, c2.id, count, round(similar.score, 3) AS score
ORDER BY score DESC
LIMIT 10;
----
.Results
[opts="header"]
|===
| c1.id | c2.id | count | score
| 498 | 107 | 3 | 1.0
| 119 | 34 | 228 | 0.052
| 119 | 157 | 187 | 0.038
| 119 | 91 | 46 | 0.012
| 157 | 34 | 20 | 0.011
| 119 | 22 | 36 | 0.009
| 119 | 144 | 36 | 0.009
| 119 | 1747 | 28 | 0.007
| 157 | 144 | 8 | 0.006
| 119 | 81 | 21 | 0.005
|===
There's 100% overlap in the users in community 498 and community 107, but those communities only have 3 nodes!
The general amount of overlap is very small.
Next we're going to have a look at the highest-ranking users that belong to two communities.
We can compute this by running the following query:
[source,cypher]
----
MATCH (c1:Community)<-[:IN_COMMUNITY]-(u)-[:IN_COMMUNITY]->(c2:Community)
WHERE id(c1) < id(c2)
WITH c1, c2, count(*) AS count, apoc.coll.sortNodes(collect(u), "pagerank")[..5] AS topNodes
RETURN c1.id, c2.id, count,
[node in topNodes | node {.username, score: round(node.pagerank, 3)}] AS topNodes
ORDER BY count DESC
LIMIT 10;
----
.Results
[opts="header", cols="10,10,10,70"]
|===
| c1.id | c2.id | count | topNodes
| 119 | 34 | 228 | [{score: 14.666, username: "jessitron"}, {score: 10.754, username: "WardCunningham"}, {score: 8.528, username: "garybernhardt"}, {score: 6.882, username: "InfoQ"}, {score: 4.005, username: "skillsmatter"}]
| 119 | 157 | 187 | [{score: 6.681, username: "arcadeanalytics"}, {score: 4.694, username: "arangodb"}, {score: 4.55, username: "irregularbi"}, {score: 3.915, username: "CamSemantics"}, {score: 3.7, username: "CluedInHQ"}]
| 119 | 91 | 46 | [{score: 0.358, username: "margueritegg"}, {score: 0.3, username: "budejicky"}, {score: 0.26, username: "politicalHEDGE"}, {score: 0.246, username: "420Cyber"}, {score: 0.237, username: "CryptoTrackerBt"}]
| 119 | 144 | 36 | [{score: 3.195, username: "Synaptica"}, {score: 1.208, username: "mrgunn"}, {score: 1.126, username: "agentGav"}, {score: 0.684, username: "richdijkstra"}, {score: 0.544, username: "h2cm"}]
| 119 | 22 | 36 | [{score: 1.437, username: "s7ephen"}, {score: 0.983, username: "d4rkm4tter"}, {score: 0.978, username: "virusbtn"}, {score: 0.919, username: "CVEnew"}, {score: 0.795, username: "InsanityBit"}]
| 119 | 1747 | 28 | [{score: 0.278, username: "tech__lib"}, {score: 0.15, username: "niturkan"}, {score: 0.15, username: "djoman_fidele"}, {score: 0.15, username: "scholarsuniv"}, {score: 0.15, username: "seantabatabai"}]
| 119 | 81 | 21 | [{score: 2.447, username: "vaaaaanquish"}, {score: 0.604, username: "OSS_News"}, {score: 0.591, username: "shiget84"}, {score: 0.584, username: "kabukawa"}, {score: 0.424, username: "insomnyan"}]
| 157 | 34 | 20 | [{score: 2.631, username: "delitescere"}, {score: 2.424, username: "j_palka"}, {score: 2.398, username: "patbaumgartner"}, {score: 0.844, username: "hackcommitpush"}, {score: 0.673, username: "svzdvd"}]
| 119 | 3361 | 12 | [{score: 0.159, username: "hnbot"}, {score: 0.159, username: "Hn150"}, {score: 0.159, username: "SpacedadUNI"}, {score: 0.159, username: "TradeFlo"}, {score: 0.159, username: "nplexROC"}]
| 119 | 209 | 10 | [{score: 0.815, username: "matt_zeus"}, {score: 0.698, username: "stereocat"}, {score: 0.675, username: "hi86074659"}, {score: 0.552, username: "tetoran6"}, {score: 0.419, username: "qb0C80aE"}]
|===
https://twitter.com/jessitron[@jessitron^] and https://twitter.com/wardcunningham[@wardcunningham^] belong to communities 119 (Data Science/Popular Tech) and 34 (Spring).
https://twitter.com/arcadeanalytics[@arcadeanalytics^], https://twitter.com/arangodb[@arangodb^], and https://twitter.com/CluedInHQ[@CluedInHQ] all do work around graph databases, so they end up overlapping communities 119 (Data Science/Popular Tech) and 57 (Neo4j).
It would be interesting to see how strongly they belong in each community.
The algorithm does compute an association strength score per node per community, but that score isn't returned (at least at the moment!).
== How do we use overlapping community detection?
So how do we use the results that we get from this algorithm?
One way is to use this algorithm to work out which users to follow to learn about other communities.
If we pick users who overlap with our community, those users may be better advocates for that community (from our perspective) than the top-ranked users in that community.
For example, if we're a member of the Neo4j community, we could find fellow Neo4j users that interact with other communities, by running the following query:
[source,cypher]
----
MATCH (c1:Community {id: 157})<-[:IN_COMMUNITY]-(u)-[:IN_COMMUNITY]->(c2:Community)
WITH c1, c2, count(*) AS count, apoc.coll.sortNodes(collect(u), "pagerank")[..10] AS topNodes
RETURN c2.id, count,
[node in topNodes | node {.username, score: round(node.pagerank, 3)}] AS topNodes
ORDER BY count DESC
LIMIT 10;
----
.Results
[opts="header", cols="10,10,80"]
|===
| c2.id | count | topNodes
| 119 | 187 | [{score: 6.681, username: "arcadeanalytics"}, {score: 4.694, username: "arangodb"}, {score: 4.55, username: "irregularbi"}, {score: 3.915, username: "CamSemantics"}, {score: 3.7, username: "CluedInHQ"}, {score: 2.89, username: "agm1984"}, {score: 2.882, username: "micahstubbs"}, {score: 2.208, username: "newsyc50"}, {score: 2.077, username: "gijn"}, {score: 2.013, username: "jwyg"}]
| 34 | 20 | [{score: 2.631, username: "delitescere"}, {score: 2.424, username: "j_palka"}, {score: 2.398, username: "patbaumgartner"}, {score: 0.844, username: "hackcommitpush"}, {score: 0.673, username: "svzdvd"}, {score: 0.643, username: "tonyennis"}, {score: 0.434, username: "jgerity"}, {score: 0.345, username: "gasi"}, {score: 0.298, username: "softvisresearch"}, {score: 0.279, username: "rafalkoko"}]
| 144 | 8 | [{score: 0.743, username: "PMissier"}, {score: 0.544, username: "intermineorg"}, {score: 0.343, username: "ConTechLive"}, {score: 0.338, username: "justin_littman"}, {score: 0.226, username: "yooj0907"}, {score: 0.213, username: "imo_weg"}, {score: 0.184, username: "webdevOp"}, {score: 0.15, username: "MahekHanfi"}]
| 1558 | 3 | [{score: 0.366, username: "liayeaaah"}, {score: 0.254, username: "King_Sloth95"}, {score: 0.254, username: "yasabdulkadir"}]
| 1097 | 2 | [{score: 0.311, username: "BiintAbib"}, {score: 0.242, username: "Fall__yaaram"}]
| 266 | 2 | [{score: 0.211, username: "i18nsolutions"}, {score: 0.166, username: "HarishMinions20"}]
| 22 | 2 | [{score: 3.431, username: "_wald0"}, {score: 0.15, username: "atatrdp"}
| 3846 | 2 | [{score: 0.15, username: "iamarvil"}, {score: 0.15, username: "JETZT_PRde"}
| 3281 | 1 | [{score: 0.15, username: "AlanPowiatowy"}
| 1226 | 1 | [{score: 0.15, username: "LearnPHPOnline_"}]
|===
The top users in community 119 are generally popular tech accounts, but the overlap with the Neo4j community returns other folks doing graph database work.
If we want to learn about Spring, https://twitter.com/delitescere[@delitescere^] and https://twitter.com/patbaumgartner[@patbaumgartner^] would be good people to follow.
And if we're interested in semantic web, https://twitter.com/pmissier[@Pmissier^] or https://twitter.com/intermineorg[@intermineorg^] would be good bets.
== In Summary
I first came across this algorithm about 18 months ago and thought it looked awesome, so I'm happy to see it added to the Graph Data Science Library.
It seems to find only slight overlap between communities, so I'm not sure how well it'd do if there were communities with very similar members.
We've only looked at one use case for it in this blog post, but I'm sure there are others as well.
Let me know if you have any questions/ideas in the comments. | In this post we'll explore the Speaker Listener LPA overlapping community algorithm that was added to the Neo4j Graph Data Science Library in version 1.5.0. | uploads/2021/02/sllpa-banner.png | [
0.00330730015411973,
-0.019659612327814102,
0.00005304263686412014,
0.05134351924061775,
0.09477052837610245,
0.01343484502285719,
0.023898126557469368,
0.033897481858730316,
0.007719092071056366,
-0.019797248765826225,
-0.006171181797981262,
-0.019138695672154427,
-0.05989425629377365,
0.01707751490175724,
-0.009898761287331581,
0.0561477430164814,
0.06267136335372925,
0.027138184756040573,
0.011071952991187572,
0.01767275482416153,
0.019566610455513,
0.04342709854245186,
0.007793473079800606,
0.0407714918255806,
0.027622301131486893,
-0.0010429582325741649,
0.016221290454268456,
0.0026098955422639847,
-0.04871354624629021,
-0.009953275322914124,
0.037970367819070816,
0.0009369379258714616,
0.01797054149210453,
0.002775099128484726,
0.025394920259714127,
0.017457274720072746,
-0.06243964657187462,
0.00488045159727335,
-0.0053619034588336945,
0.006341760046780109,
-0.08961605280637741,
0.04573027789592743,
-0.010370098054409027,
0.02120339311659336,
-0.04171999171376228,
0.014966980554163456,
-0.060462016612291336,
0.04318845272064209,
0.020334936678409576,
0.011544321663677692,
-0.10666941106319427,
0.015603436157107353,
-0.023384781554341316,
0.009687315672636032,
-0.025636183097958565,
0.02746618166565895,
0.011534319259226322,
-0.06397496163845062,
0.040872056037187576,
-0.030255312100052834,
-0.012350368313491344,
-0.01875520683825016,
0.007375760469585657,
0.024639254435896873,
0.005998893175274134,
-0.05554584786295891,
-0.009850752539932728,
0.05678127333521843,
-0.043389126658439636,
-0.006029189098626375,
0.0010253284126520157,
0.039136551320552826,
-0.008422737941145897,
-0.01586318388581276,
0.0055190096609294415,
-0.05081072449684143,
0.0017685570055618882,
0.053091343492269516,
0.029305003583431244,
0.05057935044169426,
-0.027721896767616272,
0.013173849321901798,
0.008680584840476513,
0.0301370806992054,
-0.022528858855366707,
-0.035442184656858444,
-0.04278950393199921,
-0.013057413510978222,
-0.07216178625822067,
0.052651211619377136,
0.019780779257416725,
-0.06902922689914703,
0.0063842483796179295,
-0.00025633955374360085,
0.013823451474308968,
0.03991587087512016,
0.00043465301860123873,
0.003588766558095813,
0.020754210650920868,
-0.025102272629737854,
-0.03502823784947395,
-0.024263985455036163,
-0.01373949646949768,
0.017281074076890945,
-0.07440754026174545,
-0.03509446978569031,
-0.02640151046216488,
-0.023696305230259895,
-0.013271314091980457,
-0.012313907034695148,
0.0058282348327338696,
0.005017824936658144,
-0.02541392110288143,
0.02081855572760105,
-0.09056853502988815,
0.08519987761974335,
0.024982377886772156,
-0.027982696890830994,
-0.026468072086572647,
0.0156291201710701,
0.055060967803001404,
0.03273672237992287,
-0.0046543823555111885,
0.06623902916908264,
-0.010437868535518646,
0.043087054044008255,
0.00867058988660574,
0.050714246928691864,
-0.03495354950428009,
-0.0641218051314354,
-0.0228103119879961,
0.06131887808442116,
-0.0030838570091873407,
0.01638135500252247,
-0.024086348712444305,
-0.0333419032394886,
-0.0036745143588632345,
0.03099924884736538,
0.05586135387420654,
0.03472844883799553,
-0.004098452161997557,
-0.05492791160941124,
0.02755720354616642,
-0.0061769490130245686,
0.029669787734746933,
0.013139189220964909,
-0.012259450741112232,
-0.03592493385076523,
-0.041680045425891876,
0.005988732911646366,
0.012214289978146553,
0.023951461538672447,
0.027224797755479813,
-0.03255299851298332,
0.04469021409749985,
0.11092296987771988,
0.046045344322919846,
0.021281732246279716,
-0.026169875636696815,
0.021709579974412918,
0.0435672402381897,
0.020028021186590195,
0.001021267380565405,
0.04330715537071228,
-0.0019836018327623606,
-0.02086692489683628,
-0.019620295614004135,
0.059970393776893616,
0.007278137840330601,
0.002999753225594759,
-0.030926687642931938,
-0.05809103697538376,
0.05175694078207016,
-0.03626638278365135,
0.023392265662550926,
0.03724368289113045,
0.0759798064827919,
0.01243173610419035,
0.023392613977193832,
-0.004307223483920097,
-0.07813981920480728,
0.06183355301618576,
0.018672332167625427,
0.00787323247641325,
0.003640929004177451,
-0.0029834886081516743,
0.08393509685993195,
0.029453404247760773,
0.03927372768521309,
0.04912935197353363,
-0.08899818360805511,
-0.08222174644470215,
-0.006956054363399744,
-0.006027968600392342,
0.06582899391651154,
-0.014197791926562786,
-0.004270438104867935,
0.032739829272031784,
-0.00597754493355751,
0.03298330679535866,
0.015986774116754532,
0.0030530113726854324,
0.030900249257683754,
-0.06062636151909828,
-0.07091216742992401,
0.0588766410946846,
0.021752525120973587,
-0.05962057039141655,
-0.06527261435985565,
0.012792358174920082,
-0.0319613553583622,
-0.021126264706254005,
0.01954786106944084,
-0.030440546572208405,
0.05973213538527489,
0.006648956332355738,
0.030188968405127525,
-0.012034631334245205,
0.025043563917279243,
-0.03286321461200714,
0.037370212376117706,
-0.0038154483772814274,
-0.022840334102511406,
0.014708943665027618,
0.011681478470563889,
0.10268992185592651,
0.06802791357040405,
-0.015595692209899426,
-0.048481278121471405,
0.06716347485780716,
0.030191699042916298,
-0.03155886009335518,
0.015927983447909355,
-0.0229791272431612,
-0.008343448862433434,
-0.0037328272592276335,
-0.029563866555690765,
-0.013267138041555882,
0.009975549764931202,
-0.037117257714271545,
0.002363547682762146,
0.0569557286798954,
-0.030489156022667885,
0.07243159413337708,
0.01892966777086258,
-0.018057113513350487,
0.0017528132302686572,
-0.04846437647938728,
-0.06305430084466934,
0.009866679087281227,
0.023315763100981712,
-0.0034155966714024544,
0.04963326081633568,
-0.023607715964317322,
-0.018871381878852844,
-0.04262281954288483,
-0.019932279363274574,
0.034128960222005844,
0.040376462042331696,
0.0550883486866951,
-0.0051749045960605145,
0.03699977695941925,
-0.039245691150426865,
0.02447165921330452,
0.005950057879090309,
-0.0623079389333725,
-0.026045644655823708,
-0.03922807425260544,
0.0325135812163353,
-0.00028268477763049304,
0.02827710658311844,
-0.02163064293563366,
0.03926726058125496,
-0.009886872954666615,
0.017608748748898506,
-0.01175178587436676,
0.02765710838139057,
-0.0017186945769935846,
-0.010881535708904266,
-0.032141901552677155,
-0.02996889501810074,
0.06300535798072815,
-0.06588643044233322,
-0.004340255167335272,
-0.026796650141477585,
-0.07117313146591187,
0.05088699609041214,
-0.05813049152493477,
-0.01723848469555378,
-0.00399425532668829,
0.02471524104475975,
0.041120730340480804,
0.01222621463239193,
-0.0016331976512447,
0.040284719318151474,
0.027853570878505707,
0.005109522026032209,
-0.00222336919978261,
-0.008920975029468536,
0.04956686496734619,
-0.013032166287302971,
0.0360717810690403,
0.052732426673173904,
-0.011121124029159546,
-0.01525227539241314,
-0.03911104425787926,
0.02107861265540123,
0.00014396660844795406,
-0.27227917313575745,
0.029251500964164734,
-0.03177737817168236,
-0.044281017035245895,
0.0038280074950307608,
-0.015111694112420082,
0.0034150031860917807,
-0.03400779888033867,
-0.004814919084310532,
-0.01328995916992426,
-0.017007213085889816,
-0.03504930064082146,
-0.01182416919618845,
0.04443090036511421,
0.01685573346912861,
0.0194709412753582,
-0.0021714973263442516,
-0.052707891911268234,
0.00404193764552474,
0.0027675696182996035,
-0.005337152164429426,
-0.029860371723771095,
-0.00004632502896129154,
0.0007395087741315365,
0.017749397084116936,
0.024630147963762283,
-0.10027598589658737,
0.03232058137655258,
-0.053257573395967484,
-0.03289806470274925,
0.0016317107947543263,
-0.014143032021820545,
-0.007340706419199705,
0.012606645934283733,
-0.012557705864310265,
-0.014092874713242054,
0.03139330819249153,
0.006889532320201397,
0.007967635989189148,
0.013983521610498428,
-0.029296591877937317,
-0.03859984874725342,
-0.022441117092967033,
-0.005049023311585188,
0.08828982710838318,
-0.001312845852226019,
-0.07963543385267258,
0.0004472582950256765,
-0.023001067340373993,
0.07676313072443008,
-0.03789689391851425,
-0.026545722037553787,
-0.024611037224531174,
0.023219479247927666,
-0.012783713638782501,
-0.025590702891349792,
-0.02965129353106022,
-0.010639396496117115,
-0.04865273833274841,
-0.034133587032556534,
-0.010549847036600113,
-0.036734066903591156,
0.004831620492041111,
-0.060184985399246216,
-0.030177313834428787,
-0.04617329686880112,
-0.07406233996152878,
-0.04159076511859894,
0.05240648239850998,
0.024885252118110657,
-0.023809848353266716,
0.041745711117982864,
-0.02157406136393547,
-0.10501177608966827,
-0.033029720187187195,
-0.044055599719285965,
-0.018947472795844078,
0.008910897187888622,
-0.0011009695008397102,
0.05058865249156952,
-0.039148688316345215,
-0.05671154335141182,
0.0035081179812550545,
0.026588074862957,
0.01968110166490078,
-0.006338499952107668,
0.01650218851864338,
-0.02766997180879116,
-0.028439220041036606,
0.014612848870456219,
0.05531395226716995,
-0.009075227193534374,
-0.020312711596488953,
-0.021235167980194092,
-0.008961868472397327,
0.023192504420876503,
0.006700966972857714,
0.021380789577960968,
0.007265482563525438,
0.06471209228038788,
0.03934398293495178,
-0.03525446355342865,
0.019801687449216843,
-0.019871417433023453,
-0.040049582719802856,
-0.004325329791754484,
-0.036971062421798706,
-0.0007251835777424276,
0.030504919588565826,
0.027900340035557747,
0.0033725628163665533,
-0.023645339533686638,
0.043436795473098755,
-0.06304796785116196,
-0.01683005318045616,
0.0019872495904564857,
0.020950408652424812,
0.03872894495725632,
0.047794315963983536,
-0.008254175074398518,
-0.059541601687669754,
0.03503243625164032,
0.025962553918361664,
-0.01186424307525158,
-0.051486190408468246,
-0.03481733798980713,
-0.013026630505919456,
-0.023086268454790115,
0.00686959084123373,
0.02108164317905903,
-0.011334127746522427,
0.04326475039124489,
0.03397158905863762,
-0.03683336451649666,
0.04298970475792885,
-0.022181062027812004,
-0.0450424924492836,
-0.04847538471221924,
0.030204838141798973,
0.006202493328601122,
-0.02499363198876381,
0.020316388458013535,
0.00787008460611105,
0.019401216879487038,
0.050495367497205734,
0.02925141528248787,
0.015590601600706577,
0.003987492527812719,
0.03878146409988403,
-0.0010328316129744053,
-0.008430584333837032,
-0.029132578521966934,
0.00486011803150177,
-0.039460189640522,
0.009997802786529064,
-0.008966026827692986,
0.0526333749294281,
-0.02676849067211151,
-0.03840283304452896,
-0.029701868072152138,
0.018827427178621292,
-0.05772322043776512,
-0.007796769961714745,
-0.008319694548845291,
-0.009524306282401085,
0.0660255178809166,
-0.027002226561307907,
0.02473714016377926,
-0.016917116940021515,
-0.02540804259479046,
0.01584782637655735,
0.008879834786057472,
-0.02746392972767353,
-0.003918431233614683,
0.004799775779247284,
-0.014166455715894699,
0.0004501286312006414,
0.04855857789516449,
0.04423299804329872,
0.02395574375987053,
-0.014957200735807419,
-0.020973432809114456,
0.00440729595720768,
0.016492212191224098,
0.05061519518494606,
0.04714711010456085,
-0.017346860840916634,
0.008510359562933445,
-0.013313962146639824,
-0.0019508482655510306,
-0.014718609862029552,
0.010943135246634483,
-0.025372019037604332,
0.003633603686466813,
-0.015382589772343636,
-0.06064511463046074,
0.05992816388607025,
0.0074124448001384735,
0.01055812742561102,
0.023472771048545837,
-0.012768769636750221,
0.012020991183817387,
-0.028776003047823906,
0.041117437183856964,
0.05787384882569313,
-0.06298191845417023,
-0.03754078969359398,
0.0027228312101215124,
0.009754378348588943,
-0.004218519665300846,
0.02612140029668808,
-0.06992936879396439,
-0.025085456669330597,
-0.00009767854498932138,
0.025301245972514153,
-0.035161975771188736,
-0.06302394717931747,
0.0006178028415888548,
0.0029060086235404015,
0.014072593301534653,
0.020976165309548378,
0.009326359257102013,
-0.0025432489346712828,
-0.02694082260131836,
-0.009304882027208805,
0.042469289153814316,
-0.0320763923227787,
0.0023817827459424734,
-0.008931291289627552,
-0.019553598016500473,
0.023986952379345894,
-0.03213317319750786,
0.009497157298028469,
0.00406759325414896,
-0.0002908502356149256,
0.021769288927316666,
-0.055911991745233536,
0.01704457588493824,
-0.014996310696005821,
0.03566014766693115,
-0.01079494971781969,
-0.014909535646438599,
-0.05090111866593361,
-0.015048003755509853,
-0.0387626476585865,
0.007378023117780685,
-0.006467325612902641,
0.016219820827245712,
0.009321164339780807,
0.01751599833369255,
-0.0036433932837098837,
0.03318243846297264,
-0.01951718144118786,
-0.03732556104660034,
0.059426844120025635,
-0.050829920917749405,
-0.025866998359560966,
-0.01143765076994896,
-0.054182689636945724,
-0.006600158289074898,
0.013774213381111622,
0.012972446158528328,
-0.0334206260740757,
0.05834949389100075,
0.054408155381679535,
0.018529674038290977,
0.021198514848947525,
-0.015524432994425297,
0.032058235257864,
-0.010937645100057125,
-0.013893481343984604,
-0.07804467529058456,
0.0037598859053105116,
0.03733426332473755,
-0.01901724934577942,
-0.015076511539518833,
0.005691828206181526,
-0.029902327805757523,
0.005622800439596176,
-0.05495811253786087,
-0.03278640657663345,
0.0477900393307209,
-0.029911112040281296,
0.007506449241191149,
-0.006779299583286047,
-0.06373720616102219,
0.03508922457695007,
0.03700636699795723,
-0.03434605523943901,
-0.018217220902442932,
-0.010252237319946289,
0.05192721262574196,
-0.0353560708463192,
0.03384125232696533,
-0.023191707208752632,
-0.03817331790924072,
0.07985414564609528,
0.02627626247704029,
0.008795958012342453,
0.05238412693142891,
-0.009570248425006866,
0.044705022126436234,
0.03858516737818718,
-0.003938504494726658,
-0.0031326543539762497,
0.03168853372335434,
-0.03191733732819557,
-0.048154111951589584,
0.04542427882552147,
0.003371128812432289,
-0.021562887355685234,
-0.03867645934224129,
0.07114612311124802,
0.02394608035683632,
-0.044244542717933655,
-0.044565849006175995,
0.041511502116918564,
-0.031134843826293945,
-0.004291190765798092,
-0.031161192804574966,
0.012230961583554745,
-0.05265991762280464,
0.04122176393866539,
-0.018535101786255836,
0.008967659436166286,
0.05198102444410324,
0.007729404605925083,
-0.013667024672031403,
0.005568756256252527,
0.10248514264822006,
0.0886652022600174,
0.030361009761691093,
0.023661673069000244,
0.07848315685987473,
-0.011478052474558353,
-0.03177837282419205,
-0.013578874990344048,
-0.011409127153456211,
-0.03693210333585739,
-0.008811489678919315,
0.023484770208597183,
0.07143037021160126,
-0.029353264719247818,
0.0767798200249672,
-0.019031627103686333,
-0.008233632892370224,
-0.016197536140680313,
0.011915796436369419,
0.029637964442372322,
0.04574911668896675,
0.01253337413072586,
0.05442299693822861,
-0.02396068163216114,
-0.02439780719578266,
0.021937508136034012,
-0.015174503438174725,
-0.023346245288848877,
0.019925657659769058,
-0.015769237652420998,
0.0005846192943863571,
0.014534663408994675,
0.052068643271923065,
0.08937454223632812,
-0.03960021957755089,
-0.0021533879917114973,
0.002320422325283289,
0.015071631409227848,
0.010738223791122437,
0.02391933836042881,
-0.021427620202302933,
-0.021518969908356667,
-0.015618707984685898,
-0.037841055542230606,
-0.02192542515695095,
-0.02980535849928856,
-0.026095783337950706,
0.018755437806248665,
-0.024132447317242622,
-0.0053039132617414,
0.012076696380972862,
-0.027950836345553398,
-0.010782823897898197,
-0.03520894795656204,
-0.0358065664768219,
-0.058570895344018936,
-0.06697997450828552,
-0.00009795702499104664,
0.000595795048866421,
0.0074629709124565125,
-0.01783212460577488,
-0.007536047138273716,
-0.005855935625731945,
-0.020718714222311974,
0.05212261155247688,
-0.0598403699696064,
0.017767490819096565,
0.005930084269493818,
0.02920982986688614,
0.010491433553397655,
0.003405272727832198,
0.06257209181785583,
0.009222542867064476,
0.012385626323521137,
-0.01882939785718918,
0.027470573782920837,
0.02412007376551628,
0.01475868932902813,
0.009263008832931519,
-0.07863745838403702,
-0.011849598959088326,
0.01599208638072014,
-0.014469034038484097,
-0.0829051285982132,
0.012266558595001698,
0.046140339225530624,
0.006156264804303646,
0.030676759779453278,
-0.00984082743525505,
-0.010625973343849182,
-0.029405847191810608,
-0.0050819432362914085,
0.001469105132855475,
-0.03041740134358406,
0.030163832008838654,
-0.01885567232966423,
0.07653466612100601,
0.04176515340805054,
-0.025281844660639763,
-0.0235612653195858,
-0.025156451389193535,
0.008324133232235909,
0.008478024043142796,
-0.03787270560860634,
-0.0257827490568161,
-0.028849398717284203,
-0.10701397806406021,
-0.03964421525597572,
-0.0055926223285496235,
-0.02540290541946888,
-0.03424328938126564,
0.010478910990059376,
0.012150515802204609,
-0.011441480368375778,
0.02028200402855873,
-0.04383637383580208,
0.01723158359527588,
-0.01859101839363575,
-0.011801128275692463,
-0.018738990649580956,
0.002490556798875332,
0.0006204433157108724,
0.0060356114991009235,
0.027181457728147507,
-0.050282008945941925,
-0.017480112612247467,
-0.03286503627896309,
0.04542311280965805,
0.02717050164937973,
0.042935095727443695,
0.012415029108524323
] | [
-0.045525941997766495,
-0.04155264422297478,
-0.05468377843499184,
-0.02820413000881672,
0.06705106794834137,
-0.022564781829714775,
-0.07250756770372391,
0.025479914620518684,
0.010635549202561378,
-0.024967817589640617,
0.03385380655527115,
-0.03198956325650215,
-0.0050040194764733315,
0.0025357885751873255,
0.08783262223005295,
0.012441079132258892,
-0.027270222082734108,
-0.04045148938894272,
0.0019649555906653404,
0.028413984924554825,
-0.015754882246255875,
-0.0330781452357769,
-0.015779035165905952,
-0.07460532337427139,
0.007152200676500797,
0.056337736546993256,
0.032649412751197815,
-0.04249444603919983,
-0.011006923392415047,
-0.21437066793441772,
0.007632903754711151,
0.004688802640885115,
0.0312584713101387,
-0.01644560880959034,
0.009839276783168316,
0.0026605052407830954,
0.05803496763110161,
-0.0051842425018548965,
0.0039513916708528996,
0.045168470591306686,
0.02377220243215561,
-0.011026913300156593,
-0.06491277366876602,
0.004398072138428688,
0.06175543740391731,
0.022416098043322563,
-0.034713152796030045,
-0.00512325344607234,
-0.02534271590411663,
-0.009697888046503067,
-0.03129720315337181,
-0.021458223462104797,
-0.00036249487311579287,
-0.009185794740915298,
0.0018679946660995483,
0.03633108362555504,
0.035184651613235474,
0.05806438624858856,
0.030507883056998253,
0.033794231712818146,
0.020147155970335007,
0.0037653662730008364,
-0.13383090496063232,
0.07684379816055298,
0.024506689980626106,
0.013785695657134056,
-0.04827640950679779,
-0.015414419583976269,
0.0024867544416338205,
0.08865563571453094,
0.044396743178367615,
0.010349111631512642,
-0.019310684874653816,
0.036591414362192154,
0.00014687802467960864,
0.044946424663066864,
-0.0037366419564932585,
0.022358357906341553,
0.03834359720349312,
-0.05612674728035927,
-0.03009156696498394,
0.02971910499036312,
-0.040269602090120316,
-0.005268032196909189,
-0.04572803154587746,
0.03902936354279518,
-0.04686678573489189,
0.050592441111803055,
-0.02735115773975849,
0.045390304177999496,
0.0062772538512945175,
0.018832577392458916,
0.07500816136598587,
0.03166436403989792,
-0.10055046528577805,
-0.014755296520888805,
0.008889462798833847,
0.007611166685819626,
0.003655650420114398,
0.4173232316970825,
0.0018808773020282388,
0.0010527295526117086,
0.02327088825404644,
0.055421799421310425,
-0.009759251028299332,
-0.037071093916893005,
-0.00554220424965024,
-0.07019341737031937,
0.03465099260210991,
-0.004911492113023996,
0.022053992375731468,
-0.04535484313964844,
0.05916006490588188,
-0.08550082892179489,
-0.012835155241191387,
-0.01846781186759472,
0.04387999698519707,
0.03132374957203865,
-0.010496599599719048,
-0.001546218409202993,
-0.030368847772479057,
0.03103247843682766,
0.04227462410926819,
0.00837071891874075,
0.04340478777885437,
0.0032528757583349943,
0.007253284100443125,
0.025323087349534035,
0.02336162142455578,
0.020425233989953995,
0.052591752260923386,
0.033797867596149445,
-0.06165875494480133,
0.032462455332279205,
-0.010518758557736874,
-0.007603740785270929,
0.04359494522213936,
-0.055091891437768936,
-0.02908378653228283,
0.03792170062661171,
-0.024822279810905457,
0.013545582070946693,
0.02896263264119625,
-0.0071065365336835384,
-0.03855888918042183,
0.1300514191389084,
0.002969594905152917,
-0.045900534838438034,
-0.03544669225811958,
-0.040463365614414215,
0.018353594467043877,
0.05138902738690376,
0.006799716968089342,
-0.053798940032720566,
-0.014421562664210796,
0.007096117828041315,
0.07306277006864548,
0.005194973200559616,
-0.095225989818573,
0.020054958760738373,
-0.03604178875684738,
-0.018364036455750465,
-0.03817063942551613,
0.08555101603269577,
0.04994315281510353,
-0.12966787815093994,
-0.002208565128967166,
0.02721751295030117,
0.025613637641072273,
-0.05716314539313316,
0.006378563120961189,
0.021934231743216515,
-0.019698388874530792,
-0.02441246621310711,
0.04936883971095085,
-0.02270360291004181,
-0.024458246305584908,
-0.005571212153881788,
0.03788306191563606,
-0.005309985019266605,
-0.006762553937733173,
-0.022353269159793854,
-0.030619485303759575,
-0.01086222194135189,
-0.07680858671665192,
-0.044447969645261765,
-0.08166646212339401,
0.010220292024314404,
-0.0367746539413929,
-0.036344192922115326,
-0.029308166354894638,
0.014055470936000347,
-0.04037066921591759,
0.0846688374876976,
-0.03616009280085564,
-0.048430249094963074,
-0.016245290637016296,
0.00046936620492488146,
-0.0235147662460804,
-0.02795795165002346,
0.012487868778407574,
0.0177711583673954,
-0.004156790673732758,
0.03920552507042885,
-0.06366677582263947,
0.010273369960486889,
0.06066511571407318,
-0.010904106311500072,
0.056618787348270416,
0.03169842064380646,
-0.042123183608055115,
0.004246226977556944,
-0.011190932244062424,
0.022353384643793106,
-0.022378871217370033,
-0.0038870065473020077,
0.015756063163280487,
-0.014718291349709034,
0.004501642659306526,
0.05153017118573189,
-0.023277681320905685,
0.005650713574141264,
-0.05043839290738106,
-0.3399816155433655,
-0.05217662826180458,
-0.011732925660908222,
0.0054625943303108215,
0.028878983110189438,
-0.02506192773580551,
0.020090321078896523,
-0.019355282187461853,
0.014286477118730545,
0.024886446073651314,
0.0789930447936058,
-0.00042760552605614066,
-0.012954802252352238,
-0.09359993040561676,
0.006882148329168558,
0.03690140321850777,
0.0020648417994379997,
0.0003637177578639239,
-0.020579233765602112,
-0.004859753418713808,
0.0032209164928644896,
-0.044028811156749725,
-0.01922483555972576,
-0.03350120782852173,
-0.004676270764321089,
-0.0006486332858912647,
0.10622875392436981,
0.0026469375006854534,
0.04502527043223381,
-0.02313230186700821,
0.019478749483823776,
0.006307179108262062,
-0.014660091139376163,
-0.07423612475395203,
-0.00910699088126421,
-0.002620644634589553,
0.053247664123773575,
0.01690414361655712,
-0.009592629037797451,
-0.004448375198990107,
-0.0428679920732975,
-0.006093085277825594,
-0.0334102138876915,
-0.07088341563940048,
-0.02937130816280842,
0.033680979162454605,
-0.02808995172381401,
-0.01460218708962202,
-0.01112518459558487,
0.053059957921504974,
0.021598273888230324,
0.01490856148302555,
0.003998140804469585,
0.014892383478581905,
-0.004336911253631115,
-0.025821922346949577,
-0.05559718608856201,
-0.01824871078133583,
0.030492914840579033,
0.017067287117242813,
0.006369351875036955,
0.03555435687303543,
0.013415660709142685,
-0.06880558282136917,
0.03637036681175232,
0.006981646176427603,
-0.009335254319012165,
0.0064140562899410725,
0.03545220196247101,
-0.04210171103477478,
-0.01824893429875374,
0.12165393680334091,
0.013785295188426971,
0.03550565987825394,
0.05293899029493332,
0.037260327488183975,
-0.01755097322165966,
0.012088825926184654,
0.022157792001962662,
0.02126077003777027,
0.0402965284883976,
-0.027010643854737282,
0.06314282864332199,
-0.030154161155223846,
-0.011373247019946575,
0.03242005407810211,
0.011744668707251549,
-0.05497317016124725,
0.053259044885635376,
0.021906277164816856,
-0.01411711610853672,
0.007370025850832462,
-0.016317671164870262,
-0.07044912874698639,
0.0760360062122345,
-0.009378275834023952,
-0.27580803632736206,
0.040547143667936325,
0.039082273840904236,
0.0630851462483406,
-0.016430379822850227,
-0.005403219256550074,
0.035770483314991,
-0.02409057877957821,
0.007931449450552464,
0.017409857362508774,
-0.001060637179762125,
0.06817043572664261,
-0.00451800087466836,
0.013251126743853092,
-0.009081129916012287,
0.005357344634830952,
0.055980607867240906,
0.007303891237825155,
0.011620921082794666,
-0.015257925726473331,
0.037686292082071304,
-0.013866902329027653,
0.17536009848117828,
0.026275020092725754,
0.013810116797685623,
0.0540284626185894,
-0.040627382695674896,
-0.009007211774587631,
0.03612411394715309,
-0.012612000107765198,
-0.05000757426023483,
0.041413020342588425,
-0.008067656308412552,
-0.002820815658196807,
0.02506387233734131,
-0.01071294117718935,
-0.019137317314743996,
0.04024972766637802,
0.0208815336227417,
-0.027170483022928238,
0.021350190043449402,
0.005995715036988258,
-0.029544051736593246,
0.03151688724756241,
0.05147695168852806,
-0.03779270872473717,
-0.007985398173332214,
-0.0280701145529747,
-0.06746431440114975,
0.0015350563917309046,
-0.03575059026479721,
-0.0654478445649147,
-0.016931690275669098,
-0.02666810154914856,
-0.00680378545075655,
0.09772881120443344,
0.006877200212329626,
-0.040329594165086746,
0.0052833533845841885,
-0.02029193937778473,
-0.016458503901958466,
-0.06657079607248306,
0.09666606038808823,
-0.022580541670322418,
0.02434922754764557
] | [
0.047562312334775925,
0.056848566979169846,
0.004683113191276789,
0.02042745053768158,
-0.0015463550807908177,
-0.02317126654088497,
-0.008624383248388767,
-0.011381205171346664,
-0.019904421642422676,
0.012020191177725792,
-0.005443996284157038,
0.014186175540089607,
0.051785871386528015,
0.005919086281210184,
0.003360756440088153,
0.02125244215130806,
0.013039875775575638,
-0.0014216159470379353,
0.03620389103889465,
-0.022489063441753387,
-0.04571619629859924,
-0.012574201449751854,
0.027030738070607185,
-0.004513740539550781,
0.00157324003521353,
0.039966288954019547,
-0.04838332161307335,
-0.008608849719166756,
0.03108685277402401,
-0.09992846101522446,
0.008806378580629826,
-0.02012537606060505,
-0.008307711221277714,
-0.002269756281748414,
-0.023190760985016823,
0.006617153994739056,
0.018675317987799644,
0.00608761515468359,
-0.00813444796949625,
0.05840195715427399,
0.026352308690547943,
-0.02058272995054722,
-0.018212538212537766,
0.012277305126190186,
-0.015776844695210457,
-0.0319519080221653,
-0.04848899319767952,
-0.06804420799016953,
0.032502301037311554,
0.01031324453651905,
-0.0434318445622921,
-0.04892325401306152,
-0.011213778518140316,
-0.015264749526977539,
-0.0009254905162379146,
0.015104063786566257,
-0.0193900465965271,
-0.006246841512620449,
0.04881704971194267,
0.026289844885468483,
0.03899091109633446,
-0.013099666684865952,
-0.056208137422800064,
-0.024822749197483063,
-0.01503946352750063,
0.004813700448721647,
0.001611280720680952,
0.009402276948094368,
-0.011602683924138546,
0.04245971143245697,
0.02194495126605034,
0.057451553642749786,
-0.05105278268456459,
-0.05060086399316788,
-0.02461344562470913,
0.038576044142246246,
0.03760047256946564,
-0.013787987641990185,
-0.029053600504994392,
0.005575497634708881,
-0.006930873729288578,
0.018070470541715622,
-0.035354554653167725,
-0.0015248380368575454,
-0.03438086435198784,
0.012354494072496891,
-0.022862950339913368,
-0.025445042178034782,
-0.007423111237585545,
0.01621866226196289,
-0.017682841047644615,
0.004595259670168161,
-0.04589694365859032,
-0.013137048110365868,
-0.08031477779150009,
-0.004980364814400673,
-0.000808732642326504,
-0.014307922683656216,
0.033121317625045776,
0.82110995054245,
0.002794245257973671,
-0.019334403797984123,
-0.0017881346866488457,
0.005346712190657854,
0.02818901836872101,
-0.005000231321901083,
0.0019520381465554237,
-0.00820943247526884,
-0.0016448474489152431,
0.03324323147535324,
-0.018669776618480682,
0.026103448122739792,
0.013711138628423214,
0.04801935330033302,
0.007966441102325916,
0.02828756906092167,
0.005657908972352743,
-0.013412494212388992,
0.00598418852314353,
0.03206827864050865,
0.00788331963121891,
0.015712743625044823,
0.011218031868338585,
-0.004278284497559071,
0.007994878105819225,
-0.1596132516860962,
-0.02262522093951702,
-6.94485515480463e-33,
0.05386265739798546,
-0.019213881343603134,
0.051830850541591644,
0.007613502908498049,
0.024507276713848114,
0.02582547627389431,
-0.01282770186662674,
-0.06413061916828156,
-0.03465639799833298,
-0.02993069216609001,
-0.03293481469154358,
0.028730714693665504,
0.012723539024591446,
0.0020849350839853287,
-0.009763372130692005,
-0.002323282416909933,
0.03513463959097862,
0.016164502128958702,
-0.015908915549516678,
-0.02428422123193741,
0.013144169934093952,
0.021965892985463142,
-0.037154704332351685,
0.04826928675174713,
0.01019718125462532,
0.044457633048295975,
-0.009620361030101776,
-0.004392555914819241,
0.015769602730870247,
-0.04752454161643982,
-0.062268175184726715,
0.02258826419711113,
0.010888401418924332,
-0.010684018023312092,
0.02227206714451313,
-0.0775134265422821,
-0.02752779796719551,
0.02213982492685318,
-0.04249250516295433,
-0.07447057217359543,
-0.027321672067046165,
0.016002073884010315,
0.00001308347509620944,
-0.04954828321933746,
-0.04748642072081566,
-0.012676716782152653,
-0.0198654904961586,
-0.01449253037571907,
0.014283495955169201,
0.0114620765671134,
-0.0028182868845760822,
0.0220935195684433,
-0.028284694999456406,
0.02640112116932869,
-0.027622060850262642,
-0.01502059306949377,
0.008506888523697853,
0.009712564758956432,
-0.022238345816731453,
-0.0027733484748750925,
0.022723086178302765,
0.0026214944664388895,
0.0004138660151511431,
0.022305814549326897,
0.026649320498108864,
0.03654790669679642,
-0.045240987092256546,
-0.002967552049085498,
0.0073366425931453705,
0.05221278592944145,
-0.04732907563447952,
0.0384400337934494,
-0.029827537015080452,
-0.014281299896538258,
0.040335189551115036,
-0.06441137939691544,
-0.008420005440711975,
-0.029849961400032043,
0.009364480152726173,
0.058022987097501755,
-0.04692649096250534,
-0.032320041209459305,
-0.007095708977431059,
-0.013663516379892826,
-0.004957585595548153,
-0.04997709020972252,
0.025146804749965668,
0.027413249015808105,
0.007348821498453617,
0.020384998992085457,
0.010097517631947994,
0.034664347767829895,
-0.022494666278362274,
-0.01674310490489006,
-0.03418893739581108,
6.774750836665075e-33,
-0.012390119023621082,
0.011290340684354305,
-0.004246270749717951,
0.013620005920529366,
0.020272493362426758,
0.0302987489849329,
0.020058143883943558,
0.007169355172663927,
-0.040299948304891586,
0.047467999160289764,
0.00496898777782917,
0.0013719293056055903,
-0.021040791645646095,
0.018633414059877396,
0.05081043019890785,
-0.0007187828887254,
0.0173350740224123,
-0.045913487672805786,
-0.019249754026532173,
0.020759472623467445,
-0.013852393254637718,
0.02041076309978962,
0.004643302410840988,
0.01968979835510254,
0.05464016646146774,
-0.0059754312969744205,
0.020754463970661163,
0.005909615661948919,
-0.022680208086967468,
-0.011016648262739182,
-0.021054791286587715,
-0.04223671555519104,
-0.01257861778140068,
-0.010381962172687054,
0.012647817842662334,
0.029370861127972603,
0.005396810360252857,
0.02450602874159813,
-0.004396564792841673,
-0.0014855032786726952,
0.014927159063518047,
-0.0029333101119846106,
-0.027057325467467308,
0.059853535145521164,
0.010091100819408894,
0.023300981149077415,
-0.007012243382632732,
0.02484438754618168,
-0.017899975180625916,
0.026654481887817383,
-0.005951104685664177,
0.01991347037255764,
0.021890509873628616,
0.024226795881986618,
0.01686442829668522,
-0.06398075073957443,
0.017820894718170166,
0.04220886155962944,
-0.04037964716553688,
0.0134115694090724,
-0.012670723721385002,
-0.03503221645951271,
-0.013520941138267517,
0.0034828383941203356,
-0.03348666802048683,
-0.0020795245654881,
-0.01619069278240204,
0.0033137784339487553,
-0.011129944585263729,
0.015634125098586082,
0.04126937687397003,
0.023289142176508904,
-0.008969846181571484,
0.02944231405854225,
0.050475385040044785,
-0.028899848461151123,
-0.03609086573123932,
0.0031288235913962126,
-0.033803366124629974,
0.016764866188168526,
0.01165820937603712,
0.056912388652563095,
0.02874799445271492,
-0.006012879777699709,
0.014666576869785786,
0.003344335127621889,
-0.0036267442628741264,
0.02515134960412979,
-0.003835258074104786,
-0.011318214237689972,
0.0400918573141098,
-0.008355613797903061,
-0.04729664698243141,
0.06400390714406967,
-0.012611686252057552,
-1.2453439168780278e-8,
-0.03637208789587021,
0.002624501008540392,
0.002698290627449751,
-0.0000921650935197249,
-0.0041087595745921135,
0.03030555136501789,
0.023275060579180717,
0.014076105318963528,
-0.0178520567715168,
0.02018439583480358,
0.03413962572813034,
-0.021348828449845314,
0.014319807291030884,
-0.006027101539075375,
0.006906863301992416,
-0.02415815182030201,
0.0030927786137908697,
-0.02422209084033966,
0.03829840198159218,
0.0032063359394669533,
-0.00806637853384018,
0.021460765972733498,
-0.006593688391149044,
0.020643090829253197,
-0.005829284433275461,
-0.030113955959677696,
0.04519585520029068,
-0.0722794234752655,
-0.027823006734251976,
-0.02492511086165905,
-0.00858834758400917,
-0.019299378618597984,
-0.03576435521245003,
0.02528838813304901,
-0.03190281242132187,
-0.016585703939199448,
0.02742151729762554,
0.020781472325325012,
0.012256287969648838,
0.03861731290817261,
-0.03643515706062317,
0.023579934611916542,
-0.033782973885536194,
-0.04683563858270645,
-0.03797271475195885,
0.022493531927466393,
-0.012533726170659065,
0.0033228755928575993,
0.05990586802363396,
-0.007461714092642069,
-0.010504559613764286,
0.0000012122333146180608,
0.009996030479669571,
0.02401585690677166,
0.05029163882136345,
-0.012568818405270576,
0.006499370094388723,
-0.022171910852193832,
-0.022013043984770775,
-0.009458784013986588,
0.03495718538761139,
-0.007885737344622612,
-0.037079647183418274,
-0.016130942851305008
] | neo4j-gdsl-overlapping-community-detection-sllpa | https://markhneedham.com/blog/2021/02/08/neo4j-gdsl-overlapping-community-detection-sllpa |
false | 2021-11-30 00:44:37 | Apache Pinot: Exploring indexing techniques on Chicago Crimes | [
"pinot"
] | [
"Pinot"
] | In Neha Pawar's recent blog post, https://www.startree.ai/blogs/what-makes-apache-pinot-fast-chapter-1/[What Makes Apache Pinot fast?], she summarises it with the following sentence:
[quote, What makes Apache Pinot fast?, 'https://www.startree.ai/blogs/what-makes-apache-pinot-fast-chapter-1/'']
____
At the heart of the system, Pinot is a columnar store with several smart optimizations that can be applied at various stages of the query by the different Pinot components.
Some of the most commonly used and impactful optimizations are data partitioning strategies, segment assignment strategies, smart query routing techniques, a rich set of indexes for filter optimizations, and aggregation optimization techniques.
____
In this blog post we're going to explore one of these techniques, the indexes used for filter optimizations.
We'll do this with the help of one of my favourite datasets, the https://data.cityofchicago.org/Public-Safety/Crimes-2001-to-Present/ijzp-q8t2/data[Chicago Crimes data set^], which contains just over 7 million reported incidents of crime since 2001.
image::{{<siteurl>}}/uploads/2021/11/indexing-techniques.png[]
== How will we assess the impact of indexes?
Before we look at this dataset, I want to recommend a video that Apache Pinot co-author Kishore Gopalakrishna recorded in December 2020, in which he explains how to know whether indexes that you've added are working.
++++
<iframe width="560" height="315" src="https://www.youtube.com/embed/VdwVDiXOOVo?start=999" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
++++
Kishore goes through different query meta data properties that get returned, as shown in the screenshot below:
.Apache Pinot Query Optimization
image::{{<siteurl>}}/uploads/2021/11/query-optimization.png[Apache Pinot Query Optimization, role='medium-zoom-image']
Each of the properties is impacted by the smart optimisations that Neha mentioned in her blog post, but here we'll be focusing on `numEntriesScannedInFilter`.
Let's get to it!
== Setup
We're going to spin up a local instance of Pinot using the following Docker compose config:
.docker-compose.yml
[source, yaml]
----
version: '3.7'
services:
zookeeper:
image: zookeeper:3.5.6
hostname: zookeeper
container_name: manual-zookeeper
ports:
- "2181:2181"
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
pinot-controller:
image: apachepinot/pinot:0.9.0
command: "StartController -zkAddress manual-zookeeper:2181"
container_name: "manual-pinot-controller"
volumes:
- ./config:/config
- ./data:/data
restart: unless-stopped
ports:
- "9000:9000"
depends_on:
- zookeeper
pinot-broker:
image: apachepinot/pinot:0.9.0
command: "StartBroker -zkAddress manual-zookeeper:2181"
restart: unless-stopped
container_name: "manual-pinot-broker"
volumes:
- ./config:/config
- ./data:/data
ports:
- "8099:8099"
depends_on:
- pinot-controller
pinot-server:
image: apachepinot/pinot:0.9.0
command: "StartServer -zkAddress manual-zookeeper:2181"
restart: unless-stopped
container_name: "manual-pinot-server"
volumes:
- ./config:/config
- ./data:/data
depends_on:
- pinot-broker
----
== Data
The Chicago Crimes dataset is available as https://data.cityofchicago.org/Public-Safety/Crimes-2001-to-Present/ijzp-q8t2/data[a CSV file that contains just over 7 million crimes committed in Chicago^] from 2001 until today.
A subset of the data is shown below:
.Chicago Crimes Dataset
image::{{<siteurl>}}/uploads/2021/11/chicago-crimes.png[Chicago Crimes Dataset, role='medium-zoom-image']
== Add Table
We're going to import the data into a https://docs.pinot.apache.org/basics/components/table[Pinot table^].
First we'll create a https://docs.pinot.apache.org/basics/components/schema[schema^] that defines the columns, types, and data types:
./config/schema.json
[source, json]
----
{
"schemaName": "crimes",
"dimensionFieldSpecs": [
{
"name": "ID",
"dataType": "INT"
},
{
"name": "CaseNumber",
"dataType": "STRING"
},
{
"name": "Block",
"dataType": "STRING"
},
{
"name": "IUCR",
"dataType": "STRING"
},
{
"name": "PrimaryType",
"dataType": "STRING"
},
{
"name": "Arrest",
"dataType": "BOOLEAN"
},
{
"name": "Domestic",
"dataType": "BOOLEAN"
},
{
"name": "Beat",
"dataType": "STRING"
},
{
"name": "District",
"dataType": "STRING"
},
{
"name": "Ward",
"dataType": "STRING"
},
{
"name": "CommunityArea",
"dataType": "STRING"
},
{
"name": "FBICode",
"dataType": "STRING"
},
{
"name": "Latitude",
"dataType": "DOUBLE"
},
{
"name": "Longitude",
"dataType": "DOUBLE"
}
],
"dateTimeFieldSpecs": [{
"name": "Date",
"dataType": "STRING",
"format" : "1:SECONDS:SIMPLE_DATE_FORMAT:MM/dd/yyyy HH:mm:ss a",
"granularity": "1:HOURS"
}]
}
----
And now a https://docs.pinot.apache.org/configuration-reference/table[table config^]:
./config/table-basic.json
[source, json]
----
{
"tableName": "crimes",
"tableType": "OFFLINE",
"segmentsConfig": {
"replication": 1
},
"tenants": {
"broker":"DefaultTenant",
"server":"DefaultTenant"
},
"tableIndexConfig": {
"loadMode": "MMAP"
},
"nullHandlingEnabled": true,
"ingestionConfig": {
"batchIngestionConfig": {
"segmentIngestionType": "APPEND",
"segmentIngestionFrequency": "DAILY"
},
"transformConfigs": [
{"columnName": "CaseNumber", "transformFunction": "\"Case Number\"" },
{"columnName": "PrimaryType", "transformFunction": "\"Primary Type\"" },
{"columnName": "CommunityArea", "transformFunction": "\"Community Area\"" },
{"columnName": "FBICode", "transformFunction": "\"FBI Code\"" }
]
},
"metadata": {}
}
----
We're mostly using the defaults here, the only unusual thing that we're doing is specifying some `transformConfigs` to take care of column names containing spaces.
If you want to learn more about these transformations, see my blog post on https://www.markhneedham.com/blog/2021/11/25/apache-pinot-csv-columns-spaces/[Importing CSV files with columns containing spaces].
We can create the table by running the following command:
[source, bash]
----
docker exec -it manual-pinot-controller bin/pinot-admin.sh AddTable \
-tableConfigFile /config/table-basic.json \
-schemaFile /config/schema.json -exec
----
== Import CSV file
Next we're going to import the CSV file.
To do this we'll define the following ingestion job spec:
./config/job-spec.yml
[source, yaml]
----
executionFrameworkSpec:
name: 'standalone'
segmentGenerationJobRunnerClassName: 'org.apache.pinot.plugin.ingestion.batch.standalone.SegmentGenerationJobRunner'
segmentTarPushJobRunnerClassName: 'org.apache.pinot.plugin.ingestion.batch.standalone.SegmentTarPushJobRunner'
jobType: SegmentCreationAndTarPush
inputDirURI: '/data'
includeFileNamePattern: 'glob:**/Crimes_-_2001_to_Present.csv'
outputDirURI: '/opt/pinot/data/crimes'
overwriteOutput: true
pinotFSSpecs:
- scheme: file
className: org.apache.pinot.spi.filesystem.LocalPinotFS
recordReaderSpec:
dataFormat: 'csv'
className: 'org.apache.pinot.plugin.inputformat.csv.CSVRecordReader'
configClassName: 'org.apache.pinot.plugin.inputformat.csv.CSVRecordReaderConfig'
tableSpec:
tableName: 'crimes'
pinotClusterSpecs:
- controllerURI: 'http://localhost:9000'
----
[source, bash]
----
docker exec \
-it manual-pinot-controller bin/pinot-admin.sh LaunchDataIngestionJob \
-jobSpecFile /config/job-spec.yml
----
== Querying Pinot
We're going to run queries against Pinot using the Query Console of the https://docs.pinot.apache.org/basics/components/exploring-pinot[Pinot Data Explorer^].
You can access this at http://localhost:9000/#/query.
We can write SQL queries in the SQL Editor and then run them by pressing 'Cmd + Enter'.
We'll then toggle "Show JSON Format" so that we can see the meta data of our query.
You can see a screenshot below:
.JSON Format
image::{{<siteurl>}}/uploads/2021/11/show-json-format.png[JSON Format]
.Query metadata
[source, json]
----
{
"numServersQueried": 1,
"numServersResponded": 1,
"numSegmentsQueried": 1,
"numSegmentsProcessed": 1,
"numSegmentsMatched": 1,
"numConsumingSegmentsQueried": 0,
"numDocsScanned": 10,
"numEntriesScannedInFilter": 0,
"numEntriesScannedPostFilter": 150,
"numGroupsLimitReached": false,
"totalDocs": 7434990,
"timeUsedMs": 5
}
----
From this meta data, the main thing that we learn is that there are 7,434,990 documents/rows in this table
In the rest of this post we're only going to focus on the following properties:
[source, json]
----
{
"numDocsScanned": 10,
"numEntriesScannedInFilter": 0,
"numEntriesScannedPostFilter": 150,
"timeUsedMs": 5
}
----
We're going to analyse a query that checks the equality of one column.
== Forward index
Let's start with a query that counts the number of crimes committed where an arrest has happened:
[source, sql]
----
select count(*)
from crimes
WHERE Beat = '1434'
----
.Results
[source, json]
----
{
"numDocsScanned": 27973,
"numEntriesScannedInFilter": 7434990,
"numEntriesScannedPostFilter": 0,
"timeUsedMs": 71
}
----
From these values we can see that the SQL engine has had to scan every document to check its value for the `Arrest` column and that there were 27,973 documents that matched this predicate.
== Forward index + Inverted Index on Beat column
One optimisation that we can do is to add the `Arrest` column as an https://docs.pinot.apache.org/basics/indexing/inverted-index[inverted index^].
With an inverted index, Pinot keeps a map from each unique value to a bitmap of rows, meaning that we'll no longer have to scan all the values in these column.
We can add an inverted index as `tableIndexConfig.invertedIndexColumns`, as shown in the following table config:
./config/table-inverted-index.json
[source, json]
----
{
"tableName": "crimes_inverted",
"tableType": "OFFLINE",
"segmentsConfig": {
"replication": 1
},
"tenants": {
"broker":"DefaultTenant",
"server":"DefaultTenant"
},
"tableIndexConfig": {
"loadMode": "MMAP",
"invertedIndexColumns": [
"Beat"
]
},
"ingestionConfig": {
"batchIngestionConfig": {
"segmentIngestionType": "APPEND",
"segmentIngestionFrequency": "DAILY"
},
"transformConfigs": [
{"columnName": "CaseNumber", "transformFunction": "\"Case Number\"" },
{"columnName": "PrimaryType", "transformFunction": "\"Primary Type\"" },
{"columnName": "CommunityArea", "transformFunction": "\"Community Area\"" },
{"columnName": "FBICode", "transformFunction": "\"FBI Code\"" }
]
},
"metadata": {}
}
----
We could apply that to our existing `crimes` table, but to make it easier to compare the different techniques we're going to create a new table for each technique.
Run the following command to add a new table `crimes_inverted` based on this table config:
.Add table with inverted index
[source, bash]
----
docker exec -it manual-pinot-controller bin/pinot-admin.sh AddTable \
-tableConfigFile /config/table-basic.json \
-schemaFile /config/schema.json -exec
----
Now we're going to import the same CSV into this table, using the following ingestion job spec:
./config/job-spec-inverted.yml
[source, yaml]
----
executionFrameworkSpec:
name: 'standalone'
segmentGenerationJobRunnerClassName: 'org.apache.pinot.plugin.ingestion.batch.standalone.SegmentGenerationJobRunner'
segmentTarPushJobRunnerClassName: 'org.apache.pinot.plugin.ingestion.batch.standalone.SegmentTarPushJobRunner'
segmentUriPushJobRunnerClassName: 'org.apache.pinot.plugin.ingestion.batch.standalone.SegmentUriPushJobRunner'
jobType: SegmentCreationAndTarPush
inputDirURI: '/data'
includeFileNamePattern: 'glob:**/Crimes_beat_sorted.csv'
outputDirURI: '/opt/pinot/data/crimes_inverted'
overwriteOutput: true
pinotFSSpecs:
- scheme: file
className: org.apache.pinot.spi.filesystem.LocalPinotFS
recordReaderSpec:
dataFormat: 'csv'
className: 'org.apache.pinot.plugin.inputformat.csv.CSVRecordReader'
configClassName: 'org.apache.pinot.plugin.inputformat.csv.CSVRecordReaderConfig'
tableSpec:
tableName: 'crimes_inverted'
schemaURI: 'http://localhost:9000/tables/crimes/schema'
pinotClusterSpecs:
- controllerURI: 'http://localhost:9000'
----
Because our table name and schema name are different we need to explicitly specify the `schemaURI`, otherwise it will try to look for a non existent schema at http://localhost:9000/tables/crimes_inverted/schema.
We're also using a different `outputDirURI` than for the previous job spec.
We need to do this so that the segments from the `crimes` table don't get included in the `crimes_inverted` table.
Run the ingestion job:
[source, bash]
----
docker exec \
-it manual-pinot-controller bin/pinot-admin.sh LaunchDataIngestionJob \
-jobSpecFile /config/job-spec-inverted.yml
----
Once the job has finished, we can run our query again:
[source, sql]
----
select count(*)
from crimes_inverted
WHERE Beat = '1434'
----
We should see the following output:
.Results
[source, json]
----
{
"numDocsScanned": 1992434,
"numEntriesScannedInFilter": 0,
"numEntriesScannedPostFilter": 0,
"timeUsedMs": 3,
}
----
Our query is almost 20x faster than it was before and the `numEntriesScannedInFilter` is down to 0.
=== Sorted Forward Index on Beat column
We could instead create a https://docs.pinot.apache.org/basics/indexing/forward-index#sorted-forward-index-with-run-length-encoding[sorted index^].
With a sorted index, Pinot keeps a mapping from unique values to start and end document/row ids.
[NOTE]
====
The sorted (forward) index for the `Beat` column will replace the default forward index used in the 'No Indexes' example.
====
A table can only have one sorted column and, for offline data ingestion the data in that column must be sorted before we ingest it into Pinot.
Since the CSV file isn't too big, we can sort it using Pandas and write the sorted data to a new CSV file, using the following script:
[source,python]
----
import pandas as pd
df = pd.read_csv("data/Crimes_-_2001_to_Present.csv", dtype=object)
df.sort_values(by=["Beat"]).to_csv("data/Crimes_beat_sorted.csv", index=False)
----
Now let's create a new table, which we'll call `crimes_sorted`:
./config/table-sorted-index.json
[source, json]
----
{
"tableName": "crimes_sorted",
"tableType": "OFFLINE",
"segmentsConfig": {
"replication": 1
},
"tenants": {
"broker":"DefaultTenant",
"server":"DefaultTenant"
},
"tableIndexConfig": {
"loadMode": "MMAP",
"sortedColumn": [
"Beat"
]
},
"ingestionConfig": {
"batchIngestionConfig": {
"segmentIngestionType": "APPEND",
"segmentIngestionFrequency": "DAILY"
},
"transformConfigs": [
{"columnName": "CaseNumber", "transformFunction": "\"Case Number\"" },
{"columnName": "PrimaryType", "transformFunction": "\"Primary Type\"" },
{"columnName": "CommunityArea", "transformFunction": "\"Community Area\"" },
{"columnName": "FBICode", "transformFunction": "\"FBI Code\"" }
]
},
"metadata": {}
}
----
Run the following command to add a new table `crimes_sorted` based on this table config:
.Add table with sorted index
[source, bash]
----
docker exec -it manual-pinot-controller bin/pinot-admin.sh AddTable \
-tableConfigFile /config/table-sorted-index.json \
-schemaFile /config/schema.json -exec
----
And finally let's create an ingestion job spec to import the CSV file:
./config/job-spec-sorted.yml
[source, yaml]
----
executionFrameworkSpec:
name: 'standalone'
segmentGenerationJobRunnerClassName: 'org.apache.pinot.plugin.ingestion.batch.standalone.SegmentGenerationJobRunner'
segmentTarPushJobRunnerClassName: 'org.apache.pinot.plugin.ingestion.batch.standalone.SegmentTarPushJobRunner'
segmentUriPushJobRunnerClassName: 'org.apache.pinot.plugin.ingestion.batch.standalone.SegmentUriPushJobRunner'
jobType: SegmentCreationAndTarPush
inputDirURI: '/data'
includeFileNamePattern: 'glob:**/Crimes_beat_sorted.csv'
outputDirURI: '/opt/pinot/data/crimes-sorted'
overwriteOutput: true
pinotFSSpecs:
- scheme: file
className: org.apache.pinot.spi.filesystem.LocalPinotFS
recordReaderSpec:
dataFormat: 'csv'
className: 'org.apache.pinot.plugin.inputformat.csv.CSVRecordReader'
configClassName: 'org.apache.pinot.plugin.inputformat.csv.CSVRecordReaderConfig'
tableSpec:
tableName: 'crimes_sorted'
schemaURI: 'http://localhost:9000/tables/crimes/schema'
pinotClusterSpecs:
- controllerURI: 'http://localhost:9000'
----
Again we need to specify the `schemaURI` since our table name and schema name differ.
We can ingest the data by running the following command:
[source, bash]
----
docker exec \
-it manual-pinot-controller bin/pinot-admin.sh LaunchDataIngestionJob \
-jobSpecFile /config/job-spec-sorted.yml
----
Once the job has finished, we can run our query again:
[source, sql]
----
select count(*)
from crimes_sorted
WHERE Beat = '1434'
----
We should see the following output:
.Results
[source, json]
----
{
"numDocsScanned": 27973,
"numEntriesScannedInFilter": 0,
"numEntriesScannedPostFilter": 0,
"timeUsedMs": 3,
}
----
Again we don't have any `numEntriesScannedInFilter`, but the query time isn't all that different to when we used the inverted index.
== Space vs Time Trade-off
The disadvantage of adding extra indexes is that they take up more space on disk.
We can check how much space each of our tables consumes by running the following:
.Compute table size
[source, bash]
----
{
printf "%-20s%-12s\n" "Table" "Bytes"
for table in 'crimes' 'crimes_sorted' 'crimes_inverted'; do
size=`curl -X GET "http://localhost:9000/tables/${table}/size?detailed=true" -H "accept: application/json" 2>/dev/null | jq '.reportedSizeInBytes'`;
printf "%-20s%-12s\n" ${table} ${size};
done
}
----
.Results
[source, text]
----
Table Bytes
crimes 340797740
crimes_sorted 332435811
crimes_inverted 355940552
----
Looking at these numbers, we can see that:
* The `crimes_inverted` table takes up the most space, but we shouldn't be too surprised because this is the only table that has two indexes for the `Beat` column: a default forward index and a inverted index.
* The sorted forward index used by the `crimes_sorted` table for the `Beat` column actually takes up less space than the unsorted forward index that's used by default.
If we want to see a break down of the space usage, we can do that by executing the following command:
.Table space breakdown
[source, bash]
----
for table in 'crimes' 'crimes_sorted' 'crimes_inverted'; do
printf "Table: $table\n"
docker exec -it manual-pinot-server ls -l /tmp/data/pinotServerData/${table}_OFFLINE/${table}_OFFLINE_0/v3/
printf "\n"
done
----
.Results
[source, text]
----
Table: crimes
total 332824
-rw-r--r-- 1 root root 340783919 Nov 30 12:11 columns.psf
-rw-r--r-- 1 root root 16 Nov 30 12:11 creation.meta
-rw-r--r-- 1 root root 2335 Nov 30 12:11 index_map
-rw-r--r-- 1 root root 11470 Nov 30 12:11 metadata.properties
Table: crimes_sorted
total 324656
-rw-r--r-- 1 root root 332421987 Nov 30 14:02 columns.psf
-rw-r--r-- 1 root root 16 Nov 30 14:02 creation.meta
-rw-r--r-- 1 root root 2331 Nov 30 14:02 index_map
-rw-r--r-- 1 root root 11477 Nov 30 14:02 metadata.properties
Table: crimes_inverted
total 347612
-rw-r--r-- 1 root root 355926631 Nov 30 13:51 columns.psf
-rw-r--r-- 1 root root 16 Nov 30 13:16 creation.meta
-rw-r--r-- 1 root root 2417 Nov 30 13:51 index_map
-rw-r--r-- 1 root root 11488 Nov 30 13:16 metadata.properties
----
== Conclusion
In this post we've taken a brief look at two of Apache Pinot's indexing techniques and applied them to a query that counted the number of crimes on a specific beat.
Our query runs 20x faster and we only had a small space increase when using an inverted index and actually saved space with the sorted forward index.
In our next post we'll look at other indexes and apply them to queries that filter on more than one field.
// Now let's start with a query that aggregates the types of crime where an arrest has happened:
// [source, sql]
// ----
// select PrimaryType, count(*)
// from crimes
// WHERE Arrest = true
// GROUP BY PrimaryType
// ORDER BY count(*) DESC
// limit 10
// ----
// [source, json]
// ----
// {
// "numServersQueried": 1,
// "numServersResponded": 1,
// "numSegmentsQueried": 1,
// "numSegmentsProcessed": 1,
// "numSegmentsMatched": 1,
// "numConsumingSegmentsQueried": 0,
// "numDocsScanned": 1992434,
// "numEntriesScannedInFilter": 7434990,
// "numEntriesScannedPostFilter": 1992434,
// "numGroupsLimitReached": false,
// "totalDocs": 7434990,
// "timeUsedMs": 167,
// }
// ---- | In this post we'll learn how to use Apache Pinot indexes on a Chicago Crime dataset. | uploads/2021/11/indexing-techniques.png | [
-0.00025482752243988216,
-0.01433200016617775,
0.018391955643892288,
0.052360013127326965,
0.08172731101512909,
0.02072657085955143,
0.030065322294831276,
0.02329201251268387,
0.002084724372252822,
-0.0074972305446863174,
-0.02469015307724476,
-0.012454438023269176,
-0.03462690860033035,
0.0277057196944952,
-0.007419287227094173,
0.08232195675373077,
0.0728689432144165,
0.009625809267163277,
0.03382381051778793,
-0.006442764308303595,
0.04823558032512665,
0.04363567754626274,
0.03446712717413902,
0.052946604788303375,
0.03552412986755371,
-0.002540693851187825,
0.0007651223568245769,
0.025951210409402847,
-0.04324597865343094,
-0.0063746338710188866,
0.031612981110811234,
0.011281372979283333,
0.002574680605903268,
-0.0011777692707255483,
0.02195178158581257,
0.024319536983966827,
-0.03269154205918312,
0.0355578251183033,
0.0058000641874969006,
0.03204341605305672,
-0.0961482971906662,
0.026065437123179436,
-0.01560402475297451,
0.021405145525932312,
-0.02251747064292431,
0.0186589565128088,
-0.04122283682227135,
0.022330069914460182,
0.015226684510707855,
0.013722393661737442,
-0.062109824270009995,
0.04099198430776596,
-0.006421809084713459,
0.022941311821341515,
-0.007637154310941696,
0.05390818044543266,
0.004574044141918421,
-0.05049237608909607,
0.023400025442242622,
-0.04616038501262665,
-0.005403551273047924,
-0.008878015913069248,
-0.003452201606705785,
-0.012657091952860355,
-0.004916373640298843,
-0.03524946793913841,
-0.005847640801221132,
0.0341578871011734,
-0.03741190582513809,
0.01654934696853161,
0.002449417719617486,
0.007177887484431267,
-0.01080564595758915,
0.00674527557566762,
0.0048516495153307915,
-0.03308035805821419,
-0.024671757593750954,
0.0707358568906784,
0.017555831000208855,
0.026988597586750984,
-0.02269664965569973,
-0.020535863935947418,
-0.014247959479689598,
0.035779137164354324,
-0.02643589675426483,
-0.03636372461915016,
-0.024108780547976494,
-0.0346248485147953,
-0.07959457486867905,
0.07038953900337219,
-0.011353658512234688,
-0.029577087610960007,
0.029224034398794174,
0.021000932902097702,
-0.013102533295750618,
0.02417500503361225,
0.05936744064092636,
-0.036848343908786774,
-0.0008539203554391861,
-0.0024967531207948923,
-0.02385706454515457,
-0.043375372886657715,
0.021900055930018425,
0.06065794453024864,
-0.0707244873046875,
-0.027569208294153214,
-0.024511633440852165,
0.006517255213111639,
-0.014468449167907238,
0.005038815084844828,
-0.022755960002541542,
0.020022794604301453,
-0.010576133616268635,
0.014269194565713406,
-0.07299423217773438,
0.07735192030668259,
0.020385239273309708,
-0.03917393833398819,
-0.0015490819932892919,
0.025118455290794373,
0.06736075133085251,
0.024799561128020287,
-0.023404264822602272,
0.07615695148706436,
0.002976868534460664,
0.02142154425382614,
0.00761225912719965,
0.028031501919031143,
0.006890471559017897,
-0.07455049455165863,
-0.01774313487112522,
0.03582840785384178,
0.010147258639335632,
-0.027130724862217903,
-0.010634765028953552,
-0.05157532915472984,
0.006434224545955658,
-0.007361890748143196,
0.0515781044960022,
0.00914278905838728,
-0.01679922081530094,
-0.03436826914548874,
0.024337943643331528,
-0.02703111246228218,
0.06781475245952606,
0.019922645762562752,
-0.011869605630636215,
-0.03464510664343834,
-0.03536631911993027,
-0.017872951924800873,
0.007531153038144112,
0.03627150505781174,
0.026581786572933197,
-0.055341534316539764,
0.011338765732944012,
0.08390507847070694,
0.031220266595482826,
0.00022157482453621924,
-0.007387013174593449,
0.015504894778132439,
0.0438237227499485,
0.027023758739233017,
0.025805573910474777,
0.022140081971883774,
0.00820531602948904,
-0.014981118030846119,
0.006863698363304138,
0.06892421841621399,
-0.02483511157333851,
0.00839321594685316,
-0.058214377611875534,
-0.036460500210523605,
0.04960441216826439,
-0.05304461717605591,
-0.019393274560570717,
0.06312733143568039,
0.0772368386387825,
0.03273436054587364,
0.028294729068875313,
0.007513382472097874,
-0.08682204782962799,
0.06091688945889473,
0.021833816543221474,
0.008048128336668015,
0.01036883145570755,
-0.011079319752752781,
0.07904195785522461,
0.013584829866886139,
0.04913870617747307,
0.023742368444800377,
-0.05929677188396454,
-0.07223276048898697,
-0.0046078539453446865,
-0.01917647197842598,
0.05955780670046806,
-0.021003207191824913,
0.032441455870866776,
0.06723702698945999,
0.015862420201301575,
0.027694953605532646,
-0.0003596634487621486,
0.01976092718541622,
0.02516678348183632,
-0.08137005567550659,
-0.0703127384185791,
0.022291643545031548,
0.04029116407036781,
-0.05958040803670883,
-0.032794419676065445,
0.01412726566195488,
-0.03649020940065384,
-0.03244064375758171,
0.04286009818315506,
-0.035735104233026505,
0.0422636978328228,
0.029762161895632744,
0.06363545358181,
-0.0004480351344682276,
0.04999372363090515,
-0.04436875134706497,
0.03487686440348625,
0.0020438400097191334,
-0.04099069908261299,
0.006788036786019802,
-0.00028387634665705264,
0.12004927545785904,
0.07253386825323105,
-0.024548858404159546,
-0.0458153560757637,
0.027525853365659714,
0.022491106763482094,
-0.052257239818573,
0.0019486021483317018,
-0.00449367007240653,
-0.003892692504450679,
0.020231787115335464,
-0.034977518022060394,
-0.01580483838915825,
0.032510820776224136,
-0.03717884421348572,
-0.005184353329241276,
0.06687694787979126,
-0.00917440839111805,
0.059742413461208344,
-0.019564609974622726,
-0.0009239187929779291,
0.004556961357593536,
-0.0073337252251803875,
-0.06715790927410126,
-0.02230375073850155,
-0.003818867728114128,
-0.0002775433531496674,
0.041430920362472534,
-0.0275221336632967,
-0.018701104447245598,
-0.06492995470762253,
-0.035595525056123734,
0.04380152001976967,
0.062348298728466034,
0.06775501370429993,
0.0010151227470487356,
0.02984735742211342,
-0.017434075474739075,
0.026930753141641617,
0.011887301690876484,
-0.0633031502366066,
-0.02020801417529583,
-0.027101827785372734,
0.011308146640658379,
0.02643338032066822,
0.016891242936253548,
-0.016798092052340508,
0.04004403576254845,
0.005005755927413702,
0.026817839592695236,
-0.01350895594805479,
0.022860508412122726,
0.03198631480336189,
-0.020567940548062325,
-0.010636475868523121,
-0.004193016793578863,
0.05395592376589775,
-0.02980385534465313,
-0.0022065984085202217,
-0.01640639826655388,
-0.057795021682977676,
0.04560578241944313,
-0.0613199844956398,
-0.04494807496666908,
0.012186326086521149,
0.03149513527750969,
0.03370438143610954,
0.023531947284936905,
-0.015484406612813473,
0.05262519046664238,
0.026208074763417244,
-0.01221398450434208,
0.031092194840312004,
-0.019927237182855606,
0.03693564981222153,
-0.011501778848469257,
0.03303949534893036,
0.04177841916680336,
-0.003948501776903868,
-0.003869995940476656,
-0.023411227390170097,
0.014662252739071846,
-0.018262652680277824,
-0.2849414050579071,
0.023868203163146973,
0.0011705458164215088,
-0.035207606852054596,
-0.005343493074178696,
-0.0216108039021492,
-0.015732930973172188,
-0.041867632418870926,
-0.0034581825602799654,
0.00887562707066536,
0.004300594795495272,
-0.023948904126882553,
-0.037047937512397766,
0.020368512719869614,
-0.006015375722199678,
0.008756625466048717,
-0.0011369356652721763,
-0.057998739182949066,
0.0046257213689386845,
0.024069136008620262,
0.0294166449457407,
-0.058349303901195526,
-0.02200186997652054,
0.02966243401169777,
0.03753621131181717,
0.03783648833632469,
-0.08988521993160248,
0.026303622871637344,
-0.0545562244951725,
-0.013604016974568367,
-0.001154709723778069,
-0.019188901409506798,
-0.0015856727259233594,
0.00884918961673975,
0.013318978250026703,
-0.029472406953573227,
0.028026660904288292,
0.002850310178473592,
0.026143018156290054,
0.01403667964041233,
-0.024695057421922684,
-0.043571315705776215,
-0.0014718420570716262,
0.019147062674164772,
0.07603089511394501,
0.0038311881944537163,
-0.07827889174222946,
-0.0011294643627479672,
-0.023517854511737823,
0.050933513790369034,
-0.021387912333011627,
-0.06742384284734726,
-0.030170898884534836,
0.019387029111385345,
-0.0212679635733366,
-0.010023145005106926,
0.01016258168965578,
-0.020034875720739365,
-0.048668794333934784,
-0.041904132813215256,
-0.013285055756568909,
-0.03638305142521858,
-0.002853278536349535,
-0.045769162476062775,
-0.014027432538568974,
-0.054500795900821686,
-0.05941461771726608,
0.012648630887269974,
0.06722821295261383,
0.020921805873513222,
-0.026669763028621674,
0.05661415308713913,
-0.019261738285422325,
-0.1131030023097992,
-0.018568390980362892,
-0.01177816092967987,
-0.012906351126730442,
0.007896541617810726,
-0.021043280139565468,
0.06099369749426842,
-0.032760899513959885,
-0.02592124044895172,
0.02055247314274311,
0.00020885156118310988,
0.027483681216835976,
-0.03308047354221344,
0.012325247749686241,
-0.025607334449887276,
-0.008123290725052357,
0.020303169265389442,
0.0711827501654625,
-0.040955595672130585,
-0.011791834607720375,
-0.01207494642585516,
0.0027820079121738672,
0.036808546632528305,
0.02319061942398548,
0.008805841207504272,
0.0012848232872784138,
0.037734996527433395,
-0.018644865602254868,
-0.0580630861222744,
0.023429743945598602,
-0.02332533709704876,
-0.019061552360653877,
0.008035905659198761,
-0.042265698313713074,
0.020056743174791336,
0.03476822003722191,
0.013270442374050617,
0.013234369456768036,
-0.03757328540086746,
0.01139329094439745,
-0.05798680707812309,
-0.021438390016555786,
-0.008430227637290955,
0.028554849326610565,
0.0327150858938694,
0.030627431347966194,
-0.007650413550436497,
-0.03856753930449486,
0.011049013584852219,
0.00039796478813514113,
-0.04635480418801308,
-0.04872488975524902,
-0.020938655361533165,
0.0015222051879391074,
-0.0019077579490840435,
-0.0076707154512405396,
0.024475358426570892,
-0.032280128449201584,
0.025539735332131386,
0.03481724113225937,
-0.013392871245741844,
0.028089413419365883,
-0.0345921628177166,
-0.034956954419612885,
-0.03808317705988884,
0.031151097267866135,
0.01789221353828907,
-0.005076447501778603,
0.03897193819284439,
0.007337220478802919,
0.019212303683161736,
0.048717450350522995,
0.043709736317396164,
0.01626455783843994,
-0.020940769463777542,
0.011233622208237648,
0.008656438440084457,
-0.0028672583866864443,
-0.026308877393603325,
-0.0038026021793484688,
-0.043004777282476425,
-0.02719317004084587,
-0.029695328325033188,
0.03512350842356682,
-0.00919258315116167,
-0.04380539059638977,
-0.036478444933891296,
0.025988472625613213,
-0.04928212612867355,
-0.020928002893924713,
-0.02897670492529869,
0.0031118059996515512,
0.06189921498298645,
0.00249502039514482,
0.013028771616518497,
0.004670090042054653,
0.006646187510341406,
0.010160895995795727,
0.0061690928414464,
-0.04893825575709343,
-0.006365446839481592,
-0.015164436772465706,
-0.015720831230282784,
0.01284943986684084,
0.018394894897937775,
0.03510662913322449,
0.01293814368546009,
0.007376034278422594,
-0.024297820404171944,
0.014878138899803162,
0.02102547325193882,
0.04926760867238045,
0.029792746528983116,
-0.020576315000653267,
0.0029382396023720503,
0.009263633750379086,
-0.008233154192566872,
-0.039802417159080505,
0.0035869432613253593,
-0.0014068735763430595,
0.006919697392731905,
-0.005701530259102583,
-0.07192613929510117,
0.0711677223443985,
0.0028970991261303425,
-0.01341119222342968,
0.018540138378739357,
0.0014294259017333388,
-0.01951274462044239,
-0.027411064133048058,
0.06708396226167679,
0.07517419755458832,
-0.060661204159259796,
0.0043908073566854,
0.0289077740162611,
-0.026957867667078972,
0.01251146662980318,
0.004163918551057577,
-0.04931432753801346,
-0.0077901300974190235,
-0.02184847556054592,
0.03807070106267929,
-0.06501830369234085,
-0.04195982962846756,
-0.011205182410776615,
-0.0021883791778236628,
0.0030020165722817183,
0.014219949953258038,
-0.019465869292616844,
-0.004374530632048845,
-0.004877687431871891,
-0.039659466594457626,
0.044162798672914505,
0.0062225754372775555,
-0.003110005520284176,
0.016104046255350113,
-0.040646955370903015,
0.00876240711659193,
-0.029002729803323746,
-0.007859473116695881,
0.03852628171443939,
-0.044367291033267975,
0.020571190863847733,
-0.040308669209480286,
0.009257277473807335,
-0.0012654855381697416,
0.07283826917409897,
-0.028544126078486443,
-0.027735227718949318,
-0.05483504384756088,
0.008954588323831558,
-0.041378699243068695,
-0.0048440201207995415,
-0.012405745685100555,
-0.00667185615748167,
0.03954087942838669,
0.05546602979302406,
-0.0015588706592097878,
0.0005775916506536305,
-0.01745222881436348,
-0.023137621581554413,
0.04155675321817398,
-0.06319020688533783,
-0.028108682483434677,
-0.039073169231414795,
-0.054770175367593765,
0.026613574475049973,
-0.003296274458989501,
0.007964733056724072,
-0.024711182340979576,
0.02958798222243786,
0.018566038459539413,
0.0176446121186018,
0.017678363248705864,
-0.021323956549167633,
0.045147523283958435,
-0.03237136825919151,
-0.016955122351646423,
-0.0949254035949707,
-0.01779068447649479,
0.03244446590542793,
-0.011340592987835407,
-0.011689483188092709,
-0.002763120923191309,
-0.04197731614112854,
0.02985256537795067,
-0.08802168071269989,
-0.034504879266023636,
0.03415793552994728,
-0.000056927066907519475,
-0.0066281529143452644,
0.005321071483194828,
-0.044324297457933426,
0.02321683242917061,
0.033442337065935135,
-0.03392612561583519,
-0.011434263549745083,
-0.0216511320322752,
0.06302449852228165,
0.001436704653315246,
0.02881564013659954,
-0.01742188073694706,
-0.020587831735610962,
0.0659298300743103,
0.007502120919525623,
-0.006318511441349983,
0.04157146438956261,
-0.01213379018008709,
0.02114229090511799,
0.04579930752515793,
0.0101480009034276,
0.003218111116439104,
0.01607958972454071,
-0.03906287997961044,
-0.05922769382596016,
0.040056079626083374,
-0.021719448268413544,
0.004285493865609169,
-0.0537341870367527,
0.06311942636966705,
0.007853479124605656,
-0.018790552392601967,
-0.046617910265922546,
0.0069371615536510944,
-0.019582301378250122,
-0.0250866562128067,
-0.02761746384203434,
0.021062690764665604,
-0.034946076571941376,
0.06548064947128296,
-0.017080802470445633,
0.019393110647797585,
0.07839448750019073,
0.0023661088198423386,
-0.019472287967801094,
0.013972523622214794,
0.09120240062475204,
0.08362912386655807,
0.03063826449215412,
-0.010941390879452229,
0.0771050825715065,
-0.025332698598504066,
-0.0408811941742897,
-0.018111415207386017,
-0.014232246205210686,
-0.03159129619598389,
-0.029575182124972343,
0.02688239887356758,
0.04635058343410492,
-0.03626631945371628,
0.06448350101709366,
-0.03085952065885067,
0.0033883622381836176,
0.012057838961482048,
0.006199958268553019,
0.007768887560814619,
0.0639052465558052,
-0.02083761617541313,
0.04352722689509392,
-0.030716216191649437,
-0.027974966913461685,
-0.005938796326518059,
0.007407078985124826,
-0.0123197166249156,
0.013135516084730625,
-0.029183711856603622,
0.01818034052848816,
0.0018427858594805002,
0.009980574250221252,
0.0923686996102333,
-0.05235841125249863,
0.0024723310489207506,
-0.0057084220461547375,
0.017582476139068604,
0.005204727407544851,
0.013026581145823002,
-0.0447230339050293,
-0.02886350266635418,
-0.02401077188551426,
-0.040238700807094574,
-0.015267742797732353,
-0.008429134264588356,
-0.0196682158857584,
0.004736800212413073,
-0.04086832329630852,
0.009671412408351898,
0.03933073580265045,
-0.015726154670119286,
-0.04806283488869667,
-0.055884018540382385,
-0.04579653590917587,
-0.04274959862232208,
-0.06366495788097382,
-0.025903020054101944,
0.014325100928544998,
0.005206573288887739,
-0.037200678139925,
-0.01979779452085495,
-0.00909460335969925,
-0.017809221521019936,
0.05160575360059738,
-0.05901835113763809,
-0.022127917036414146,
0.006178136449307203,
0.04095373675227165,
0.029686030000448227,
0.02667967975139618,
0.059655800461769104,
-0.008080017752945423,
0.015956051647663116,
-0.014231481589376926,
0.003925159573554993,
0.04143203794956207,
0.007823293097317219,
-0.004996126051992178,
-0.08224482834339142,
-0.0003256299823988229,
0.021360160782933235,
-0.044855136424303055,
-0.07224886864423752,
0.022029880434274673,
0.03459298238158226,
-0.008555621840059757,
0.05029941722750664,
-0.02106909640133381,
0.01627262495458126,
-0.05432259291410446,
-0.020017623901367188,
-0.015675272792577744,
-0.010623123496770859,
0.03857682645320892,
-0.022531330585479736,
0.07786110043525696,
0.019849983975291252,
-0.024241771548986435,
-0.02178472839295864,
-0.002240675501525402,
0.004341768566519022,
-0.0005549141787923872,
-0.05622093752026558,
0.003362129908055067,
-0.031913068145513535,
-0.08143900334835052,
-0.02987547405064106,
0.03504360467195511,
-0.023973150178790092,
-0.04478951543569565,
0.009090490639209747,
0.0027446006424725056,
-0.020066911354660988,
0.0010415068827569485,
-0.04777383431792259,
0.012319281697273254,
-0.014028942212462425,
-0.01416347548365593,
0.012564071454107761,
0.04774835705757141,
-0.028514275327324867,
0.0015392113709822297,
0.034573495388031006,
-0.0309325959533453,
0.0015333978226408362,
-0.02304484322667122,
0.04875558987259865,
0.03935607522726059,
-0.0007945797988213599,
-0.0289426501840353
] | [
-0.08464121073484421,
-0.025870023295283318,
-0.03975628316402435,
-0.008496515452861786,
0.0656764954328537,
-0.025662384927272797,
-0.014493301510810852,
0.027443312108516693,
-0.004818776622414589,
-0.018558455631136894,
0.013149518519639969,
-0.020390618592500687,
0.00033495391835458577,
-0.001563535537570715,
0.07986092567443848,
0.0179224144667387,
0.03786909207701683,
-0.059923551976680756,
0.006709430832415819,
0.028838684782385826,
0.012156122364103794,
-0.056779734790325165,
-0.043232232332229614,
-0.06975339353084564,
-0.007088560611009598,
0.01038932241499424,
0.03605874627828598,
-0.016734035685658455,
-0.016547439619898796,
-0.20945368707180023,
0.03245320916175842,
-0.01687544770538807,
0.05147046595811844,
-0.030688021332025528,
-0.02101358026266098,
0.033487774431705475,
0.014215435832738876,
0.020473897457122803,
0.017259201034903526,
0.020149432122707367,
0.007912185974419117,
0.012402630411088467,
-0.062273621559143066,
0.004236246924847364,
0.015978945419192314,
-0.0037633758038282394,
-0.003733298974111676,
-0.008489472791552544,
0.000059232028434053063,
0.006181345321238041,
-0.0763431265950203,
-0.007835076190531254,
-0.007155674044042826,
-0.015191564336419106,
0.02479476109147072,
0.002380263525992632,
0.026915039867162704,
0.0385269857943058,
0.00131318555213511,
0.01309908740222454,
0.025405090302228928,
-0.006194487679749727,
-0.13190436363220215,
0.08628008514642715,
0.019249485805630684,
0.03415027633309364,
-0.017388850450515747,
-0.009904183447360992,
-0.008045593276619911,
0.0762544572353363,
0.014528606086969376,
-0.004073509946465492,
-0.026004480198025703,
0.030474696308374405,
-0.004253703635185957,
0.003056727349758148,
0.000832749530673027,
0.030922653153538704,
-0.009016267023980618,
-0.01536204107105732,
-0.018609220162034035,
-0.00012090754898963496,
-0.023601427674293518,
-0.013890908099710941,
-0.058522772043943405,
0.017845701426267624,
-0.0027300850488245487,
0.051066819578409195,
0.0164515171200037,
0.014084205962717533,
0.038596026599407196,
-0.0049616629257798195,
0.04281388223171234,
-0.023787304759025574,
-0.05715809389948845,
0.012209673412144184,
-0.006740482058376074,
0.034433215856552124,
-0.02720293402671814,
0.43454083800315857,
-0.007856433279812336,
-0.012002776376903057,
0.06071675941348076,
-0.021783284842967987,
0.005428153555840254,
0.000715975824277848,
-0.016341682523489,
-0.03775446116924286,
0.03530403971672058,
-0.007608798798173666,
0.05580895021557808,
0.00737670948728919,
0.11563048511743546,
-0.017370671033859253,
0.012723328545689583,
-0.010623466223478317,
0.00621997844427824,
0.0160677433013916,
-0.009104760363698006,
0.0162188783288002,
-0.04068821668624878,
0.02130100689828396,
0.02243923209607601,
0.021460210904479027,
0.015557856298983097,
-0.04038217291235924,
0.026335589587688446,
0.05896156281232834,
0.019902149215340614,
0.01677609048783779,
0.022760853171348572,
-0.0435163751244545,
-0.05794091150164604,
-0.007366288919001818,
0.004882329143583775,
-0.006512961350381374,
0.05943446233868599,
-0.026622017845511436,
0.02609691396355629,
0.02039944753050804,
-0.053256697952747345,
0.01494650449603796,
0.07158009707927704,
-0.041621819138526917,
-0.020054489374160767,
0.14642493426799774,
0.033447422087192535,
-0.07129726558923721,
-0.025170302018523216,
-0.06778167188167572,
-0.0011853412725031376,
0.024099046364426613,
0.006655751261860132,
-0.08089770376682281,
-0.022636376321315765,
0.030473198741674423,
0.07043540477752686,
-0.02621343359351158,
-0.06769826263189316,
-0.0012221543584018946,
-0.022940509021282196,
-0.011113940738141537,
-0.04280862584710121,
0.017839770764112473,
0.05214930698275566,
-0.1252231001853943,
-0.01654152385890484,
0.01846538856625557,
0.005221799481660128,
-0.02998816967010498,
0.008927595801651478,
0.020594321191310883,
-0.04609869793057442,
-0.0024626031517982483,
0.027684206143021584,
-0.04947081208229065,
-0.04079866781830788,
0.02129450812935829,
0.02239719219505787,
-0.0007566068670712411,
0.0021821148693561554,
0.006926330272108316,
-0.037805695086717606,
0.0009793693898245692,
-0.05848076567053795,
-0.0824059322476387,
-0.05368084833025932,
0.007657869718968868,
-0.0364159494638443,
0.0015671489527449012,
-0.04798753559589386,
-0.02775694616138935,
-0.09416143596172333,
0.10349231958389282,
-0.021515728905797005,
-0.03832834213972092,
0.01765972003340721,
0.01873236708343029,
-0.03670327365398407,
-0.0210899505764246,
-0.011494958773255348,
0.026618367061018944,
-0.016773860901594162,
0.03975891321897507,
-0.06060370057821274,
0.06143602356314659,
0.011467118747532368,
-0.04157346859574318,
0.044814180582761765,
0.06180248409509659,
-0.005054948851466179,
-0.01440589688718319,
-0.007152489852160215,
0.04356176406145096,
-0.004799041897058487,
-0.0374215804040432,
0.0009693450992926955,
-0.004945853259414434,
0.03012809157371521,
0.05273190140724182,
-0.010210643522441387,
-0.01119904313236475,
-0.016338979825377464,
-0.3671541213989258,
-0.06088804826140404,
-0.04518316313624382,
0.016554826870560646,
0.012102124281227589,
-0.05626349151134491,
0.019904188811779022,
-0.026293009519577026,
0.01331112440675497,
0.03414929658174515,
0.04191581904888153,
-0.01881232298910618,
0.0165680143982172,
-0.053050894290208817,
0.005691075697541237,
0.021006792783737183,
-0.01272606011480093,
-0.003383458824828267,
-0.03878580406308174,
-0.024286221712827682,
0.019038856029510498,
0.0031936103478074074,
-0.012716103345155716,
-0.040298424661159515,
0.00023233842512127012,
-0.026582792401313782,
0.12094585597515106,
-0.004372553899884224,
0.04650766775012016,
-0.048259567469358444,
0.04672326520085335,
-0.0006142944330349565,
0.014184665866196156,
-0.06880485266447067,
0.02558821626007557,
-0.029374413192272186,
0.01624950021505356,
-0.008155888877809048,
-0.017711957916617393,
-0.020185837522149086,
-0.07993634790182114,
0.0353560708463192,
-0.04153905063867569,
-0.05809508264064789,
-0.0638134628534317,
0.008759690448641777,
-0.01641746796667576,
-0.020976565778255463,
-0.027328073978424072,
0.08446881175041199,
0.02536962926387787,
-0.0021157455630600452,
0.03552376851439476,
-0.01787116751074791,
0.025183511897921562,
-0.04122024029493332,
-0.06535954028367996,
-0.0019162206444889307,
0.0003103920316789299,
-0.007510462775826454,
0.03397026285529137,
0.041975148022174835,
0.02113526128232479,
-0.07551980018615723,
0.025811493396759033,
0.021743936464190483,
-0.008448747918009758,
-0.0073700156062841415,
0.0237532127648592,
-0.009069731459021568,
-0.04814067482948303,
0.0911039486527443,
-0.004232010338455439,
0.03483458608388901,
0.038511957973241806,
0.036805395036935806,
-0.014790164306759834,
-0.0012943230103701353,
0.011968378908932209,
-0.007169355638325214,
0.07703583687543869,
-0.018847065046429634,
0.055621981620788574,
-0.028859348967671394,
0.01380404643714428,
0.055763501673936844,
0.02398022823035717,
-0.02308313548564911,
0.06417170912027359,
0.055510230362415314,
-0.012861409224569798,
-0.007199277635663748,
-0.03769330307841301,
-0.08381221443414688,
0.07232868671417236,
0.0037936181761324406,
-0.27128419280052185,
0.028212817385792732,
0.04769030585885048,
0.02534048818051815,
0.01060807891190052,
0.029331816360354424,
0.04795397073030472,
-0.0440838448703289,
0.06265146285295486,
0.02070906013250351,
0.004335504025220871,
0.05346129462122917,
0.017062442377209663,
0.0014221807941794395,
0.00874337274581194,
-0.041321199387311935,
0.016614262014627457,
0.004024028778076172,
0.032851073890924454,
-0.02614135667681694,
0.02114299312233925,
-0.00019124176469631493,
0.17130134999752045,
0.03705735132098198,
0.0033248402178287506,
0.0503438375890255,
-0.012383714318275452,
-0.002560328459367156,
0.007772819139063358,
0.0041287243366241455,
-0.006135845556855202,
-0.012614398263394833,
0.038479361683130264,
-0.014331807382404804,
0.03802814707159996,
-0.020529553294181824,
-0.02307785302400589,
0.036961156874895096,
0.026752246543765068,
-0.011373312212526798,
0.010799773968756199,
-0.000358060235157609,
-0.04758249968290329,
0.04713542014360428,
0.05235106870532036,
-0.02185528352856636,
0.0031267465092241764,
-0.02348247729241848,
-0.03219478204846382,
0.0151930907741189,
-0.022448062896728516,
-0.034175727516412735,
-0.005469027906656265,
-0.027412986382842064,
0.012073357589542866,
0.06555172055959702,
0.005152991972863674,
-0.010693365707993507,
0.007436356041580439,
0.025478215888142586,
-0.025365646928548813,
-0.032055702060461044,
0.07869620621204376,
0.019877862185239792,
0.02385282889008522
] | [
0.03604205325245857,
-0.013687826693058014,
-0.014346565119922161,
0.028147738426923752,
0.024372918531298637,
-0.022128727287054062,
0.007643760181963444,
0.01269674301147461,
-0.011487449519336224,
0.011228797025978565,
0.015627549961209297,
0.035011108964681625,
-0.01652137003839016,
-0.008301826193928719,
-0.03149547800421715,
-0.013128942809998989,
-0.01439315639436245,
-0.0028562266379594803,
0.00735187903046608,
0.016963718459010124,
-0.022296320647001266,
-0.018385855481028557,
0.026610495522618294,
-0.014171655289828777,
-0.05392846837639809,
0.01865767315030098,
-0.034624673426151276,
0.0012032375670969486,
0.029299650341272354,
-0.1278294175863266,
-0.0013315945398062468,
-0.00962822139263153,
0.008298550732433796,
0.03291826322674751,
-0.05520131438970566,
-0.02803800441324711,
0.0039724064990878105,
-0.0035720530431717634,
-0.02865668572485447,
-0.013571969233453274,
0.024262050166726112,
-0.012986975722014904,
-0.015515806153416634,
-0.01207827590405941,
-0.02304811216890812,
-0.02516687847673893,
-0.029363472014665604,
-0.007014391012489796,
-0.015582306310534477,
-0.021748561412096024,
-0.07807749509811401,
0.015139924362301826,
-0.026543892920017242,
0.019580835476517677,
0.008706624619662762,
-0.02332313172519207,
-0.001807939144782722,
-0.010560382157564163,
0.043973542749881744,
0.017001662403345108,
0.03577367216348648,
0.03342878073453903,
-0.0011715978616848588,
-0.014618389308452606,
0.027601834386587143,
-0.03199195861816406,
0.011070984415709972,
-0.003851242596283555,
0.007187310606241226,
0.012341716326773167,
-0.012078407220542431,
0.02034456469118595,
-0.036035776138305664,
-0.03181131184101105,
-0.036146167665719986,
0.018843257799744606,
-0.0028367904014885426,
0.006837626453489065,
0.012280801311135292,
-0.00934196449816227,
-0.034788455814123154,
-0.0023687132634222507,
0.013638830743730068,
0.013610351830720901,
-0.0053782155737280846,
-0.02156149595975876,
-0.02133074775338173,
0.025191310793161392,
0.0007961408700793982,
-0.052338648587465286,
-0.014622470363974571,
0.024254506453871727,
-0.0033456210512667894,
-0.0012181887868791819,
-0.0650307759642601,
-0.010722258128225803,
-0.0005449586897157133,
-0.009730643592774868,
-0.03515079990029335,
0.849260151386261,
0.02204248122870922,
0.023960737511515617,
-0.006223716307431459,
-0.018267374485731125,
0.01473628543317318,
-0.01603308878839016,
0.009835864417254925,
0.04000844061374664,
-0.028740733861923218,
-0.018162401393055916,
0.0060096438974142075,
0.04796219617128372,
0.036591652780771255,
-0.006638495251536369,
0.016430726274847984,
0.018413949757814407,
-0.03180928900837898,
-0.0023248493671417236,
0.023022819310426712,
0.045525938272476196,
0.025889629498124123,
0.009584843181073666,
0.0032324395142495632,
0.01263933815062046,
0.016667278483510017,
-0.15341134369373322,
-0.02201559953391552,
-7.095037047749655e-33,
0.06526827812194824,
-0.034101467579603195,
-0.03366829827427864,
-0.03324517235159874,
-0.016925107687711716,
-0.012136539444327354,
0.00031374150421470404,
-0.002400384983047843,
-0.024562044069170952,
-0.007978766225278378,
0.031185884028673172,
-0.024674898013472557,
0.0016581336967647076,
-0.014612937346100807,
0.029379233717918396,
-0.01871243678033352,
0.0033840788528323174,
0.03639668598771095,
-0.003514612093567848,
0.010732422582805157,
0.022081637755036354,
0.006056999322026968,
0.0037680992390960455,
0.016655104234814644,
0.040867459028959274,
0.01374592911452055,
-0.013206261210143566,
-0.027344834059476852,
-0.019967781379818916,
-0.038964442908763885,
-0.026787888258695602,
0.006769445724785328,
0.012345130555331707,
-0.03752252459526062,
0.015233431942760944,
-0.04408496245741844,
-0.01311736274510622,
0.01644964888691902,
-0.024769365787506104,
-0.027207037433981895,
0.015550338663160801,
-0.0034786767791956663,
-0.028480783104896545,
-0.034285057336091995,
-0.03320906683802605,
0.030202431604266167,
-0.02266688272356987,
0.0417533814907074,
-0.011313112452626228,
0.016794290393590927,
0.015474382787942886,
-0.003372910665348172,
0.0038129158783704042,
-0.000009503711225988809,
-0.014061476103961468,
0.02911049872636795,
0.009959174320101738,
0.004145903047174215,
0.002973416121676564,
0.017755532637238503,
-0.027542706578969955,
-0.02165469527244568,
-0.04370831698179245,
0.025777015835046768,
-0.025177767500281334,
-0.030419841408729553,
0.05783534795045853,
0.018211649730801582,
0.0033362105023115873,
0.0024561085738241673,
-0.06319407373666763,
0.021052896976470947,
-0.006345328874886036,
-0.005502303130924702,
-0.023253649473190308,
-0.03144849091768265,
-0.015363311395049095,
0.019455188885331154,
-0.02539108134806156,
0.03461078926920891,
-0.03149183467030525,
0.009901485405862331,
0.008053588680922985,
-0.008162379264831543,
0.0030265396926552057,
-0.014502518810331821,
0.03024454042315483,
-0.014739707112312317,
-0.03547368943691254,
-0.022243518382310867,
0.03434725105762482,
0.06215662509202957,
-0.006535351276397705,
-0.047630857676267624,
0.006130157504230738,
7.382790717991258e-33,
-0.012784396298229694,
0.0053977095521986485,
-0.010313127189874649,
0.01633191667497158,
0.0440056212246418,
-0.006733826361596584,
0.02636749856173992,
0.006643296685069799,
-0.012183627113699913,
0.0006377639365382493,
-0.03919842839241028,
-0.015822838991880417,
-0.007006028201431036,
0.006622187327593565,
0.05686503276228905,
0.008331445045769215,
0.017800619825720787,
-0.018150687217712402,
0.03440682962536812,
0.007399488240480423,
-0.00492607057094574,
0.017354559153318405,
0.011770880781114101,
0.01375857274979353,
0.026549192145466805,
0.03214440867304802,
-0.016719402745366096,
0.008916904218494892,
-0.039285656064748764,
0.002944979118183255,
0.025150857865810394,
-0.012692881748080254,
-0.01277194730937481,
0.0010456476593390107,
-0.034426383674144745,
0.032977040857076645,
-0.011502181179821491,
-0.039304737001657486,
0.006931256502866745,
0.012403256259858608,
0.024795349687337875,
0.0404185950756073,
0.013496693223714828,
0.02725031226873398,
-0.02595929242670536,
0.000761506031267345,
0.025972893461585045,
-0.0016269371844828129,
-0.013741953298449516,
-0.013957779854536057,
0.0011421446688473225,
0.027828341349959373,
0.022538183256983757,
0.024385446682572365,
0.007475069724023342,
-0.010800261050462723,
-0.032407693564891815,
0.00139506661798805,
-0.04184342920780182,
0.02032605931162834,
-0.0077506424859166145,
0.015589815564453602,
-0.008367080241441727,
0.009900921955704689,
-0.009753584861755371,
-0.03113977052271366,
-0.005438101943582296,
-0.027572577819228172,
-0.01932203210890293,
-0.020206477493047714,
0.0002466128789819777,
-0.003186577232554555,
0.005186642054468393,
0.07130186259746552,
-0.0013509836280718446,
-0.026921838521957397,
-0.025498567149043083,
0.02583322487771511,
0.0014187092892825603,
0.012729491107165813,
0.024791337549686432,
0.026707204058766365,
0.008618323132395744,
-0.021219247952103615,
0.033581964671611786,
0.03777070716023445,
-0.02485809661448002,
0.018034012988209724,
0.0009384519653394818,
-0.02194632776081562,
-0.002781930845230818,
-0.04764623939990997,
-0.002401326084509492,
0.0034507769159972668,
0.023212144151329994,
-1.288097628560081e-8,
-0.01959121786057949,
0.014562279917299747,
-0.02691008523106575,
0.0396987684071064,
0.04917573556303978,
0.023802584037184715,
-0.0311412550508976,
0.02768935076892376,
-0.028436841443181038,
-0.017266564071178436,
0.07467769086360931,
-0.004866837989538908,
-0.013425253331661224,
0.034014903008937836,
-0.004392629489302635,
-0.07806567847728729,
0.009632433764636517,
0.0023329672403633595,
0.021924827247858047,
0.014866357669234276,
0.025227347388863564,
0.04041823744773865,
0.014182123355567455,
-0.016202913597226143,
-0.009898431599140167,
-0.003994389902800322,
0.030195048078894615,
-0.08179616183042526,
0.004716769326478243,
0.020066484808921814,
-0.015053881332278252,
-0.02708613872528076,
-0.002916883211582899,
0.029270049184560776,
-0.004291260614991188,
-0.012857476249337196,
0.005146166775375605,
0.03135291114449501,
0.007662618532776833,
0.008574455045163631,
-0.016933875158429146,
-0.01002717949450016,
-0.00043245303095318377,
-0.04318682476878166,
-0.018834330141544342,
-0.014517506584525108,
-0.020988522097468376,
0.012562165036797523,
0.043034326285123825,
-0.03037635050714016,
0.0017478960799053311,
0.013496244326233864,
0.0324590802192688,
0.03569863364100456,
0.07792215049266815,
-0.012630531564354897,
0.03204591944813728,
-0.008905838243663311,
0.01709817908704281,
-0.010537205263972282,
0.03542960062623024,
0.023492826148867607,
-0.009805018082261086,
-0.017812877893447876
] | apache-pinot-exploring-index-chicago-crimes | https://markhneedham.com/blog/2021/11/30/apache-pinot-exploring-index-chicago-crimes |
false | 2021-11-23 00:44:37 | Apache Pinot: org.apache.helix.HelixException: Cluster structure is not set up for cluster: PinotCluster | [
"pinot"
] | [
"Pinot"
] | In my continued exploration of Apache Pinot, I wanted to spin up all the components individually rather than relying on one of the QuickStarts that takes care of that for me.
In doing so I came across an interesting error that we'll explore in this post.
== Setup
We're going to spin up a local instance of Pinot using the following Docker compose config:
[source, yaml]
----
version: '3.7'
services:
zookeeper:
image: zookeeper:3.5.6
hostname: zookeeper
container_name: manual-zookeeper
ports:
- "2181:2181"
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
pinot-controller:
image: apachepinot/pinot:0.9.0
command: "StartController -zkAddress manual-zookeeper:2181"
container_name: "manual-pinot-controller"
ports:
- "9000:9000"
depends_on:
- zookeeper
pinot-broker:
image: apachepinot/pinot:0.9.0
command: "StartBroker -zkAddress manual-zookeeper:2181"
container_name: "manual-pinot-broker"
ports:
- "8099:8099"
depends_on:
- pinot-controller
pinot-server:
image: apachepinot/pinot:0.9.0
command: "StartServer -zkAddress manual-zookeeper:2181"
container_name: "manual-pinot-server"
depends_on:
- pinot-broker
----
This will spin up a ZooKeeper instance that will store all of Pinot's metadata.
We'll also spin up a Pinot Controller to manage the metadata, a Pinot Server to host the data and serve queries, and a Pinot Broker that receives queries from clients and sends them to the right server.
We can launch the containers by running the following command:
[source, bash]
----
docker-compose up
----
If we wait a few seconds we'll eventually see the following exception:
[source, text]
----
manual-pinot-broker | 2021/11/23 13:20:02.792 ERROR [ZKHelixManager] [Start a Pinot [BROKER]] fail to createClient.
manual-pinot-broker | org.apache.helix.HelixException: Cluster structure is not set up for cluster: PinotCluster
manual-pinot-broker | at org.apache.helix.manager.zk.ZKHelixManager.handleNewSession(ZKHelixManager.java:1124) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.helix.manager.zk.ZKHelixManager.createClient(ZKHelixManager.java:701) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.helix.manager.zk.ZKHelixManager.connect(ZKHelixManager.java:738) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.pinot.broker.broker.helix.BaseBrokerStarter.start(BaseBrokerStarter.java:195) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.pinot.tools.service.PinotServiceManager.startBroker(PinotServiceManager.java:147) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.pinot.tools.service.PinotServiceManager.startRole(PinotServiceManager.java:96) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.pinot.tools.admin.command.StartServiceManagerCommand$1.lambda$run$0(StartServiceManagerCommand.java:276) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.pinot.tools.admin.command.StartServiceManagerCommand.startPinotService(StartServiceManagerCommand.java:302) [pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.pinot.tools.admin.command.StartServiceManagerCommand$1.run(StartServiceManagerCommand.java:276) [pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
----
The problem here is that the broker is unable to start because the cluster structure hasn't been set up yet.
I found that this only happened the first time that I ran `docker-compose up`.
If I killed everything and ran the command again it would work fine.
This made me suspicious that some data was being written to ZooKeeper the first time that everything started up on my machine and that it was being kept around for subsequent runs.
I was able to confirm that by running `docker-compose rm` to delete everything before I ran `docker-compose up` again.
After spending a bit of time reading the Pinot code, I could see that the Broker was trying to read metadata from ZooKeeper before the Controller had written it:
.Race condition - ZooKeeper metadata
image::{{<siteurl>}}/uploads/2021/11/pinot-zookeeper.png[]
One way to work around this would be to stop the Broker from starting until the Controller was ready, but there isn't really a clean way to do this in Docker.
Instead what we can do is use the https://docs.docker.com/config/containers/start-containers-automatically/[`restart: unless-stopped`^] config parameter, which was shown to me by Diogo Baeder on the Pinot user Slack.
.Docker restart policy
image::{{<siteurl>}}/uploads/2021/11/restart-policy.png[]
Our Docker Compose file therefore looks like this:
[source, yaml]
----
version: '3.7'
services:
zookeeper:
image: zookeeper:3.5.6
hostname: zookeeper
container_name: manual-zookeeper
ports:
- "2181:2181"
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
pinot-controller:
image: apachepinot/pinot:0.9.0
command: "StartController -zkAddress manual-zookeeper:2181"
container_name: "manual-pinot-controller"
restart: unless-stopped
ports:
- "9000:9000"
depends_on:
- zookeeper
pinot-broker:
image: apachepinot/pinot:0.9.0
command: "StartBroker -zkAddress manual-zookeeper:2181"
restart: unless-stopped
container_name: "manual-pinot-broker"
ports:
- "8099:8099"
depends_on:
- pinot-controller
pinot-server:
image: apachepinot/pinot:0.9.0
command: "StartServer -zkAddress manual-zookeeper:2181"
restart: unless-stopped
container_name: "manual-pinot-server"
depends_on:
- pinot-broker
----
And if we run `docker-compose up` now, we'll see the following:
[source, text]
----
manual-pinot-broker | 2021/11/23 13:53:19.419 ERROR [PinotServiceManager] [Start a Pinot [BROKER]] Failed to start Pinot Broker
manual-pinot-broker | org.apache.helix.HelixException: Cluster structure is not set up for cluster: PinotCluster
manual-pinot-broker | at org.apache.helix.manager.zk.ZKHelixManager.handleNewSession(ZKHelixManager.java:1124) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.helix.manager.zk.ZKHelixManager.createClient(ZKHelixManager.java:701) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.helix.manager.zk.ZKHelixManager.connect(ZKHelixManager.java:738) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.pinot.broker.broker.helix.BaseBrokerStarter.start(BaseBrokerStarter.java:195) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.pinot.tools.service.PinotServiceManager.startBroker(PinotServiceManager.java:147) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.pinot.tools.service.PinotServiceManager.startRole(PinotServiceManager.java:96) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.pinot.tools.admin.command.StartServiceManagerCommand$1.lambda$run$0(StartServiceManagerCommand.java:276) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.pinot.tools.admin.command.StartServiceManagerCommand.startPinotService(StartServiceManagerCommand.java:302) [pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.pinot.tools.admin.command.StartServiceManagerCommand$1.run(StartServiceManagerCommand.java:276) [pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | 2021/11/23 13:53:19.420 ERROR [StartServiceManagerCommand] [Start a Pinot [BROKER]] Failed to start a Pinot [BROKER] at 0.927 since launch
manual-pinot-broker | org.apache.helix.HelixException: Cluster structure is not set up for cluster: PinotCluster
manual-pinot-broker | at org.apache.helix.manager.zk.ZKHelixManager.handleNewSession(ZKHelixManager.java:1124) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.helix.manager.zk.ZKHelixManager.createClient(ZKHelixManager.java:701) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.helix.manager.zk.ZKHelixManager.connect(ZKHelixManager.java:738) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.pinot.broker.broker.helix.BaseBrokerStarter.start(BaseBrokerStarter.java:195) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.pinot.tools.service.PinotServiceManager.startBroker(PinotServiceManager.java:147) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.pinot.tools.service.PinotServiceManager.startRole(PinotServiceManager.java:96) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.pinot.tools.admin.command.StartServiceManagerCommand$1.lambda$run$0(StartServiceManagerCommand.java:276) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.pinot.tools.admin.command.StartServiceManagerCommand.startPinotService(StartServiceManagerCommand.java:302) [pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
manual-pinot-broker | at org.apache.pinot.tools.admin.command.StartServiceManagerCommand$1.run(StartServiceManagerCommand.java:276) [pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
....
manual-pinot-broker | 2021/11/23 13:53:21.834 INFO [StartBrokerCommand] [main] Executing command: StartBroker -brokerHost null -brokerPort 8099 -zkAddress manual-zookeeper:2181
manual-pinot-broker | 2021/11/23 13:53:21.850 INFO [StartServiceManagerCommand] [main] Executing command: StartServiceManager -clusterName PinotCluster -zkAddress manual-zookeeper:2181 -port -1 -bootstrapServices []
manual-pinot-broker | 2021/11/23 13:53:21.850 INFO [StartServiceManagerCommand] [main] Starting a Pinot [SERVICE_MANAGER] at 0.603s since launch
manual-pinot-broker | 2021/11/23 13:53:21.853 INFO [StartServiceManagerCommand] [main] Started Pinot [SERVICE_MANAGER] instance [ServiceManager_f165640a2780_-1] at 0.606s since launch
manual-pinot-broker | 2021/11/23 13:53:21.860 INFO [StartServiceManagerCommand] [Start a Pinot [BROKER]] Starting a Pinot [BROKER] at 0.612s since launch
manual-pinot-broker | Nov 23, 2021 1:53:27 PM org.glassfish.grizzly.http.server.NetworkListener start
manual-pinot-broker | INFO: Started listener bound to [0.0.0.0:8099]
manual-pinot-broker | Nov 23, 2021 1:53:27 PM org.glassfish.grizzly.http.server.HttpServer start
manual-pinot-broker | INFO: [HttpServer] Started.
manual-pinot-server | 2021/11/23 13:53:30.322 INFO [StartServiceManagerCommand] [Start a Pinot [SERVER]] Started Pinot [SERVER] instance [Server_192.168.144.5_8098] at 11.279s since launch
manual-pinot-broker | 2021/11/23 13:53:32.578 INFO [StartServiceManagerCommand] [Start a Pinot [BROKER]] Started Pinot [BROKER] instance [Broker_192.168.144.4_8099] at 11.33s since launch
----
The Broker still has the same problem the first time that it starts, but when it restarts and tries again the cluster structure is ready to go. | In this post we'll learn how to work around an error message when starting up an Apache Pinot cluster. | null | [
-0.027368441224098206,
-0.032129328697919846,
-0.027127770707011223,
0.05082688480615616,
0.0809309184551239,
0.011217314749956131,
0.00018773015472106636,
0.04037885740399361,
-0.012419421225786209,
-0.0203979704529047,
-0.0218349602073431,
-0.006879477761685848,
-0.05618282034993172,
0.011985046789050102,
0.012640201486647129,
0.055319610983133316,
0.08632379025220871,
-0.0060819098725914955,
0.007331018801778555,
-0.0028252461925148964,
0.028675148263573647,
0.03338564559817314,
0.000514902756549418,
0.03276509419083595,
0.006254983134567738,
-0.0035504575353115797,
-0.01924012415111065,
0.017519636079669,
-0.05026230216026306,
-0.012061024084687233,
0.022994419559836388,
0.005938111338764429,
0.0196300707757473,
-0.011671752668917179,
-0.01761895976960659,
-0.004050188697874546,
-0.01189023070037365,
0.008287915028631687,
-0.005072818137705326,
0.03210711479187012,
-0.07566039264202118,
0.02894703671336174,
0.03308006376028061,
-0.0036200908944010735,
0.0014086035080254078,
0.048872269690036774,
-0.03872107341885567,
-0.004277606029063463,
0.040769755840301514,
0.00003507154906401411,
-0.09778298437595367,
0.017953477799892426,
-0.04465723782777786,
0.022272972390055656,
0.013607372529804707,
0.038441888988018036,
-0.009661835618317127,
-0.07155721634626389,
0.042625542730093,
-0.02163505367934704,
-0.038472626358270645,
0.008846142329275608,
0.008067715913057327,
0.011469258926808834,
0.0025826958008110523,
-0.015852658078074455,
-0.01800566539168358,
0.04724140465259552,
-0.0485469326376915,
-0.009405840188264847,
0.013543625362217426,
0.011313904076814651,
-0.0027620424516499043,
-0.01791904680430889,
0.047248151153326035,
-0.020654810592532158,
-0.017106467857956886,
0.04155823588371277,
0.004480247851461172,
0.04478874057531357,
-0.04074152559041977,
-0.0213030818849802,
0.010460150428116322,
0.00940591748803854,
-0.000049329493776895106,
-0.050643790513277054,
-0.047170110046863556,
0.006552657578140497,
-0.04899470508098602,
0.10330585390329361,
0.031684357672929764,
-0.030065743252635002,
0.009449806064367294,
-0.004160051699727774,
-0.02099582739174366,
0.04632207751274109,
-0.001117395469918847,
0.013086358085274696,
0.04720978066325188,
0.013509982265532017,
-0.02703157439827919,
0.010700675658881664,
0.004457363858819008,
0.06680627167224884,
-0.07139846682548523,
-0.028447220101952553,
-0.037000030279159546,
-0.008374154567718506,
-0.021676959469914436,
0.032545387744903564,
-0.03478577360510826,
0.012258539907634258,
-0.005828415974974632,
0.0297669880092144,
-0.08649996668100357,
0.0910753682255745,
0.03228576481342316,
-0.036267735064029694,
0.042639076709747314,
0.010732288472354412,
0.046456366777420044,
0.036335352808237076,
-0.0345403216779232,
0.06310445070266724,
-0.028782475739717484,
0.025374501943588257,
-0.012502669356763363,
0.041148532181978226,
-0.017023062333464622,
-0.0684366449713707,
-0.03839113563299179,
0.06786460429430008,
0.03909194469451904,
-0.00428119208663702,
-0.025040600448846817,
-0.03716810792684555,
-0.006768334656953812,
-0.013472863472998142,
0.05620083212852478,
0.03491678088903427,
-0.03944983333349228,
-0.005307193845510483,
0.016877660527825356,
0.004682016093283892,
0.06582602858543396,
0.033623773604631424,
0.0037857089191675186,
-0.02323535457253456,
-0.0255720354616642,
0.020979976281523705,
0.008652696385979652,
0.030087605118751526,
0.058532871305942535,
-0.03715123236179352,
0.010276171378791332,
0.057953786104917526,
0.029556145891547203,
0.021251434460282326,
-0.03330447897315025,
-0.018989508971571922,
0.03344300761818886,
0.015709372237324715,
0.019385671243071556,
0.04370695352554321,
0.04414155334234238,
-0.04509395733475685,
-0.019857903942465782,
0.04728975519537926,
-0.002816764172166586,
0.002961626509204507,
-0.06828757375478745,
-0.05766592174768448,
0.05174161493778229,
-0.054344091564416885,
0.005195771809667349,
0.042906008660793304,
0.07264228910207748,
0.008769694715738297,
0.04613654688000679,
0.0020956629887223244,
-0.07368067651987076,
0.06737750768661499,
0.014554978348314762,
0.012135828845202923,
0.004627654794603586,
-0.010918241925537586,
0.03815707191824913,
0.01973203755915165,
0.0620829276740551,
0.020467976108193398,
-0.0634882003068924,
-0.074895478785038,
-0.009562111459672451,
0.00582216726616025,
0.057497091591358185,
0.014767341315746307,
-0.035578999668359756,
0.07137974351644516,
0.01829150691628456,
-0.001644618110731244,
-0.01611366868019104,
0.05604943633079529,
0.017520977184176445,
-0.08803334832191467,
-0.0809476301074028,
0.03885006532073021,
0.021549781784415245,
-0.06311126053333282,
-0.04285641759634018,
0.00594593258574605,
-0.07171956449747086,
-0.012859933078289032,
0.0633544996380806,
-0.029365606606006622,
0.09351720660924911,
0.03751483932137489,
0.026818865910172462,
-0.05153140798211098,
0.045728184282779694,
-0.042604368180036545,
0.03497667983174324,
0.005950895603746176,
0.0026571841444820166,
0.0060616759583354,
0.0022553028538823128,
0.09938202053308487,
0.07281460613012314,
-0.0048355832695961,
-0.05413902923464775,
0.07495763897895813,
0.027105070650577545,
-0.048336200416088104,
0.006435035262256861,
0.0008639471489004791,
0.004652548581361771,
0.013202422298491001,
-0.02133587747812271,
-0.016900107264518738,
0.015948528423905373,
-0.001016266061924398,
0.003034340450540185,
0.07220704853534698,
-0.039146069437265396,
0.07692164182662964,
0.034351397305727005,
0.0030819305684417486,
-0.0057786027900874615,
-0.03798556327819824,
-0.09148813784122467,
-0.027242235839366913,
0.017713546752929688,
-0.013334721326828003,
0.043724626302719116,
-0.03173632174730301,
-0.04680479317903519,
-0.060326579958200455,
-0.04394029453396797,
0.01566850207746029,
0.014327557757496834,
0.04209518805146217,
-0.013243254274129868,
0.05983414500951767,
-0.06165590509772301,
0.003505278844386339,
-0.018758954480290413,
-0.05942920595407486,
-0.0012385851005092263,
0.031617000699043274,
-0.0001979888038476929,
0.018720947206020355,
0.01721487008035183,
-0.018164068460464478,
0.026358507573604584,
-0.00914206262677908,
0.030039070174098015,
-0.0053940424695611,
0.016683688387274742,
0.01349075697362423,
0.027053361758589745,
-0.008320960216224194,
-0.0036668693646788597,
0.0355709046125412,
-0.056954190135002136,
-0.0003793670330196619,
-0.0005090019549243152,
-0.06347276270389557,
0.036155711859464645,
-0.06393355876207352,
-0.0522039495408535,
-0.04276862367987633,
0.04970148950815201,
0.01035103015601635,
0.04095595329999924,
0.005093292333185673,
0.05057313293218613,
0.011117393150925636,
-0.008569561876356602,
0.039765141904354095,
-0.019299130886793137,
0.043565355241298676,
-0.013961181975901127,
0.014638171531260014,
0.03814902529120445,
-0.0216322373598814,
-0.006394697353243828,
-0.0279911607503891,
0.013158579356968403,
-0.03724110126495361,
-0.2631778120994568,
0.044936876744031906,
-0.0006251897430047393,
-0.005874632857739925,
0.003932302352041006,
-0.016513757407665253,
0.01303641777485609,
-0.02277541533112526,
-0.0056814164854586124,
0.004377659875899553,
-0.022110337391495705,
-0.014740360900759697,
-0.019463788717985153,
0.01601140946149826,
-0.02296316996216774,
0.02746311016380787,
0.01292893011122942,
-0.06542203575372696,
-0.003104636212810874,
-0.02604796178638935,
-0.008557543158531189,
-0.049026429653167725,
-0.0006061421008780599,
0.02244189940392971,
0.006905217655003071,
0.027853820472955704,
-0.05905633047223091,
0.06105554476380348,
-0.03352292627096176,
-0.0353098064661026,
0.002523074857890606,
-0.023819901049137115,
-0.012891510501503944,
0.02703535370528698,
-0.00083474739221856,
-0.014954843558371067,
0.0020517632365226746,
0.0017771723214536905,
0.016516264528036118,
0.0058481693267822266,
-0.03381695970892906,
-0.0731048434972763,
0.012432245537638664,
0.017901936545968056,
0.06346073746681213,
-0.017801787704229355,
-0.078990638256073,
-0.013861744664609432,
-0.035911571234464645,
0.07910715788602829,
-0.03584243729710579,
-0.05572602525353432,
-0.01229461282491684,
0.0029011934529989958,
-0.01270102709531784,
0.018577251583337784,
-0.014419540762901306,
-0.00902518630027771,
-0.0408330000936985,
-0.021336201578378677,
-0.0018588730599731207,
-0.04587305709719658,
-0.02923019416630268,
-0.06923843175172806,
-0.025477712973952293,
-0.053373463451862335,
-0.054681457579135895,
0.030370255932211876,
0.06574683636426926,
0.026058796793222427,
-0.04366222023963928,
0.04493863880634308,
0.0016021518968045712,
-0.10419747978448868,
-0.005424713250249624,
-0.03477960824966431,
-0.0694744810461998,
-0.011997314170002937,
-0.022142892703413963,
0.03356236219406128,
-0.03902526944875717,
-0.01787019893527031,
0.016154175624251366,
0.01747393235564232,
0.022238697856664658,
-0.025695940479636192,
0.005510990042239428,
-0.03924880921840668,
0.012165604159235954,
0.007504482287913561,
0.04725998640060425,
-0.03714386001229286,
-0.024283284321427345,
-0.02334904484450817,
-0.01974264532327652,
0.0492207296192646,
0.0026001743972301483,
0.011356474831700325,
-0.005315755028277636,
0.04784433916211128,
0.024189792573451996,
-0.04519558697938919,
0.0016684882575646043,
-0.018265459686517715,
-0.017203159630298615,
0.00925181433558464,
-0.05173497647047043,
0.01728357933461666,
0.011903651989996433,
0.05141342803835869,
0.03532135859131813,
-0.04067777842283249,
0.01910470612347126,
-0.05201830342411995,
-0.004398807417601347,
0.015357529744505882,
0.030963996425271034,
0.04403230547904968,
0.04131874442100525,
0.006972816772758961,
-0.04597057029604912,
0.020774122327566147,
0.02640407346189022,
-0.015705671161413193,
-0.02885768562555313,
-0.03369598090648651,
0.02440761588513851,
-0.018605969846248627,
0.013762544840574265,
-0.0006098573794588447,
-0.011597715318202972,
0.04672762751579285,
0.056341055780649185,
-0.013312690891325474,
0.013285511173307896,
-0.019761210307478905,
-0.018809471279382706,
-0.04622315615415573,
0.023153094574809074,
0.03326636180281639,
-0.023336293175816536,
0.011781449429690838,
-0.0019593394827097654,
0.016703767701983452,
0.04424106329679489,
0.022512029856443405,
0.021227268502116203,
-0.014350674115121365,
0.004258936736732721,
0.012823598459362984,
-0.0006935133715160191,
-0.02827479876577854,
0.00983512680977583,
-0.030351467430591583,
-0.027082771062850952,
-0.023448521271348,
0.04008027911186218,
-0.013637677766382694,
-0.012001038528978825,
-0.03670665994286537,
0.013971368782222271,
-0.06806016713380814,
-0.01917017251253128,
-0.03750345855951309,
0.006946619600057602,
0.04319000244140625,
0.004159067757427692,
0.010015390813350677,
0.015806090086698532,
-0.007887633517384529,
-0.005459332372993231,
0.019071605056524277,
-0.03232216462492943,
0.0073878150433301926,
-0.0206927377730608,
-0.0020596201065927744,
0.006593836471438408,
0.012758469209074974,
0.02823706530034542,
-0.017248978838324547,
0.009461789391934872,
-0.00765244523063302,
0.03777936100959778,
-0.008586983196437359,
0.03527003154158592,
0.019909601658582687,
-0.03715498000383377,
0.02715373784303665,
0.005505379289388657,
-0.013169756159186363,
-0.03131076693534851,
0.025719325989484787,
-0.010687248781323433,
0.04568105190992355,
-0.011644897982478142,
-0.05752401798963547,
0.05733716860413551,
0.03017290309071541,
0.002463588025420904,
0.01921794004738331,
0.0014950851909816265,
0.00588952424004674,
-0.06721433252096176,
0.046912673860788345,
0.10715019702911377,
-0.04578445851802826,
0.010015578009188175,
0.0016958954511210322,
0.01008686888962984,
-0.0001645246084081009,
0.007867001928389072,
-0.06127224490046501,
0.011533270590007305,
-0.017407456412911415,
0.03161098062992096,
-0.07315192371606827,
-0.048051897436380386,
-0.02313983626663685,
-0.0035210843198001385,
0.009485401213169098,
0.02142474614083767,
-0.011258234269917011,
-0.003408418968319893,
-0.032415587455034256,
-0.046031802892684937,
0.047978475689888,
0.011155492626130581,
0.01774453930556774,
0.01584801636636257,
-0.018254246562719345,
0.02759380266070366,
-0.028822889551520348,
0.006817449349910021,
-0.01069447211921215,
-0.030781161040067673,
-0.0078075723722577095,
-0.04311788082122803,
0.01065121777355671,
0.0010620291577652097,
0.06333353370428085,
0.0006838200497440994,
0.007873794995248318,
-0.020004859194159508,
-0.004648069851100445,
-0.010110845789313316,
-0.016379501670598984,
0.025509564206004143,
-0.006148298736661673,
0.03980383649468422,
0.04678962379693985,
-0.013005785644054413,
0.007138099055737257,
-0.00431382330134511,
-0.02229386195540428,
0.054785531014204025,
-0.04031917080283165,
-0.030777251347899437,
-0.007830644026398659,
-0.06736540794372559,
0.03729967400431633,
0.024773498997092247,
0.05197589844465256,
-0.07611554861068726,
0.03778877854347229,
0.0438518188893795,
0.006180284544825554,
0.011971822008490562,
-0.022095218300819397,
0.025008484721183777,
0.0006708441651426256,
0.0005322910728864372,
-0.07203997671604156,
0.006112596485763788,
0.04583273455500603,
-0.03340619057416916,
-0.0025654842611402273,
0.0015347424196079373,
-0.05311566963791847,
0.02922278270125389,
-0.05419864505529404,
-0.036977577954530716,
0.03594505041837692,
-0.0024810510221868753,
-0.0033832129556685686,
-0.0024433350190520287,
-0.029330914840102196,
0.02972370758652687,
0.017995359376072884,
-0.04272494465112686,
-0.007449820637702942,
-0.0005530778435058892,
0.05355389788746834,
0.010734125040471554,
0.031113749369978905,
-0.017600158229470253,
-0.04350253567099571,
0.07672516256570816,
0.0038395924493670464,
0.004419388715177774,
0.04772705212235451,
-0.02593269571661949,
0.05243796482682228,
0.03083142824470997,
-0.010634809732437134,
0.029915159568190575,
0.009292476810514927,
-0.051856424659490585,
-0.06085538864135742,
0.025147559121251106,
-0.007780703250318766,
-0.0016727985348552465,
-0.04558053985238075,
0.046221714466810226,
-0.008043697103857994,
-0.04744894057512283,
-0.033343877643346786,
0.006369669456034899,
-0.03331293538212776,
-0.041970428079366684,
-0.02299404703080654,
0.04731416329741478,
-0.0527164600789547,
0.04059756547212601,
0.001977702835574746,
0.015964943915605545,
0.06164611130952835,
0.010855995118618011,
-0.02709849551320076,
0.05206108093261719,
0.09424711018800735,
0.06969674676656723,
-0.010215645655989647,
-0.007793779019266367,
0.04795532301068306,
-0.021333130076527596,
-0.03925849869847298,
0.004132642410695553,
-0.023575935512781143,
-0.04969498887658119,
-0.03519170731306076,
0.02894020266830921,
0.04623661935329437,
-0.03279692307114601,
0.058467164635658264,
0.0036531086079776287,
0.010039073415100574,
-0.009136006236076355,
0.016549810767173767,
0.03581349551677704,
0.010582066141068935,
0.0033718287013471127,
0.036307547241449356,
0.017742294818162918,
-0.048669155687093735,
0.0007784736226312816,
0.0011448545847088099,
-0.04556553065776825,
0.00016168958973139524,
-0.024537447839975357,
0.009664449840784073,
0.023534074425697327,
-0.017745228484272957,
0.059381548315286636,
-0.0304928757250309,
-0.01912583038210869,
0.03996016085147858,
0.05152663588523865,
0.0020973070058971643,
-0.004936686716973782,
-0.03654816746711731,
-0.041923072189092636,
-0.030927058309316635,
-0.018947815522551537,
-0.0038369176909327507,
-0.0184627752751112,
-0.019623439759016037,
0.0016720994608476758,
-0.018825147300958633,
-0.0014133983058854938,
0.04293680191040039,
-0.014289842918515205,
-0.047630682587623596,
-0.04935567080974579,
-0.05531608685851097,
-0.05787917226552963,
-0.04562082141637802,
-0.017249884083867073,
-0.012693486176431179,
0.00923144444823265,
-0.021147508174180984,
-0.03203926235437393,
-0.018109772354364395,
-0.001364956726320088,
0.03753087669610977,
-0.050375521183013916,
-0.015490862540900707,
0.008513807319104671,
0.030300138518214226,
0.007159980479627848,
0.004022980108857155,
0.059170566499233246,
0.02167638950049877,
0.006312504876405001,
-0.01276796031743288,
-0.014080516062676907,
0.035630419850349426,
-0.017638780176639557,
-0.014361667446792126,
-0.0878782570362091,
0.03058622218668461,
0.04892149195075035,
0.01434006541967392,
-0.055120017379522324,
0.003202963387593627,
0.013250762596726418,
-0.015451863408088684,
0.03971334546804428,
-0.025126013904809952,
0.008765465579926968,
-0.04867630451917648,
-0.034965209662914276,
-0.027594614773988724,
0.0020652315579354763,
0.0400044247508049,
-0.007903867401182652,
0.07070302963256836,
0.034947991371154785,
-0.02824583649635315,
-0.009293707087635994,
0.024260414764285088,
-0.007984851486980915,
0.010305333882570267,
-0.0416032038629055,
-0.023854082450270653,
-0.022605327889323235,
-0.04629151150584221,
-0.003311814973130822,
0.014409609138965607,
-0.011942680925130844,
-0.04327267035841942,
0.008621811866760254,
0.006309532094746828,
-0.02904185652732849,
-0.0002533189835958183,
-0.048187583684921265,
-0.024589084088802338,
-0.011216120794415474,
-0.012405283749103546,
0.008188377134501934,
0.030140483751893044,
0.0025457378942519426,
-0.033077988773584366,
0.011558680795133114,
-0.013734475709497929,
-0.004404900129884481,
-0.03280084952712059,
0.07400162518024445,
0.0478639081120491,
-0.02212207205593586,
-0.00560494652017951
] | [
-0.057921696454286575,
-0.043319303542375565,
-0.021039333194494247,
-0.03824101388454437,
0.04216485098004341,
-0.06513366848230362,
-0.0022597748320549726,
0.024660717695951462,
-0.032055966556072235,
-0.025748614221811295,
-0.005318609531968832,
-0.06087047606706619,
0.0009310179157182574,
-0.030824845656752586,
0.06924885511398315,
0.00925269816070795,
0.013921845704317093,
-0.034766923636198044,
0.005586516112089157,
0.005575157701969147,
0.0002572883968241513,
-0.05254993960261345,
-0.05824598670005798,
-0.05254938080906868,
-0.01192391850054264,
0.05604046955704689,
0.012932323850691319,
0.003863986348733306,
-0.01406205352395773,
-0.203753262758255,
0.016964908689260483,
-0.03833571821451187,
-0.028232179582118988,
-0.023182258009910583,
0.004641095642000437,
0.03056293912231922,
0.0355907566845417,
-0.00020884811237920076,
0.05996989086270332,
0.05240277200937271,
0.02682654559612274,
0.006197011098265648,
-0.06359992921352386,
0.007284851744771004,
-0.0010918470798060298,
-0.0287607591599226,
-0.017347386106848717,
-0.010206096805632114,
0.0629221573472023,
-0.03991870954632759,
-0.05109599232673645,
-0.006203601602464914,
-0.013566103763878345,
-0.04455096274614334,
0.0004107383138034493,
0.04546679928898811,
0.03889875486493111,
0.05804199352860451,
0.018724583089351654,
0.019891221076250076,
0.023898763582110405,
-0.032745931297540665,
-0.13774092495441437,
0.1170821487903595,
0.02535032294690609,
0.021715350449085236,
-0.03653281554579735,
0.02789229154586792,
-0.0009157646563835442,
0.05821443721652031,
0.02909119799733162,
-0.01961132138967514,
-0.030148640275001526,
0.050823092460632324,
0.0024779473897069693,
-0.02415948547422886,
-0.008520272560417652,
0.046908698976039886,
0.01043348666280508,
-0.017864534631371498,
-0.03431420400738716,
-0.012843320146203041,
-0.02222820185124874,
0.0038572135381400585,
-0.05607197433710098,
0.03170699253678322,
0.006600582040846348,
0.05392932519316673,
-0.0019363529281690717,
0.022205892950296402,
0.0235248152166605,
-0.011415650136768818,
0.06180133670568466,
-0.0002884156128857285,
-0.08092108368873596,
0.032065145671367645,
0.003593651344999671,
0.0009645362733863294,
-0.05617774650454521,
0.38893190026283264,
0.0206417478621006,
-0.0032783267088234425,
0.02801349014043808,
0.006644506938755512,
0.023775719106197357,
0.01814345270395279,
-0.04189743474125862,
-0.02155064418911934,
0.025606555864214897,
-0.022087622433900833,
0.026644432917237282,
0.003908467013388872,
0.0834207758307457,
-0.03475929796695709,
0.009664203971624374,
-0.0034797571133822203,
-0.029305938631296158,
0.0024327218998223543,
-0.036906711757183075,
0.04272434487938881,
-0.02361583150923252,
-0.0019094946328550577,
0.051550205796957016,
0.06030019745230675,
-0.008113152347505093,
-0.008570565842092037,
0.025716310366988182,
0.04445536062121391,
0.019729871302843094,
-0.00019142607925459743,
0.02272733300924301,
-0.008001127280294895,
-0.027803832665085793,
-0.01772049255669117,
0.0277198925614357,
0.004637575708329678,
0.05793387442827225,
-0.036267999559640884,
0.01396961323916912,
0.0025935296434909105,
-0.0599493645131588,
-0.04237925261259079,
0.04039981961250305,
-0.05334828421473503,
-0.0030679849442094564,
0.09981748461723328,
0.031522709876298904,
-0.04094890505075455,
-0.014612991362810135,
-0.055922381579875946,
-0.04345480725169182,
0.015500599518418312,
0.02695813961327076,
-0.040825724601745605,
-0.008433915674686432,
0.02470809780061245,
0.04217315837740898,
0.02219335548579693,
-0.04071790352463722,
0.0025482329074293375,
-0.010150049813091755,
-0.03516138345003128,
-0.027241667732596397,
-0.012039702385663986,
0.052801914513111115,
-0.1381017118692398,
-0.022766893729567528,
0.015122149139642715,
-0.014316133223474026,
-0.013511108234524727,
-0.030508432537317276,
0.04613957926630974,
-0.01961207017302513,
-0.011361967772245407,
0.03601761534810066,
-0.05566781014204025,
-0.003625882789492607,
0.019548587501049042,
0.03971807286143303,
0.02562525123357773,
0.00736379437148571,
0.023378510028123856,
-0.03655707463622093,
-0.025827685371041298,
-0.008351028896868229,
-0.08248154819011688,
-0.06162741407752037,
-0.01161238644272089,
-0.04279171675443649,
-0.054216090589761734,
-0.07344182580709457,
-0.03790494054555893,
-0.05023506283760071,
0.09885503351688385,
0.023017678409814835,
-0.028215913102030754,
0.015258057974278927,
-0.008112721145153046,
0.01586027815937996,
-0.050106193870306015,
0.02290460653603077,
0.03090708889067173,
0.004146489780396223,
0.040627334266901016,
-0.0753943994641304,
0.05547371134161949,
0.011615114286541939,
-0.021103067323565483,
0.028703289106488228,
0.03580668568611145,
-0.029695603996515274,
0.02923281490802765,
-0.016899945214390755,
0.05054861679673195,
-0.011547007597982883,
0.0226923618465662,
-0.02495322749018669,
0.025170069187879562,
0.04019905999302864,
0.02417329140007496,
-0.009576696902513504,
-0.025834539905190468,
-0.029942307621240616,
-0.37671101093292236,
-0.05445832759141922,
-0.0383792482316494,
-0.010248643346130848,
-0.024729259312152863,
-0.03290736675262451,
0.01922890730202198,
-0.013600251637399197,
-0.04026026278734207,
-0.0018846284365281463,
0.08288984000682831,
-0.062075722962617874,
0.0387287363409996,
-0.0430317223072052,
0.015989184379577637,
0.032225098460912704,
-0.01497505884617567,
-0.0026155547238886356,
-0.02610698528587818,
0.03637300804257393,
-0.023388387635350227,
-0.038544781506061554,
-0.025857295840978622,
0.0030962666496634483,
-0.005719903390854597,
-0.018877586349844933,
0.11984583735466003,
0.02863292768597603,
0.04663502424955368,
-0.049686919897794724,
0.04961064085364342,
0.054775066673755646,
0.02483118511736393,
-0.07127431780099869,
-0.015411391854286194,
-0.014586948789656162,
0.011526848189532757,
0.015621666796505451,
-0.003578952979296446,
-0.00011331143468851224,
-0.05621926486492157,
0.05052933469414711,
-0.04952633008360863,
-0.06982264667749405,
-0.002886882983148098,
-0.0060555292293429375,
0.00034441633033566177,
0.019349806010723114,
-0.03988958150148392,
0.035961706191301346,
0.028089703992009163,
0.031358055770397186,
-0.0006432238151319325,
0.007750365883111954,
0.025803500786423683,
0.002096746116876602,
-0.042834892868995667,
-0.02309892140328884,
0.029212484136223793,
0.014639675617218018,
0.05398688092827797,
0.07896547019481659,
0.024256013333797455,
-0.0796065628528595,
-0.00010462745558470488,
0.01847289316356182,
-0.007934189401566982,
-0.008147137239575386,
0.06487448513507843,
-0.03331981226801872,
-0.03029230795800686,
0.10337647050619125,
0.03748181089758873,
0.02024572342634201,
0.012707173824310303,
0.010346722789108753,
-0.027734024450182915,
-0.01547138299793005,
0.014773288741707802,
-0.0018144769128412008,
0.03969389200210571,
-0.026834698393940926,
0.046327415853738785,
-0.025148073211312294,
0.0005193017423152924,
0.07697027176618576,
-0.016026783734560013,
-0.004405062645673752,
0.08590579777956009,
0.004636329133063555,
-0.02722979336977005,
0.009663509204983711,
-0.030953610315918922,
-0.029184745624661446,
0.08919341117143631,
0.04772678762674332,
-0.2727763056755066,
0.05981028079986572,
0.07337558269500732,
0.04410216212272644,
-0.0016962855588644743,
0.0318831130862236,
0.04581936076283455,
-0.05309446156024933,
0.020270513370633125,
0.02908438816666603,
-0.00672193244099617,
0.014720148406922817,
0.013721637427806854,
0.014197161421179771,
0.026211198419332504,
0.0008041611290536821,
0.012341322377324104,
0.0022567836567759514,
0.02577551268041134,
-0.06434506922960281,
0.015485428273677826,
0.022442489862442017,
0.15856605768203735,
0.047117333859205246,
-0.032280392944812775,
0.03474954515695572,
-0.026720387861132622,
0.026488952338695526,
0.022211875766515732,
0.027880439534783363,
0.010954372584819794,
-0.026180045679211617,
0.04450073465704918,
-0.04580065608024597,
0.054495759308338165,
-0.05081535875797272,
0.005186148919165134,
-0.0303496140986681,
0.045805346220731735,
-0.03933139517903328,
-0.0523066446185112,
0.01970159448683262,
-0.04241132363677025,
0.03913616016507149,
0.05741489306092262,
-0.04079731926321983,
-0.015322685241699219,
-0.04223872721195221,
-0.0294345635920763,
0.01099485531449318,
-0.026587923988699913,
-0.04802471771836281,
-0.011462959460914135,
-0.021867888048291206,
-0.007080928888171911,
0.05648581311106682,
0.035099659115076065,
-0.03969106823205948,
-0.045978132635354996,
0.03994404897093773,
0.02776974067091942,
-0.05406878888607025,
0.10428911447525024,
0.021301019936800003,
0.04613577947020531
] | [
0.03222254663705826,
-0.001956435153260827,
0.0010228983592242002,
0.009318609721958637,
0.020015746355056763,
-0.021968858316540718,
0.014026541262865067,
0.01019260659813881,
-0.019049854949116707,
0.00019594341574702412,
0.009449504315853119,
0.011978779919445515,
0.006568641867488623,
0.02035609446465969,
-0.012686869129538536,
-0.04896629974246025,
0.0379091277718544,
0.013699330389499664,
0.03770660236477852,
0.03317434713244438,
-0.054288361221551895,
-0.000932227645535022,
0.042134739458560944,
0.006207600701600313,
-0.02696121856570244,
-0.02043507993221283,
-0.06957512348890305,
0.013814027421176434,
0.017030484974384308,
-0.12916560471057892,
-0.010254540480673313,
-0.0027317709755152464,
0.018666446208953857,
-0.009773720987141132,
-0.005748467519879341,
0.025952832773327827,
0.014409229159355164,
-0.013707559555768967,
-0.03223602846264839,
0.015129199251532555,
0.05824962258338928,
-0.011251992546021938,
-0.009186678566038609,
0.014171958900988102,
-0.023471543565392494,
-0.019328949972987175,
-0.02152237668633461,
-0.026438480243086815,
0.0033047765027731657,
-0.00498283002525568,
-0.06263663619756699,
0.01421128585934639,
0.0012204144150018692,
0.003076443914324045,
0.032086972147226334,
0.01612691394984722,
-0.03536674380302429,
-0.02026156522333622,
0.032816823571920395,
0.005577276460826397,
0.0350077860057354,
0.0381043441593647,
-0.005998974200338125,
-0.0387054979801178,
0.041607409715652466,
-0.034655701369047165,
-0.015986312180757523,
-0.001978571992367506,
0.02269628457725048,
-0.010332799516618252,
-0.008367856033146381,
-0.009444419294595718,
-0.012106605805456638,
-0.0402047373354435,
-0.052726224064826965,
0.05964985862374306,
0.014455179683864117,
0.009997423738241196,
-0.00472775986418128,
-0.020777873694896698,
-0.05013599246740341,
-0.015336841344833374,
-0.0068573434837162495,
0.01662573218345642,
-0.026056813076138496,
0.004010109230875969,
0.006384183187037706,
0.02907716855406761,
0.03409223631024361,
-0.039074528962373734,
0.013820535503327847,
-0.008579961955547333,
-0.0034984610974788666,
-0.014037084765732288,
-0.04720364511013031,
-0.02345735765993595,
0.005984238814562559,
-0.019878055900335312,
-0.048073384910821915,
0.8153444528579712,
0.027077827602624893,
0.019911324605345726,
0.0315755195915699,
-0.01121724583208561,
0.032712794840335846,
-0.008613931015133858,
-0.03227556124329567,
0.01145332120358944,
-0.02568872459232807,
-0.020964669063687325,
-0.01830102689564228,
0.028636517003178596,
0.026200246065855026,
0.028192834928631783,
0.02642741985619068,
0.0284072645008564,
-0.012046197429299355,
-0.038815852254629135,
-0.03652571514248848,
0.04549182951450348,
0.01874465122818947,
-0.024406181648373604,
0.028729941695928574,
0.008827703073620796,
-0.004540549125522375,
-0.14486894011497498,
-0.020882498472929,
-6.93345726770547e-33,
0.04322036728262901,
-0.06606941670179367,
0.0019477666355669498,
-0.011955048888921738,
0.04701210930943489,
0.027500249445438385,
0.025428421795368195,
-0.020448841154575348,
-0.01846826635301113,
0.0029795379377901554,
0.030689436942338943,
-0.03149127587676048,
-0.02917107753455639,
-0.02252984046936035,
-0.0022332847584038973,
-0.038191355764865875,
-0.02897617593407631,
0.037878405302762985,
-0.010342261753976345,
0.01628466695547104,
0.007285495288670063,
0.016152242198586464,
-0.05872826650738716,
-0.012329647317528725,
0.08014053106307983,
0.0003051623934879899,
-0.0024016264360398054,
-0.048609718680381775,
-0.002969082212075591,
-0.03332364931702614,
0.0030879401601850986,
-0.02937460131943226,
-0.014655920676887035,
-0.031995005905628204,
0.014002428390085697,
-0.086930051445961,
0.008816281333565712,
-0.009804864414036274,
-0.06541185826063156,
-0.054395709186792374,
-0.0233737975358963,
-0.01394115574657917,
-0.029133569449186325,
-0.00011832665040856227,
-0.03162884712219238,
0.013323700986802578,
0.00551751721650362,
0.046608977019786835,
0.020961154252290726,
0.0031028855592012405,
0.024601152166724205,
-0.005009251646697521,
0.0016367334173992276,
-0.022657155990600586,
-0.02590143494307995,
0.0014897789806127548,
0.009035681374371052,
0.015971725806593895,
-0.04540463164448738,
-0.017542267218232155,
-0.024928024038672447,
-0.013001354411244392,
-0.0622694194316864,
0.03821037709712982,
0.004485645797103643,
0.022359313443303108,
0.002368302084505558,
0.03960820287466049,
-0.012921576388180256,
0.03838464245200157,
-0.06446298956871033,
-0.005834043025970459,
-0.005608239211142063,
-0.021847311407327652,
0.014630265533924103,
-0.04112199321389198,
0.01278088241815567,
-0.0009712593746371567,
-0.010888107120990753,
0.021027954295277596,
-0.030267009511590004,
0.0319327674806118,
-0.04842115193605423,
0.015909865498542786,
-0.018849095329642296,
0.008304818533360958,
0.039637647569179535,
0.010477214120328426,
0.0038727421779185534,
0.01557330321520567,
0.0438573993742466,
0.06305711716413498,
0.014138457365334034,
-0.06131633743643761,
-0.03148597106337547,
7.402567675759874e-33,
-0.040603503584861755,
-0.023207716643810272,
-0.01159003283828497,
0.014953411184251308,
0.03709208965301514,
-0.031492654234170914,
0.035758648067712784,
0.008634894154965878,
0.008478512056171894,
-0.010358178056776524,
-0.03105189837515354,
0.02881639078259468,
-0.024741806089878082,
0.048723991960287094,
0.035619474947452545,
-0.0007397104054689407,
-0.001305377809330821,
-0.014639447443187237,
0.05700493976473808,
0.004593792837113142,
0.02759605273604393,
-0.022498024627566338,
0.024021662771701813,
0.01643817126750946,
0.014325768686830997,
0.07049531489610672,
0.009324979037046432,
0.020386701449751854,
-0.0067980666644871235,
-0.024052005261182785,
0.03216974064707756,
-0.006110000424087048,
0.0239301398396492,
-0.0006234070751816034,
-0.03702738881111145,
0.014658212661743164,
-0.01702592894434929,
-0.0016630394384264946,
-0.03634383901953697,
-0.03132516145706177,
0.009367048740386963,
-0.02321431040763855,
-0.014572071842849255,
0.030844934284687042,
-0.03991309925913811,
0.00067035888787359,
0.03504456952214241,
-0.010956067591905594,
0.009749111719429493,
0.041900113224983215,
-0.02181047573685646,
0.004044972825795412,
0.023021100088953972,
0.018969319760799408,
0.01087226253002882,
-0.009320549666881561,
-0.020864620804786682,
0.013740374706685543,
-0.016993805766105652,
0.01177211757749319,
0.020711664110422134,
-0.011200415901839733,
0.0004337303398642689,
0.03351343423128128,
-0.015732616186141968,
-0.018533073365688324,
0.0013761010486632586,
-0.0004820206668227911,
-0.013608969748020172,
-0.0013096139300614595,
0.04621795192360878,
0.03653942793607712,
-0.011068364605307579,
0.056312672793865204,
0.03625606372952461,
0.01792614534497261,
-0.009193017147481441,
-0.0016583779361099005,
0.027182918041944504,
-0.00723267812281847,
-0.0025237747468054295,
0.023112501949071884,
-0.011074849404394627,
-0.03917551040649414,
0.037116631865501404,
-0.0384148471057415,
-0.01948385126888752,
0.056648023426532745,
0.031833115965127945,
-0.01113882940262556,
0.005829269997775555,
-0.0363587886095047,
0.008782392367720604,
0.018901728093624115,
-0.007631793152540922,
-1.2550709804770577e-8,
-0.0009404614684171975,
-0.0116658890619874,
-0.024371128529310226,
0.04316172003746033,
0.048718445003032684,
0.030609793961048126,
-0.046766497194767,
-0.003392792772501707,
-0.04055439308285713,
0.023763487115502357,
0.04022206366062164,
0.022711848840117455,
-0.020303374156355858,
0.023679716512560844,
0.03318408504128456,
-0.04486958310008049,
0.007296380121260881,
-0.01632285863161087,
0.02776986174285412,
0.002324687549844384,
0.006716067437082529,
0.03411787375807762,
0.004944513086229563,
-0.01844848319888115,
-0.04791883006691933,
0.01647265814244747,
0.036878593266010284,
-0.05340472608804703,
-0.009318885393440723,
0.006327627692371607,
0.013477126136422157,
-0.028200574219226837,
-0.003250891575589776,
0.023644162341952324,
-0.04285614192485809,
0.005963251460343599,
-0.015445107594132423,
0.024467507377266884,
0.03051684983074665,
0.00033557211281731725,
-0.03429117798805237,
-0.014143013395369053,
-0.017004646360874176,
-0.0513141043484211,
-0.028974272310733795,
0.010499140247702599,
-0.03883194923400879,
0.02723812870681286,
0.03002067655324936,
-0.017189064994454384,
-0.012890254147350788,
-0.012136104516685009,
0.05291423946619034,
-0.0052018361166119576,
0.05651632323861122,
0.04694732278585434,
0.04754384234547615,
-0.03460456058382988,
0.02880975604057312,
-0.010832256637513638,
0.016549760475754738,
0.038205720484256744,
0.0012612795690074563,
0.002655954100191593
] | apache-pinot-helix-exception-cluster-structure-not-set-up | https://markhneedham.com/blog/2021/11/23/apache-pinot-helix-exception-cluster-structure-not-set-up |
false | 2021-11-25 00:44:37 | Apache Pinot: Importing CSV files with columns containing spaces | [
"pinot"
] | [
"Pinot"
] | I've been playing around with one of my favourite datasets from the https://data.cityofchicago.org/Public-Safety/Crimes-2001-to-Present/ijzp-q8t2[Chicago Data Portal^] and spent a while figuring out how to import columns that contain spaces into Apache Pinot.
In this blog post we'll learn how to do that using a subset of the data.
== Setup
We're going to spin up a local instance of Pinot using the following Docker compose config:
.docker-compose.yml
[source, yaml]
----
version: '3.7'
services:
zookeeper:
image: zookeeper:3.5.6
hostname: zookeeper
container_name: manual-zookeeper
ports:
- "2181:2181"
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
pinot-controller:
image: apachepinot/pinot:0.9.0
command: "StartController -zkAddress manual-zookeeper:2181"
container_name: "manual-pinot-controller"
volumes:
- ./config:/config
- ./data:/data
restart: unless-stopped
ports:
- "9000:9000"
depends_on:
- zookeeper
pinot-broker:
image: apachepinot/pinot:0.9.0
command: "StartBroker -zkAddress manual-zookeeper:2181"
restart: unless-stopped
container_name: "manual-pinot-broker"
volumes:
- ./config:/config
- ./data:/data
ports:
- "8099:8099"
depends_on:
- pinot-controller
pinot-server:
image: apachepinot/pinot:0.9.0
command: "StartServer -zkAddress manual-zookeeper:2181"
restart: unless-stopped
container_name: "manual-pinot-server"
volumes:
- ./config:/config
- ./data:/data
depends_on:
- pinot-broker
----
We can launch the container by running the following command:
[source, bash]
----
docker-compose up
----
== Data
Let's say we have the following CSV file that contains two columns, one that contains spaces and one that doesn't:
.data/import.csv
[options="header"]
|===
| ID | Case Number
| 10224738 | HY411648
| 10224739 | HY411615
| 11646166 | JC213529
| 10224740 |HY411595
|===
This CSV contains a subset of the https://data.cityofchicago.org/Public-Safety/Crimes-2001-to-Present/ijzp-q8t2/data[crimes data from the Chicago Data Portal^].
== Create Table
We're going to create a `crimes` Pinot table and associated schema based on this CSV file:
.config/schema.json
[source, json]
----
{
"schemaName": "crimes",
"dimensionFieldSpecs": [
{
"name": "ID",
"dataType": "INT"
},
{
"name": "Case Number",
"dataType": "STRING"
}
]
}
----
.config/table.json
[source, json]
----
{
"tableName": "crimes",
"tableType": "OFFLINE",
"segmentsConfig": {
"replication": 1
},
"tenants": {
"broker":"DefaultTenant",
"server":"DefaultTenant"
},
"tableIndexConfig": {
"loadMode": "MMAP"
},
"ingestionConfig": {
"batchIngestionConfig": {
"segmentIngestionType": "APPEND",
"segmentIngestionFrequency": "DAILY"
}
},
"metadata": {}
}
----
Let's try to create a table based on this config:
[source, bash]
----
docker exec -it manual-pinot-controller bin/pinot-admin.sh AddTable -tableConfigFile /config/table.json -schemaFile /config/schema.json -exec
----
[source, text]
----
2021/11/25 11:57:27.088 ERROR [AddTableCommand] [main] Got Exception to upload Pinot Schema: crimes
org.apache.pinot.common.exception.HttpErrorStatusException: Got error status code: 400 (Bad Request) with reason: "Cannot add invalid schema: crimes. Reason: The column name "Case Number" should not contain blank space." while sending request: http://192.168.144.3:9000/schemas to controller: d15b07933b22, version: Unknown
at org.apache.pinot.common.utils.FileUploadDownloadClient.sendRequest(FileUploadDownloadClient.java:510) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
at org.apache.pinot.common.utils.FileUploadDownloadClient.addSchema(FileUploadDownloadClient.java:616) ~[pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
at org.apache.pinot.tools.admin.command.AddTableCommand.uploadSchema(AddTableCommand.java:166) [pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
at org.apache.pinot.tools.admin.command.AddTableCommand.execute(AddTableCommand.java:203) [pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
at org.apache.pinot.tools.Command.call(Command.java:33) [pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
at org.apache.pinot.tools.Command.call(Command.java:29) [pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
at picocli.CommandLine.executeUserObject(CommandLine.java:1953) [pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
at picocli.CommandLine.access$1300(CommandLine.java:145) [pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352) [pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
at picocli.CommandLine$RunLast.handle(CommandLine.java:2346) [pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
at picocli.CommandLine$RunLast.handle(CommandLine.java:2311) [pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179) [pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
at picocli.CommandLine.execute(CommandLine.java:2078) [pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
at org.apache.pinot.tools.admin.PinotAdministrator.execute(PinotAdministrator.java:161) [pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
at org.apache.pinot.tools.admin.PinotAdministrator.main(PinotAdministrator.java:192) [pinot-all-0.9.0-jar-with-dependencies.jar:0.9.0-cf8b84e8b0d6ab62374048de586ce7da21132906]
----
Pinot schemas don't allow column names that contain spaces, so we'll have to get rid of the space in `Case Number`.
We can update the schema to look like this:
.config/schema.json
[source, json]
----
{
"schemaName": "crimes",
"dimensionFieldSpecs": [
{
"name": "ID",
"dataType": "INT"
},
{
"name": "CaseNumber",
"dataType": "STRING"
}
]
}
----
If we re-rerun the `AddTable` command, we'll see the following output:
[source, text]
----
2021/11/25 12:02:04.606 INFO [AddTableCommand] [main] Executing command: AddTable -tableConfigFile /config/table.json -schemaFile /config/schema.json -controllerProtocol http -controllerHost 192.168.144.3 -controllerPort 9000 -user null -password [hidden] -exec
2021/11/25 12:02:05.084 INFO [AddTableCommand] [main] {"status":"Table crimes_OFFLINE succesfully added"}
----
== Ingest CSV file
Now we're going to imort the CSV file that we saw at the beginning of the post.
To do this, we'll create the following data ingestion job spec:
.config/job-spec.yml
[source, yaml]
----
executionFrameworkSpec:
name: 'standalone'
segmentGenerationJobRunnerClassName: 'org.apache.pinot.plugin.ingestion.batch.standalone.SegmentGenerationJobRunner'
segmentTarPushJobRunnerClassName: 'org.apache.pinot.plugin.ingestion.batch.standalone.SegmentTarPushJobRunner'
segmentUriPushJobRunnerClassName: 'org.apache.pinot.plugin.ingestion.batch.standalone.SegmentUriPushJobRunner'
jobType: SegmentCreationAndTarPush
inputDirURI: '/data'
includeFileNamePattern: 'glob:**/import.csv'
outputDirURI: '/opt/pinot/data/crimes/segments/'
overwriteOutput: true
pinotFSSpecs:
- scheme: file
className: org.apache.pinot.spi.filesystem.LocalPinotFS
recordReaderSpec:
dataFormat: 'csv'
className: 'org.apache.pinot.plugin.inputformat.csv.CSVRecordReader'
configClassName: 'org.apache.pinot.plugin.inputformat.csv.CSVRecordReaderConfig'
tableSpec:
tableName: 'crimes'
pinotClusterSpecs:
- controllerURI: 'http://localhost:9000'
----
We can import the CSV file by running the following command:
[source, bash]
----
docker exec \
-it manual-pinot-controller bin/pinot-admin.sh LaunchDataIngestionJob \
-jobSpecFile /config/job-spec.yml
----
Once we've run this we can navigate to the Query Console at http://localhost:9000/#/query and run the following query:
[source, sql]
----
select * from crimes limit 10
----
.Result
[options="header"]
|===
| CaseNumber | ID
| null | 10224738
| null| 10224739
| null| 11646166
| null | 10224740
|===
Hmmm, the `CaseNumber` is always null, which isn't what we want.
To deal with this problem we'll need to add an https://docs.pinot.apache.org/developers/advanced/ingestion-level-transformations#extract-value-from-a-column-containing-space[ingestion transformation config^] to our table config.
== Update table config and reingest
Let's update our table config to add the transform config:
.config/table.json
[source, json]
----
{
"tableName": "crimes",
"tableType": "OFFLINE",
"segmentsConfig": {
"replication": 1
},
"tenants": {
"broker":"DefaultTenant",
"server":"DefaultTenant"
},
"tableIndexConfig": {
"loadMode": "MMAP"
},
"ingestionConfig": {
"batchIngestionConfig": {
"segmentIngestionType": "APPEND",
"segmentIngestionFrequency": "DAILY"
},
"transformConfigs": [
{"columnName": "CaseNumber", "transformFunction": "\"Case Number\"" }
]
},
"metadata": {}
}
----
The `columnName` refers to the column name in the schema and the `tranformFunction` describes a function for processing a value from the source data.
In this case we're specifying the name of the property/column name from our CSV file and it will extract the values from that column.
Before we update the table config, let's first delete the segment that we ingested in the previous section:
.Drop crimes table segments
[source, bash]
----
curl -X DELETE "http://localhost:9000/segments/crimes?type=OFFLINE" -H "accept: application/json"
----
Now we can update the table config:
.Update table config
[source, bash]
----
curl 'http://localhost:9000/tables/crimes_OFFLINE' \
-X 'PUT' \
-H 'Content-Type: application/json' \
--data-binary "@config/table.json"
----
And finally, we can run the data ingestion job again:
[source, bash]
----
docker exec \
-it manual-pinot-controller bin/pinot-admin.sh LaunchDataIngestionJob \
-jobSpecFile /config/job-spec.yml
----
Now if we run a query against this table we'll see populated values for the `CaseNumber`:
[source, sql]
----
select * from crimes limit 10
----
.Result
[options="header"]
|===
| CaseNumber | ID
|HY411648 |10224738
|HY411615 |10224739
|JC213529 |11646166
|HY411595 |10224740
|=== | In this post we'll learn how to import CSV files with columns that contain spaces into Apache Pinot. | null | [
-0.01635592244565487,
-0.009431648068130016,
-0.025280166417360306,
0.049446605145931244,
0.08883456140756607,
0.014436692930758,
0.00359957292675972,
0.037409618496894836,
-0.0023801641073077917,
-0.019245412200689316,
-0.03145003691315651,
-0.032435767352581024,
-0.06892326474189758,
0.00483807222917676,
0.0016452568816021085,
0.062424954026937485,
0.08107621967792511,
0.009760107845067978,
0.02742965891957283,
-0.0003119114553555846,
0.052197229117155075,
0.028965197503566742,
0.01229244563728571,
0.04578182473778725,
0.015662504360079765,
-0.010363434441387653,
0.000008865335075824987,
0.020799200981855392,
-0.0434437058866024,
0.008683412335813046,
0.020653385668992996,
-0.0006989337271079421,
0.011559939943253994,
-0.020497865974903107,
0.013603141531348228,
-0.00046573628787882626,
-0.024359887465834618,
-0.0009154470171779394,
-0.0014544426230713725,
0.03837019205093384,
-0.08654505759477615,
0.03464103490114212,
0.011411701329052448,
-0.0008844711701385677,
-0.010536442510783672,
0.016437385231256485,
-0.05120121315121651,
0.010171200148761272,
0.012260785326361656,
-0.00909359846264124,
-0.058665305376052856,
0.024033905938267708,
-0.02364390715956688,
0.029254963621497154,
0.0032417788170278072,
0.04854067414999008,
-0.02095339074730873,
-0.055236682295799255,
0.03950390964746475,
-0.038272544741630554,
-0.02698337845504284,
-0.002531398320570588,
0.010107733309268951,
0.007489866577088833,
-0.00008924296707846224,
-0.017657218500971794,
-0.026461847126483917,
0.04290572181344032,
-0.03420040011405945,
-0.008043057285249233,
0.012042101472616196,
0.019901657477021217,
0.007954292930662632,
-0.026955489069223404,
0.01637439802289009,
-0.030910132452845573,
-0.022698108106851578,
0.050973664969205856,
-0.008845585398375988,
0.0523202046751976,
-0.03887198492884636,
-0.023017240688204765,
0.002388385124504566,
0.009536177851259708,
0.0035269896034151316,
-0.06704723089933395,
-0.05777272582054138,
-0.012685456313192844,
-0.04932573065161705,
0.07989444583654404,
0.002329615643247962,
-0.022694017738103867,
0.02116662822663784,
-0.0001739524450385943,
-0.0008995971293188632,
0.054637592285871506,
0.017472706735134125,
-0.0062576234340667725,
0.01801733672618866,
0.007183530367910862,
-0.042459819465875626,
-0.00634961761534214,
0.02941077947616577,
0.07034997642040253,
-0.07285130023956299,
-0.060863275080919266,
-0.030994687229394913,
-0.002855209633708,
-0.013797430321574211,
0.016733279451727867,
-0.024587349966168404,
-0.009266159497201443,
0.010029851458966732,
0.006759788375347853,
-0.07558346539735794,
0.07869216054677963,
0.04378976672887802,
-0.024991881102323532,
0.039113592356443405,
0.02558772638440132,
0.032078325748443604,
0.028275495395064354,
-0.00883373711258173,
0.05835384130477905,
-0.030338948592543602,
0.018138708546757698,
-0.01402202807366848,
0.051197346299886703,
-0.0033571396488696337,
-0.07047849893569946,
-0.04752963408827782,
0.058706577867269516,
0.030071714892983437,
-0.023229312151670456,
-0.012746020220220089,
-0.052428681403398514,
-0.007232397794723511,
0.002365552354604006,
0.05118876323103905,
0.025165420025587082,
-0.027448317036032677,
-0.007119901478290558,
0.014208411797881126,
-0.004992906004190445,
0.06521955132484436,
0.023803742602467537,
0.002634816337376833,
-0.04053598269820213,
-0.03262542560696602,
0.014304683543741703,
0.027318164706230164,
0.04544137045741081,
0.06133493781089783,
-0.024989303201436996,
0.00497989309951663,
0.06410017609596252,
0.02560528740286827,
0.022383352741599083,
-0.019724540412425995,
-0.0038056988269090652,
0.03923118859529495,
0.017442112788558006,
0.02918435074388981,
0.04157086834311485,
0.020858312025666237,
-0.041021931916475296,
-0.017733169719576836,
0.05536383017897606,
-0.021655865013599396,
0.010262793861329556,
-0.0444532185792923,
-0.03936346620321274,
0.05397626757621765,
-0.04434860497713089,
0.016986489295959473,
0.04629777371883392,
0.08919060230255127,
0.016967453062534332,
0.035244766622781754,
-0.005809310358017683,
-0.0794093906879425,
0.06822356581687927,
0.004552506376057863,
0.0176590196788311,
0.0246615968644619,
-0.009916223585605621,
0.04977605864405632,
0.012489265762269497,
0.06319887191057205,
0.025599615648388863,
-0.06976315379142761,
-0.0768301710486412,
-0.02105766534805298,
-0.00028629007283598185,
0.052443549036979675,
-0.00781134981662035,
-0.009307079948484898,
0.06226878985762596,
0.00006559590110555291,
0.02506072260439396,
-0.009257260710000992,
0.048701733350753784,
0.029426682740449905,
-0.08191707730293274,
-0.057279348373413086,
0.02473006770014763,
0.017704764381051064,
-0.03340134024620056,
-0.03999669849872589,
0.004189500119537115,
-0.04300631582736969,
-0.03301787003874779,
0.06131012737751007,
-0.03390206769108772,
0.09243530035018921,
0.01570415496826172,
0.04878004267811775,
-0.026535307988524437,
0.04638611525297165,
-0.053231917321681976,
0.03753206506371498,
0.0184255912899971,
-0.021038521081209183,
-0.005937875714153051,
-0.009527673944830894,
0.11586922407150269,
0.07443031668663025,
-0.005486613139510155,
-0.040830984711647034,
0.06311183422803879,
0.025436775758862495,
-0.042554598301649094,
0.00141886156052351,
0.008052825927734375,
0.009061558172106743,
-0.0028377121780067682,
-0.016192693263292313,
-0.012078498490154743,
0.024568073451519012,
-0.0037658140063285828,
0.006235988344997168,
0.06489672511816025,
-0.015965335071086884,
0.0667060986161232,
0.009550080634653568,
-0.0035190675407648087,
-0.0010451498674228787,
-0.034630969166755676,
-0.0864626094698906,
-0.03692986071109772,
0.015363211743533611,
-0.005273560527712107,
0.04971805214881897,
-0.028332749381661415,
-0.03258727118372917,
-0.05840423330664635,
-0.05461474880576134,
0.02763902023434639,
0.030959611758589745,
0.049798037856817245,
-0.0026447393465787172,
0.04507758840918541,
-0.06520207226276398,
-0.004413315560668707,
-0.021754883229732513,
-0.052160557359457016,
0.005049753934144974,
0.016813192516565323,
0.004537952598184347,
0.02453450672328472,
0.013388965278863907,
0.005882937461137772,
0.028599970042705536,
0.0016732902731746435,
0.032013725489377975,
0.00008778568007983267,
0.008100951090455055,
0.012654044665396214,
0.01396920531988144,
-0.015616736374795437,
-0.00025310309138149023,
0.04339585080742836,
-0.05427834391593933,
-0.00010375221609137952,
0.010435004718601704,
-0.07128456234931946,
0.036721400916576385,
-0.05675121396780014,
-0.05722159519791603,
-0.03315295651555061,
0.049526412039995193,
0.00944891944527626,
0.031178375706076622,
-0.009503861889243126,
0.03049822710454464,
0.023778852075338364,
-0.007402920164167881,
0.035311829298734665,
-0.009907004423439503,
0.04520977661013603,
-0.004967926535755396,
0.03407977521419525,
0.03970690444111824,
-0.014666509814560413,
-0.006214385852217674,
-0.035594020038843155,
0.011981526389718056,
-0.02617977373301983,
-0.2938344478607178,
0.048726774752140045,
-0.019684918224811554,
-0.01542175654321909,
0.005111843813210726,
-0.026331719011068344,
0.011158160865306854,
-0.035009901970624924,
0.0014836702030152082,
-0.0076935067772865295,
-0.04044683650135994,
-0.026048971340060234,
-0.021605705842375755,
0.028044937178492546,
-0.001358889159746468,
0.01327433343976736,
0.004630012903362513,
-0.062086254358291626,
-0.005914288107305765,
-0.009774347767233849,
0.007356470450758934,
-0.05349722132086754,
0.003390891943126917,
0.03566179424524307,
0.020791860297322273,
0.05108293890953064,
-0.06719569861888885,
0.05741804465651512,
-0.04780815914273262,
-0.028541631996631622,
0.012615370564162731,
-0.03406812623143196,
-0.017413318157196045,
0.010335484519600868,
0.003016582690179348,
-0.00830040592700243,
0.016985014081001282,
0.0020318152382969856,
0.005718193482607603,
0.010065685957670212,
-0.018494857475161552,
-0.05966438725590706,
0.0013945847749710083,
0.01405108068138361,
0.07110251486301422,
-0.002752731554210186,
-0.08260176330804825,
0.001646671094931662,
-0.035294827073812485,
0.06470352411270142,
-0.02183375507593155,
-0.039775703102350235,
-0.028246579691767693,
0.017400968819856644,
-0.02050166018307209,
0.028987914323806763,
-0.0018794231582432985,
0.012403695844113827,
-0.040238965302705765,
-0.04971461743116379,
-0.003184089669957757,
-0.047237180173397064,
-0.0242400374263525,
-0.06012197956442833,
-0.01736852526664734,
-0.06470173597335815,
-0.06746082752943039,
0.02920808456838131,
0.059329356998205185,
0.033755216747522354,
-0.04058898612856865,
0.0408368855714798,
0.00636828038841486,
-0.11780447512865067,
-0.01247064396739006,
-0.03129374608397484,
-0.05658293142914772,
-0.022516032680869102,
-0.03301062062382698,
0.04420613870024681,
-0.045086704194545746,
-0.023540861904621124,
0.031485073268413544,
0.02849181927740574,
0.012169796973466873,
-0.027112245559692383,
0.020825974643230438,
-0.016817722469568253,
-0.014287336729466915,
-0.0037933923304080963,
0.0458679273724556,
-0.06509474664926529,
-0.027753746137022972,
-0.021036969497799873,
-0.02519340068101883,
0.042786888778209686,
0.008442823775112629,
0.0059114363975822926,
0.0018376221414655447,
0.0367911234498024,
0.022553980350494385,
-0.04344891011714935,
0.0041535766795277596,
-0.033165935426950455,
0.0027056436520069838,
-0.01754194311797619,
-0.05478394031524658,
0.02953493595123291,
0.021295152604579926,
0.044074032455682755,
0.022831782698631287,
-0.03547868877649307,
0.023624073714017868,
-0.08348635584115982,
0.005798607598990202,
0.0061088367365300655,
0.03576278313994408,
0.028534887358546257,
0.03874123468995094,
-0.004245266783982515,
-0.04421219229698181,
0.009048455394804478,
0.013701147399842739,
-0.016552355140447617,
-0.03679797425866127,
-0.028259102255105972,
0.013661453500390053,
-0.020144855603575706,
0.014368042349815369,
-0.003574644448235631,
-0.024134762585163116,
0.04047127440571785,
0.05607869103550911,
-0.024797208607196808,
0.021055059507489204,
-0.018799690529704094,
-0.03305415064096451,
-0.04437324032187462,
0.024333331733942032,
0.0410894975066185,
-0.004801137838512659,
0.01638326793909073,
-0.00815072376281023,
0.011553163640201092,
0.04839114472270012,
0.029091233387589455,
0.01491041760891676,
-0.01444998849183321,
0.020905418321490288,
0.02137725241482258,
-0.0071650841273367405,
-0.019310900941491127,
-0.008237282745540142,
-0.02752980776131153,
-0.024812594056129456,
-0.038039062172174454,
0.03552265092730522,
-0.008556414395570755,
-0.0026455640327185392,
-0.05025825276970863,
0.016716407611966133,
-0.064301036298275,
-0.017368044704198837,
-0.03508521616458893,
-0.011412089690566063,
0.05181047320365906,
0.004963601008057594,
0.005147596821188927,
0.009357290342450142,
0.007072412874549627,
0.002870705211535096,
0.01060481183230877,
-0.024607904255390167,
0.00820215791463852,
-0.02274867706000805,
-0.021419556811451912,
0.008556218817830086,
0.028527002781629562,
0.024497177451848984,
-0.0036679026670753956,
0.012596487998962402,
-0.012936173006892204,
0.02289433963596821,
0.00917493924498558,
0.04460371285676956,
0.05829482153058052,
-0.03233986720442772,
0.00010687387839425355,
0.007486768998205662,
-0.03528913855552673,
-0.03388161212205887,
0.01376302819699049,
-0.024311870336532593,
0.022622739896178246,
-0.01882125809788704,
-0.060552965849637985,
0.05416882783174515,
0.018594929948449135,
-0.003443774301558733,
0.02792978100478649,
0.006969867739826441,
-0.01118530984967947,
-0.0471038781106472,
0.05651233345270157,
0.08889307826757431,
-0.045515939593315125,
0.02058563195168972,
0.011573325842618942,
0.017212852835655212,
0.0010546264238655567,
0.013481955975294113,
-0.05266709625720978,
0.0015433705411851406,
-0.019982386380434036,
0.022641533985733986,
-0.050911370664834976,
-0.033099327236413956,
-0.03820330649614334,
-0.0015371872577816248,
0.006983815226703882,
0.00940222293138504,
-0.009641650132834911,
0.0012556776637211442,
-0.0215248204767704,
-0.033099498599767685,
0.047636982053518295,
0.007498073857277632,
0.008957895450294018,
0.021191630512475967,
-0.016778768971562386,
0.007841229438781738,
-0.023079480975866318,
0.006312333978712559,
0.00591451907530427,
-0.043429210782051086,
0.0027142937760800123,
-0.03151761740446091,
0.012021946720778942,
-0.015109257772564888,
0.08367493748664856,
0.0031027907971292734,
-0.01185331679880619,
-0.02120077796280384,
-0.007500719279050827,
-0.008412211202085018,
-0.011237426660954952,
0.004351251758635044,
-0.007311798166483641,
0.045598991215229034,
0.041716236621141434,
-0.00271313963457942,
-0.018513228744268417,
-0.009316135197877884,
-0.03523631393909454,
0.041460927575826645,
-0.027109907940030098,
-0.027077041566371918,
-0.002775489119812846,
-0.05264611169695854,
0.026723841205239296,
0.03097684308886528,
0.034958090633153915,
-0.052275773137807846,
0.04964916408061981,
0.045592594891786575,
0.004048819653689861,
0.008901621215045452,
-0.003672633320093155,
0.04175322502851486,
-0.018011540174484253,
-0.0013546132249757648,
-0.06793612241744995,
0.01146240159869194,
0.03921974077820778,
-0.025325164198875427,
-0.02219056710600853,
0.006570221856236458,
-0.05869264528155327,
0.02919580414891243,
-0.08032716065645218,
-0.037819817662239075,
0.03964861109852791,
-0.005102177150547504,
0.0008979305275715888,
-0.01604297384619713,
-0.043652404099702835,
0.0227948185056448,
0.030662382021546364,
-0.03736456483602524,
0.0008686317014507949,
-0.005610561463981867,
0.05322858691215515,
-0.0068055870942771435,
0.024983081966638565,
-0.010727977380156517,
-0.0387166291475296,
0.07800650596618652,
0.020030587911605835,
0.019294146448373795,
0.04379226267337799,
-0.02364479750394821,
0.04665713757276535,
0.006589535623788834,
-0.026754412800073624,
0.017308834940195084,
0.013877581804990768,
-0.03911023959517479,
-0.06660319864749908,
0.017406785860657692,
0.0009664970566518605,
0.022868745028972626,
-0.04963997006416321,
0.05698472633957863,
0.006554403807967901,
-0.05038643255829811,
-0.037703681737184525,
0.013125009834766388,
-0.015147740021348,
-0.04258520156145096,
-0.026226086542010307,
0.028819624334573746,
-0.05438948795199394,
0.041970569640398026,
-0.01199597492814064,
0.018922073766589165,
0.07061628252267838,
0.01037986297160387,
-0.02090318687260151,
0.04923209920525551,
0.09613178670406342,
0.08770111948251724,
0.023061109706759453,
0.0013560967054218054,
0.0593755878508091,
-0.02087250165641308,
-0.04149084910750389,
-0.012310181744396687,
-0.012651775032281876,
-0.02096785604953766,
-0.03518981859087944,
0.01253461092710495,
0.05133159086108208,
-0.0360267348587513,
0.06667883694171906,
0.0002107921172864735,
-0.011912248097360134,
-0.029961001127958298,
0.021103177219629288,
0.034696731716394424,
0.03046259470283985,
0.0006238186615519226,
0.041493602097034454,
0.003154899924993515,
-0.041276007890701294,
0.009169724769890308,
0.008666686713695526,
-0.034729763865470886,
0.009160403162240982,
-0.019222712144255638,
0.01155850850045681,
0.01961689256131649,
0.024675628170371056,
0.06776793301105499,
-0.03904281556606293,
-0.008766762912273407,
0.031131016090512276,
0.04660511016845703,
0.00025055574951693416,
-0.004053068347275257,
-0.0441158227622509,
-0.038557928055524826,
-0.01930103451013565,
-0.032685767859220505,
-0.007906735874712467,
-0.00785146001726389,
-0.01689542643725872,
-0.001868032617494464,
-0.026698047295212746,
0.00564834289252758,
0.03967203199863434,
-0.003125224495306611,
-0.03938597813248634,
-0.05858016014099121,
-0.048001728951931,
-0.041996702551841736,
-0.06428240984678268,
-0.025983862578868866,
0.0014936276711523533,
-0.0033941317815333605,
-0.03239288181066513,
-0.008967053145170212,
-0.029755132272839546,
-0.024420306086540222,
0.030794207006692886,
-0.03271706402301788,
-0.019249452278017998,
0.019377676770091057,
0.04561745002865791,
0.021772541105747223,
0.0014997797552496195,
0.06190992891788483,
0.015627248212695122,
-0.00901899766176939,
-0.016385506838560104,
-0.010245300829410553,
0.051793623715639114,
-0.01228572241961956,
-0.016840925440192223,
-0.0846320390701294,
0.02355724200606346,
0.037516865879297256,
-0.011701072566211224,
-0.07313825190067291,
0.01008437667042017,
0.021021433174610138,
-0.000023838709239498712,
0.0427284836769104,
-0.030881080776453018,
-0.0002610905794426799,
-0.044074736535549164,
-0.026796264573931694,
-0.01662825234234333,
-0.004207063466310501,
0.03756247088313103,
-0.028855768963694572,
0.061889078468084335,
0.028187742456793785,
-0.03576841577887535,
-0.002914911601692438,
0.005244678817689419,
0.01559603400528431,
0.024718143045902252,
-0.06067287176847458,
-0.018350180238485336,
-0.03442561626434326,
-0.05070069059729576,
-0.017511693760752678,
0.012022266164422035,
-0.016803443431854248,
-0.0448332242667675,
0.007281766273081303,
-0.005177258048206568,
-0.042286891490221024,
0.019045313820242882,
-0.04872816056013107,
0.002428984735161066,
-0.03105258382856846,
-0.024796539917588234,
0.009458523243665695,
0.04412483423948288,
-0.0035078597720712423,
-0.014135817997157574,
0.011852134950459003,
-0.017555242404341698,
-0.0036876583471894264,
-0.03554242104291916,
0.06068950891494751,
0.033421702682971954,
-0.012941689230501652,
-0.0032737667206674814
] | [
-0.04973655939102173,
-0.03846028074622154,
-0.0028115524910390377,
-0.0343853123486042,
0.0777183398604393,
-0.05743899568915367,
0.004583512432873249,
0.010625254362821579,
-0.024653470143675804,
-0.01879751868546009,
-0.010636445134878159,
-0.0796370655298233,
-0.015601920895278454,
-0.015060080215334892,
0.06259305030107498,
-0.015739813446998596,
0.0017980305710807443,
-0.01972869038581848,
-0.025962233543395996,
0.019544363021850586,
-0.01554211787879467,
-0.031186703592538834,
-0.06588085740804672,
-0.06710261851549149,
-0.010216888040304184,
0.05110234022140503,
0.020473457872867584,
0.008470075204968452,
-0.006517542060464621,
-0.2047496736049652,
0.023722732439637184,
-0.033176664263010025,
-0.011612419970333576,
-0.008945663459599018,
0.001788384048268199,
0.03651651367545128,
0.04530416429042816,
0.009209441021084785,
0.03174441680312157,
0.055793486535549164,
0.053309664130210876,
-0.013274501077830791,
-0.06110695004463196,
0.022525450214743614,
0.00788886472582817,
-0.05144673213362694,
-0.011178508400917053,
-0.02036709152162075,
0.03076981008052826,
-0.014466595835983753,
-0.042396217584609985,
-0.009037255309522152,
-0.02924681454896927,
-0.011758827604353428,
0.005632625427097082,
0.02186676301062107,
0.05811750516295433,
0.035817187279462814,
0.0180860236287117,
0.018868427723646164,
0.026602694764733315,
-0.02182379551231861,
-0.14613930881023407,
0.11364080011844635,
0.02733159065246582,
0.019433259963989258,
-0.045310523360967636,
0.008021674118936062,
0.002832163590937853,
0.05410508066415787,
-0.0037502413615584373,
-0.02990412898361683,
-0.05460280925035477,
0.04676944017410278,
0.0013323603197932243,
-0.02190329134464264,
-0.023292863741517067,
0.06729230284690857,
0.015370594337582588,
-0.02853374183177948,
-0.04579613730311394,
0.004066715948283672,
-0.020216433331370354,
0.0010353513062000275,
-0.05536956340074539,
0.02944122813642025,
-0.012814866378903389,
0.04510817304253578,
-0.012579605914652348,
0.021179309114813805,
0.018880821764469147,
-0.019649120047688484,
0.057774342596530914,
0.010849734768271446,
-0.08444328606128693,
-0.003226773114874959,
0.0015692475717514753,
0.019171100109815598,
-0.03421211242675781,
0.38989388942718506,
0.00004427462408784777,
-0.037118494510650635,
0.03727122023701668,
0.010287346318364143,
0.006455167196691036,
0.028073925524950027,
-0.015584342181682587,
-0.02900118939578533,
0.04116690158843994,
-0.010045037604868412,
0.013177497312426567,
0.002297215163707733,
0.07483278214931488,
-0.03252996504306793,
0.022044440731406212,
-0.004230030346661806,
-0.015526894479990005,
0.013813246972858906,
-0.035229168832302094,
0.04553147032856941,
-0.006128957495093346,
-0.02003324031829834,
0.04096180573105812,
0.04832955077290535,
0.028593851253390312,
0.0032311200629919767,
0.03796933963894844,
0.019464395940303802,
0.04208429530262947,
0.00036218049353919923,
0.021685617044568062,
-0.01985335722565651,
-0.05620603263378143,
-0.005757188890129328,
0.011136695742607117,
0.012138118036091328,
0.06644370406866074,
-0.02956320531666279,
0.009692485444247723,
-0.013580188155174255,
-0.043262332677841187,
-0.03084331750869751,
0.06541965901851654,
-0.04117652773857117,
-0.00952294934540987,
0.12342796474695206,
0.008746171370148659,
-0.06625648587942123,
-0.025394396856427193,
-0.059298109263181686,
-0.030658939853310585,
0.047409191727638245,
0.02791052870452404,
-0.042524632066488266,
0.009855314157903194,
0.028153009712696075,
0.05177633464336395,
-0.005956616252660751,
-0.06415285170078278,
-0.00853877142071724,
-0.011868370696902275,
-0.03604939207434654,
-0.01737104170024395,
0.0040537770837545395,
0.07233651727437973,
-0.11196880042552948,
-0.043011948466300964,
0.01776563934981823,
0.018188713118433952,
-0.010529694147408009,
-0.013553095981478691,
0.045733191072940826,
-0.019104236736893654,
0.011961301788687706,
0.02511412277817726,
-0.05639300495386124,
-0.027349628508090973,
0.025635920464992523,
0.0399206206202507,
0.016342943534255028,
-0.03372842073440552,
0.017862316220998764,
-0.029302380979061127,
-0.005414093378931284,
-0.03696507588028908,
-0.07945618778467178,
-0.07846260815858841,
0.01153751090168953,
-0.04353060573339462,
-0.02519146539270878,
-0.029919002205133438,
-0.014707873575389385,
-0.045965008437633514,
0.08984494209289551,
0.010010196827352047,
-0.02510632947087288,
0.026691310107707977,
0.005693409126251936,
0.00432466110214591,
-0.04739022254943848,
0.019899500533938408,
0.02954864501953125,
-0.008598726242780685,
0.03841252997517586,
-0.05042681843042374,
0.042435187846422195,
0.041678253561258316,
-0.03037738986313343,
0.028294773772358894,
0.04468490555882454,
-0.008274209685623646,
0.02074298821389675,
-0.025118494406342506,
0.024232732132077217,
-0.004283730871975422,
0.0074252597987651825,
-0.01651540771126747,
-0.015668952837586403,
0.04687190428376198,
0.03427105024456978,
-0.010772162117064,
-0.038252267986536026,
-0.024145517498254776,
-0.38229474425315857,
-0.053826309740543365,
-0.029183214530348778,
-0.0032773264683783054,
-0.0076837060041725636,
-0.05414332076907158,
0.033062439411878586,
-0.0034384974278509617,
-0.004059808328747749,
0.00591741967946291,
0.07527467608451843,
-0.06760603934526443,
0.03551961109042168,
-0.03860606625676155,
0.011024362407624722,
0.042824067175388336,
0.007136393338441849,
-0.015538799576461315,
-0.03446329012513161,
0.010160856880247593,
0.00032349544926546514,
-0.025901414453983307,
-0.05628320947289467,
0.004240586422383785,
0.012827484868466854,
-0.0413394533097744,
0.10925445705652237,
0.006086560897529125,
0.07545328140258789,
-0.058103252202272415,
0.06578019261360168,
0.017123591154813766,
0.02389012649655342,
-0.08628261834383011,
-0.011104453355073929,
-0.03223768621683121,
0.008267727680504322,
0.022579554468393326,
0.0010547462152317166,
-0.009390411898493767,
-0.047400277107954025,
0.054406799376010895,
-0.0453350730240345,
-0.07066555321216583,
-0.003585473634302616,
0.0019700529519468546,
-0.00046323088463395834,
0.008518182672560215,
-0.038561511784791946,
0.01909070648252964,
0.007962889969348907,
0.020554469898343086,
0.011095399968326092,
0.002650481415912509,
0.025588257238268852,
0.0013246664311736822,
-0.04718815162777901,
-0.004852852784097195,
0.009935759007930756,
0.015045293606817722,
0.05257677286863327,
0.0600634329020977,
0.021221356466412544,
-0.07017391920089722,
-0.006839773152023554,
0.028347084298729897,
-0.016259506344795227,
0.005737811326980591,
0.03543620929121971,
-0.028776906430721283,
-0.038733068853616714,
0.08798723667860031,
0.026060273870825768,
0.020127668976783752,
0.04069330170750618,
0.016470693051815033,
-0.03158077225089073,
0.019878366962075233,
0.012584502808749676,
-0.015185362659394741,
0.0655832439661026,
-0.018599294126033783,
0.036324769258499146,
-0.04167554900050163,
0.04768086224794388,
0.08752940595149994,
0.007229337468743324,
-0.0230763740837574,
0.09087840467691422,
0.00977526605129242,
-0.019818121567368507,
-0.004549595061689615,
-0.009261292405426502,
-0.051115140318870544,
0.07522565871477127,
0.0319555401802063,
-0.28353631496429443,
0.044893741607666016,
0.059456966817379,
0.05560974031686783,
-0.004360512364655733,
-0.005711575038731098,
0.03345182538032532,
-0.05390438809990883,
0.040368739515542984,
0.014139627106487751,
-0.003790655406191945,
0.024240927770733833,
0.017259422689676285,
0.013843728229403496,
0.018880803138017654,
-0.009015117771923542,
0.031768590211868286,
0.013255876488983631,
0.010148651897907257,
-0.06530541926622391,
0.00759151391685009,
-0.03290751203894615,
0.1583435833454132,
0.062490031123161316,
-0.010135618969798088,
0.03909337893128395,
-0.007300789933651686,
0.005301855504512787,
0.035667236894369125,
0.030553152784705162,
0.02668142132461071,
-0.018850574269890785,
0.03759969770908356,
-0.030101265758275986,
0.04447738081216812,
-0.05126938223838806,
-0.01940014585852623,
0.02751404233276844,
0.03477852791547775,
-0.03270873799920082,
-0.04033973067998886,
0.010689636692404747,
-0.0530519001185894,
0.036962106823921204,
0.039018500596284866,
-0.057039957493543625,
-0.002780279377475381,
-0.037955526262521744,
-0.019918588921427727,
0.004125052131712437,
-0.02330264076590538,
-0.051174018532037735,
-0.016341930255293846,
-0.05299573391675949,
0.0029951308388262987,
0.08172932267189026,
0.03866321220993996,
-0.03781063109636307,
-0.00252518174238503,
0.04981423541903496,
0.0034500372130423784,
-0.07630841434001923,
0.08972539007663727,
0.02216595783829689,
0.03511715307831764
] | [
0.027591029182076454,
-0.012246521189808846,
-0.003865020116791129,
0.01090589351952076,
0.016602402552962303,
-0.02685709483921528,
0.0023908885195851326,
0.01901392452418804,
-0.0053829834796488285,
-0.00047939002979546785,
-0.0009629398118704557,
0.004459242336452007,
-0.004564536735415459,
0.023559115827083588,
-0.027076153084635735,
-0.03854753077030182,
0.025290990248322487,
0.002778796013444662,
0.030284026637673378,
0.029864808544516563,
-0.04667290672659874,
0.017169401049613953,
0.03934532031416893,
-0.003558344440534711,
-0.025895357131958008,
0.0033050125930458307,
-0.05952991917729378,
0.03058408759534359,
0.010927059687674046,
-0.12962356209754944,
0.003362319665029645,
-0.008536743931472301,
0.02856309525668621,
-0.02500453218817711,
0.02322491630911827,
0.012380514293909073,
0.021251916885375977,
-0.008369301445782185,
-0.037482649087905884,
0.010360152460634708,
0.036831602454185486,
-0.01416139304637909,
0.013610231690108776,
0.003850721288472414,
-0.015901178121566772,
-0.02174871228635311,
-0.03442878648638725,
-0.02701232023537159,
-0.00831618346273899,
0.017118291929364204,
-0.0671425387263298,
0.0037097991444170475,
0.008955292403697968,
0.015131157822906971,
0.007482597138732672,
0.020494723692536354,
-0.02128695882856846,
0.011477134190499783,
0.01041518896818161,
0.003757127095013857,
0.013260172680020332,
0.04361195117235184,
-0.02859766222536564,
-0.03966750577092171,
0.027358541265130043,
-0.04206070303916931,
-0.037808697670698166,
0.004483387339860201,
0.011443061754107475,
0.010701378807425499,
0.013280618004500866,
0.015302175655961037,
-0.029754754155874252,
-0.03634972497820854,
-0.0386347658932209,
0.04291776940226555,
0.017503581941127777,
0.00187623780220747,
0.0013446682132780552,
-0.007344167213886976,
-0.033785220235586166,
-0.005633404944092035,
0.011043182574212551,
-0.001413085381500423,
-0.025935402140021324,
0.014158839359879494,
-0.016882481053471565,
0.02781698852777481,
0.0068993647582829,
-0.02750485949218273,
-0.003280445234850049,
-0.006653121672570705,
-0.009811022318899632,
-0.008983968757092953,
-0.05730404332280159,
-0.021083367988467216,
0.0044077918864786625,
-0.006657239980995655,
-0.03174882009625435,
0.8427190780639648,
0.007373629603534937,
0.014340972527861595,
0.025773290544748306,
-0.01534039992839098,
0.05762564390897751,
-0.009806102141737938,
-0.017844656482338905,
0.01633307710289955,
-0.019610604271292686,
-0.016947248950600624,
0.016043005511164665,
0.018806660547852516,
0.018435174599289894,
0.024262722581624985,
0.012014773674309254,
0.028009334579110146,
-0.0035469476133584976,
-0.03309573233127594,
-0.027036119252443314,
0.047027576714754105,
0.02888389304280281,
-0.025474397465586662,
0.012619218789041042,
0.002500103320926428,
-0.018586108461022377,
-0.16636772453784943,
-0.008055537939071655,
-6.753861567366994e-33,
0.04451729357242584,
-0.07715250551700592,
0.0018358896486461163,
-0.0026294891722500324,
0.057521238923072815,
0.005210580304265022,
0.006563757546246052,
-0.005361686460673809,
-0.021112807095050812,
-0.005299810320138931,
0.017842555418610573,
-0.0182542372494936,
-0.025410791859030724,
-0.021076718345284462,
0.009211919270455837,
-0.015279884450137615,
-0.022442638874053955,
0.04619712382555008,
-0.010386341251432896,
-0.0075025251135230064,
0.03763376176357269,
0.014120019972324371,
-0.05015624687075615,
0.0036646630614995956,
0.07201732695102692,
0.01255287416279316,
-0.011155940592288971,
-0.02657398022711277,
-0.009470110759139061,
-0.03220563754439354,
-0.015558281913399696,
-0.009073101915419102,
-0.017413785681128502,
-0.02952331304550171,
0.02117689698934555,
-0.06961178779602051,
-0.01698034629225731,
-0.0039225053042173386,
-0.07344452291727066,
-0.04370464012026787,
0.005738643929362297,
-0.028335528448224068,
-0.03486180305480957,
0.020526310428977013,
-0.027819151058793068,
0.012751232832670212,
0.022473091259598732,
0.03941613435745239,
0.018796749413013458,
0.019604694098234177,
0.04209084436297417,
-0.0066564991138875484,
-0.004680504556745291,
-0.007788818329572678,
-0.028943806886672974,
0.012883306480944157,
-0.011781126260757446,
0.006657791789621115,
-0.013391691260039806,
-0.018481217324733734,
-0.0483163520693779,
-0.015352675691246986,
-0.031990643590688705,
0.0378279983997345,
-0.003356880508363247,
0.010120289400219917,
0.010287466458976269,
0.02126902900636196,
-0.005737314932048321,
0.040623463690280914,
-0.0509180948138237,
0.006404366809874773,
-0.005253561772406101,
-0.01009408663958311,
0.004528041463345289,
-0.044756535440683365,
0.00675659766420722,
0.010259350761771202,
0.0024170302785933018,
0.02001570351421833,
-0.013743465766310692,
0.032286014407873154,
-0.050915107131004333,
0.019093289971351624,
-0.02530577965080738,
0.010178706608712673,
0.06649666279554367,
0.028508266434073448,
-0.01202466618269682,
0.0010754127288237214,
0.04819418862462044,
0.07019853591918945,
0.014989187940955162,
-0.059283215552568436,
-0.032926496118307114,
7.245264491100774e-33,
-0.026570182293653488,
-0.011547171510756016,
-0.026520036160945892,
0.002709688153117895,
0.015972798690199852,
-0.03488816320896149,
0.05503198131918907,
0.021485090255737305,
0.023469531908631325,
-0.013967598788440228,
-0.0394865982234478,
0.016306303441524506,
-0.00032824507798068225,
0.04157412424683571,
0.029408056288957596,
0.002615311648696661,
-0.0056686499156057835,
0.0030528607312589884,
0.0320417657494545,
-0.000041418385080760345,
0.007586488034576178,
-0.029183566570281982,
0.023144423961639404,
0.026264773681759834,
0.004975878167897463,
0.05176623538136482,
0.007291369140148163,
0.017074989154934883,
-0.023645101115107536,
-0.0141298184171319,
0.03573762625455856,
0.00616401107981801,
0.010369754396378994,
-0.004573900252580643,
-0.03538307920098305,
0.02152399532496929,
-0.01888357102870941,
0.021167626604437828,
-0.01943897269666195,
-0.027473170310258865,
-0.00791062880307436,
-0.004790800623595715,
-0.032184794545173645,
0.028399623930454254,
-0.03726571053266525,
0.004390751477330923,
0.03294159471988678,
-0.007607008796185255,
-0.001570184133015573,
0.011557517573237419,
-0.03146788105368614,
-0.007594423834234476,
0.010271141305565834,
0.024333234876394272,
0.020088402554392815,
-0.016370726749300957,
-0.011636803857982159,
0.020347919315099716,
-0.020468279719352722,
0.002499242080375552,
0.026468772441148758,
0.00800362043082714,
0.00041503761895000935,
0.036469317972660065,
-0.015279658138751984,
-0.02537679485976696,
-0.01940503902733326,
-0.005834215320646763,
-0.020995737984776497,
0.007250216789543629,
0.04800530895590782,
0.02137008123099804,
0.00687731197103858,
0.05534828081727028,
0.022187046706676483,
-0.006651748903095722,
-0.0004307665512897074,
-0.0014085951261222363,
0.017250753939151764,
0.006468664389103651,
0.004011824261397123,
0.024125292897224426,
0.006736026145517826,
-0.023307841271162033,
0.0326768234372139,
-0.005903101526200771,
-0.01613040454685688,
0.04565143957734108,
0.017962360754609108,
0.006090427283197641,
0.0031357037369161844,
-0.036806922405958176,
-0.021355556324124336,
0.01291897427290678,
0.0018912310479208827,
-1.25041381693336e-8,
0.006845912896096706,
-0.00980378221720457,
-0.026549238711595535,
0.04638930782675743,
0.010721377097070217,
0.015426154248416424,
-0.02639305591583252,
0.014067168347537518,
-0.020658861845731735,
0.02700144425034523,
0.039586395025253296,
0.024411765858530998,
-0.015100067481398582,
0.017688516527414322,
0.01745791733264923,
-0.02699171006679535,
0.028613267466425896,
-0.014975635334849358,
0.020777961239218712,
-0.008044276386499405,
0.0004500687646213919,
0.03471345081925392,
0.012177902273833752,
-0.021818414330482483,
-0.02079407125711441,
0.015313402749598026,
0.007944001816213131,
-0.06337966024875641,
-0.004156424198299646,
0.005827371031045914,
0.023993423208594322,
-0.030231894925236702,
-0.02105693519115448,
0.021241744980216026,
-0.03749806433916092,
-0.0062315575778484344,
-0.013308762572705746,
0.00542029645293951,
0.0023993162903934717,
0.005315354093909264,
-0.0264337919652462,
-0.025232741609215736,
-0.027282852679491043,
-0.046691760420799255,
-0.03124907612800598,
0.0020122933201491833,
-0.006168111227452755,
0.03954195976257324,
0.008837261237204075,
-0.004071108531206846,
-0.009301376529037952,
-0.009282059967517853,
0.026432808488607407,
0.0027204621583223343,
0.07077484577894211,
0.02315342053771019,
0.029215984046459198,
-0.003394616302102804,
0.01701526716351509,
-0.00844806432723999,
0.011147145181894302,
0.040254514664411545,
-0.0042529357597231865,
-0.014990775845944881
] | apache-pinot-csv-columns-spaces | https://markhneedham.com/blog/2021/11/25/apache-pinot-csv-columns-spaces |
false | 2021-07-16 00:44:37 | Apache Pinot: BadQueryRequestException - Cannot convert value to type: LONG | [
"pinot"
] | [
"Pinot"
] | In my continued exploration of Apache Pinot I've been trying out the https://docs.pinot.apache.org/basics/recipes/github-events-stream[GitHub events recipe ^], which imports data from the GitHub events stream into Pinot.
In this blog post I want to show how I worked around an exception I was getting when trying to filter the data by one of the timestamp's column.
== Setup
We're going to spin up a local instance of Pinot using the following Docker compose config:
.docker-compose.yml
[source, yaml]
----
version: '3'
services:
pinot:
image: apachepinot/pinot:0.7.1
command: "GitHubEventsQuickStart -personalAccessToken ${GITHUB_TOKEN}"
container_name: "pinot-github-events-quick-start"
ports:
- "9000:9000"
- "8000:8000"
----
I then created a personal access token and made it available via the `GITHUB_TOKEN` environment variable.
We can launch the container by running the following command:
[source, bash]
----
docker-compose up
----
== Querying Pinot
Once that's ready, we'll navigate to http://localhost:9000/#/query, where we'll see the following screen:
image::{{<siteurl>}}/uploads/2021/07/pinot-controller.png[]
You can see we have a `pullRequestMergedEvents` table, which contains the most recent events from GitHub.
I wanted to count how many events happened in the last 60 minutes, which I did by writing the following query:
[source, sql]
----
select count(*)
from pullRequestMergedEvents
where createdTimeMillis < (now() - 1000*60*60)
limit 10
----
If we run that query we'll get the following output:
[source, text]
----
[
{
"errorCode": 200,
"message": "QueryExecutionError:\norg.apache.pinot.core.query.exception.BadQueryRequestException: Cannot convert value: '1.626415601834E12' to type: LONG\n\tat org.apache.pinot.core.query.pruner.ColumnValueSegmentPruner.convertValue(ColumnValueSegmentPruner.java:261)\n\tat org.apache.pinot.core.query.pruner.ColumnValueSegmentPruner.pruneRangePredicate(ColumnValueSegmentPruner.java:191)\n\tat org.apache.pinot.core.query.pruner.ColumnValueSegmentPruner.pruneSegment(ColumnValueSegmentPruner.java:105)\n\tat org.apache.pinot.core.query.pruner.ColumnValueSegmentPruner.prune(ColumnValueSegmentPruner.java:76)\n\tat org.apache.pinot.core.query.pruner.SegmentPruner.prune(SegmentPruner.java:45)\n\tat org.apache.pinot.core.query.pruner.SegmentPrunerService.prune(SegmentPrunerService.java:63)\n\tat org.apache.pinot.core.query.executor.ServerQueryExecutorV1Impl.processQuery(ServerQueryExecutorV1Impl.java:271)\n\tat org.apache.pinot.core.query.executor.ServerQueryExecutorV1Impl.processQuery(ServerQueryExecutorV1Impl.java:215)\n\tat org.apache.pinot.core.query.executor.QueryExecutor.processQuery(QueryExecutor.java:60)\n\tat org.apache.pinot.core.query.scheduler.QueryScheduler.processQueryAndSerialize(QueryScheduler.java:157)\n\tat org.apache.pinot.core.query.scheduler.QueryScheduler.lambda$createQueryFutureTask$0(QueryScheduler.java:141)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat shaded.com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:111)"
}
]
----
If the WHERE clause read `where createdTimeMillis < now()` it was working fine, so the issue was with my attempts to subtract from that timestamp.
https://medium.com/@xiangfu0[Xiang Fu ^] suggested that `(now() - 1000*60*60)` was resulting in a double value, which we can work around by casting it to a long, as shown below:
[source, sql]
----
select count(*)
from pullRequestMergedEvents
where createdTimeMillis > now() - CAST(1000*60*60 AS long)
limit 10
----
If we run that query we'll now get a result:
.Result
[options="header"]
[source, csv]
----
count(*)
178
----
I found that I could also put the `CAST` function around the whole `(now() - 1000*60*60)` expression, instead of just the `1000*60*60` part:
[source, sql]
----
select count(*)
from pullRequestMergedEvents
where createdTimeMillis > CAST(now() - 1000*60*60 AS long)
limit 10
---- | In this post we'll learn how to work around an error message in Apache Pinot when filtering by timestamp. | null | [
-0.01835143007338047,
-0.02720465511083603,
-0.011628609150648117,
0.013026590459048748,
0.060321226716041565,
0.012248332612216473,
0.008660654537379742,
0.05361558496952057,
-0.033609677106142044,
-0.013001902028918266,
-0.02923315018415451,
-0.018333593383431435,
-0.06761520355939865,
0.03153179958462715,
0.0035643961746245623,
0.07550804316997528,
0.08557523787021637,
-0.009544807486236095,
0.03857600688934326,
-0.02426200546324253,
0.039594829082489014,
0.040046870708465576,
0.00009620266064302996,
0.047533534467220306,
0.008212138898670673,
-0.0003527647349983454,
-0.011352111585438251,
0.0003117722226306796,
-0.05289224907755852,
0.0024914699606597424,
0.017958490177989006,
0.006290961988270283,
0.004104840103536844,
-0.0384601429104805,
-0.012772152200341225,
-0.0009416689863428473,
-0.0066275340504944324,
0.01180261094123125,
0.014785719104111195,
0.039141587913036346,
-0.09018345177173615,
-0.002536315005272627,
0.00572685431689024,
-0.0024037628900259733,
-0.009122571907937527,
0.039031073451042175,
-0.0318128727376461,
0.024780618026852608,
-0.01028199028223753,
0.02687685750424862,
-0.07182003557682037,
0.00845277775079012,
-0.008914496749639511,
0.0016125336987897754,
0.01653255894780159,
0.05269572511315346,
-0.00418481370434165,
-0.04532315209507942,
0.04014670476317406,
-0.03120405785739422,
-0.01612432859838009,
0.016440393403172493,
0.031479448080062866,
-0.0035744940396398306,
0.014125918969511986,
-0.02805171348154545,
-0.01841900870203972,
0.04273856058716774,
-0.021381288766860962,
0.009974375367164612,
0.034868303686380386,
0.017303261905908585,
-0.023438412696123123,
-0.005390666890889406,
0.02930825762450695,
-0.0461701974272728,
-0.022622527554631233,
0.06990138441324234,
0.018190449103713036,
0.04898611083626747,
-0.02686774916946888,
-0.027074672281742096,
0.004122846759855747,
0.01874062418937683,
0.008223272860050201,
-0.041448649019002914,
-0.03946923092007637,
-0.015098762698471546,
-0.060441359877586365,
0.07415413856506348,
0.01918954774737358,
-0.053191300481557846,
0.03299605846405029,
-0.015368782915174961,
-0.001586710219271481,
0.04830529913306236,
0.01639161817729473,
0.0024478337727487087,
0.018341612070798874,
0.011422901414334774,
-0.0399344377219677,
0.019053662195801735,
0.04434169828891754,
0.09206308424472809,
-0.06653650104999542,
-0.015427728183567524,
-0.040430545806884766,
-0.034179165959358215,
0.020276188850402832,
0.01258600503206253,
-0.007415678817778826,
0.027247780933976173,
-0.02382231503725052,
0.00558046018704772,
-0.08537507802248001,
0.08672729879617691,
0.027346480637788773,
-0.05304200202226639,
0.022743158042430878,
-0.0087914252653718,
0.04463362321257591,
0.023904908448457718,
-0.013742117211222649,
0.06336398422718048,
-0.008099997416138649,
0.027778873220086098,
-0.014268552884459496,
0.045757368206977844,
-0.009216876700520515,
-0.07771424204111099,
-0.031129715964198112,
0.039628662168979645,
0.0206520464271307,
-0.024454861879348755,
-0.0013911448186263442,
-0.035782571882009506,
-0.011726497672498226,
0.005574407521635294,
0.04615071788430214,
0.01021313201636076,
-0.01603902317583561,
-0.006021155044436455,
0.007944836281239986,
-0.024396514520049095,
0.02989402413368225,
0.039688244462013245,
0.0076476153917610645,
-0.0526663139462471,
-0.029311615973711014,
0.020144006237387657,
0.02520405501127243,
0.018989115953445435,
0.043443549424409866,
-0.037679221481084824,
0.011121073737740517,
0.08256551623344421,
0.008091503754258156,
0.01599980518221855,
-0.02667299471795559,
-0.009447989985346794,
0.038763709366321564,
0.030794594436883926,
0.029945284128189087,
0.029935676604509354,
0.030615732073783875,
-0.03476373478770256,
-0.013345014303922653,
0.062184229493141174,
-0.03803882747888565,
0.00367877003736794,
-0.06119665503501892,
-0.05538226291537285,
0.061767566949129105,
-0.05778377130627632,
0.0020190367940813303,
0.03808179870247841,
0.07917679846286774,
0.03278516232967377,
0.03770939260721207,
0.034561850130558014,
-0.08192064613103867,
0.048860710114240646,
0.017179757356643677,
0.00810239277780056,
0.010053432546555996,
-0.019447147846221924,
0.0730496346950531,
0.00522902887314558,
0.04626676067709923,
0.020709669217467308,
-0.07222545146942139,
-0.08185241371393204,
-0.01780145801603794,
0.010682844556868076,
0.05421849340200424,
-0.017952723428606987,
0.0002334767923457548,
0.06892609596252441,
-0.0025125585962086916,
0.017378369346261024,
-0.01717277429997921,
0.05634978041052818,
0.01877480000257492,
-0.06274572759866714,
-0.06941190361976624,
0.018848931416869164,
0.019986171275377274,
-0.06048699840903282,
-0.038257401436567307,
-0.00008644705667393282,
-0.0588771253824234,
-0.01560954935848713,
0.05191337689757347,
-0.0332682840526104,
0.05388602986931801,
0.026836834847927094,
0.03801959007978439,
-0.0240291990339756,
0.04413718357682228,
-0.061412397772073746,
0.0394640676677227,
0.027835393324494362,
0.0033345967531204224,
-0.02147584781050682,
-0.00997859425842762,
0.10068502277135849,
0.06333513557910919,
-0.00388121884316206,
-0.03281624615192413,
0.06106972321867943,
0.020020652562379837,
-0.043540626764297485,
-0.012297718785703182,
-0.006754097994416952,
0.0180586576461792,
0.003790515474975109,
-0.01207911316305399,
-0.008302074857056141,
0.003092350671067834,
-0.01596885547041893,
0.020350256934762,
0.06468861550092697,
-0.03447388857603073,
0.07582589238882065,
0.0039017030503600836,
-0.020247234031558037,
-0.004018546547740698,
-0.02156675048172474,
-0.053377192467451096,
-0.028925422579050064,
0.03337404131889343,
-0.006802293471992016,
0.042770154774188995,
-0.03951805457472801,
-0.04413983225822449,
-0.053456466645002365,
-0.046666618436574936,
0.03890572115778923,
0.032057855278253555,
0.0602056048810482,
-0.019607646390795708,
0.034512959420681,
-0.027346640825271606,
0.00941143836826086,
-0.009890436194837093,
-0.05215992033481598,
-0.01954752206802368,
-0.000982330646365881,
-0.016302241012454033,
0.021999511867761612,
0.029286781325936317,
0.001192005816847086,
0.028840197250247,
-0.0066287824884057045,
0.0041440133936703205,
-0.005051076412200928,
0.023633643984794617,
0.0038048040587455034,
-0.019645510241389275,
-0.022218728438019753,
-0.011312197893857956,
0.06075024977326393,
-0.07212265580892563,
-0.012068936601281166,
-0.000728727609384805,
-0.07103147357702255,
0.045509371906518936,
-0.035541124641895294,
-0.02441137656569481,
0.0006676714983768761,
0.039445605129003525,
0.04149249196052551,
0.021547524258494377,
-0.009580488316714764,
0.0715675801038742,
0.01425000187009573,
-0.00991762988269329,
0.03804508224129677,
-0.02301105484366417,
0.03614583611488342,
-0.011383921839296818,
0.007093801163136959,
0.05818570777773857,
-0.009120654314756393,
0.005832981783896685,
-0.0324024073779583,
0.028415536507964134,
-0.031176796182990074,
-0.27039945125579834,
0.027802662923932076,
-0.02986796572804451,
-0.006524357479065657,
0.007215728051960468,
-0.0035139841493219137,
0.03186454623937607,
-0.011877517215907574,
-0.005685517098754644,
-0.0011987563921138644,
-0.030144639313220978,
-0.03080640360713005,
-0.026308463886380196,
0.01779000088572502,
-0.010603456757962704,
0.009970230981707573,
0.011684895493090153,
-0.05729984492063522,
0.012079515494406223,
0.006429718807339668,
-0.012854969128966331,
-0.04924558475613594,
0.011900201439857483,
0.03971134498715401,
0.022045860067009926,
0.00865449383854866,
-0.06805885583162308,
0.043925926089286804,
-0.06131817400455475,
-0.020858943462371826,
0.014657055027782917,
-0.025043701753020287,
-0.008947063237428665,
0.006722630467265844,
0.0060426932759583,
0.0032977028749883175,
-0.0027264582458883524,
0.010107125155627728,
0.016591770574450493,
-0.002563920570537448,
-0.021859493106603622,
-0.059800904244184494,
-0.019777385517954826,
-0.01381680741906166,
0.07864668220281601,
-0.013540411368012428,
-0.07438414543867111,
-0.006637183483690023,
-0.027503710240125656,
0.07204563915729523,
-0.03925056383013725,
-0.061185505241155624,
-0.032120030373334885,
-0.009048339910805225,
-0.023688431829214096,
-0.0025342635344713926,
-0.007655244320631027,
0.01668376289308071,
-0.0577729307115078,
-0.035274434834718704,
-0.012724843807518482,
-0.037771403789520264,
0.004986748099327087,
-0.0435338094830513,
-0.03199455887079239,
-0.06439527124166489,
-0.04650324583053589,
0.015821652486920357,
0.07474090158939362,
0.020506542176008224,
-0.03795727714896202,
0.018146134912967682,
-0.02459014020860195,
-0.12197033315896988,
-0.022582678124308586,
-0.015332707203924656,
-0.04177631810307503,
0.008270199410617352,
-0.01692456379532814,
0.04025479033589363,
-0.0529695563018322,
-0.019470781087875366,
0.03271206468343735,
0.002939287107437849,
0.026793144643306732,
-0.023260178044438362,
0.005966313183307648,
-0.04960259795188904,
-0.01988750323653221,
0.00121643440797925,
0.06312108039855957,
-0.03738022968173027,
-0.017244191840291023,
-0.02361176162958145,
-0.015964588150382042,
0.04326559603214264,
0.017512163147330284,
0.03385874629020691,
-0.005860498640686274,
0.03290582820773125,
0.024825837463140488,
-0.0680798590183258,
-0.0024496682453900576,
-0.04296032711863518,
0.007901675999164581,
0.003679910907521844,
-0.05139121413230896,
0.03284870833158493,
0.02731902152299881,
0.04237480089068413,
0.031054630875587463,
-0.02099069580435753,
0.02167600393295288,
-0.04980000853538513,
-0.0025651678442955017,
-0.004093230701982975,
0.0403314083814621,
0.035396281629800797,
0.0286027230322361,
0.012528130784630775,
-0.04121823608875275,
0.016071122139692307,
0.01543134544044733,
-0.03586750850081444,
-0.020956583321094513,
-0.04635586962103844,
-0.0187308881431818,
-0.012416732497513294,
0.01241829339414835,
0.0027350252494215965,
-0.016675833612680435,
0.044922057539224625,
0.04715903475880623,
0.0056792497634887695,
0.015573667362332344,
-0.01840665191411972,
-0.025517672300338745,
-0.04904463514685631,
0.01797410286962986,
0.023686952888965607,
-0.013831283897161484,
0.018035054206848145,
-0.037492502480745316,
0.03729584068059921,
0.05195244029164314,
0.015179967507719994,
0.004298618994653225,
0.000523123424500227,
0.004101546946913004,
0.03328193351626396,
0.005856167059391737,
-0.03509754687547684,
-0.006649648305028677,
-0.021696800366044044,
-0.0343586765229702,
-0.018571557477116585,
0.026269735768437386,
0.002510023070499301,
-0.01950865052640438,
-0.042697690427303314,
0.0029409928247332573,
-0.05664423108100891,
-0.00990271382033825,
-0.01862567476928234,
-0.020322930067777634,
0.03243062272667885,
0.00952977780252695,
0.02290390431880951,
-0.004089242313057184,
-0.01882111094892025,
-0.014283951371908188,
0.019376644864678383,
-0.03112083300948143,
-0.007689674384891987,
-0.014326806180179119,
-0.013643743470311165,
0.026910705491900444,
0.03504626452922821,
0.021206090226769447,
-0.016669409349560738,
0.021851273253560066,
-0.01950012519955635,
0.02531418763101101,
0.011806010268628597,
0.04416335001587868,
0.06640371680259705,
-0.023680593818426132,
-0.015002772212028503,
-0.01331725250929594,
-0.009081431664526463,
-0.04195055738091469,
0.01778489165008068,
0.0031358685810118914,
-0.008210201747715473,
-0.028633642941713333,
-0.07803317159414291,
0.046428125351667404,
0.024371381849050522,
0.006400731857866049,
0.019631776958703995,
0.01607806794345379,
-0.0020914021879434586,
-0.06534197181463242,
0.05005859583616257,
0.08167892694473267,
-0.053195785731077194,
-0.0012317466316744685,
0.00937587022781372,
0.008172973059117794,
-0.011785909533500671,
0.01672206073999405,
-0.05152640491724014,
0.014671409502625465,
-0.011297603137791157,
0.002807134296745062,
-0.03837268799543381,
-0.02160596288740635,
-0.012667063623666763,
0.01664700359106064,
-0.00039499980630353093,
0.048657987266778946,
0.0002485217119101435,
-0.03421151638031006,
-0.014400933869183064,
-0.02804075926542282,
0.047506820410490036,
-0.002504173666238785,
-0.006872380618005991,
0.018771566450595856,
-0.012304361909627914,
0.031054457649588585,
-0.02938641980290413,
0.01869620941579342,
-0.006318644154816866,
-0.020675547420978546,
-0.011187052354216576,
-0.05874265357851982,
-0.00450806925073266,
0.006632200442254543,
0.08291585743427277,
-0.005472471471875906,
-0.004308232106268406,
-0.03348207846283913,
-0.0012484047329053283,
-0.01974392682313919,
-0.0016375334234908223,
0.016876524314284325,
0.0030500730499625206,
0.05248972028493881,
0.06752252578735352,
0.018362343311309814,
0.010906677693128586,
-0.007077546790242195,
-0.013626595959067345,
0.06049411743879318,
-0.05180645361542702,
-0.01667368784546852,
-0.019933676347136497,
-0.06668119877576828,
0.029006920754909515,
0.026351016014814377,
0.02884114719927311,
-0.08083497732877731,
0.04697208106517792,
0.033258356153964996,
0.014954295009374619,
0.0212167389690876,
-0.01619531959295273,
0.019756531342864037,
-0.0069814580492675304,
-0.025052597746253014,
-0.0768749937415123,
-0.018838537856936455,
0.03566599637269974,
-0.05002804845571518,
0.021602792665362358,
0.00963712390512228,
-0.0539822094142437,
0.04138326644897461,
-0.06634388864040375,
-0.040406156331300735,
0.0567900687456131,
0.005747329443693161,
0.014622971415519714,
-0.001131947385147214,
-0.05696578323841095,
0.02035466581583023,
0.06610234081745148,
-0.06136622652411461,
0.009718989953398705,
0.004518559668213129,
0.06739950180053711,
0.013424746692180634,
0.035882268100976944,
-0.02078290656208992,
-0.04548303037881851,
0.07839096337556839,
0.008252608589828014,
0.009203697554767132,
0.08549255132675171,
-0.025194764137268066,
0.035062070935964584,
0.030049310997128487,
-0.009186937473714352,
-0.001765674795024097,
0.013421309180557728,
-0.03791859373450279,
-0.06196991354227066,
0.05025734752416611,
-0.011978446505963802,
-0.004031862132251263,
-0.053171176463365555,
0.05042096972465515,
-0.012621017172932625,
-0.049641918390989304,
-0.035566870123147964,
0.00384682253934443,
-0.03370076045393944,
-0.03129121661186218,
-0.03418014943599701,
0.0042035626247525215,
-0.04916650429368019,
0.05009092018008232,
0.0021293063182383776,
0.031698036938905716,
0.06567250192165375,
0.0025424370542168617,
-0.022941987961530685,
0.025297505781054497,
0.07932417094707489,
0.06223255768418312,
0.025979023426771164,
-0.0012418414698913693,
0.06363897770643234,
-0.021997781470417976,
-0.021311696618795395,
0.002158220624551177,
-0.03650035709142685,
-0.05323713272809982,
-0.022318894043564796,
0.008782226592302322,
0.07236532866954803,
-0.016754349693655968,
0.048282865434885025,
0.026041299104690552,
0.01897338218986988,
-0.03387223929166794,
-0.002076445845887065,
0.05100640282034874,
0.03404710441827774,
0.006962163839489222,
0.029402265325188637,
0.007080244366079569,
-0.033785175532102585,
-0.015520761720836163,
-0.004728040657937527,
-0.04039888083934784,
0.021780915558338165,
-0.027617795392870903,
0.026748670265078545,
0.031314484775066376,
0.004930590745061636,
0.04668251797556877,
-0.026450425386428833,
-0.009749185293912888,
0.007576732896268368,
0.0446738637983799,
0.00898603443056345,
0.011781521141529083,
-0.031427595764398575,
-0.03379187732934952,
0.001153352903202176,
-0.06133320555090904,
0.008828998543322086,
-0.0020466831047087908,
-0.03113100491464138,
0.023762760683894157,
-0.030650820583105087,
0.008968301117420197,
0.025711575523018837,
-0.0299651138484478,
-0.0293223075568676,
-0.04826093092560768,
-0.04582495987415314,
-0.08419439941644669,
-0.052811942994594574,
-0.02537992037832737,
0.006575738545507193,
-0.01205353531986475,
-0.011889326386153698,
-0.02071722410619259,
-0.002122260630130768,
0.0007135803462006152,
0.005330184008926153,
-0.05252591148018837,
-0.006064871791750193,
-0.008523802272975445,
0.00905969925224781,
0.005607557948678732,
0.00020220196165610105,
0.062283847481012344,
-0.004267438314855099,
0.011993465013802052,
-0.03769811987876892,
0.009032314643263817,
0.04347164183855057,
0.007760591339319944,
-0.016448142006993294,
-0.07612243294715881,
0.0380701869726181,
0.025865189731121063,
0.011779428459703922,
-0.0664500743150711,
0.03637424483895302,
0.008469670079648495,
-0.024379830807447433,
0.05791601538658142,
-0.02890840545296669,
0.008899354375898838,
-0.05618783086538315,
-0.03494260460138321,
-0.019647832959890366,
0.016712017357349396,
0.060845326632261276,
-0.018329206854104996,
0.05599284917116165,
0.04257379099726677,
-0.02596301957964897,
-0.013790588825941086,
0.004042238462716341,
-0.00038560800021514297,
0.006504653953015804,
-0.04525554180145264,
-0.007149755489081144,
-0.03992079943418503,
-0.06091988831758499,
-0.016127679497003555,
0.020247211679816246,
-0.014406699687242508,
-0.04106622189283371,
0.018872639164328575,
-0.002872041892260313,
-0.01540820486843586,
0.0038314193952828646,
-0.04808506742119789,
0.009123287163674831,
-0.01505166944116354,
-0.019747423008084297,
-0.0152203980833292,
0.025129128247499466,
-0.0025841568130999804,
-0.00907629169523716,
0.013603274710476398,
-0.015212750993669033,
-0.013562743552029133,
-0.025987591594457626,
0.06304147839546204,
0.03805205598473549,
-0.02613307163119316,
-0.0022296460811048746
] | [
-0.04869471490383148,
-0.061604540795087814,
-0.04006936773657799,
-0.04210629686713219,
0.054038938134908676,
-0.09219280630350113,
-0.0005927501479163766,
0.029532333835959435,
-0.020452216267585754,
-0.03556643798947334,
-0.02176162414252758,
-0.02776336669921875,
0.015341395512223244,
-0.02534324675798416,
0.05948561429977417,
0.0051163481548428535,
-0.010444389656186104,
-0.07286924868822098,
-0.0044565340504050255,
0.004419553559273481,
0.0016737430123612285,
-0.051124151796102524,
-0.038513123989105225,
-0.04677920788526535,
-0.020507827401161194,
0.058081772178411484,
0.0025418028235435486,
-0.016732634976506233,
-0.027409628033638,
-0.1924108862876892,
0.02398233860731125,
-0.023768337443470955,
0.008405843749642372,
-0.015816133469343185,
0.02545492723584175,
0.04124361649155617,
0.01926390826702118,
-0.0012344125425443053,
0.06140764430165291,
0.07317767292261124,
0.028896020725369453,
0.004137301817536354,
-0.05783746764063835,
0.0058980342000722885,
-0.00651122210547328,
-0.04459523409605026,
-0.004950693342834711,
-0.009341542609035969,
0.04794494807720184,
0.0020082148257642984,
-0.040615543723106384,
0.008324403315782547,
0.020660171285271645,
-0.016501862555742264,
0.03252957761287689,
0.012460175901651382,
0.034057408571243286,
0.04578119143843651,
0.031352054327726364,
-0.0009728873847052455,
0.014326677657663822,
-0.02083044871687889,
-0.14218761026859283,
0.10510705411434174,
0.02314326912164688,
0.01434279978275299,
-0.036871399730443954,
0.05363807454705238,
-0.0009644055971875787,
0.04272720217704773,
0.012676806189119816,
-0.005753966514021158,
-0.028218386694788933,
0.08280021697282791,
0.004413801245391369,
-0.029394589364528656,
0.001275927061215043,
0.06531597673892975,
0.0012816842645406723,
-0.01301603950560093,
-0.04572296887636185,
0.015561488457024097,
0.003174339886754751,
0.0006698158686049283,
-0.03728240728378296,
0.01621672324836254,
0.007863798178732395,
0.0728532075881958,
-0.0013563372194766998,
0.0031494665890932083,
-0.0046204389072954655,
-0.001567595056258142,
0.040087342262268066,
0.014817320741713047,
-0.05201798304915428,
0.033752258867025375,
0.01086543407291174,
0.008010823279619217,
-0.034404922276735306,
0.3722299635410309,
0.0020641779992729425,
0.00889816228300333,
-0.007310467306524515,
0.017747163772583008,
0.02630995586514473,
0.00441725505515933,
-0.034617263823747635,
-0.023221241310238838,
0.03959671035408974,
-0.009342391043901443,
0.03235994279384613,
-0.009111653082072735,
0.11980421841144562,
-0.059265002608299255,
0.008916616439819336,
0.02742401696741581,
0.017144884914159775,
0.004817303270101547,
-0.03876619040966034,
0.046827301383018494,
0.002319939434528351,
-0.024453070014715195,
0.04162514954805374,
0.03017992153763771,
0.010172244161367416,
0.027864325791597366,
0.03372356295585632,
0.05411439388990402,
0.017116395756602287,
0.011965595185756683,
0.0354151725769043,
0.002082774881273508,
-0.06335681676864624,
-0.017368432134389877,
0.011381818912923336,
-0.0008517092210240662,
0.04412135109305382,
-0.03006591647863388,
0.007825709879398346,
-0.01757693849503994,
-0.02250092476606369,
-0.023097673431038857,
0.047276075929403305,
-0.03322600945830345,
-0.04189297929406166,
0.11526928097009659,
0.021440414711833,
-0.029934298247098923,
-0.024459833279252052,
-0.09252285957336426,
-0.049732454121112823,
0.025332732126116753,
-0.0017745643854141235,
-0.058581046760082245,
0.0018753232434391975,
0.0357745923101902,
0.07401247322559357,
0.020352911204099655,
-0.05249065160751343,
0.012077011168003082,
-0.02842828631401062,
-0.05541542172431946,
0.001379003981128335,
0.0035905078984797,
0.04590800777077675,
-0.13462309539318085,
-0.013516446575522423,
0.01837962120771408,
-0.020565800368785858,
-0.020654665306210518,
-0.014605394564568996,
0.02226066030561924,
-0.029322737827897072,
-0.014484665356576443,
0.06303910911083221,
-0.03947952017188072,
0.03466593474149704,
0.027382569387555122,
0.07609272003173828,
0.03478982672095299,
-0.009562543593347073,
0.017826136201620102,
-0.015940269455313683,
-0.005365379620343447,
-0.003616948379203677,
-0.09004974365234375,
-0.030621429905295372,
0.010214259847998619,
-0.030237851664423943,
-0.00638437969610095,
-0.06290636211633682,
-0.05727161839604378,
-0.072722889482975,
0.12110263109207153,
0.003245459869503975,
-0.033002909272909164,
0.017912980169057846,
-0.010957734659314156,
-0.001041377428919077,
-0.05041743814945221,
0.005054070148617029,
0.015411065891385078,
-0.00574547378346324,
0.017158886417746544,
-0.0764533057808876,
0.0744406133890152,
0.00010508468403713778,
-0.007278203032910824,
0.011545912362635136,
0.037622448056936264,
-0.04082578420639038,
0.052814777940511703,
-0.006936357822269201,
0.006566889118403196,
-0.0019456546287983656,
-0.02753969468176365,
-0.04197566956281662,
0.028268897905945778,
0.00941002368927002,
0.03635399788618088,
-0.02912452630698681,
-0.02880282700061798,
-0.017334353178739548,
-0.3906042277812958,
-0.047497641295194626,
-0.030748631805181503,
-0.0056072319857776165,
-0.002294885227456689,
-0.036710627377033234,
0.003562865313142538,
-0.04049692302942276,
-0.00647446746006608,
0.03936329856514931,
0.09282710403203964,
-0.02508917637169361,
0.0077315461821854115,
-0.08324506878852844,
-0.00018995572463609278,
0.003862577024847269,
-0.04448915272951126,
-0.0020613011438399553,
-0.017197497189044952,
-0.0016978305066004395,
-0.00808077584952116,
-0.04675697907805443,
-0.022121066227555275,
-0.014019021764397621,
-0.012060682289302349,
-0.0032857258338481188,
0.08612022548913956,
0.04517693072557449,
0.011979580856859684,
-0.09168057888746262,
0.03757713735103607,
0.022110609337687492,
0.0374458022415638,
-0.08766277134418488,
-0.008199888281524181,
-0.03871280699968338,
-0.008194447495043278,
0.017488660290837288,
-0.016623906791210175,
0.0017907407600432634,
-0.06889835000038147,
0.036050159484148026,
-0.042270224541425705,
-0.08319447189569473,
0.000013285278328112327,
0.0040591126307845116,
0.00013661700359079987,
-0.018083438277244568,
-0.02136308141052723,
0.037697192281484604,
0.03414156660437584,
0.011133473366498947,
0.029168883338570595,
0.025586513802409172,
0.04283842444419861,
-0.020939020439982414,
-0.024788402020931244,
-0.03301435708999634,
0.012465106323361397,
-0.016819974407553673,
0.026292437687516212,
0.062299128621816635,
0.024853980168700218,
-0.0660465657711029,
-0.00828066561371088,
0.03107874095439911,
-0.011861411854624748,
-0.0021337789949029684,
0.03637460619211197,
-0.018418539315462112,
-0.0293414369225502,
0.10778675973415375,
0.016816234216094017,
0.03639782592654228,
0.028020186349749565,
0.023720592260360718,
0.0014699663734063506,
-0.04709123447537422,
0.021225718781352043,
0.0023499128874391317,
0.025372447445988655,
-0.023720210418105125,
0.06778614968061447,
-0.03718693554401398,
-0.01786160096526146,
0.08116263896226883,
0.005419200286269188,
0.03082585148513317,
0.07243949919939041,
0.0023144902661442757,
-0.03925718739628792,
0.008552522398531437,
-0.038618747144937515,
-0.027587462216615677,
0.03693201765418053,
0.026194831356406212,
-0.27672192454338074,
0.06504857540130615,
0.05637393891811371,
0.02263130061328411,
0.02529602125287056,
0.008162052370607853,
0.04164184629917145,
-0.03333720192313194,
0.00919648353010416,
0.008439711295068264,
0.009812644682824612,
0.030472971498966217,
0.02205231972038746,
-0.004066262394189835,
0.012810715474188328,
0.017909014597535133,
0.010376321151852608,
0.010549934580922127,
0.002729831263422966,
-0.03079896792769432,
0.023292679339647293,
0.007662954740226269,
0.15612398087978363,
0.056819844990968704,
-0.02222353406250477,
0.03986819088459015,
-0.021565089002251625,
0.019086197018623352,
0.03939938545227051,
0.03502354398369789,
-0.01538607757538557,
-0.023077374324202538,
0.09527333080768585,
-0.03731487691402435,
0.04816065728664398,
-0.026441587135195732,
-0.007131589576601982,
0.008352142758667469,
0.027500128373503685,
-0.06296224892139435,
-0.04057600349187851,
-0.007160781417042017,
-0.03237329423427582,
0.03721519932150841,
0.07440285384654999,
-0.03635789081454277,
-0.029321053996682167,
-0.07435999065637589,
-0.028565621003508568,
0.01651758886873722,
-0.015455641783773899,
-0.04946301877498627,
-0.0011399472132325172,
0.0032871668227016926,
0.015036329627037048,
0.0878964439034462,
0.020046211779117584,
-0.015971368178725243,
-0.0028582075610756874,
0.0328659787774086,
-0.005422366317361593,
-0.047896936535835266,
0.0818646103143692,
0.004749292507767677,
0.028327446430921555
] | [
0.03367121145129204,
-0.00384399457834661,
-0.0065769958309829235,
0.03565593808889389,
0.02570774033665657,
-0.006483445409685373,
-0.003712630597874522,
0.011216610670089722,
0.014577515423297882,
-0.033572014421224594,
0.017514487728476524,
0.008437433280050755,
0.005853971466422081,
-0.003244976280257106,
-0.012740610167384148,
-0.03344785422086716,
0.013996787369251251,
0.0017867713468149304,
0.03459867462515831,
0.009668709710240364,
-0.048033811151981354,
0.012671023607254028,
0.02960384450852871,
0.021470939740538597,
-0.002345072804018855,
-0.009780170395970345,
-0.020512515679001808,
0.025884399190545082,
0.0233595110476017,
-0.12631379067897797,
0.011484324932098389,
-0.0030272076837718487,
0.0044479891657829285,
-0.019343823194503784,
0.008203958161175251,
0.02937556989490986,
0.005100186448544264,
-0.02592119760811329,
-0.017976537346839905,
-0.01250476110726595,
0.0396367684006691,
-0.05919801443815231,
-0.0023002736270427704,
0.00011877305951202288,
-0.0040590716525912285,
-0.028209401294589043,
-0.036969419568777084,
-0.0381956584751606,
-0.010631517507135868,
0.04515528306365013,
-0.04154353588819504,
0.008390465751290321,
0.007342643104493618,
0.0054327379912137985,
0.05201747640967369,
-0.02785041555762291,
-0.020877907052636147,
-0.010374518111348152,
0.01635732315480709,
-0.014414142817258835,
0.029190873727202415,
0.0041033122688531876,
-0.03275858983397484,
-0.04463035240769386,
0.018097247928380966,
-0.04349508136510849,
-0.03509410098195076,
0.011554566211998463,
0.023057742044329643,
-0.009477095678448677,
-0.004215939901769161,
0.014638189226388931,
-0.04725160449743271,
-0.035723138600587845,
-0.05074046924710274,
0.013463351875543594,
-0.012806697748601437,
0.0081934267655015,
-0.02973158471286297,
0.01580885797739029,
-0.026163486763834953,
-0.013520441949367523,
0.0026992883067578077,
0.003782521467655897,
-0.03199265897274017,
0.02805260382592678,
0.00663957791402936,
0.06866344809532166,
0.00044170080218464136,
-0.04139377549290657,
-0.03930153325200081,
0.006576711777597666,
0.012958105653524399,
0.01862657628953457,
-0.03722422569990158,
-0.006089700385928154,
-0.022591305896639824,
-0.02304643578827381,
-0.03432643413543701,
0.8217126727104187,
0.019731923937797546,
0.030693670734763145,
-0.006044851616024971,
0.0010147870052605867,
0.056224945932626724,
-0.015150737017393112,
-0.02825133129954338,
0.030698077753186226,
-0.016977660357952118,
-0.03565153107047081,
-0.0021673166193068027,
0.0068157631903886795,
-0.0035606687888503075,
0.0317644365131855,
0.02598484978079796,
0.0381716787815094,
-0.007323120255023241,
-0.01550336554646492,
-0.01674884557723999,
0.03908029943704605,
0.027402525767683983,
0.00811722781509161,
0.018870677798986435,
0.004169922322034836,
-0.014590415172278881,
-0.1421084851026535,
0.030139967799186707,
-6.264941140765357e-33,
0.05370664596557617,
-0.04637717083096504,
-0.007101589348167181,
-0.025031572207808495,
0.041172128170728683,
0.0006044310284778476,
0.005111338570713997,
-0.03491460531949997,
0.0038232398219406605,
-0.0206192284822464,
0.03936084359884262,
-0.03567506745457649,
-0.02130594663321972,
-0.009530913084745407,
0.011366196908056736,
-0.02570362761616707,
-0.028253091499209404,
0.03645636513829231,
0.007617070805281401,
0.02100096084177494,
-0.026182768866419792,
-0.009858309291303158,
-0.05954038351774216,
0.004140614066272974,
0.05053878575563431,
0.013692693784832954,
0.0075628794729709625,
-0.012202292680740356,
-0.002418807940557599,
-0.04096158593893051,
0.008750039152801037,
0.004962783306837082,
-0.0076755341142416,
-0.042835675179958344,
0.025708045810461044,
-0.07846508920192719,
0.015966268256306648,
0.010949608869850636,
-0.07657040655612946,
-0.010667610913515091,
-0.00986303761601448,
-0.009872428141534328,
-0.037145450711250305,
-0.014737697318196297,
-0.022986289113759995,
-0.019607247784733772,
0.03260160982608795,
0.023668833076953888,
0.01768702268600464,
-0.012935763224959373,
0.04694902524352074,
0.026109682396054268,
0.02728925831615925,
-0.020524146035313606,
0.017353562638163567,
-0.020857950672507286,
-0.012395845726132393,
0.01604296825826168,
-0.026108436286449432,
-0.013561764732003212,
-0.03434772044420242,
-0.023317480459809303,
-0.022742340341210365,
0.039381735026836395,
0.0007846754160709679,
0.0411350317299366,
-0.011197748593986034,
0.020618107169866562,
0.007784765679389238,
0.06593342125415802,
-0.05449036881327629,
-0.008425953797996044,
-0.02921232208609581,
-0.002633563708513975,
0.0007700590067543089,
-0.027499185875058174,
0.027847064658999443,
0.020404895767569542,
-0.006088013295084238,
0.058387693017721176,
-0.0027752043679356575,
0.0018397081876173615,
-0.025619225576519966,
0.013041121885180473,
-0.04914531111717224,
0.021748006343841553,
0.022817270830273628,
0.009133349172770977,
-0.0230435598641634,
0.022449836134910583,
0.040390487760305405,
0.07880495488643646,
0.015186786651611328,
-0.043024688959121704,
-0.04664386808872223,
6.620265165028102e-33,
-0.022816739976406097,
-0.01821836270391941,
-0.03384837880730629,
0.018980979919433594,
0.047064606100320816,
-0.040133919566869736,
0.034610286355018616,
-0.008029177784919739,
0.016625095158815384,
0.0012096465798094869,
-0.028844647109508514,
0.04135889932513237,
-0.022832490503787994,
0.035369325429201126,
0.033264607191085815,
0.01248947624117136,
0.015519212931394577,
0.008779989555478096,
0.05208016559481621,
-0.009064069017767906,
0.013812405988574028,
0.01873192749917507,
0.03366195410490036,
-0.007283421698957682,
0.0006404497544281185,
0.05546284094452858,
0.0035229262430220842,
-0.002117657335475087,
-0.022870702669024467,
-0.03754684329032898,
0.045706164091825485,
-0.040092285722494125,
0.0071138013154268265,
0.0028311503119766712,
-0.030720820650458336,
0.023266887292265892,
-0.025912825018167496,
0.01405162550508976,
0.00733113382011652,
-0.002204615157097578,
0.0161061380058527,
0.019769832491874695,
-0.023460086435079575,
0.014679200015962124,
-0.03799758106470108,
0.012800346128642559,
0.024532901123166084,
-0.033295467495918274,
-0.001986243762075901,
0.037049081176519394,
-0.013127298094332218,
0.002674760529771447,
0.03099757805466652,
0.039493490010499954,
-0.001344120828434825,
-0.025802696123719215,
-0.00947702955454588,
0.0061784773133695126,
-0.007552628871053457,
-0.00016947375843301415,
-0.014246123842895031,
0.004387483932077885,
0.024437684565782547,
0.04989063739776611,
-0.006101527716964483,
-0.00807083211839199,
-0.032483235001564026,
0.01112806424498558,
-0.024945970624685287,
0.006779121235013008,
0.036962736397981644,
-0.0007037647301331162,
-0.03455135598778725,
0.07563323527574539,
0.03516613692045212,
-0.009421569295227528,
-0.026345636695623398,
0.012179511599242687,
0.0008707173983566463,
-0.010969421826303005,
-0.007056549657136202,
0.051523029804229736,
-0.03180154412984848,
-0.024969026446342468,
0.03263654187321663,
0.022611569613218307,
-0.03945744410157204,
0.01666785217821598,
0.03421592339873314,
-0.00007498548802686855,
0.014609686098992825,
-0.03738122433423996,
-0.040952786803245544,
0.00654063792899251,
0.024318935349583626,
-1.2240945146402282e-8,
-0.011330172419548035,
0.007864944636821747,
-0.026324214413762093,
0.028682174161076546,
0.038101114332675934,
0.0036196329165250063,
-0.035179004073143005,
-0.006894158199429512,
-0.014105790294706821,
0.010259939357638359,
0.017588047310709953,
0.0018702707020565867,
0.005502844229340553,
0.030438410118222237,
0.016414353623986244,
-0.07295508682727814,
0.039643529802560806,
-0.013246580958366394,
0.020937826484441757,
-0.019122745841741562,
0.019895516335964203,
0.02296610176563263,
0.03336815536022186,
-0.03340158984065056,
-0.06017336994409561,
0.0025286469608545303,
0.048297639936208725,
-0.04011207073926926,
-0.008946746587753296,
-0.0059387874789536,
0.020141012966632843,
-0.016787875443696976,
-0.04669336602091789,
0.008201731368899345,
-0.04302365332841873,
-0.019584564492106438,
-0.025032052770256996,
-0.005469803232699633,
-0.008538810536265373,
0.006095155607908964,
-0.025520121678709984,
-0.01832927204668522,
0.00007722360169282183,
-0.035132575780153275,
-0.04932074248790741,
-0.0018052700906991959,
-0.005730900447815657,
0.012503339909017086,
-0.0029328165110200644,
0.0027359446976333857,
-0.00007820633618393913,
-0.01000162586569786,
0.05003948509693146,
0.011895157396793365,
0.06962252408266068,
0.031200764700770378,
0.05886700376868248,
-0.027084514498710632,
0.017966121435165405,
-0.04327944666147232,
0.013393831439316273,
0.03909497335553169,
-0.006212097592651844,
-0.02212974987924099
] | pinot-bad-query-request-exception-cannot-convert-value-long | https://markhneedham.com/blog/2021/07/16/pinot-bad-query-request-exception-cannot-convert-value-long |
Subsets and Splits