Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-train/blob/main/native/neuralese/nl1r-task/evidence/public-metrics-t1-s17-m42405.query.wl # aien-train AIEN training programme: language-model history, GB10 constraints and the route to training on the project engine. Plans and runnable checks are distinguished. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-train / native / neuralese / nl1r-task / evidence / public-metrics-t1-s17-m42405.query.wl` 17 lines ยท 10292 bytes Raw Blame History 1 2 Clear[bits,target,active,metric]; 3 bits[id_]:=Table[BitAnd[BitShiftRight[id,j],1],{j,0,3}]; 4 target[t_,id_]:=If[t==1,{Mod[Total[bits[id]],2],0,0,0},bits[id]]; 5 active[t_]:=Switch[t,0,{1,2,3,4},1,{1},2,{3,4}]; 6 rat[a_,b_]:=If[b==0,Null,ToString[a/b,InputForm]]; 7 metric[rr_,t_,arm_,v_,split_]:=Module[{n,exact,accepted,ac,wa,ab,ae,refusals,payload,en,de,ids,pred,want,er,ok}, 8 n=Length[rr];ids=rr[[All,1]];pred=rr[[All,5;;8]];want=target[t,#]&/@ids; 9 exact=MapThread[Boole[#1===#2]&,{pred,want}];accepted=(Boole[#[[9]]==0&&#[[12]]==0]&/@rr); 10 ac=Total[exact*accepted];wa=Total[(1-exact)*accepted];ab=Count[rr[[All,9]],1]; 11 ae=Total[MapThread[Count[MapThread[Unequal,{#1[[active[t]]],#2[[active[t]]]}],True]&,{pred,want}]]; 12 refusals=Count[rr[[All,12]],Except[0]];payload=Total[rr[[All,4]]];en=Total[rr[[All,10]]];de=Total[rr[[All,11]]]; 13 <|"task"->t,"arm"->arm,"variant"->v,"subset"->split,"ids"->ids,"n"->n,"exact_ignoring_abstention"->Total[exact],"exact_rate"->rat[Total[exact],n],"accepted"->Total[accepted],"accepted_correct"->ac,"wrong_accepted"->wa,"abstentions"->ab,"decoder_refusals"->refusals,"active_feature_errors"->ae,"active_feature_comparisons"->n Length[active[t]],"active_feature_error_rate"->rat[ae,n Length[active[t]]],"forced_decision_01_regret_sum"->n-Total[exact],"forced_decision_01_regret_mean"->rat[n-Total[exact],n],"accepted_decision_01_regret_sum"->wa,"accepted_decision_01_regret_mean"->rat[wa,Total[accepted]],"abstention_regret"->Null,"actual_payload_bytes"->payload,"encode_ns_sum"->en,"decode_ns_sum"->de,"encode_ns_min"->Min[rr[[All,10]]],"encode_ns_max"->Max[rr[[All,10]]],"decode_ns_min"->Min[rr[[All,11]]],"decode_ns_max"->Max[rr[[All,11]]]|> 14 ]; 15 16 t=1;mask=42405;rr={{0,0,0,1,0,0,0,0,0,176,176,0,0,0},{0,0,1,1,1,0,0,0,0,128,144,0,0,0},{0,0,2,0,0,0,0,0,1,128,128,2,0,0},{0,1,0,1,0,0,0,0,1,208,224,0,0,0},{0,1,1,1,0,0,0,0,1,192,208,0,0,0},{0,1,2,0,0,0,0,0,1,112,128,2,0,0},{0,2,0,1,0,0,0,0,0,192,192,0,0,0},{0,2,1,1,0,0,0,0,0,176,192,0,0,0},{0,2,2,0,0,0,0,0,1,128,128,2,0,0},{0,3,0,0,1,0,0,0,0,128,208,0,0,0},{0,3,1,0,1,0,0,0,0,128,176,0,0,0},{0,3,2,0,0,0,0,0,1,112,128,2,0,0},{0,4,0,4,0,0,0,0,0,144,144,0,0,0},{0,4,1,4,1,0,0,0,0,144,128,0,0,0},{0,4,2,0,0,0,0,0,1,112,128,2,0,0},{1,0,0,1,1,0,0,0,0,128,128,0,0,0},{1,0,1,1,1,0,0,0,0,128,128,0,0,0},{1,0,2,0,0,0,0,0,1,128,112,2,0,0},{1,1,0,1,0,0,0,0,1,208,192,0,0,0},{1,1,1,1,1,0,0,0,1,208,192,0,0,0},{1,1,2,0,0,0,0,0,1,128,128,2,0,0},{1,2,0,1,0,0,0,0,0,176,192,0,0,0},{1,2,1,1,1,0,0,0,0,192,192,0,0,0},{1,2,2,0,0,0,0,0,1,128,128,2,0,0},{1,3,0,0,1,0,0,0,0,128,192,0,0,0},{1,3,1,0,1,0,0,0,0,112,192,0,0,0},{1,3,2,0,0,0,0,0,1,128,112,2,0,0},{1,4,0,4,1,0,0,0,0,128,160,0,0,0},{1,4,1,4,1,0,0,0,0,144,128,0,0,0},{1,4,2,0,0,0,0,0,1,128,128,2,0,0},{2,0,0,1,1,0,0,0,0,128,128,0,0,0},{2,0,1,1,0,0,0,0,0,128,144,0,0,0},{2,0,2,0,0,0,0,0,1,128,112,2,0,0},{2,1,0,1,1,0,0,0,1,208,208,0,0,0},{2,1,1,1,1,0,0,0,1,192,192,0,0,0},{2,1,2,0,0,0,0,0,1,128,128,2,0,0},{2,2,0,1,1,0,0,0,0,176,176,0,0,0},{2,2,1,1,1,0,0,0,0,192,176,0,0,0},{2,2,2,0,0,0,0,0,1,128,128,2,0,0},{2,3,0,0,1,0,0,0,0,128,192,0,0,0},{2,3,1,0,1,0,0,0,0,128,192,0,0,0},{2,3,2,0,0,0,0,0,1,112,128,2,0,0},{2,4,0,4,1,0,0,0,0,144,128,0,0,0},{2,4,1,4,0,0,0,0,0,128,144,0,0,0},{2,4,2,0,0,0,0,0,1,128,128,2,0,0},{3,0,0,1,0,0,0,0,0,144,128,0,0,0},{3,0,1,1,1,0,0,0,0,128,128,0,0,0},{3,0,2,0,0,0,0,0,1,144,112,2,0,0},{3,1,0,1,1,0,0,0,1,192,192,0,0,0},{3,1,1,1,0,0,0,0,1,192,192,0,0,0},{3,1,2,0,0,0,0,0,1,128,144,2,0,0},{3,2,0,1,1,0,0,0,0,176,192,0,0,0},{3,2,1,1,0,0,0,0,0,192,192,0,0,0},{3,2,2,0,0,0,0,0,1,112,128,2,0,0},{3,3,0,0,1,0,0,0,0,144,176,0,0,0},{3,3,1,0,1,0,0,0,0,128,192,0,0,0},{3,3,2,0,0,0,0,0,1,128,112,2,0,0},{3,4,0,4,0,0,0,0,0,128,144,0,0,0},{3,4,1,4,1,0,0,0,0,128,144,0,0,0},{3,4,2,0,0,0,0,0,1,128,128,2,0,0},{4,0,0,1,1,0,0,0,0,144,128,0,0,0},{4,0,1,1,0,0,0,0,0,128,128,0,0,0},{4,0,2,0,0,0,0,0,1,112,128,2,0,0},{4,1,0,1,0,0,0,0,1,192,192,0,0,0},{4,1,1,1,0,0,0,0,1,192,192,0,0,0},{4,1,2,0,0,0,0,0,1,128,112,2,0,0},{4,2,0,1,0,0,0,0,0,176,192,0,0,0},{4,2,1,1,0,0,0,0,0,192,176,0,0,0},{4,2,2,0,0,0,0,0,1,128,112,2,0,0},{4,3,0,0,1,0,0,0,0,144,176,0,0,0},{4,3,1,0,1,0,0,0,0,128,192,0,0,0},{4,3,2,0,0,0,0,0,1,128,112,2,0,0},{4,4,0,4,1,0,0,0,0,128,144,0,0,0},{4,4,1,4,0,0,0,0,0,128,144,0,0,0},{4,4,2,0,0,0,0,0,1,128,112,2,0,0},{5,0,0,1,0,0,0,0,0,112,128,0,0,0},{5,0,1,1,0,0,0,0,0,144,128,0,0,0},{5,0,2,0,0,0,0,0,1,128,112,2,0,0},{5,1,0,1,0,0,0,0,1,192,192,0,0,0},{5,1,1,1,1,0,0,0,1,192,192,0,0,0},{5,1,2,0,0,0,0,0,1,128,128,2,0,0},{5,2,0,1,0,0,0,0,0,176,192,0,0,0},{5,2,1,1,1,0,0,0,0,192,192,0,0,0},{5,2,2,0,0,0,0,0,1,144,128,2,0,0},{5,3,0,0,1,0,0,0,0,144,176,0,0,0},{5,3,1,0,1,0,0,0,0,128,192,0,0,0},{5,3,2,0,0,0,0,0,1,128,112,2,0,0},{5,4,0,4,0,0,0,0,0,128,144,0,0,0},{5,4,1,4,0,0,0,0,0,144,128,0,0,0},{5,4,2,0,0,0,0,0,1,128,128,2,0,0},{6,0,0,1,0,0,0,0,0,128,128,0,0,0},{6,0,1,1,1,0,0,0,0,144,128,0,0,0},{6,0,2,0,0,0,0,0,1,112,128,2,0,0},{6,1,0,1,1,0,0,0,1,192,192,0,0,0},{6,1,1,1,1,0,0,0,1,192,192,0,0,0},{6,1,2,0,0,0,0,0,1,128,128,2,0,0},{6,2,0,1,1,0,0,0,0,176,192,0,0,0},{6,2,1,1,1,0,0,0,0,192,176,0,0,0},{6,2,2,0,0,0,0,0,1,128,128,2,0,0},{6,3,0,0,1,0,0,0,0,128,176,0,0,0},{6,3,1,0,1,0,0,0,0,112,192,0,0,0},{6,3,2,0,0,0,0,0,1,128,112,2,0,0},{6,4,0,4,0,0,0,0,0,144,128,0,0,0},{6,4,1,4,1,0,0,0,0,128,128,0,0,0},{6,4,2,0,0,0,0,0,1,128,128,2,0,0},{7,0,0,1,1,0,0,0,0,128,128,0,0,0},{7,0,1,1,1,0,0,0,0,128,128,0,0,0},{7,0,2,0,0,0,0,0,1,128,112,2,0,0},{7,1,0,1,1,0,0,0,1,192,192,0,0,0},{7,1,1,1,1,0,0,0,0,192,192,0,0,0},{7,1,2,0,0,0,0,0,1,112,128,2,0,0},{7,2,0,1,1,0,0,0,0,192,176,0,0,0},{7,2,1,1,1,0,0,0,0,192,192,0,0,0},{7,2,2,0,0,0,0,0,1,128,112,2,0,0},{7,3,0,0,1,0,0,0,0,112,192,0,0,0},{7,3,1,0,1,0,0,0,0,128,192,0,0,0},{7,3,2,0,0,0,0,0,1,128,112,2,0,0},{7,4,0,4,1,0,0,0,0,144,144,0,0,0},{7,4,1,4,1,0,0,0,0,144,128,0,0,0},{7,4,2,0,0,0,0,0,1,128,112,2,0,0},{8,0,0,1,1,0,0,0,0,128,128,0,0,0},{8,0,1,1,0,0,0,0,0,128,128,0,0,0},{8,0,2,0,0,0,0,0,1,112,128,2,0,0},{8,1,0,1,1,0,0,0,0,192,192,0,0,0},{8,1,1,1,1,0,0,0,0,208,192,0,0,0},{8,1,2,0,0,0,0,0,1,128,128,2,0,0},{8,2,0,1,1,0,0,0,0,176,192,0,0,0},{8,2,1,1,1,0,0,0,0,192,176,0,0,0},{8,2,2,0,0,0,0,0,1,128,112,2,0,0},{8,3,0,0,1,0,0,0,0,128,192,0,0,0},{8,3,1,0,1,0,0,0,0,128,176,0,0,0},{8,3,2,0,0,0,0,0,1,112,128,2,0,0},{8,4,0,4,1,0,0,0,0,128,128,0,0,0},{8,4,1,4,0,0,0,0,0,144,128,0,0,0},{8,4,2,0,0,0,0,0,1,128,112,2,0,0},{9,0,0,1,0,0,0,0,0,128,128,0,0,0},{9,0,1,1,0,0,0,0,0,128,128,0,0,0},{9,0,2,0,0,0,0,0,1,128,128,2,0,0},{9,1,0,1,1,0,0,0,0,192,192,0,0,0},{9,1,1,1,0,0,0,0,0,192,192,0,0,0},{9,1,2,0,0,0,0,0,1,128,112,2,0,0},{9,2,0,1,1,0,0,0,0,176,192,0,0,0},{9,2,1,1,0,0,0,0,0,192,192,0,0,0},{9,2,2,0,0,0,0,0,1,128,112,2,0,0},{9,3,0,0,1,0,0,0,0,128,192,0,0,0},{9,3,1,0,1,0,0,0,0,128,176,0,0,0},{9,3,2,0,0,0,0,0,1,128,128,2,0,0},{9,4,0,4,0,0,0,0,0,144,128,0,0,0},{9,4,1,4,0,0,0,0,0,144,128,0,0,0},{9,4,2,0,0,0,0,0,1,128,128,2,0,0},{10,0,0,1,0,0,0,0,0,128,128,0,0,0},{10,0,1,1,1,0,0,0,0,144,128,0,0,0},{10,0,2,0,0,0,0,0,1,128,112,2,0,0},{10,1,0,1,0,0,0,0,0,192,192,0,0,0},{10,1,1,1,0,0,0,0,0,208,192,0,0,0},{10,1,2,0,0,0,0,0,1,128,112,2,0,0},{10,2,0,1,0,0,0,0,0,176,192,0,0,0},{10,2,1,1,0,0,0,0,0,192,176,0,0,0},{10,2,2,0,0,0,0,0,1,128,112,2,0,0},{10,3,0,0,1,0,0,0,0,128,176,0,0,0},{10,3,1,0,1,0,0,0,0,128,192,0,0,0},{10,3,2,0,0,0,0,0,1,128,128,2,0,0},{10,4,0,4,0,0,0,0,0,144,144,0,0,0},{10,4,1,4,1,0,0,0,0,128,128,0,0,0},{10,4,2,0,0,0,0,0,1,112,128,2,0,0},{11,0,0,1,1,0,0,0,0,128,144,0,0,0},{11,0,1,1,0,0,0,0,0,144,176,0,0,0},{11,0,2,0,0,0,0,0,1,128,112,2,0,0},{11,1,0,1,0,0,0,0,0,192,192,0,0,0},{11,1,1,1,1,0,0,0,0,208,192,0,0,0},{11,1,2,0,0,0,0,0,1,128,112,2,0,0},{11,2,0,1,0,0,0,0,0,192,176,0,0,0},{11,2,1,1,1,0,0,0,0,192,192,0,0,0},{11,2,2,0,0,0,0,0,1,128,112,2,0,0},{11,3,0,0,1,0,0,0,0,128,192,0,0,0},{11,3,1,0,1,0,0,0,0,128,192,0,0,0},{11,3,2,0,0,0,0,0,1,128,128,2,0,0},{11,4,0,4,1,0,0,0,0,128,144,0,0,0},{11,4,1,4,0,0,0,0,0,128,144,0,0,0},{11,4,2,0,0,0,0,0,1,128,128,2,0,0},{12,0,0,1,0,0,0,0,0,128,128,0,0,0},{12,0,1,1,1,0,0,0,0,144,128,0,0,0},{12,0,2,0,0,0,0,0,1,128,128,2,0,0},{12,1,0,1,1,0,0,0,0,192,208,0,0,0},{12,1,1,1,1,0,0,0,0,208,192,0,0,0},{12,1,2,0,0,0,0,0,1,128,128,2,0,0},{12,2,0,1,1,0,0,0,0,176,176,0,0,0},{12,2,1,1,1,0,0,0,0,192,192,0,0,0},{12,2,2,0,0,0,0,0,1,128,128,2,0,0},{12,3,0,0,1,0,0,0,0,128,176,0,0,0},{12,3,1,0,1,0,0,0,0,128,176,0,0,0},{12,3,2,0,0,0,0,0,1,128,128,2,0,0},{12,4,0,4,0,0,0,0,0,128,144,0,0,0},{12,4,1,4,1,0,0,0,0,144,128,0,0,0},{12,4,2,0,0,0,0,0,1,112,128,2,0,0},{13,0,0,1,1,0,0,0,0,144,128,0,0,0},{13,0,1,1,1,0,0,0,0,128,128,0,0,0},{13,0,2,0,0,0,0,0,1,128,128,2,0,0},{13,1,0,1,1,0,0,0,0,192,192,0,0,0},{13,1,1,1,0,0,0,0,0,192,208,0,0,0},{13,1,2,0,0,0,0,0,1,128,112,2,0,0},{13,2,0,1,1,0,0,0,0,192,208,0,0,0},{13,2,1,1,0,0,0,0,0,192,192,0,0,0},{13,2,2,0,0,0,0,0,1,128,112,2,0,0},{13,3,0,0,1,0,0,0,0,144,192,0,0,0},{13,3,1,0,1,0,0,0,0,128,176,0,0,0},{13,3,2,0,0,0,0,0,1,128,128,2,0,0},{13,4,0,4,1,0,0,0,0,128,128,0,0,0},{13,4,1,4,1,0,0,0,0,128,144,0,0,0},{13,4,2,0,0,0,0,0,1,128,112,2,0,0},{14,0,0,1,1,0,0,0,0,144,112,0,0,0},{14,0,1,1,0,0,0,0,0,128,128,0,0,0},{14,0,2,0,0,0,0,0,1,128,144,2,0,0},{14,1,0,1,0,0,0,0,0,192,192,0,0,0},{14,1,1,1,0,0,0,0,0,208,192,0,0,0},{14,1,2,0,0,0,0,0,1,128,112,2,0,0},{14,2,0,1,0,0,0,0,0,192,176,0,0,0},{14,2,1,1,0,0,0,0,0,192,192,0,0,0},{14,2,2,0,0,0,0,0,1,128,112,2,0,0},{14,3,0,0,1,0,0,0,0,128,192,0,0,0},{14,3,1,0,1,0,0,0,0,128,176,0,0,0},{14,3,2,0,0,0,0,0,1,128,112,2,0,0},{14,4,0,4,1,0,0,0,0,128,128,0,0,0},{14,4,1,4,0,0,0,0,0,128,128,0,0,0},{14,4,2,0,0,0,0,0,1,128,128,2,0,0},{15,0,0,1,0,0,0,0,0,128,112,0,0,0},{15,0,1,1,0,0,0,0,0,128,128,0,0,0},{15,0,2,0,0,0,0,0,1,128,128,2,0,0},{15,1,0,1,0,0,0,0,0,192,192,0,0,0},{15,1,1,1,0,0,0,0,1,208,192,0,0,0},{15,1,2,0,0,0,0,0,1,128,112,2,0,0},{15,2,0,1,0,0,0,0,0,176,192,0,0,0},{15,2,1,1,0,0,0,0,0,192,176,0,0,0},{15,2,2,0,0,0,0,0,1,128,112,2,0,0},{15,3,0,0,1,0,0,0,0,128,192,0,0,0},{15,3,1,0,1,0,0,0,0,128,176,0,0,0},{15,3,2,0,0,0,0,0,1,128,112,2,0,0},{15,4,0,4,0,0,0,0,0,128,128,0,0,0},{15,4,1,4,0,0,0,0,0,128,144,0,0,0},{15,4,2,0,0,0,0,0,1,128,128,2,0,0}}; 17 subsets=If[mask==65535,{"fullfit"},{"all","fit","heldout"}];out=Flatten[Table[ss=Select[rr,#[[2]]==a&&#[[3]]==v&&Switch[s,"all",True,"fullfit",True,"fit",BitAnd[BitShiftRight[mask,#[[1]]],1]==1,"heldout",BitAnd[BitShiftRight[mask,#[[1]]],1]==0]&];metric[ss,t,a,v,s],{a,0,4},{v,0,2},{s,subsets}]];ExportString[Values/@out,"RawJSON","Compact"->True]